diff --git a/Source/Bind/CSharpSpecWriter.cs b/Source/Bind/CSharpSpecWriter.cs index ab69f3b5..55e96aac 100644 --- a/Source/Bind/CSharpSpecWriter.cs +++ b/Source/Bind/CSharpSpecWriter.cs @@ -222,9 +222,6 @@ namespace Bind d.Name); } - sw.Unindent(); - sw.WriteLine("}"); - foreach (var d in delegates.Values.Select(d => d.First())) { var load_d = new Delegate(d); @@ -249,6 +246,9 @@ namespace Bind sw.Unindent(); sw.WriteLine("}"); + + sw.Unindent(); + sw.WriteLine("}"); } #endregion diff --git a/Source/OpenTK/Graphics/ES11/ES11Delegates.cs b/Source/OpenTK/Graphics/ES11/ES11Delegates.cs index 3a05fa06..5efedcbe 100644 --- a/Source/OpenTK/Graphics/ES11/ES11Delegates.cs +++ b/Source/OpenTK/Graphics/ES11/ES11Delegates.cs @@ -1191,1926 +1191,1926 @@ namespace OpenTK.Graphics.ES11 [SuppressUnmanagedCodeSecurity] internal delegate void WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer); internal static WeightPointerOES glWeightPointerOES = Load_WeightPointerOES; - } - internal static void Load_AccumxOES(OpenTK.Graphics.ES11.All op, int value) - { - Delegates.glAccumxOES = (Delegates.AccumxOES)GetExtensionDelegateStatic("glAccumxOES", typeof(Delegates.AccumxOES)); - Delegates.glAccumxOES((OpenTK.Graphics.ES11.All)op, (int)value); - } - internal static void Load_ActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) - { - Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); - Delegates.glActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); - } - internal static void Load_AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref) - { - Delegates.glAlphaFunc = (Delegates.AlphaFunc)GetExtensionDelegateStatic("glAlphaFunc", typeof(Delegates.AlphaFunc)); - Delegates.glAlphaFunc((OpenTK.Graphics.ES11.AlphaFunction)func, (Single)@ref); - } - internal static void Load_AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) - { - Delegates.glAlphaFuncx = (Delegates.AlphaFuncx)GetExtensionDelegateStatic("glAlphaFuncx", typeof(Delegates.AlphaFuncx)); - Delegates.glAlphaFuncx((OpenTK.Graphics.ES11.All)func, (int)@ref); - } - internal static void Load_AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref) - { - Delegates.glAlphaFuncxOES = (Delegates.AlphaFuncxOES)GetExtensionDelegateStatic("glAlphaFuncxOES", typeof(Delegates.AlphaFuncxOES)); - Delegates.glAlphaFuncxOES((OpenTK.Graphics.ES11.All)func, (int)@ref); - } - internal static void Load_BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer) - { - Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); - Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer); - } - internal static void Load_BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer) - { - Delegates.glBindFramebufferOES = (Delegates.BindFramebufferOES)GetExtensionDelegateStatic("glBindFramebufferOES", typeof(Delegates.BindFramebufferOES)); - Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer); - } - internal static void Load_BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer) - { - Delegates.glBindRenderbufferOES = (Delegates.BindRenderbufferOES)GetExtensionDelegateStatic("glBindRenderbufferOES", typeof(Delegates.BindRenderbufferOES)); - Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer); - } - internal static void Load_BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture) - { - Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); - Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture); - } - internal static void Load_BindVertexArrayOES(UInt32 array) - { - Delegates.glBindVertexArrayOES = (Delegates.BindVertexArrayOES)GetExtensionDelegateStatic("glBindVertexArrayOES", typeof(Delegates.BindVertexArrayOES)); - Delegates.glBindVertexArrayOES((UInt32)array); - } - internal static unsafe void Load_BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap) - { - Delegates.glBitmapxOES = (Delegates.BitmapxOES)GetExtensionDelegateStatic("glBitmapxOES", typeof(Delegates.BitmapxOES)); - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap); - } - internal static void Load_BlendColorxOES(int red, int green, int blue, int alpha) - { - Delegates.glBlendColorxOES = (Delegates.BlendColorxOES)GetExtensionDelegateStatic("glBlendColorxOES", typeof(Delegates.BlendColorxOES)); - Delegates.glBlendColorxOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_BlendEquationEXT(OpenTK.Graphics.ES11.All mode) - { - Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.All)mode); - } - internal static void Load_BlendEquationOES(OpenTK.Graphics.ES11.All mode) - { - Delegates.glBlendEquationOES = (Delegates.BlendEquationOES)GetExtensionDelegateStatic("glBlendEquationOES", typeof(Delegates.BlendEquationOES)); - Delegates.glBlendEquationOES((OpenTK.Graphics.ES11.All)mode); - } - internal static void Load_BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha) - { - Delegates.glBlendEquationSeparateOES = (Delegates.BlendEquationSeparateOES)GetExtensionDelegateStatic("glBlendEquationSeparateOES", typeof(Delegates.BlendEquationSeparateOES)); - Delegates.glBlendEquationSeparateOES((OpenTK.Graphics.ES11.All)modeRGB, (OpenTK.Graphics.ES11.All)modeAlpha); - } - internal static void Load_BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor) - { - Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); - Delegates.glBlendFunc((OpenTK.Graphics.ES11.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES11.BlendingFactorDest)dfactor); - } - internal static void Load_BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha) - { - Delegates.glBlendFuncSeparateOES = (Delegates.BlendFuncSeparateOES)GetExtensionDelegateStatic("glBlendFuncSeparateOES", typeof(Delegates.BlendFuncSeparateOES)); - Delegates.glBlendFuncSeparateOES((OpenTK.Graphics.ES11.All)srcRGB, (OpenTK.Graphics.ES11.All)dstRGB, (OpenTK.Graphics.ES11.All)srcAlpha, (OpenTK.Graphics.ES11.All)dstAlpha); - } - internal static void Load_BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage) - { - Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); - Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES11.All)usage); - } - internal static void Load_BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); - Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static OpenTK.Graphics.ES11.All Load_CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target) - { - Delegates.glCheckFramebufferStatusOES = (Delegates.CheckFramebufferStatusOES)GetExtensionDelegateStatic("glCheckFramebufferStatusOES", typeof(Delegates.CheckFramebufferStatusOES)); - return Delegates.glCheckFramebufferStatusOES((OpenTK.Graphics.ES11.All)target); - } - internal static void Load_Clear(OpenTK.Graphics.ES11.ClearBufferMask mask) - { - Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); - Delegates.glClear((OpenTK.Graphics.ES11.ClearBufferMask)mask); - } - internal static void Load_ClearAccumxOES(int red, int green, int blue, int alpha) - { - Delegates.glClearAccumxOES = (Delegates.ClearAccumxOES)GetExtensionDelegateStatic("glClearAccumxOES", typeof(Delegates.ClearAccumxOES)); - Delegates.glClearAccumxOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_ClearColorx(int red, int green, int blue, int alpha) - { - Delegates.glClearColorx = (Delegates.ClearColorx)GetExtensionDelegateStatic("glClearColorx", typeof(Delegates.ClearColorx)); - Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_ClearColorxOES(int red, int green, int blue, int alpha) - { - Delegates.glClearColorxOES = (Delegates.ClearColorxOES)GetExtensionDelegateStatic("glClearColorxOES", typeof(Delegates.ClearColorxOES)); - Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_ClearDepthf(Single d) - { - Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); - Delegates.glClearDepthf((Single)d); - } - internal static void Load_ClearDepthfOES(Single depth) - { - Delegates.glClearDepthfOES = (Delegates.ClearDepthfOES)GetExtensionDelegateStatic("glClearDepthfOES", typeof(Delegates.ClearDepthfOES)); - Delegates.glClearDepthfOES((Single)depth); - } - internal static void Load_ClearDepthx(int depth) - { - Delegates.glClearDepthx = (Delegates.ClearDepthx)GetExtensionDelegateStatic("glClearDepthx", typeof(Delegates.ClearDepthx)); - Delegates.glClearDepthx((int)depth); - } - internal static void Load_ClearDepthxOES(int depth) - { - Delegates.glClearDepthxOES = (Delegates.ClearDepthxOES)GetExtensionDelegateStatic("glClearDepthxOES", typeof(Delegates.ClearDepthxOES)); - Delegates.glClearDepthxOES((int)depth); - } - internal static void Load_ClearStencil(Int32 s) - { - Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); - Delegates.glClearStencil((Int32)s); - } - internal static void Load_ClientActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) - { - Delegates.glClientActiveTexture = (Delegates.ClientActiveTexture)GetExtensionDelegateStatic("glClientActiveTexture", typeof(Delegates.ClientActiveTexture)); - Delegates.glClientActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); - } - internal static OpenTK.Graphics.ES11.All Load_ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout) - { - Delegates.glClientWaitSyncAPPLE = (Delegates.ClientWaitSyncAPPLE)GetExtensionDelegateStatic("glClientWaitSyncAPPLE", typeof(Delegates.ClientWaitSyncAPPLE)); - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); - } - internal static unsafe void Load_ClipPlanef(OpenTK.Graphics.ES11.All p, Single* eqn) - { - Delegates.glClipPlanef = (Delegates.ClipPlanef)GetExtensionDelegateStatic("glClipPlanef", typeof(Delegates.ClipPlanef)); - Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)p, (Single*)eqn); - } - internal static unsafe void Load_ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn) - { - Delegates.glClipPlanefIMG = (Delegates.ClipPlanefIMG)GetExtensionDelegateStatic("glClipPlanefIMG", typeof(Delegates.ClipPlanefIMG)); - Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn); - } - internal static unsafe void Load_ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation) - { - Delegates.glClipPlanefOES = (Delegates.ClipPlanefOES)GetExtensionDelegateStatic("glClipPlanefOES", typeof(Delegates.ClipPlanefOES)); - Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation); - } - internal static unsafe void Load_ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) - { - Delegates.glClipPlanex = (Delegates.ClipPlanex)GetExtensionDelegateStatic("glClipPlanex", typeof(Delegates.ClipPlanex)); - Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation); - } - internal static unsafe void Load_ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn) - { - Delegates.glClipPlanexIMG = (Delegates.ClipPlanexIMG)GetExtensionDelegateStatic("glClipPlanexIMG", typeof(Delegates.ClipPlanexIMG)); - Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn); - } - internal static unsafe void Load_ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation) - { - Delegates.glClipPlanexOES = (Delegates.ClipPlanexOES)GetExtensionDelegateStatic("glClipPlanexOES", typeof(Delegates.ClipPlanexOES)); - Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation); - } - internal static void Load_Color3xOES(int red, int green, int blue) - { - Delegates.glColor3xOES = (Delegates.Color3xOES)GetExtensionDelegateStatic("glColor3xOES", typeof(Delegates.Color3xOES)); - Delegates.glColor3xOES((int)red, (int)green, (int)blue); - } - internal static unsafe void Load_Color3xvOES(int* components) - { - Delegates.glColor3xvOES = (Delegates.Color3xvOES)GetExtensionDelegateStatic("glColor3xvOES", typeof(Delegates.Color3xvOES)); - Delegates.glColor3xvOES((int*)components); - } - internal static void Load_Color4f(Single red, Single green, Single blue, Single alpha) - { - Delegates.glColor4f = (Delegates.Color4f)GetExtensionDelegateStatic("glColor4f", typeof(Delegates.Color4f)); - Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_Color4ub(Byte red, Byte green, Byte blue, Byte alpha) - { - Delegates.glColor4ub = (Delegates.Color4ub)GetExtensionDelegateStatic("glColor4ub", typeof(Delegates.Color4ub)); - Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); - } - internal static void Load_Color4x(int red, int green, int blue, int alpha) - { - Delegates.glColor4x = (Delegates.Color4x)GetExtensionDelegateStatic("glColor4x", typeof(Delegates.Color4x)); - Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_Color4xOES(int red, int green, int blue, int alpha) - { - Delegates.glColor4xOES = (Delegates.Color4xOES)GetExtensionDelegateStatic("glColor4xOES", typeof(Delegates.Color4xOES)); - Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static unsafe void Load_Color4xvOES(int* components) - { - Delegates.glColor4xvOES = (Delegates.Color4xvOES)GetExtensionDelegateStatic("glColor4xvOES", typeof(Delegates.Color4xvOES)); - Delegates.glColor4xvOES((int*)components); - } - internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) - { - Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - } - internal static void Load_ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glColorPointer = (Delegates.ColorPointer)GetExtensionDelegateStatic("glColorPointer", typeof(Delegates.ColorPointer)); - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_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) - { - Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); - 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); - } - internal static void Load_ConvolutionParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glConvolutionParameterxOES = (Delegates.ConvolutionParameterxOES)GetExtensionDelegateStatic("glConvolutionParameterxOES", typeof(Delegates.ConvolutionParameterxOES)); - Delegates.glConvolutionParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_ConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glConvolutionParameterxvOES = (Delegates.ConvolutionParameterxvOES)GetExtensionDelegateStatic("glConvolutionParameterxvOES", typeof(Delegates.ConvolutionParameterxvOES)); - Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static void Load_CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - Delegates.glCopyTextureLevelsAPPLE = (Delegates.CopyTextureLevelsAPPLE)GetExtensionDelegateStatic("glCopyTextureLevelsAPPLE", typeof(Delegates.CopyTextureLevelsAPPLE)); - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - } - internal static void Load_CullFace(OpenTK.Graphics.ES11.CullFaceMode mode) - { - Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); - Delegates.glCullFace((OpenTK.Graphics.ES11.CullFaceMode)mode); - } - internal static void Load_CurrentPaletteMatrixOES(UInt32 matrixpaletteindex) - { - Delegates.glCurrentPaletteMatrixOES = (Delegates.CurrentPaletteMatrixOES)GetExtensionDelegateStatic("glCurrentPaletteMatrixOES", typeof(Delegates.CurrentPaletteMatrixOES)); - Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex); - } - internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) - { - Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - } - internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) - { - Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_DeleteFramebuffersOES(Int32 n, UInt32* framebuffers) - { - Delegates.glDeleteFramebuffersOES = (Delegates.DeleteFramebuffersOES)GetExtensionDelegateStatic("glDeleteFramebuffersOES", typeof(Delegates.DeleteFramebuffersOES)); - Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers) - { - Delegates.glDeleteRenderbuffersOES = (Delegates.DeleteRenderbuffersOES)GetExtensionDelegateStatic("glDeleteRenderbuffersOES", typeof(Delegates.DeleteRenderbuffersOES)); - Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); - } - internal static void Load_DeleteSyncAPPLE(IntPtr sync) - { - Delegates.glDeleteSyncAPPLE = (Delegates.DeleteSyncAPPLE)GetExtensionDelegateStatic("glDeleteSyncAPPLE", typeof(Delegates.DeleteSyncAPPLE)); - Delegates.glDeleteSyncAPPLE((IntPtr)sync); - } - internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) - { - Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_DeleteVertexArraysOES(Int32 n, UInt32* arrays) - { - Delegates.glDeleteVertexArraysOES = (Delegates.DeleteVertexArraysOES)GetExtensionDelegateStatic("glDeleteVertexArraysOES", typeof(Delegates.DeleteVertexArraysOES)); - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - } - internal static void Load_DepthFunc(OpenTK.Graphics.ES11.DepthFunction func) - { - Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); - Delegates.glDepthFunc((OpenTK.Graphics.ES11.DepthFunction)func); - } - internal static void Load_DepthMask(bool flag) - { - Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); - Delegates.glDepthMask((bool)flag); - } - internal static void Load_DepthRangef(Single n, Single f) - { - Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); - Delegates.glDepthRangef((Single)n, (Single)f); - } - internal static void Load_DepthRangefOES(Single n, Single f) - { - Delegates.glDepthRangefOES = (Delegates.DepthRangefOES)GetExtensionDelegateStatic("glDepthRangefOES", typeof(Delegates.DepthRangefOES)); - Delegates.glDepthRangefOES((Single)n, (Single)f); - } - internal static void Load_DepthRangex(int n, int f) - { - Delegates.glDepthRangex = (Delegates.DepthRangex)GetExtensionDelegateStatic("glDepthRangex", typeof(Delegates.DepthRangex)); - Delegates.glDepthRangex((int)n, (int)f); - } - internal static void Load_DepthRangexOES(int n, int f) - { - Delegates.glDepthRangexOES = (Delegates.DepthRangexOES)GetExtensionDelegateStatic("glDepthRangexOES", typeof(Delegates.DepthRangexOES)); - Delegates.glDepthRangexOES((int)n, (int)f); - } - internal static void Load_Disable(OpenTK.Graphics.ES11.EnableCap cap) - { - Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); - Delegates.glDisable((OpenTK.Graphics.ES11.EnableCap)cap); - } - internal static void Load_DisableClientState(OpenTK.Graphics.ES11.EnableCap array) - { - Delegates.glDisableClientState = (Delegates.DisableClientState)GetExtensionDelegateStatic("glDisableClientState", typeof(Delegates.DisableClientState)); - Delegates.glDisableClientState((OpenTK.Graphics.ES11.EnableCap)array); - } - internal static void Load_DisableDriverControlQCOM(UInt32 driverControl) - { - Delegates.glDisableDriverControlQCOM = (Delegates.DisableDriverControlQCOM)GetExtensionDelegateStatic("glDisableDriverControlQCOM", typeof(Delegates.DisableDriverControlQCOM)); - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - } - internal static unsafe void Load_DiscardFramebufferEXT(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All* attachments) - { - Delegates.glDiscardFramebufferEXT = (Delegates.DiscardFramebufferEXT)GetExtensionDelegateStatic("glDiscardFramebufferEXT", typeof(Delegates.DiscardFramebufferEXT)); - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.All*)attachments); - } - internal static void Load_DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count) - { - Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); - Delegates.glDrawArrays((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count); - } - internal static void Load_DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) - { - Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); - Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices); - } - internal static void Load_DrawTexfOES(Single x, Single y, Single z, Single width, Single height) - { - Delegates.glDrawTexfOES = (Delegates.DrawTexfOES)GetExtensionDelegateStatic("glDrawTexfOES", typeof(Delegates.DrawTexfOES)); - Delegates.glDrawTexfOES((Single)x, (Single)y, (Single)z, (Single)width, (Single)height); - } - internal static unsafe void Load_DrawTexfvOES(Single* coords) - { - Delegates.glDrawTexfvOES = (Delegates.DrawTexfvOES)GetExtensionDelegateStatic("glDrawTexfvOES", typeof(Delegates.DrawTexfvOES)); - Delegates.glDrawTexfvOES((Single*)coords); - } - internal static void Load_DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height) - { - Delegates.glDrawTexiOES = (Delegates.DrawTexiOES)GetExtensionDelegateStatic("glDrawTexiOES", typeof(Delegates.DrawTexiOES)); - Delegates.glDrawTexiOES((Int32)x, (Int32)y, (Int32)z, (Int32)width, (Int32)height); - } - internal static unsafe void Load_DrawTexivOES(Int32* coords) - { - Delegates.glDrawTexivOES = (Delegates.DrawTexivOES)GetExtensionDelegateStatic("glDrawTexivOES", typeof(Delegates.DrawTexivOES)); - Delegates.glDrawTexivOES((Int32*)coords); - } - internal static void Load_DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height) - { - Delegates.glDrawTexsOES = (Delegates.DrawTexsOES)GetExtensionDelegateStatic("glDrawTexsOES", typeof(Delegates.DrawTexsOES)); - Delegates.glDrawTexsOES((Int16)x, (Int16)y, (Int16)z, (Int16)width, (Int16)height); - } - internal static unsafe void Load_DrawTexsvOES(Int16* coords) - { - Delegates.glDrawTexsvOES = (Delegates.DrawTexsvOES)GetExtensionDelegateStatic("glDrawTexsvOES", typeof(Delegates.DrawTexsvOES)); - Delegates.glDrawTexsvOES((Int16*)coords); - } - internal static void Load_DrawTexxOES(int x, int y, int z, int width, int height) - { - Delegates.glDrawTexxOES = (Delegates.DrawTexxOES)GetExtensionDelegateStatic("glDrawTexxOES", typeof(Delegates.DrawTexxOES)); - Delegates.glDrawTexxOES((int)x, (int)y, (int)z, (int)width, (int)height); - } - internal static unsafe void Load_DrawTexxvOES(int* coords) - { - Delegates.glDrawTexxvOES = (Delegates.DrawTexxvOES)GetExtensionDelegateStatic("glDrawTexxvOES", typeof(Delegates.DrawTexxvOES)); - Delegates.glDrawTexxvOES((int*)coords); - } - internal static void Load_EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image) - { - Delegates.glEGLImageTargetRenderbufferStorageOES = (Delegates.EGLImageTargetRenderbufferStorageOES)GetExtensionDelegateStatic("glEGLImageTargetRenderbufferStorageOES", typeof(Delegates.EGLImageTargetRenderbufferStorageOES)); - Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); - } - internal static void Load_EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image) - { - Delegates.glEGLImageTargetTexture2DOES = (Delegates.EGLImageTargetTexture2DOES)GetExtensionDelegateStatic("glEGLImageTargetTexture2DOES", typeof(Delegates.EGLImageTargetTexture2DOES)); - Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); - } - internal static void Load_Enable(OpenTK.Graphics.ES11.EnableCap cap) - { - Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); - Delegates.glEnable((OpenTK.Graphics.ES11.EnableCap)cap); - } - internal static void Load_EnableClientState(OpenTK.Graphics.ES11.EnableCap array) - { - Delegates.glEnableClientState = (Delegates.EnableClientState)GetExtensionDelegateStatic("glEnableClientState", typeof(Delegates.EnableClientState)); - Delegates.glEnableClientState((OpenTK.Graphics.ES11.EnableCap)array); - } - internal static void Load_EnableDriverControlQCOM(UInt32 driverControl) - { - Delegates.glEnableDriverControlQCOM = (Delegates.EnableDriverControlQCOM)GetExtensionDelegateStatic("glEnableDriverControlQCOM", typeof(Delegates.EnableDriverControlQCOM)); - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - } - internal static void Load_EndTilingQCOM(UInt32 preserveMask) - { - Delegates.glEndTilingQCOM = (Delegates.EndTilingQCOM)GetExtensionDelegateStatic("glEndTilingQCOM", typeof(Delegates.EndTilingQCOM)); - Delegates.glEndTilingQCOM((UInt32)preserveMask); - } - internal static void Load_EvalCoord1xOES(int u) - { - Delegates.glEvalCoord1xOES = (Delegates.EvalCoord1xOES)GetExtensionDelegateStatic("glEvalCoord1xOES", typeof(Delegates.EvalCoord1xOES)); - Delegates.glEvalCoord1xOES((int)u); - } - internal static unsafe void Load_EvalCoord1xvOES(int* coords) - { - Delegates.glEvalCoord1xvOES = (Delegates.EvalCoord1xvOES)GetExtensionDelegateStatic("glEvalCoord1xvOES", typeof(Delegates.EvalCoord1xvOES)); - Delegates.glEvalCoord1xvOES((int*)coords); - } - internal static void Load_EvalCoord2xOES(int u, int v) - { - Delegates.glEvalCoord2xOES = (Delegates.EvalCoord2xOES)GetExtensionDelegateStatic("glEvalCoord2xOES", typeof(Delegates.EvalCoord2xOES)); - Delegates.glEvalCoord2xOES((int)u, (int)v); - } - internal static unsafe void Load_EvalCoord2xvOES(int* coords) - { - Delegates.glEvalCoord2xvOES = (Delegates.EvalCoord2xvOES)GetExtensionDelegateStatic("glEvalCoord2xvOES", typeof(Delegates.EvalCoord2xvOES)); - Delegates.glEvalCoord2xvOES((int*)coords); - } - internal static void Load_ExtGetBufferPointervQCOM(OpenTK.Graphics.ES11.All target, [OutAttribute] IntPtr @params) - { - Delegates.glExtGetBufferPointervQCOM = (Delegates.ExtGetBufferPointervQCOM)GetExtensionDelegateStatic("glExtGetBufferPointervQCOM", typeof(Delegates.ExtGetBufferPointervQCOM)); - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.All)target, (IntPtr)@params); - } - internal static unsafe void Load_ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - Delegates.glExtGetBuffersQCOM = (Delegates.ExtGetBuffersQCOM)GetExtensionDelegateStatic("glExtGetBuffersQCOM", typeof(Delegates.ExtGetBuffersQCOM)); - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - } - internal static unsafe void Load_ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM = (Delegates.ExtGetFramebuffersQCOM)GetExtensionDelegateStatic("glExtGetFramebuffersQCOM", typeof(Delegates.ExtGetFramebuffersQCOM)); - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - } - internal static unsafe void Load_ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - Delegates.glExtGetProgramBinarySourceQCOM = (Delegates.ExtGetProgramBinarySourceQCOM)GetExtensionDelegateStatic("glExtGetProgramBinarySourceQCOM", typeof(Delegates.ExtGetProgramBinarySourceQCOM)); - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length); - } - internal static unsafe void Load_ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - Delegates.glExtGetProgramsQCOM = (Delegates.ExtGetProgramsQCOM)GetExtensionDelegateStatic("glExtGetProgramsQCOM", typeof(Delegates.ExtGetProgramsQCOM)); - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - } - internal static unsafe void Load_ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM = (Delegates.ExtGetRenderbuffersQCOM)GetExtensionDelegateStatic("glExtGetRenderbuffersQCOM", typeof(Delegates.ExtGetRenderbuffersQCOM)); - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - } - internal static unsafe void Load_ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - Delegates.glExtGetShadersQCOM = (Delegates.ExtGetShadersQCOM)GetExtensionDelegateStatic("glExtGetShadersQCOM", typeof(Delegates.ExtGetShadersQCOM)); - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - } - internal static unsafe void Load_ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - Delegates.glExtGetTexLevelParameterivQCOM = (Delegates.ExtGetTexLevelParameterivQCOM)GetExtensionDelegateStatic("glExtGetTexLevelParameterivQCOM", typeof(Delegates.ExtGetTexLevelParameterivQCOM)); - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - } - internal static void Load_ExtGetTexSubImageQCOM(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr texels) - { - Delegates.glExtGetTexSubImageQCOM = (Delegates.ExtGetTexSubImageQCOM)GetExtensionDelegateStatic("glExtGetTexSubImageQCOM", typeof(Delegates.ExtGetTexSubImageQCOM)); - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)texels); - } - internal static unsafe void Load_ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - Delegates.glExtGetTexturesQCOM = (Delegates.ExtGetTexturesQCOM)GetExtensionDelegateStatic("glExtGetTexturesQCOM", typeof(Delegates.ExtGetTexturesQCOM)); - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - } - internal static bool Load_ExtIsProgramBinaryQCOM(UInt32 program) - { - Delegates.glExtIsProgramBinaryQCOM = (Delegates.ExtIsProgramBinaryQCOM)GetExtensionDelegateStatic("glExtIsProgramBinaryQCOM", typeof(Delegates.ExtIsProgramBinaryQCOM)); - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - } - internal static void Load_ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) - { - Delegates.glExtTexObjectStateOverrideiQCOM = (Delegates.ExtTexObjectStateOverrideiQCOM)GetExtensionDelegateStatic("glExtTexObjectStateOverrideiQCOM", typeof(Delegates.ExtTexObjectStateOverrideiQCOM)); - Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param); - } - internal static unsafe void Load_FeedbackBufferxOES(Int32 n, OpenTK.Graphics.ES11.All type, int* buffer) - { - Delegates.glFeedbackBufferxOES = (Delegates.FeedbackBufferxOES)GetExtensionDelegateStatic("glFeedbackBufferxOES", typeof(Delegates.FeedbackBufferxOES)); - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.All)type, (int*)buffer); - } - internal static IntPtr Load_FenceSyncAPPLE(OpenTK.Graphics.ES11.All condition, UInt32 flags) - { - Delegates.glFenceSyncAPPLE = (Delegates.FenceSyncAPPLE)GetExtensionDelegateStatic("glFenceSyncAPPLE", typeof(Delegates.FenceSyncAPPLE)); - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES11.All)condition, (UInt32)flags); - } - internal static void Load_Finish() - { - Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); - Delegates.glFinish(); - } - internal static void Load_FinishFenceNV(UInt32 fence) - { - Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); - Delegates.glFinishFenceNV((UInt32)fence); - } - internal static void Load_Flush() - { - Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); - Delegates.glFlush(); - } - internal static void Load_FlushMappedBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length) - { - Delegates.glFlushMappedBufferRangeEXT = (Delegates.FlushMappedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedBufferRangeEXT", typeof(Delegates.FlushMappedBufferRangeEXT)); - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length); - } - internal static void Load_Fogf(OpenTK.Graphics.ES11.FogParameter pname, Single param) - { - Delegates.glFogf = (Delegates.Fogf)GetExtensionDelegateStatic("glFogf", typeof(Delegates.Fogf)); - Delegates.glFogf((OpenTK.Graphics.ES11.FogParameter)pname, (Single)param); - } - internal static unsafe void Load_Fogfv(OpenTK.Graphics.ES11.FogParameter pname, Single* @params) - { - Delegates.glFogfv = (Delegates.Fogfv)GetExtensionDelegateStatic("glFogfv", typeof(Delegates.Fogfv)); - Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params); - } - internal static void Load_Fogx(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glFogx = (Delegates.Fogx)GetExtensionDelegateStatic("glFogx", typeof(Delegates.Fogx)); - Delegates.glFogx((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_FogxOES(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glFogxOES = (Delegates.FogxOES)GetExtensionDelegateStatic("glFogxOES", typeof(Delegates.FogxOES)); - Delegates.glFogxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_Fogxv(OpenTK.Graphics.ES11.All pname, int* param) - { - Delegates.glFogxv = (Delegates.Fogxv)GetExtensionDelegateStatic("glFogxv", typeof(Delegates.Fogxv)); - Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)param); - } - internal static unsafe void Load_FogxvOES(OpenTK.Graphics.ES11.All pname, int* param) - { - Delegates.glFogxvOES = (Delegates.FogxvOES)GetExtensionDelegateStatic("glFogxvOES", typeof(Delegates.FogxvOES)); - Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param); - } - internal static void Load_FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer) - { - Delegates.glFramebufferRenderbufferOES = (Delegates.FramebufferRenderbufferOES)GetExtensionDelegateStatic("glFramebufferRenderbufferOES", typeof(Delegates.FramebufferRenderbufferOES)); - Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer); - } - internal static void Load_FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - Delegates.glFramebufferTexture2DMultisampleEXT = (Delegates.FramebufferTexture2DMultisampleEXT)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleEXT", typeof(Delegates.FramebufferTexture2DMultisampleEXT)); - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - } - internal static void Load_FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - Delegates.glFramebufferTexture2DMultisampleIMG = (Delegates.FramebufferTexture2DMultisampleIMG)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleIMG", typeof(Delegates.FramebufferTexture2DMultisampleIMG)); - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - } - internal static void Load_FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture2DOES = (Delegates.FramebufferTexture2DOES)GetExtensionDelegateStatic("glFramebufferTexture2DOES", typeof(Delegates.FramebufferTexture2DOES)); - Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode) - { - Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); - Delegates.glFrontFace((OpenTK.Graphics.ES11.FrontFaceDirection)mode); - } - internal static void Load_Frustumf(Single l, Single r, Single b, Single t, Single n, Single f) - { - Delegates.glFrustumf = (Delegates.Frustumf)GetExtensionDelegateStatic("glFrustumf", typeof(Delegates.Frustumf)); - Delegates.glFrustumf((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - } - internal static void Load_FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f) - { - Delegates.glFrustumfOES = (Delegates.FrustumfOES)GetExtensionDelegateStatic("glFrustumfOES", typeof(Delegates.FrustumfOES)); - Delegates.glFrustumfOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - } - internal static void Load_Frustumx(int l, int r, int b, int t, int n, int f) - { - Delegates.glFrustumx = (Delegates.Frustumx)GetExtensionDelegateStatic("glFrustumx", typeof(Delegates.Frustumx)); - Delegates.glFrustumx((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - } - internal static void Load_FrustumxOES(int l, int r, int b, int t, int n, int f) - { - Delegates.glFrustumxOES = (Delegates.FrustumxOES)GetExtensionDelegateStatic("glFrustumxOES", typeof(Delegates.FrustumxOES)); - Delegates.glFrustumxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - } - internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } - internal static void Load_GenerateMipmapOES(OpenTK.Graphics.ES11.All target) - { - Delegates.glGenerateMipmapOES = (Delegates.GenerateMipmapOES)GetExtensionDelegateStatic("glGenerateMipmapOES", typeof(Delegates.GenerateMipmapOES)); - Delegates.glGenerateMipmapOES((OpenTK.Graphics.ES11.All)target); - } - internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) - { - Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_GenFramebuffersOES(Int32 n, [OutAttribute] UInt32* framebuffers) - { - Delegates.glGenFramebuffersOES = (Delegates.GenFramebuffersOES)GetExtensionDelegateStatic("glGenFramebuffersOES", typeof(Delegates.GenFramebuffersOES)); - Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_GenRenderbuffersOES(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - Delegates.glGenRenderbuffersOES = (Delegates.GenRenderbuffersOES)GetExtensionDelegateStatic("glGenRenderbuffersOES", typeof(Delegates.GenRenderbuffersOES)); - Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays) - { - Delegates.glGenVertexArraysOES = (Delegates.GenVertexArraysOES)GetExtensionDelegateStatic("glGenVertexArraysOES", typeof(Delegates.GenVertexArraysOES)); - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* data) - { - Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); - Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data); - } - internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - } - internal static void Load_GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetBufferPointervOES = (Delegates.GetBufferPointervOES)GetExtensionDelegateStatic("glGetBufferPointervOES", typeof(Delegates.GetBufferPointervOES)); - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params); - } - internal static unsafe void Load_GetClipPlanef(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) - { - Delegates.glGetClipPlanef = (Delegates.GetClipPlanef)GetExtensionDelegateStatic("glGetClipPlanef", typeof(Delegates.GetClipPlanef)); - Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation); - } - internal static unsafe void Load_GetClipPlanefOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) - { - Delegates.glGetClipPlanefOES = (Delegates.GetClipPlanefOES)GetExtensionDelegateStatic("glGetClipPlanefOES", typeof(Delegates.GetClipPlanefOES)); - Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation); - } - internal static unsafe void Load_GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) - { - Delegates.glGetClipPlanex = (Delegates.GetClipPlanex)GetExtensionDelegateStatic("glGetClipPlanex", typeof(Delegates.GetClipPlanex)); - Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation); - } - internal static unsafe void Load_GetClipPlanexOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) - { - Delegates.glGetClipPlanexOES = (Delegates.GetClipPlanexOES)GetExtensionDelegateStatic("glGetClipPlanexOES", typeof(Delegates.GetClipPlanexOES)); - Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation); - } - internal static unsafe void Load_GetConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetConvolutionParameterxvOES = (Delegates.GetConvolutionParameterxvOES)GetExtensionDelegateStatic("glGetConvolutionParameterxvOES", typeof(Delegates.GetConvolutionParameterxvOES)); - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - Delegates.glGetDriverControlsQCOM = (Delegates.GetDriverControlsQCOM)GetExtensionDelegateStatic("glGetDriverControlsQCOM", typeof(Delegates.GetDriverControlsQCOM)); - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - } - internal static unsafe void Load_GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - Delegates.glGetDriverControlStringQCOM = (Delegates.GetDriverControlStringQCOM)GetExtensionDelegateStatic("glGetDriverControlStringQCOM", typeof(Delegates.GetDriverControlStringQCOM)); - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - } - internal static OpenTK.Graphics.ES11.ErrorCode Load_GetError() - { - Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); - return Delegates.glGetError(); - } - internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFixedv(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetFixedv = (Delegates.GetFixedv)GetExtensionDelegateStatic("glGetFixedv", typeof(Delegates.GetFixedv)); - Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetFixedvOES(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetFixedvOES = (Delegates.GetFixedvOES)GetExtensionDelegateStatic("glGetFixedvOES", typeof(Delegates.GetFixedvOES)); - Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetFloatv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* data) - { - Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); - Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data); - } - internal static unsafe void Load_GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferAttachmentParameterivOES = (Delegates.GetFramebufferAttachmentParameterivOES)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameterivOES", typeof(Delegates.GetFramebufferAttachmentParameterivOES)); - Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - } - internal static OpenTK.Graphics.ES11.All Load_GetGraphicsResetStatusEXT() - { - Delegates.glGetGraphicsResetStatusEXT = (Delegates.GetGraphicsResetStatusEXT)GetExtensionDelegateStatic("glGetGraphicsResetStatusEXT", typeof(Delegates.GetGraphicsResetStatusEXT)); - return Delegates.glGetGraphicsResetStatusEXT(); - } - internal static unsafe void Load_GetHistogramParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetHistogramParameterxvOES = (Delegates.GetHistogramParameterxvOES)GetExtensionDelegateStatic("glGetHistogramParameterxvOES", typeof(Delegates.GetHistogramParameterxvOES)); - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetInteger64vAPPLE(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64* @params) - { - Delegates.glGetInteger64vAPPLE = (Delegates.GetInteger64vAPPLE)GetExtensionDelegateStatic("glGetInteger64vAPPLE", typeof(Delegates.GetInteger64vAPPLE)); - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.All)pname, (Int64*)@params); - } - internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* data) - { - Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); - Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data); - } - internal static unsafe void Load_GetLightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetLightfv = (Delegates.GetLightfv)GetExtensionDelegateStatic("glGetLightfv", typeof(Delegates.GetLightfv)); - Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetLightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetLightxOES = (Delegates.GetLightxOES)GetExtensionDelegateStatic("glGetLightxOES", typeof(Delegates.GetLightxOES)); - Delegates.glGetLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetLightxv = (Delegates.GetLightxv)GetExtensionDelegateStatic("glGetLightxv", typeof(Delegates.GetLightxv)); - Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetLightxvOES = (Delegates.GetLightxvOES)GetExtensionDelegateStatic("glGetLightxvOES", typeof(Delegates.GetLightxvOES)); - Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetMapxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int* v) - { - Delegates.glGetMapxvOES = (Delegates.GetMapxvOES)GetExtensionDelegateStatic("glGetMapxvOES", typeof(Delegates.GetMapxvOES)); - Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (int*)v); - } - internal static unsafe void Load_GetMaterialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetMaterialfv = (Delegates.GetMaterialfv)GetExtensionDelegateStatic("glGetMaterialfv", typeof(Delegates.GetMaterialfv)); - Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); - } - internal static void Load_GetMaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glGetMaterialxOES = (Delegates.GetMaterialxOES)GetExtensionDelegateStatic("glGetMaterialxOES", typeof(Delegates.GetMaterialxOES)); - Delegates.glGetMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetMaterialxv = (Delegates.GetMaterialxv)GetExtensionDelegateStatic("glGetMaterialxv", typeof(Delegates.GetMaterialxv)); - Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetMaterialxvOES = (Delegates.GetMaterialxvOES)GetExtensionDelegateStatic("glGetMaterialxvOES", typeof(Delegates.GetMaterialxvOES)); - Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - Delegates.glGetnUniformfvEXT = (Delegates.GetnUniformfvEXT)GetExtensionDelegateStatic("glGetnUniformfvEXT", typeof(Delegates.GetnUniformfvEXT)); - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - } - internal static unsafe void Load_GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetnUniformivEXT = (Delegates.GetnUniformivEXT)GetExtensionDelegateStatic("glGetnUniformivEXT", typeof(Delegates.GetnUniformivEXT)); - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - } - internal static unsafe void Load_GetPixelMapxv(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int* values) - { - Delegates.glGetPixelMapxv = (Delegates.GetPixelMapxv)GetExtensionDelegateStatic("glGetPixelMapxv", typeof(Delegates.GetPixelMapxv)); - Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values); - } - internal static void Load_GetPointerv(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); - Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params); - } - internal static unsafe void Load_GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetRenderbufferParameterivOES = (Delegates.GetRenderbufferParameterivOES)GetExtensionDelegateStatic("glGetRenderbufferParameterivOES", typeof(Delegates.GetRenderbufferParameterivOES)); - Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - } - internal static IntPtr Load_GetString(OpenTK.Graphics.ES11.StringName name) - { - Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); - return Delegates.glGetString((OpenTK.Graphics.ES11.StringName)name); - } - internal static unsafe void Load_GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - Delegates.glGetSyncivAPPLE = (Delegates.GetSyncivAPPLE)GetExtensionDelegateStatic("glGetSyncivAPPLE", typeof(Delegates.GetSyncivAPPLE)); - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - } - internal static unsafe void Load_GetTexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexEnvfv = (Delegates.GetTexEnvfv)GetExtensionDelegateStatic("glGetTexEnvfv", typeof(Delegates.GetTexEnvfv)); - Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexEnviv = (Delegates.GetTexEnviv)GetExtensionDelegateStatic("glGetTexEnviv", typeof(Delegates.GetTexEnviv)); - Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetTexEnvxv = (Delegates.GetTexEnvxv)GetExtensionDelegateStatic("glGetTexEnvxv", typeof(Delegates.GetTexEnvxv)); - Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetTexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetTexEnvxvOES = (Delegates.GetTexEnvxvOES)GetExtensionDelegateStatic("glGetTexEnvxvOES", typeof(Delegates.GetTexEnvxvOES)); - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexGenfvOES = (Delegates.GetTexGenfvOES)GetExtensionDelegateStatic("glGetTexGenfvOES", typeof(Delegates.GetTexGenfvOES)); - Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexGenivOES = (Delegates.GetTexGenivOES)GetExtensionDelegateStatic("glGetTexGenivOES", typeof(Delegates.GetTexGenivOES)); - Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetTexGenxvOES = (Delegates.GetTexGenxvOES)GetExtensionDelegateStatic("glGetTexGenxvOES", typeof(Delegates.GetTexGenxvOES)); - Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetTexLevelParameterxvOES(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetTexLevelParameterxvOES = (Delegates.GetTexLevelParameterxvOES)GetExtensionDelegateStatic("glGetTexLevelParameterxvOES", typeof(Delegates.GetTexLevelParameterxvOES)); - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetTexParameterxv = (Delegates.GetTexParameterxv)GetExtensionDelegateStatic("glGetTexParameterxv", typeof(Delegates.GetTexParameterxv)); - Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) - { - Delegates.glGetTexParameterxvOES = (Delegates.GetTexParameterxvOES)GetExtensionDelegateStatic("glGetTexParameterxvOES", typeof(Delegates.GetTexParameterxvOES)); - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static void Load_Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode) - { - Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); - Delegates.glHint((OpenTK.Graphics.ES11.HintTarget)target, (OpenTK.Graphics.ES11.HintMode)mode); - } - internal static void Load_IndexxOES(int component) - { - Delegates.glIndexxOES = (Delegates.IndexxOES)GetExtensionDelegateStatic("glIndexxOES", typeof(Delegates.IndexxOES)); - Delegates.glIndexxOES((int)component); - } - internal static unsafe void Load_IndexxvOES(int* component) - { - Delegates.glIndexxvOES = (Delegates.IndexxvOES)GetExtensionDelegateStatic("glIndexxvOES", typeof(Delegates.IndexxvOES)); - Delegates.glIndexxvOES((int*)component); - } - internal static bool Load_IsBuffer(UInt32 buffer) - { - Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); - return Delegates.glIsBuffer((UInt32)buffer); - } - internal static bool Load_IsEnabled(OpenTK.Graphics.ES11.EnableCap cap) - { - Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); - return Delegates.glIsEnabled((OpenTK.Graphics.ES11.EnableCap)cap); - } - internal static bool Load_IsFenceNV(UInt32 fence) - { - Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); - return Delegates.glIsFenceNV((UInt32)fence); - } - internal static bool Load_IsFramebufferOES(UInt32 framebuffer) - { - Delegates.glIsFramebufferOES = (Delegates.IsFramebufferOES)GetExtensionDelegateStatic("glIsFramebufferOES", typeof(Delegates.IsFramebufferOES)); - return Delegates.glIsFramebufferOES((UInt32)framebuffer); - } - internal static bool Load_IsRenderbufferOES(UInt32 renderbuffer) - { - Delegates.glIsRenderbufferOES = (Delegates.IsRenderbufferOES)GetExtensionDelegateStatic("glIsRenderbufferOES", typeof(Delegates.IsRenderbufferOES)); - return Delegates.glIsRenderbufferOES((UInt32)renderbuffer); - } - internal static bool Load_IsSyncAPPLE(IntPtr sync) - { - Delegates.glIsSyncAPPLE = (Delegates.IsSyncAPPLE)GetExtensionDelegateStatic("glIsSyncAPPLE", typeof(Delegates.IsSyncAPPLE)); - return Delegates.glIsSyncAPPLE((IntPtr)sync); - } - internal static bool Load_IsTexture(UInt32 texture) - { - Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); - return Delegates.glIsTexture((UInt32)texture); - } - internal static bool Load_IsVertexArrayOES(UInt32 array) - { - Delegates.glIsVertexArrayOES = (Delegates.IsVertexArrayOES)GetExtensionDelegateStatic("glIsVertexArrayOES", typeof(Delegates.IsVertexArrayOES)); - return Delegates.glIsVertexArrayOES((UInt32)array); - } - internal static void Load_Lightf(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param) - { - Delegates.glLightf = (Delegates.Lightf)GetExtensionDelegateStatic("glLightf", typeof(Delegates.Lightf)); - Delegates.glLightf((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single)param); - } - internal static unsafe void Load_Lightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params) - { - Delegates.glLightfv = (Delegates.Lightfv)GetExtensionDelegateStatic("glLightfv", typeof(Delegates.Lightfv)); - Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); - } - internal static void Load_LightModelf(OpenTK.Graphics.ES11.LightModelParameter pname, Single param) - { - Delegates.glLightModelf = (Delegates.LightModelf)GetExtensionDelegateStatic("glLightModelf", typeof(Delegates.LightModelf)); - Delegates.glLightModelf((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single)param); - } - internal static unsafe void Load_LightModelfv(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params) - { - Delegates.glLightModelfv = (Delegates.LightModelfv)GetExtensionDelegateStatic("glLightModelfv", typeof(Delegates.LightModelfv)); - Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params); - } - internal static void Load_LightModelx(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glLightModelx = (Delegates.LightModelx)GetExtensionDelegateStatic("glLightModelx", typeof(Delegates.LightModelx)); - Delegates.glLightModelx((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_LightModelxOES(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glLightModelxOES = (Delegates.LightModelxOES)GetExtensionDelegateStatic("glLightModelxOES", typeof(Delegates.LightModelxOES)); - Delegates.glLightModelxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_LightModelxv(OpenTK.Graphics.ES11.All pname, int* param) - { - Delegates.glLightModelxv = (Delegates.LightModelxv)GetExtensionDelegateStatic("glLightModelxv", typeof(Delegates.LightModelxv)); - Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)param); - } - internal static unsafe void Load_LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* param) - { - Delegates.glLightModelxvOES = (Delegates.LightModelxvOES)GetExtensionDelegateStatic("glLightModelxvOES", typeof(Delegates.LightModelxvOES)); - Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param); - } - internal static void Load_Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glLightx = (Delegates.Lightx)GetExtensionDelegateStatic("glLightx", typeof(Delegates.Lightx)); - Delegates.glLightx((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glLightxOES = (Delegates.LightxOES)GetExtensionDelegateStatic("glLightxOES", typeof(Delegates.LightxOES)); - Delegates.glLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glLightxv = (Delegates.Lightxv)GetExtensionDelegateStatic("glLightxv", typeof(Delegates.Lightxv)); - Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glLightxvOES = (Delegates.LightxvOES)GetExtensionDelegateStatic("glLightxvOES", typeof(Delegates.LightxvOES)); - Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static void Load_LineWidth(Single width) - { - Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); - Delegates.glLineWidth((Single)width); - } - internal static void Load_LineWidthx(int width) - { - Delegates.glLineWidthx = (Delegates.LineWidthx)GetExtensionDelegateStatic("glLineWidthx", typeof(Delegates.LineWidthx)); - Delegates.glLineWidthx((int)width); - } - internal static void Load_LineWidthxOES(int width) - { - Delegates.glLineWidthxOES = (Delegates.LineWidthxOES)GetExtensionDelegateStatic("glLineWidthxOES", typeof(Delegates.LineWidthxOES)); - Delegates.glLineWidthxOES((int)width); - } - internal static void Load_LoadIdentity() - { - Delegates.glLoadIdentity = (Delegates.LoadIdentity)GetExtensionDelegateStatic("glLoadIdentity", typeof(Delegates.LoadIdentity)); - Delegates.glLoadIdentity(); - } - internal static unsafe void Load_LoadMatrixf(Single* m) - { - Delegates.glLoadMatrixf = (Delegates.LoadMatrixf)GetExtensionDelegateStatic("glLoadMatrixf", typeof(Delegates.LoadMatrixf)); - Delegates.glLoadMatrixf((Single*)m); - } - internal static unsafe void Load_LoadMatrixx(int* m) - { - Delegates.glLoadMatrixx = (Delegates.LoadMatrixx)GetExtensionDelegateStatic("glLoadMatrixx", typeof(Delegates.LoadMatrixx)); - Delegates.glLoadMatrixx((int*)m); - } - internal static unsafe void Load_LoadMatrixxOES(int* m) - { - Delegates.glLoadMatrixxOES = (Delegates.LoadMatrixxOES)GetExtensionDelegateStatic("glLoadMatrixxOES", typeof(Delegates.LoadMatrixxOES)); - Delegates.glLoadMatrixxOES((int*)m); - } - internal static void Load_LoadPaletteFromModelViewMatrixOES() - { - Delegates.glLoadPaletteFromModelViewMatrixOES = (Delegates.LoadPaletteFromModelViewMatrixOES)GetExtensionDelegateStatic("glLoadPaletteFromModelViewMatrixOES", typeof(Delegates.LoadPaletteFromModelViewMatrixOES)); - Delegates.glLoadPaletteFromModelViewMatrixOES(); - } - internal static unsafe void Load_LoadTransposeMatrixxOES(int* m) - { - Delegates.glLoadTransposeMatrixxOES = (Delegates.LoadTransposeMatrixxOES)GetExtensionDelegateStatic("glLoadTransposeMatrixxOES", typeof(Delegates.LoadTransposeMatrixxOES)); - Delegates.glLoadTransposeMatrixxOES((int*)m); - } - internal static void Load_LogicOp(OpenTK.Graphics.ES11.LogicOp opcode) - { - Delegates.glLogicOp = (Delegates.LogicOp)GetExtensionDelegateStatic("glLogicOp", typeof(Delegates.LogicOp)); - Delegates.glLogicOp((OpenTK.Graphics.ES11.LogicOp)opcode); - } - internal static void Load_Map1xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 stride, Int32 order, int points) - { - Delegates.glMap1xOES = (Delegates.Map1xOES)GetExtensionDelegateStatic("glMap1xOES", typeof(Delegates.Map1xOES)); - Delegates.glMap1xOES((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points); - } - internal static void Load_Map2xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points) - { - Delegates.glMap2xOES = (Delegates.Map2xOES)GetExtensionDelegateStatic("glMap2xOES", typeof(Delegates.Map2xOES)); - Delegates.glMap2xOES((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points); - } - internal static IntPtr Load_MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access) - { - Delegates.glMapBufferOES = (Delegates.MapBufferOES)GetExtensionDelegateStatic("glMapBufferOES", typeof(Delegates.MapBufferOES)); - return Delegates.glMapBufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)access); - } - internal static IntPtr Load_MapBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, UInt32 access) - { - Delegates.glMapBufferRangeEXT = (Delegates.MapBufferRangeEXT)GetExtensionDelegateStatic("glMapBufferRangeEXT", typeof(Delegates.MapBufferRangeEXT)); - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - } - internal static void Load_MapGrid1xOES(Int32 n, int u1, int u2) - { - Delegates.glMapGrid1xOES = (Delegates.MapGrid1xOES)GetExtensionDelegateStatic("glMapGrid1xOES", typeof(Delegates.MapGrid1xOES)); - Delegates.glMapGrid1xOES((Int32)n, (int)u1, (int)u2); - } - internal static void Load_MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2) - { - Delegates.glMapGrid2xOES = (Delegates.MapGrid2xOES)GetExtensionDelegateStatic("glMapGrid2xOES", typeof(Delegates.MapGrid2xOES)); - Delegates.glMapGrid2xOES((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2); - } - internal static void Load_Materialf(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param) - { - Delegates.glMaterialf = (Delegates.Materialf)GetExtensionDelegateStatic("glMaterialf", typeof(Delegates.Materialf)); - Delegates.glMaterialf((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single)param); - } - internal static unsafe void Load_Materialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params) - { - Delegates.glMaterialfv = (Delegates.Materialfv)GetExtensionDelegateStatic("glMaterialfv", typeof(Delegates.Materialfv)); - Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); - } - internal static void Load_Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glMaterialx = (Delegates.Materialx)GetExtensionDelegateStatic("glMaterialx", typeof(Delegates.Materialx)); - Delegates.glMaterialx((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glMaterialxOES = (Delegates.MaterialxOES)GetExtensionDelegateStatic("glMaterialxOES", typeof(Delegates.MaterialxOES)); - Delegates.glMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) - { - Delegates.glMaterialxv = (Delegates.Materialxv)GetExtensionDelegateStatic("glMaterialxv", typeof(Delegates.Materialxv)); - Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param); - } - internal static unsafe void Load_MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) - { - Delegates.glMaterialxvOES = (Delegates.MaterialxvOES)GetExtensionDelegateStatic("glMaterialxvOES", typeof(Delegates.MaterialxvOES)); - Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param); - } - internal static void Load_MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - Delegates.glMatrixIndexPointerOES = (Delegates.MatrixIndexPointerOES)GetExtensionDelegateStatic("glMatrixIndexPointerOES", typeof(Delegates.MatrixIndexPointerOES)); - Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode) - { - Delegates.glMatrixMode = (Delegates.MatrixMode)GetExtensionDelegateStatic("glMatrixMode", typeof(Delegates.MatrixMode)); - Delegates.glMatrixMode((OpenTK.Graphics.ES11.MatrixMode)mode); - } - internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - } - internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) - { - Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_MultiTexCoord1bOES(OpenTK.Graphics.ES11.All texture, SByte s) - { - Delegates.glMultiTexCoord1bOES = (Delegates.MultiTexCoord1bOES)GetExtensionDelegateStatic("glMultiTexCoord1bOES", typeof(Delegates.MultiTexCoord1bOES)); - Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s); - } - internal static unsafe void Load_MultiTexCoord1bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - Delegates.glMultiTexCoord1bvOES = (Delegates.MultiTexCoord1bvOES)GetExtensionDelegateStatic("glMultiTexCoord1bvOES", typeof(Delegates.MultiTexCoord1bvOES)); - Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord1xOES(OpenTK.Graphics.ES11.All texture, int s) - { - Delegates.glMultiTexCoord1xOES = (Delegates.MultiTexCoord1xOES)GetExtensionDelegateStatic("glMultiTexCoord1xOES", typeof(Delegates.MultiTexCoord1xOES)); - Delegates.glMultiTexCoord1xOES((OpenTK.Graphics.ES11.All)texture, (int)s); - } - internal static unsafe void Load_MultiTexCoord1xvOES(OpenTK.Graphics.ES11.All texture, int* coords) - { - Delegates.glMultiTexCoord1xvOES = (Delegates.MultiTexCoord1xvOES)GetExtensionDelegateStatic("glMultiTexCoord1xvOES", typeof(Delegates.MultiTexCoord1xvOES)); - Delegates.glMultiTexCoord1xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - } - internal static void Load_MultiTexCoord2bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t) - { - Delegates.glMultiTexCoord2bOES = (Delegates.MultiTexCoord2bOES)GetExtensionDelegateStatic("glMultiTexCoord2bOES", typeof(Delegates.MultiTexCoord2bOES)); - Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t); - } - internal static unsafe void Load_MultiTexCoord2bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - Delegates.glMultiTexCoord2bvOES = (Delegates.MultiTexCoord2bvOES)GetExtensionDelegateStatic("glMultiTexCoord2bvOES", typeof(Delegates.MultiTexCoord2bvOES)); - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord2xOES(OpenTK.Graphics.ES11.All texture, int s, int t) - { - Delegates.glMultiTexCoord2xOES = (Delegates.MultiTexCoord2xOES)GetExtensionDelegateStatic("glMultiTexCoord2xOES", typeof(Delegates.MultiTexCoord2xOES)); - Delegates.glMultiTexCoord2xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t); - } - internal static unsafe void Load_MultiTexCoord2xvOES(OpenTK.Graphics.ES11.All texture, int* coords) - { - Delegates.glMultiTexCoord2xvOES = (Delegates.MultiTexCoord2xvOES)GetExtensionDelegateStatic("glMultiTexCoord2xvOES", typeof(Delegates.MultiTexCoord2xvOES)); - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - } - internal static void Load_MultiTexCoord3bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r) - { - Delegates.glMultiTexCoord3bOES = (Delegates.MultiTexCoord3bOES)GetExtensionDelegateStatic("glMultiTexCoord3bOES", typeof(Delegates.MultiTexCoord3bOES)); - Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r); - } - internal static unsafe void Load_MultiTexCoord3bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - Delegates.glMultiTexCoord3bvOES = (Delegates.MultiTexCoord3bvOES)GetExtensionDelegateStatic("glMultiTexCoord3bvOES", typeof(Delegates.MultiTexCoord3bvOES)); - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord3xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r) - { - Delegates.glMultiTexCoord3xOES = (Delegates.MultiTexCoord3xOES)GetExtensionDelegateStatic("glMultiTexCoord3xOES", typeof(Delegates.MultiTexCoord3xOES)); - Delegates.glMultiTexCoord3xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r); - } - internal static unsafe void Load_MultiTexCoord3xvOES(OpenTK.Graphics.ES11.All texture, int* coords) - { - Delegates.glMultiTexCoord3xvOES = (Delegates.MultiTexCoord3xvOES)GetExtensionDelegateStatic("glMultiTexCoord3xvOES", typeof(Delegates.MultiTexCoord3xvOES)); - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - } - internal static void Load_MultiTexCoord4bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r, SByte q) - { - Delegates.glMultiTexCoord4bOES = (Delegates.MultiTexCoord4bOES)GetExtensionDelegateStatic("glMultiTexCoord4bOES", typeof(Delegates.MultiTexCoord4bOES)); - Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); - } - internal static unsafe void Load_MultiTexCoord4bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) - { - Delegates.glMultiTexCoord4bvOES = (Delegates.MultiTexCoord4bvOES)GetExtensionDelegateStatic("glMultiTexCoord4bvOES", typeof(Delegates.MultiTexCoord4bvOES)); - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord4f(OpenTK.Graphics.ES11.TextureUnit target, Single s, Single t, Single r, Single q) - { - Delegates.glMultiTexCoord4f = (Delegates.MultiTexCoord4f)GetExtensionDelegateStatic("glMultiTexCoord4f", typeof(Delegates.MultiTexCoord4f)); - Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES11.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - } - internal static void Load_MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) - { - Delegates.glMultiTexCoord4x = (Delegates.MultiTexCoord4x)GetExtensionDelegateStatic("glMultiTexCoord4x", typeof(Delegates.MultiTexCoord4x)); - Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q); - } - internal static void Load_MultiTexCoord4xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) - { - Delegates.glMultiTexCoord4xOES = (Delegates.MultiTexCoord4xOES)GetExtensionDelegateStatic("glMultiTexCoord4xOES", typeof(Delegates.MultiTexCoord4xOES)); - Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q); - } - internal static unsafe void Load_MultiTexCoord4xvOES(OpenTK.Graphics.ES11.All texture, int* coords) - { - Delegates.glMultiTexCoord4xvOES = (Delegates.MultiTexCoord4xvOES)GetExtensionDelegateStatic("glMultiTexCoord4xvOES", typeof(Delegates.MultiTexCoord4xvOES)); - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); - } - internal static unsafe void Load_MultMatrixf(Single* m) - { - Delegates.glMultMatrixf = (Delegates.MultMatrixf)GetExtensionDelegateStatic("glMultMatrixf", typeof(Delegates.MultMatrixf)); - Delegates.glMultMatrixf((Single*)m); - } - internal static unsafe void Load_MultMatrixx(int* m) - { - Delegates.glMultMatrixx = (Delegates.MultMatrixx)GetExtensionDelegateStatic("glMultMatrixx", typeof(Delegates.MultMatrixx)); - Delegates.glMultMatrixx((int*)m); - } - internal static unsafe void Load_MultMatrixxOES(int* m) - { - Delegates.glMultMatrixxOES = (Delegates.MultMatrixxOES)GetExtensionDelegateStatic("glMultMatrixxOES", typeof(Delegates.MultMatrixxOES)); - Delegates.glMultMatrixxOES((int*)m); - } - internal static unsafe void Load_MultTransposeMatrixxOES(int* m) - { - Delegates.glMultTransposeMatrixxOES = (Delegates.MultTransposeMatrixxOES)GetExtensionDelegateStatic("glMultTransposeMatrixxOES", typeof(Delegates.MultTransposeMatrixxOES)); - Delegates.glMultTransposeMatrixxOES((int*)m); - } - internal static void Load_Normal3f(Single nx, Single ny, Single nz) - { - Delegates.glNormal3f = (Delegates.Normal3f)GetExtensionDelegateStatic("glNormal3f", typeof(Delegates.Normal3f)); - Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); - } - internal static void Load_Normal3x(int nx, int ny, int nz) - { - Delegates.glNormal3x = (Delegates.Normal3x)GetExtensionDelegateStatic("glNormal3x", typeof(Delegates.Normal3x)); - Delegates.glNormal3x((int)nx, (int)ny, (int)nz); - } - internal static void Load_Normal3xOES(int nx, int ny, int nz) - { - Delegates.glNormal3xOES = (Delegates.Normal3xOES)GetExtensionDelegateStatic("glNormal3xOES", typeof(Delegates.Normal3xOES)); - Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz); - } - internal static unsafe void Load_Normal3xvOES(int* coords) - { - Delegates.glNormal3xvOES = (Delegates.Normal3xvOES)GetExtensionDelegateStatic("glNormal3xvOES", typeof(Delegates.Normal3xvOES)); - Delegates.glNormal3xvOES((int*)coords); - } - internal static void Load_NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glNormalPointer = (Delegates.NormalPointer)GetExtensionDelegateStatic("glNormalPointer", typeof(Delegates.NormalPointer)); - Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_Orthof(Single l, Single r, Single b, Single t, Single n, Single f) - { - Delegates.glOrthof = (Delegates.Orthof)GetExtensionDelegateStatic("glOrthof", typeof(Delegates.Orthof)); - Delegates.glOrthof((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - } - internal static void Load_OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f) - { - Delegates.glOrthofOES = (Delegates.OrthofOES)GetExtensionDelegateStatic("glOrthofOES", typeof(Delegates.OrthofOES)); - Delegates.glOrthofOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - } - internal static void Load_Orthox(int l, int r, int b, int t, int n, int f) - { - Delegates.glOrthox = (Delegates.Orthox)GetExtensionDelegateStatic("glOrthox", typeof(Delegates.Orthox)); - Delegates.glOrthox((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - } - internal static void Load_OrthoxOES(int l, int r, int b, int t, int n, int f) - { - Delegates.glOrthoxOES = (Delegates.OrthoxOES)GetExtensionDelegateStatic("glOrthoxOES", typeof(Delegates.OrthoxOES)); - Delegates.glOrthoxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - } - internal static void Load_PassThroughxOES(int token) - { - Delegates.glPassThroughxOES = (Delegates.PassThroughxOES)GetExtensionDelegateStatic("glPassThroughxOES", typeof(Delegates.PassThroughxOES)); - Delegates.glPassThroughxOES((int)token); - } - internal static unsafe void Load_PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int* values) - { - Delegates.glPixelMapx = (Delegates.PixelMapx)GetExtensionDelegateStatic("glPixelMapx", typeof(Delegates.PixelMapx)); - Delegates.glPixelMapx((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values); - } - internal static void Load_PixelStorei(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param) - { - Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); - Delegates.glPixelStorei((OpenTK.Graphics.ES11.PixelStoreParameter)pname, (Int32)param); - } - internal static void Load_PixelStorex(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glPixelStorex = (Delegates.PixelStorex)GetExtensionDelegateStatic("glPixelStorex", typeof(Delegates.PixelStorex)); - Delegates.glPixelStorex((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_PixelTransferxOES(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glPixelTransferxOES = (Delegates.PixelTransferxOES)GetExtensionDelegateStatic("glPixelTransferxOES", typeof(Delegates.PixelTransferxOES)); - Delegates.glPixelTransferxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_PixelZoomxOES(int xfactor, int yfactor) - { - Delegates.glPixelZoomxOES = (Delegates.PixelZoomxOES)GetExtensionDelegateStatic("glPixelZoomxOES", typeof(Delegates.PixelZoomxOES)); - Delegates.glPixelZoomxOES((int)xfactor, (int)yfactor); - } - internal static void Load_PointParameterf(OpenTK.Graphics.ES11.All pname, Single param) - { - Delegates.glPointParameterf = (Delegates.PointParameterf)GetExtensionDelegateStatic("glPointParameterf", typeof(Delegates.PointParameterf)); - Delegates.glPointParameterf((OpenTK.Graphics.ES11.All)pname, (Single)param); - } - internal static unsafe void Load_PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params) - { - Delegates.glPointParameterfv = (Delegates.PointParameterfv)GetExtensionDelegateStatic("glPointParameterfv", typeof(Delegates.PointParameterfv)); - Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params); - } - internal static void Load_PointParameterx(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glPointParameterx = (Delegates.PointParameterx)GetExtensionDelegateStatic("glPointParameterx", typeof(Delegates.PointParameterx)); - Delegates.glPointParameterx((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glPointParameterxOES = (Delegates.PointParameterxOES)GetExtensionDelegateStatic("glPointParameterxOES", typeof(Delegates.PointParameterxOES)); - Delegates.glPointParameterxOES((OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glPointParameterxv = (Delegates.PointParameterxv)GetExtensionDelegateStatic("glPointParameterxv", typeof(Delegates.PointParameterxv)); - Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glPointParameterxvOES = (Delegates.PointParameterxvOES)GetExtensionDelegateStatic("glPointParameterxvOES", typeof(Delegates.PointParameterxvOES)); - Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static void Load_PointSize(Single size) - { - Delegates.glPointSize = (Delegates.PointSize)GetExtensionDelegateStatic("glPointSize", typeof(Delegates.PointSize)); - Delegates.glPointSize((Single)size); - } - internal static void Load_PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - Delegates.glPointSizePointerOES = (Delegates.PointSizePointerOES)GetExtensionDelegateStatic("glPointSizePointerOES", typeof(Delegates.PointSizePointerOES)); - Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_PointSizex(int size) - { - Delegates.glPointSizex = (Delegates.PointSizex)GetExtensionDelegateStatic("glPointSizex", typeof(Delegates.PointSizex)); - Delegates.glPointSizex((int)size); - } - internal static void Load_PointSizexOES(int size) - { - Delegates.glPointSizexOES = (Delegates.PointSizexOES)GetExtensionDelegateStatic("glPointSizexOES", typeof(Delegates.PointSizexOES)); - Delegates.glPointSizexOES((int)size); - } - internal static void Load_PolygonOffset(Single factor, Single units) - { - Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); - Delegates.glPolygonOffset((Single)factor, (Single)units); - } - internal static void Load_PolygonOffsetx(int factor, int units) - { - Delegates.glPolygonOffsetx = (Delegates.PolygonOffsetx)GetExtensionDelegateStatic("glPolygonOffsetx", typeof(Delegates.PolygonOffsetx)); - Delegates.glPolygonOffsetx((int)factor, (int)units); - } - internal static void Load_PolygonOffsetxOES(int factor, int units) - { - Delegates.glPolygonOffsetxOES = (Delegates.PolygonOffsetxOES)GetExtensionDelegateStatic("glPolygonOffsetxOES", typeof(Delegates.PolygonOffsetxOES)); - Delegates.glPolygonOffsetxOES((int)factor, (int)units); - } - internal static void Load_PopMatrix() - { - Delegates.glPopMatrix = (Delegates.PopMatrix)GetExtensionDelegateStatic("glPopMatrix", typeof(Delegates.PopMatrix)); - Delegates.glPopMatrix(); - } - internal static unsafe void Load_PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities) - { - Delegates.glPrioritizeTexturesxOES = (Delegates.PrioritizeTexturesxOES)GetExtensionDelegateStatic("glPrioritizeTexturesxOES", typeof(Delegates.PrioritizeTexturesxOES)); - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); - } - internal static void Load_PushMatrix() - { - Delegates.glPushMatrix = (Delegates.PushMatrix)GetExtensionDelegateStatic("glPushMatrix", typeof(Delegates.PushMatrix)); - Delegates.glPushMatrix(); - } - internal static unsafe Int32 Load_QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) - { - Delegates.glQueryMatrixxOES = (Delegates.QueryMatrixxOES)GetExtensionDelegateStatic("glQueryMatrixxOES", typeof(Delegates.QueryMatrixxOES)); - return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent); - } - internal static void Load_RasterPos2xOES(int x, int y) - { - Delegates.glRasterPos2xOES = (Delegates.RasterPos2xOES)GetExtensionDelegateStatic("glRasterPos2xOES", typeof(Delegates.RasterPos2xOES)); - Delegates.glRasterPos2xOES((int)x, (int)y); - } - internal static unsafe void Load_RasterPos2xvOES(int* coords) - { - Delegates.glRasterPos2xvOES = (Delegates.RasterPos2xvOES)GetExtensionDelegateStatic("glRasterPos2xvOES", typeof(Delegates.RasterPos2xvOES)); - Delegates.glRasterPos2xvOES((int*)coords); - } - internal static void Load_RasterPos3xOES(int x, int y, int z) - { - Delegates.glRasterPos3xOES = (Delegates.RasterPos3xOES)GetExtensionDelegateStatic("glRasterPos3xOES", typeof(Delegates.RasterPos3xOES)); - Delegates.glRasterPos3xOES((int)x, (int)y, (int)z); - } - internal static unsafe void Load_RasterPos3xvOES(int* coords) - { - Delegates.glRasterPos3xvOES = (Delegates.RasterPos3xvOES)GetExtensionDelegateStatic("glRasterPos3xvOES", typeof(Delegates.RasterPos3xvOES)); - Delegates.glRasterPos3xvOES((int*)coords); - } - internal static void Load_RasterPos4xOES(int x, int y, int z, int w) - { - Delegates.glRasterPos4xOES = (Delegates.RasterPos4xOES)GetExtensionDelegateStatic("glRasterPos4xOES", typeof(Delegates.RasterPos4xOES)); - Delegates.glRasterPos4xOES((int)x, (int)y, (int)z, (int)w); - } - internal static unsafe void Load_RasterPos4xvOES(int* coords) - { - Delegates.glRasterPos4xvOES = (Delegates.RasterPos4xvOES)GetExtensionDelegateStatic("glRasterPos4xvOES", typeof(Delegates.RasterPos4xvOES)); - Delegates.glRasterPos4xvOES((int*)coords); - } - internal static void Load_ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - Delegates.glReadnPixelsEXT = (Delegates.ReadnPixelsEXT)GetExtensionDelegateStatic("glReadnPixelsEXT", typeof(Delegates.ReadnPixelsEXT)); - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data); - } - internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); - } - internal static void Load_RectxOES(int x1, int y1, int x2, int y2) - { - Delegates.glRectxOES = (Delegates.RectxOES)GetExtensionDelegateStatic("glRectxOES", typeof(Delegates.RectxOES)); - Delegates.glRectxOES((int)x1, (int)y1, (int)x2, (int)y2); - } - internal static unsafe void Load_RectxvOES(int* v1, int* v2) - { - Delegates.glRectxvOES = (Delegates.RectxvOES)GetExtensionDelegateStatic("glRectxvOES", typeof(Delegates.RectxvOES)); - Delegates.glRectxvOES((int*)v1, (int*)v2); - } - internal static void Load_RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleAPPLE = (Delegates.RenderbufferStorageMultisampleAPPLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleAPPLE", typeof(Delegates.RenderbufferStorageMultisampleAPPLE)); - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleIMG = (Delegates.RenderbufferStorageMultisampleIMG)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleIMG", typeof(Delegates.RenderbufferStorageMultisampleIMG)); - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageOES = (Delegates.RenderbufferStorageOES)GetExtensionDelegateStatic("glRenderbufferStorageOES", typeof(Delegates.RenderbufferStorageOES)); - Delegates.glRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_ResolveMultisampleFramebufferAPPLE() - { - Delegates.glResolveMultisampleFramebufferAPPLE = (Delegates.ResolveMultisampleFramebufferAPPLE)GetExtensionDelegateStatic("glResolveMultisampleFramebufferAPPLE", typeof(Delegates.ResolveMultisampleFramebufferAPPLE)); - Delegates.glResolveMultisampleFramebufferAPPLE(); - } - internal static void Load_Rotatef(Single angle, Single x, Single y, Single z) - { - Delegates.glRotatef = (Delegates.Rotatef)GetExtensionDelegateStatic("glRotatef", typeof(Delegates.Rotatef)); - Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); - } - internal static void Load_Rotatex(int angle, int x, int y, int z) - { - Delegates.glRotatex = (Delegates.Rotatex)GetExtensionDelegateStatic("glRotatex", typeof(Delegates.Rotatex)); - Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z); - } - internal static void Load_RotatexOES(int angle, int x, int y, int z) - { - Delegates.glRotatexOES = (Delegates.RotatexOES)GetExtensionDelegateStatic("glRotatexOES", typeof(Delegates.RotatexOES)); - Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z); - } - internal static void Load_SampleCoverage(Single value, bool invert) - { - Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); - Delegates.glSampleCoverage((Single)value, (bool)invert); - } - internal static void Load_SampleCoverageOES(int value, bool invert) - { - Delegates.glSampleCoverageOES = (Delegates.SampleCoverageOES)GetExtensionDelegateStatic("glSampleCoverageOES", typeof(Delegates.SampleCoverageOES)); - Delegates.glSampleCoverageOES((int)value, (bool)invert); - } - internal static void Load_SampleCoveragex(int value, bool invert) - { - Delegates.glSampleCoveragex = (Delegates.SampleCoveragex)GetExtensionDelegateStatic("glSampleCoveragex", typeof(Delegates.SampleCoveragex)); - Delegates.glSampleCoveragex((int)value, (bool)invert); - } - internal static void Load_SampleCoveragexOES(int value, bool invert) - { - Delegates.glSampleCoveragexOES = (Delegates.SampleCoveragexOES)GetExtensionDelegateStatic("glSampleCoveragexOES", typeof(Delegates.SampleCoveragexOES)); - Delegates.glSampleCoveragexOES((int)value, (bool)invert); - } - internal static void Load_Scalef(Single x, Single y, Single z) - { - Delegates.glScalef = (Delegates.Scalef)GetExtensionDelegateStatic("glScalef", typeof(Delegates.Scalef)); - Delegates.glScalef((Single)x, (Single)y, (Single)z); - } - internal static void Load_Scalex(int x, int y, int z) - { - Delegates.glScalex = (Delegates.Scalex)GetExtensionDelegateStatic("glScalex", typeof(Delegates.Scalex)); - Delegates.glScalex((int)x, (int)y, (int)z); - } - internal static void Load_ScalexOES(int x, int y, int z) - { - Delegates.glScalexOES = (Delegates.ScalexOES)GetExtensionDelegateStatic("glScalexOES", typeof(Delegates.ScalexOES)); - Delegates.glScalexOES((int)x, (int)y, (int)z); - } - internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition) - { - Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition); - } - internal static void Load_ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode) - { - Delegates.glShadeModel = (Delegates.ShadeModel)GetExtensionDelegateStatic("glShadeModel", typeof(Delegates.ShadeModel)); - Delegates.glShadeModel((OpenTK.Graphics.ES11.ShadingModel)mode); - } - internal static void Load_StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - Delegates.glStartTilingQCOM = (Delegates.StartTilingQCOM)GetExtensionDelegateStatic("glStartTilingQCOM", typeof(Delegates.StartTilingQCOM)); - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - } - internal static void Load_StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); - Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilMask(UInt32 mask) - { - Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); - Delegates.glStencilMask((UInt32)mask); - } - internal static void Load_StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass) - { - Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); - Delegates.glStencilOp((OpenTK.Graphics.ES11.StencilOp)fail, (OpenTK.Graphics.ES11.StencilOp)zfail, (OpenTK.Graphics.ES11.StencilOp)zpass); - } - internal static bool Load_TestFenceNV(UInt32 fence) - { - Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); - return Delegates.glTestFenceNV((UInt32)fence); - } - internal static void Load_TexCoord1bOES(SByte s) - { - Delegates.glTexCoord1bOES = (Delegates.TexCoord1bOES)GetExtensionDelegateStatic("glTexCoord1bOES", typeof(Delegates.TexCoord1bOES)); - Delegates.glTexCoord1bOES((SByte)s); - } - internal static unsafe void Load_TexCoord1bvOES(SByte* coords) - { - Delegates.glTexCoord1bvOES = (Delegates.TexCoord1bvOES)GetExtensionDelegateStatic("glTexCoord1bvOES", typeof(Delegates.TexCoord1bvOES)); - Delegates.glTexCoord1bvOES((SByte*)coords); - } - internal static void Load_TexCoord1xOES(int s) - { - Delegates.glTexCoord1xOES = (Delegates.TexCoord1xOES)GetExtensionDelegateStatic("glTexCoord1xOES", typeof(Delegates.TexCoord1xOES)); - Delegates.glTexCoord1xOES((int)s); - } - internal static unsafe void Load_TexCoord1xvOES(int* coords) - { - Delegates.glTexCoord1xvOES = (Delegates.TexCoord1xvOES)GetExtensionDelegateStatic("glTexCoord1xvOES", typeof(Delegates.TexCoord1xvOES)); - Delegates.glTexCoord1xvOES((int*)coords); - } - internal static void Load_TexCoord2bOES(SByte s, SByte t) - { - Delegates.glTexCoord2bOES = (Delegates.TexCoord2bOES)GetExtensionDelegateStatic("glTexCoord2bOES", typeof(Delegates.TexCoord2bOES)); - Delegates.glTexCoord2bOES((SByte)s, (SByte)t); - } - internal static unsafe void Load_TexCoord2bvOES(SByte* coords) - { - Delegates.glTexCoord2bvOES = (Delegates.TexCoord2bvOES)GetExtensionDelegateStatic("glTexCoord2bvOES", typeof(Delegates.TexCoord2bvOES)); - Delegates.glTexCoord2bvOES((SByte*)coords); - } - internal static void Load_TexCoord2xOES(int s, int t) - { - Delegates.glTexCoord2xOES = (Delegates.TexCoord2xOES)GetExtensionDelegateStatic("glTexCoord2xOES", typeof(Delegates.TexCoord2xOES)); - Delegates.glTexCoord2xOES((int)s, (int)t); - } - internal static unsafe void Load_TexCoord2xvOES(int* coords) - { - Delegates.glTexCoord2xvOES = (Delegates.TexCoord2xvOES)GetExtensionDelegateStatic("glTexCoord2xvOES", typeof(Delegates.TexCoord2xvOES)); - Delegates.glTexCoord2xvOES((int*)coords); - } - internal static void Load_TexCoord3bOES(SByte s, SByte t, SByte r) - { - Delegates.glTexCoord3bOES = (Delegates.TexCoord3bOES)GetExtensionDelegateStatic("glTexCoord3bOES", typeof(Delegates.TexCoord3bOES)); - Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); - } - internal static unsafe void Load_TexCoord3bvOES(SByte* coords) - { - Delegates.glTexCoord3bvOES = (Delegates.TexCoord3bvOES)GetExtensionDelegateStatic("glTexCoord3bvOES", typeof(Delegates.TexCoord3bvOES)); - Delegates.glTexCoord3bvOES((SByte*)coords); - } - internal static void Load_TexCoord3xOES(int s, int t, int r) - { - Delegates.glTexCoord3xOES = (Delegates.TexCoord3xOES)GetExtensionDelegateStatic("glTexCoord3xOES", typeof(Delegates.TexCoord3xOES)); - Delegates.glTexCoord3xOES((int)s, (int)t, (int)r); - } - internal static unsafe void Load_TexCoord3xvOES(int* coords) - { - Delegates.glTexCoord3xvOES = (Delegates.TexCoord3xvOES)GetExtensionDelegateStatic("glTexCoord3xvOES", typeof(Delegates.TexCoord3xvOES)); - Delegates.glTexCoord3xvOES((int*)coords); - } - internal static void Load_TexCoord4bOES(SByte s, SByte t, SByte r, SByte q) - { - Delegates.glTexCoord4bOES = (Delegates.TexCoord4bOES)GetExtensionDelegateStatic("glTexCoord4bOES", typeof(Delegates.TexCoord4bOES)); - Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); - } - internal static unsafe void Load_TexCoord4bvOES(SByte* coords) - { - Delegates.glTexCoord4bvOES = (Delegates.TexCoord4bvOES)GetExtensionDelegateStatic("glTexCoord4bvOES", typeof(Delegates.TexCoord4bvOES)); - Delegates.glTexCoord4bvOES((SByte*)coords); - } - internal static void Load_TexCoord4xOES(int s, int t, int r, int q) - { - Delegates.glTexCoord4xOES = (Delegates.TexCoord4xOES)GetExtensionDelegateStatic("glTexCoord4xOES", typeof(Delegates.TexCoord4xOES)); - Delegates.glTexCoord4xOES((int)s, (int)t, (int)r, (int)q); - } - internal static unsafe void Load_TexCoord4xvOES(int* coords) - { - Delegates.glTexCoord4xvOES = (Delegates.TexCoord4xvOES)GetExtensionDelegateStatic("glTexCoord4xvOES", typeof(Delegates.TexCoord4xvOES)); - Delegates.glTexCoord4xvOES((int*)coords); - } - internal static void Load_TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glTexCoordPointer = (Delegates.TexCoordPointer)GetExtensionDelegateStatic("glTexCoordPointer", typeof(Delegates.TexCoordPointer)); - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_TexEnvf(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param) - { - Delegates.glTexEnvf = (Delegates.TexEnvf)GetExtensionDelegateStatic("glTexEnvf", typeof(Delegates.TexEnvf)); - Delegates.glTexEnvf((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single)param); - } - internal static unsafe void Load_TexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params) - { - Delegates.glTexEnvfv = (Delegates.TexEnvfv)GetExtensionDelegateStatic("glTexEnvfv", typeof(Delegates.TexEnvfv)); - Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); - } - internal static void Load_TexEnvi(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param) - { - Delegates.glTexEnvi = (Delegates.TexEnvi)GetExtensionDelegateStatic("glTexEnvi", typeof(Delegates.TexEnvi)); - Delegates.glTexEnvi((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32)param); - } - internal static unsafe void Load_TexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params) - { - Delegates.glTexEnviv = (Delegates.TexEnviv)GetExtensionDelegateStatic("glTexEnviv", typeof(Delegates.TexEnviv)); - Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); - } - internal static void Load_TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glTexEnvx = (Delegates.TexEnvx)GetExtensionDelegateStatic("glTexEnvx", typeof(Delegates.TexEnvx)); - Delegates.glTexEnvx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glTexEnvxOES = (Delegates.TexEnvxOES)GetExtensionDelegateStatic("glTexEnvxOES", typeof(Delegates.TexEnvxOES)); - Delegates.glTexEnvxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glTexEnvxv = (Delegates.TexEnvxv)GetExtensionDelegateStatic("glTexEnvxv", typeof(Delegates.TexEnvxv)); - Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glTexEnvxvOES = (Delegates.TexEnvxvOES)GetExtensionDelegateStatic("glTexEnvxvOES", typeof(Delegates.TexEnvxvOES)); - Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static void Load_TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param) - { - Delegates.glTexGenfOES = (Delegates.TexGenfOES)GetExtensionDelegateStatic("glTexGenfOES", typeof(Delegates.TexGenfOES)); - Delegates.glTexGenfOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single)param); - } - internal static unsafe void Load_TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params) - { - Delegates.glTexGenfvOES = (Delegates.TexGenfvOES)GetExtensionDelegateStatic("glTexGenfvOES", typeof(Delegates.TexGenfvOES)); - Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); - } - internal static void Load_TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param) - { - Delegates.glTexGeniOES = (Delegates.TexGeniOES)GetExtensionDelegateStatic("glTexGeniOES", typeof(Delegates.TexGeniOES)); - Delegates.glTexGeniOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32)param); - } - internal static unsafe void Load_TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params) - { - Delegates.glTexGenivOES = (Delegates.TexGenivOES)GetExtensionDelegateStatic("glTexGenivOES", typeof(Delegates.TexGenivOES)); - Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); - } - internal static void Load_TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glTexGenxOES = (Delegates.TexGenxOES)GetExtensionDelegateStatic("glTexGenxOES", typeof(Delegates.TexGenxOES)); - Delegates.glTexGenxOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glTexGenxvOES = (Delegates.TexGenxvOES)GetExtensionDelegateStatic("glTexGenxvOES", typeof(Delegates.TexGenxvOES)); - Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static void Load_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) - { - Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); - 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); - } - internal static void Load_TexParameterf(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param) - { - Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); - Delegates.glTexParameterf((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single)param); - } - internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params) - { - Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); - Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params); - } - internal static void Load_TexParameteri(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param) - { - Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); - Delegates.glTexParameteri((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32)param); - } - internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); - Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params); - } - internal static void Load_TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glTexParameterx = (Delegates.TexParameterx)GetExtensionDelegateStatic("glTexParameterx", typeof(Delegates.TexParameterx)); - Delegates.glTexParameterx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static void Load_TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) - { - Delegates.glTexParameterxOES = (Delegates.TexParameterxOES)GetExtensionDelegateStatic("glTexParameterxOES", typeof(Delegates.TexParameterxOES)); - Delegates.glTexParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); - } - internal static unsafe void Load_TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glTexParameterxv = (Delegates.TexParameterxv)GetExtensionDelegateStatic("glTexParameterxv", typeof(Delegates.TexParameterxv)); - Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static unsafe void Load_TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) - { - Delegates.glTexParameterxvOES = (Delegates.TexParameterxvOES)GetExtensionDelegateStatic("glTexParameterxvOES", typeof(Delegates.TexParameterxvOES)); - Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); - } - internal static void Load_TexStorage1DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) - { - Delegates.glTexStorage1DEXT = (Delegates.TexStorage1DEXT)GetExtensionDelegateStatic("glTexStorage1DEXT", typeof(Delegates.TexStorage1DEXT)); - Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width); - } - internal static void Load_TexStorage2DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - Delegates.glTexStorage2DEXT = (Delegates.TexStorage2DEXT)GetExtensionDelegateStatic("glTexStorage2DEXT", typeof(Delegates.TexStorage2DEXT)); - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TexStorage3DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTexStorage3DEXT = (Delegates.TexStorage3DEXT)GetExtensionDelegateStatic("glTexStorage3DEXT", typeof(Delegates.TexStorage3DEXT)); - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_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) - { - Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); - 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); - } - internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) - { - Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width); - } - internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) - { - Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_Translatef(Single x, Single y, Single z) - { - Delegates.glTranslatef = (Delegates.Translatef)GetExtensionDelegateStatic("glTranslatef", typeof(Delegates.Translatef)); - Delegates.glTranslatef((Single)x, (Single)y, (Single)z); - } - internal static void Load_Translatex(int x, int y, int z) - { - Delegates.glTranslatex = (Delegates.Translatex)GetExtensionDelegateStatic("glTranslatex", typeof(Delegates.Translatex)); - Delegates.glTranslatex((int)x, (int)y, (int)z); - } - internal static void Load_TranslatexOES(int x, int y, int z) - { - Delegates.glTranslatexOES = (Delegates.TranslatexOES)GetExtensionDelegateStatic("glTranslatexOES", typeof(Delegates.TranslatexOES)); - Delegates.glTranslatexOES((int)x, (int)y, (int)z); - } - internal static bool Load_UnmapBufferOES(OpenTK.Graphics.ES11.All target) - { - Delegates.glUnmapBufferOES = (Delegates.UnmapBufferOES)GetExtensionDelegateStatic("glUnmapBufferOES", typeof(Delegates.UnmapBufferOES)); - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES11.All)target); - } - internal static void Load_Vertex2bOES(SByte x) - { - Delegates.glVertex2bOES = (Delegates.Vertex2bOES)GetExtensionDelegateStatic("glVertex2bOES", typeof(Delegates.Vertex2bOES)); - Delegates.glVertex2bOES((SByte)x); - } - internal static unsafe void Load_Vertex2bvOES(SByte* coords) - { - Delegates.glVertex2bvOES = (Delegates.Vertex2bvOES)GetExtensionDelegateStatic("glVertex2bvOES", typeof(Delegates.Vertex2bvOES)); - Delegates.glVertex2bvOES((SByte*)coords); - } - internal static void Load_Vertex2xOES(int x) - { - Delegates.glVertex2xOES = (Delegates.Vertex2xOES)GetExtensionDelegateStatic("glVertex2xOES", typeof(Delegates.Vertex2xOES)); - Delegates.glVertex2xOES((int)x); - } - internal static unsafe void Load_Vertex2xvOES(int* coords) - { - Delegates.glVertex2xvOES = (Delegates.Vertex2xvOES)GetExtensionDelegateStatic("glVertex2xvOES", typeof(Delegates.Vertex2xvOES)); - Delegates.glVertex2xvOES((int*)coords); - } - internal static void Load_Vertex3bOES(SByte x, SByte y) - { - Delegates.glVertex3bOES = (Delegates.Vertex3bOES)GetExtensionDelegateStatic("glVertex3bOES", typeof(Delegates.Vertex3bOES)); - Delegates.glVertex3bOES((SByte)x, (SByte)y); - } - internal static unsafe void Load_Vertex3bvOES(SByte* coords) - { - Delegates.glVertex3bvOES = (Delegates.Vertex3bvOES)GetExtensionDelegateStatic("glVertex3bvOES", typeof(Delegates.Vertex3bvOES)); - Delegates.glVertex3bvOES((SByte*)coords); - } - internal static void Load_Vertex3xOES(int x, int y) - { - Delegates.glVertex3xOES = (Delegates.Vertex3xOES)GetExtensionDelegateStatic("glVertex3xOES", typeof(Delegates.Vertex3xOES)); - Delegates.glVertex3xOES((int)x, (int)y); - } - internal static unsafe void Load_Vertex3xvOES(int* coords) - { - Delegates.glVertex3xvOES = (Delegates.Vertex3xvOES)GetExtensionDelegateStatic("glVertex3xvOES", typeof(Delegates.Vertex3xvOES)); - Delegates.glVertex3xvOES((int*)coords); - } - internal static void Load_Vertex4bOES(SByte x, SByte y, SByte z) - { - Delegates.glVertex4bOES = (Delegates.Vertex4bOES)GetExtensionDelegateStatic("glVertex4bOES", typeof(Delegates.Vertex4bOES)); - Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); - } - internal static unsafe void Load_Vertex4bvOES(SByte* coords) - { - Delegates.glVertex4bvOES = (Delegates.Vertex4bvOES)GetExtensionDelegateStatic("glVertex4bvOES", typeof(Delegates.Vertex4bvOES)); - Delegates.glVertex4bvOES((SByte*)coords); - } - internal static void Load_Vertex4xOES(int x, int y, int z) - { - Delegates.glVertex4xOES = (Delegates.Vertex4xOES)GetExtensionDelegateStatic("glVertex4xOES", typeof(Delegates.Vertex4xOES)); - Delegates.glVertex4xOES((int)x, (int)y, (int)z); - } - internal static unsafe void Load_Vertex4xvOES(int* coords) - { - Delegates.glVertex4xvOES = (Delegates.Vertex4xvOES)GetExtensionDelegateStatic("glVertex4xvOES", typeof(Delegates.Vertex4xvOES)); - Delegates.glVertex4xvOES((int*)coords); - } - internal static void Load_VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexPointer = (Delegates.VertexPointer)GetExtensionDelegateStatic("glVertexPointer", typeof(Delegates.VertexPointer)); - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout) - { - Delegates.glWaitSyncAPPLE = (Delegates.WaitSyncAPPLE)GetExtensionDelegateStatic("glWaitSyncAPPLE", typeof(Delegates.WaitSyncAPPLE)); - Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); - } - internal static void Load_WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) - { - Delegates.glWeightPointerOES = (Delegates.WeightPointerOES)GetExtensionDelegateStatic("glWeightPointerOES", typeof(Delegates.WeightPointerOES)); - Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + internal static void Load_AccumxOES(OpenTK.Graphics.ES11.All op, int value) + { + Delegates.glAccumxOES = (Delegates.AccumxOES)GetExtensionDelegateStatic("glAccumxOES", typeof(Delegates.AccumxOES)); + Delegates.glAccumxOES((OpenTK.Graphics.ES11.All)op, (int)value); + } + internal static void Load_ActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) + { + Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); + Delegates.glActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); + } + internal static void Load_AlphaFunc(OpenTK.Graphics.ES11.AlphaFunction func, Single @ref) + { + Delegates.glAlphaFunc = (Delegates.AlphaFunc)GetExtensionDelegateStatic("glAlphaFunc", typeof(Delegates.AlphaFunc)); + Delegates.glAlphaFunc((OpenTK.Graphics.ES11.AlphaFunction)func, (Single)@ref); + } + internal static void Load_AlphaFuncx(OpenTK.Graphics.ES11.All func, int @ref) + { + Delegates.glAlphaFuncx = (Delegates.AlphaFuncx)GetExtensionDelegateStatic("glAlphaFuncx", typeof(Delegates.AlphaFuncx)); + Delegates.glAlphaFuncx((OpenTK.Graphics.ES11.All)func, (int)@ref); + } + internal static void Load_AlphaFuncxOES(OpenTK.Graphics.ES11.All func, int @ref) + { + Delegates.glAlphaFuncxOES = (Delegates.AlphaFuncxOES)GetExtensionDelegateStatic("glAlphaFuncxOES", typeof(Delegates.AlphaFuncxOES)); + Delegates.glAlphaFuncxOES((OpenTK.Graphics.ES11.All)func, (int)@ref); + } + internal static void Load_BindBuffer(OpenTK.Graphics.ES11.All target, UInt32 buffer) + { + Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); + Delegates.glBindBuffer((OpenTK.Graphics.ES11.All)target, (UInt32)buffer); + } + internal static void Load_BindFramebufferOES(OpenTK.Graphics.ES11.All target, UInt32 framebuffer) + { + Delegates.glBindFramebufferOES = (Delegates.BindFramebufferOES)GetExtensionDelegateStatic("glBindFramebufferOES", typeof(Delegates.BindFramebufferOES)); + Delegates.glBindFramebufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)framebuffer); + } + internal static void Load_BindRenderbufferOES(OpenTK.Graphics.ES11.All target, UInt32 renderbuffer) + { + Delegates.glBindRenderbufferOES = (Delegates.BindRenderbufferOES)GetExtensionDelegateStatic("glBindRenderbufferOES", typeof(Delegates.BindRenderbufferOES)); + Delegates.glBindRenderbufferOES((OpenTK.Graphics.ES11.All)target, (UInt32)renderbuffer); + } + internal static void Load_BindTexture(OpenTK.Graphics.ES11.TextureTarget target, UInt32 texture) + { + Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); + Delegates.glBindTexture((OpenTK.Graphics.ES11.TextureTarget)target, (UInt32)texture); + } + internal static void Load_BindVertexArrayOES(UInt32 array) + { + Delegates.glBindVertexArrayOES = (Delegates.BindVertexArrayOES)GetExtensionDelegateStatic("glBindVertexArrayOES", typeof(Delegates.BindVertexArrayOES)); + Delegates.glBindVertexArrayOES((UInt32)array); + } + internal static unsafe void Load_BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap) + { + Delegates.glBitmapxOES = (Delegates.BitmapxOES)GetExtensionDelegateStatic("glBitmapxOES", typeof(Delegates.BitmapxOES)); + Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap); + } + internal static void Load_BlendColorxOES(int red, int green, int blue, int alpha) + { + Delegates.glBlendColorxOES = (Delegates.BlendColorxOES)GetExtensionDelegateStatic("glBlendColorxOES", typeof(Delegates.BlendColorxOES)); + Delegates.glBlendColorxOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_BlendEquationEXT(OpenTK.Graphics.ES11.All mode) + { + Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); + Delegates.glBlendEquationEXT((OpenTK.Graphics.ES11.All)mode); + } + internal static void Load_BlendEquationOES(OpenTK.Graphics.ES11.All mode) + { + Delegates.glBlendEquationOES = (Delegates.BlendEquationOES)GetExtensionDelegateStatic("glBlendEquationOES", typeof(Delegates.BlendEquationOES)); + Delegates.glBlendEquationOES((OpenTK.Graphics.ES11.All)mode); + } + internal static void Load_BlendEquationSeparateOES(OpenTK.Graphics.ES11.All modeRGB, OpenTK.Graphics.ES11.All modeAlpha) + { + Delegates.glBlendEquationSeparateOES = (Delegates.BlendEquationSeparateOES)GetExtensionDelegateStatic("glBlendEquationSeparateOES", typeof(Delegates.BlendEquationSeparateOES)); + Delegates.glBlendEquationSeparateOES((OpenTK.Graphics.ES11.All)modeRGB, (OpenTK.Graphics.ES11.All)modeAlpha); + } + internal static void Load_BlendFunc(OpenTK.Graphics.ES11.BlendingFactorSrc sfactor, OpenTK.Graphics.ES11.BlendingFactorDest dfactor) + { + Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); + Delegates.glBlendFunc((OpenTK.Graphics.ES11.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES11.BlendingFactorDest)dfactor); + } + internal static void Load_BlendFuncSeparateOES(OpenTK.Graphics.ES11.All srcRGB, OpenTK.Graphics.ES11.All dstRGB, OpenTK.Graphics.ES11.All srcAlpha, OpenTK.Graphics.ES11.All dstAlpha) + { + Delegates.glBlendFuncSeparateOES = (Delegates.BlendFuncSeparateOES)GetExtensionDelegateStatic("glBlendFuncSeparateOES", typeof(Delegates.BlendFuncSeparateOES)); + Delegates.glBlendFuncSeparateOES((OpenTK.Graphics.ES11.All)srcRGB, (OpenTK.Graphics.ES11.All)dstRGB, (OpenTK.Graphics.ES11.All)srcAlpha, (OpenTK.Graphics.ES11.All)dstAlpha); + } + internal static void Load_BufferData(OpenTK.Graphics.ES11.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES11.All usage) + { + Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); + Delegates.glBufferData((OpenTK.Graphics.ES11.All)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES11.All)usage); + } + internal static void Load_BufferSubData(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); + Delegates.glBufferSubData((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static OpenTK.Graphics.ES11.All Load_CheckFramebufferStatusOES(OpenTK.Graphics.ES11.All target) + { + Delegates.glCheckFramebufferStatusOES = (Delegates.CheckFramebufferStatusOES)GetExtensionDelegateStatic("glCheckFramebufferStatusOES", typeof(Delegates.CheckFramebufferStatusOES)); + return Delegates.glCheckFramebufferStatusOES((OpenTK.Graphics.ES11.All)target); + } + internal static void Load_Clear(OpenTK.Graphics.ES11.ClearBufferMask mask) + { + Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); + Delegates.glClear((OpenTK.Graphics.ES11.ClearBufferMask)mask); + } + internal static void Load_ClearAccumxOES(int red, int green, int blue, int alpha) + { + Delegates.glClearAccumxOES = (Delegates.ClearAccumxOES)GetExtensionDelegateStatic("glClearAccumxOES", typeof(Delegates.ClearAccumxOES)); + Delegates.glClearAccumxOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_ClearColorx(int red, int green, int blue, int alpha) + { + Delegates.glClearColorx = (Delegates.ClearColorx)GetExtensionDelegateStatic("glClearColorx", typeof(Delegates.ClearColorx)); + Delegates.glClearColorx((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_ClearColorxOES(int red, int green, int blue, int alpha) + { + Delegates.glClearColorxOES = (Delegates.ClearColorxOES)GetExtensionDelegateStatic("glClearColorxOES", typeof(Delegates.ClearColorxOES)); + Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_ClearDepthf(Single d) + { + Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); + Delegates.glClearDepthf((Single)d); + } + internal static void Load_ClearDepthfOES(Single depth) + { + Delegates.glClearDepthfOES = (Delegates.ClearDepthfOES)GetExtensionDelegateStatic("glClearDepthfOES", typeof(Delegates.ClearDepthfOES)); + Delegates.glClearDepthfOES((Single)depth); + } + internal static void Load_ClearDepthx(int depth) + { + Delegates.glClearDepthx = (Delegates.ClearDepthx)GetExtensionDelegateStatic("glClearDepthx", typeof(Delegates.ClearDepthx)); + Delegates.glClearDepthx((int)depth); + } + internal static void Load_ClearDepthxOES(int depth) + { + Delegates.glClearDepthxOES = (Delegates.ClearDepthxOES)GetExtensionDelegateStatic("glClearDepthxOES", typeof(Delegates.ClearDepthxOES)); + Delegates.glClearDepthxOES((int)depth); + } + internal static void Load_ClearStencil(Int32 s) + { + Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); + Delegates.glClearStencil((Int32)s); + } + internal static void Load_ClientActiveTexture(OpenTK.Graphics.ES11.TextureUnit texture) + { + Delegates.glClientActiveTexture = (Delegates.ClientActiveTexture)GetExtensionDelegateStatic("glClientActiveTexture", typeof(Delegates.ClientActiveTexture)); + Delegates.glClientActiveTexture((OpenTK.Graphics.ES11.TextureUnit)texture); + } + internal static OpenTK.Graphics.ES11.All Load_ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout) + { + Delegates.glClientWaitSyncAPPLE = (Delegates.ClientWaitSyncAPPLE)GetExtensionDelegateStatic("glClientWaitSyncAPPLE", typeof(Delegates.ClientWaitSyncAPPLE)); + return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + } + internal static unsafe void Load_ClipPlanef(OpenTK.Graphics.ES11.All p, Single* eqn) + { + Delegates.glClipPlanef = (Delegates.ClipPlanef)GetExtensionDelegateStatic("glClipPlanef", typeof(Delegates.ClipPlanef)); + Delegates.glClipPlanef((OpenTK.Graphics.ES11.All)p, (Single*)eqn); + } + internal static unsafe void Load_ClipPlanefIMG(OpenTK.Graphics.ES11.All p, Single* eqn) + { + Delegates.glClipPlanefIMG = (Delegates.ClipPlanefIMG)GetExtensionDelegateStatic("glClipPlanefIMG", typeof(Delegates.ClipPlanefIMG)); + Delegates.glClipPlanefIMG((OpenTK.Graphics.ES11.All)p, (Single*)eqn); + } + internal static unsafe void Load_ClipPlanefOES(OpenTK.Graphics.ES11.All plane, Single* equation) + { + Delegates.glClipPlanefOES = (Delegates.ClipPlanefOES)GetExtensionDelegateStatic("glClipPlanefOES", typeof(Delegates.ClipPlanefOES)); + Delegates.glClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation); + } + internal static unsafe void Load_ClipPlanex(OpenTK.Graphics.ES11.All plane, int* equation) + { + Delegates.glClipPlanex = (Delegates.ClipPlanex)GetExtensionDelegateStatic("glClipPlanex", typeof(Delegates.ClipPlanex)); + Delegates.glClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation); + } + internal static unsafe void Load_ClipPlanexIMG(OpenTK.Graphics.ES11.All p, int* eqn) + { + Delegates.glClipPlanexIMG = (Delegates.ClipPlanexIMG)GetExtensionDelegateStatic("glClipPlanexIMG", typeof(Delegates.ClipPlanexIMG)); + Delegates.glClipPlanexIMG((OpenTK.Graphics.ES11.All)p, (int*)eqn); + } + internal static unsafe void Load_ClipPlanexOES(OpenTK.Graphics.ES11.All plane, int* equation) + { + Delegates.glClipPlanexOES = (Delegates.ClipPlanexOES)GetExtensionDelegateStatic("glClipPlanexOES", typeof(Delegates.ClipPlanexOES)); + Delegates.glClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation); + } + internal static void Load_Color3xOES(int red, int green, int blue) + { + Delegates.glColor3xOES = (Delegates.Color3xOES)GetExtensionDelegateStatic("glColor3xOES", typeof(Delegates.Color3xOES)); + Delegates.glColor3xOES((int)red, (int)green, (int)blue); + } + internal static unsafe void Load_Color3xvOES(int* components) + { + Delegates.glColor3xvOES = (Delegates.Color3xvOES)GetExtensionDelegateStatic("glColor3xvOES", typeof(Delegates.Color3xvOES)); + Delegates.glColor3xvOES((int*)components); + } + internal static void Load_Color4f(Single red, Single green, Single blue, Single alpha) + { + Delegates.glColor4f = (Delegates.Color4f)GetExtensionDelegateStatic("glColor4f", typeof(Delegates.Color4f)); + Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_Color4ub(Byte red, Byte green, Byte blue, Byte alpha) + { + Delegates.glColor4ub = (Delegates.Color4ub)GetExtensionDelegateStatic("glColor4ub", typeof(Delegates.Color4ub)); + Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); + } + internal static void Load_Color4x(int red, int green, int blue, int alpha) + { + Delegates.glColor4x = (Delegates.Color4x)GetExtensionDelegateStatic("glColor4x", typeof(Delegates.Color4x)); + Delegates.glColor4x((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_Color4xOES(int red, int green, int blue, int alpha) + { + Delegates.glColor4xOES = (Delegates.Color4xOES)GetExtensionDelegateStatic("glColor4xOES", typeof(Delegates.Color4xOES)); + Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static unsafe void Load_Color4xvOES(int* components) + { + Delegates.glColor4xvOES = (Delegates.Color4xvOES)GetExtensionDelegateStatic("glColor4xvOES", typeof(Delegates.Color4xvOES)); + Delegates.glColor4xvOES((int*)components); + } + internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) + { + Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + } + internal static void Load_ColorPointer(Int32 size, OpenTK.Graphics.ES11.ColorPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glColorPointer = (Delegates.ColorPointer)GetExtensionDelegateStatic("glColorPointer", typeof(Delegates.ColorPointer)); + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.ES11.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_CompressedTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_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) + { + Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); + 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); + } + internal static void Load_ConvolutionParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glConvolutionParameterxOES = (Delegates.ConvolutionParameterxOES)GetExtensionDelegateStatic("glConvolutionParameterxOES", typeof(Delegates.ConvolutionParameterxOES)); + Delegates.glConvolutionParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_ConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glConvolutionParameterxvOES = (Delegates.ConvolutionParameterxvOES)GetExtensionDelegateStatic("glConvolutionParameterxvOES", typeof(Delegates.ConvolutionParameterxvOES)); + Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static void Load_CopyTexImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, OpenTK.Graphics.ES11.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); + Delegates.glCopyTexImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES11.All)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.ES11.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES11.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) + { + Delegates.glCopyTextureLevelsAPPLE = (Delegates.CopyTextureLevelsAPPLE)GetExtensionDelegateStatic("glCopyTextureLevelsAPPLE", typeof(Delegates.CopyTextureLevelsAPPLE)); + Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); + } + internal static void Load_CullFace(OpenTK.Graphics.ES11.CullFaceMode mode) + { + Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); + Delegates.glCullFace((OpenTK.Graphics.ES11.CullFaceMode)mode); + } + internal static void Load_CurrentPaletteMatrixOES(UInt32 matrixpaletteindex) + { + Delegates.glCurrentPaletteMatrixOES = (Delegates.CurrentPaletteMatrixOES)GetExtensionDelegateStatic("glCurrentPaletteMatrixOES", typeof(Delegates.CurrentPaletteMatrixOES)); + Delegates.glCurrentPaletteMatrixOES((UInt32)matrixpaletteindex); + } + internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } + internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) + { + Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_DeleteFramebuffersOES(Int32 n, UInt32* framebuffers) + { + Delegates.glDeleteFramebuffersOES = (Delegates.DeleteFramebuffersOES)GetExtensionDelegateStatic("glDeleteFramebuffersOES", typeof(Delegates.DeleteFramebuffersOES)); + Delegates.glDeleteFramebuffersOES((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_DeleteRenderbuffersOES(Int32 n, UInt32* renderbuffers) + { + Delegates.glDeleteRenderbuffersOES = (Delegates.DeleteRenderbuffersOES)GetExtensionDelegateStatic("glDeleteRenderbuffersOES", typeof(Delegates.DeleteRenderbuffersOES)); + Delegates.glDeleteRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); + } + internal static void Load_DeleteSyncAPPLE(IntPtr sync) + { + Delegates.glDeleteSyncAPPLE = (Delegates.DeleteSyncAPPLE)GetExtensionDelegateStatic("glDeleteSyncAPPLE", typeof(Delegates.DeleteSyncAPPLE)); + Delegates.glDeleteSyncAPPLE((IntPtr)sync); + } + internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) + { + Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_DeleteVertexArraysOES(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArraysOES = (Delegates.DeleteVertexArraysOES)GetExtensionDelegateStatic("glDeleteVertexArraysOES", typeof(Delegates.DeleteVertexArraysOES)); + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); + } + internal static void Load_DepthFunc(OpenTK.Graphics.ES11.DepthFunction func) + { + Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); + Delegates.glDepthFunc((OpenTK.Graphics.ES11.DepthFunction)func); + } + internal static void Load_DepthMask(bool flag) + { + Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); + Delegates.glDepthMask((bool)flag); + } + internal static void Load_DepthRangef(Single n, Single f) + { + Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); + Delegates.glDepthRangef((Single)n, (Single)f); + } + internal static void Load_DepthRangefOES(Single n, Single f) + { + Delegates.glDepthRangefOES = (Delegates.DepthRangefOES)GetExtensionDelegateStatic("glDepthRangefOES", typeof(Delegates.DepthRangefOES)); + Delegates.glDepthRangefOES((Single)n, (Single)f); + } + internal static void Load_DepthRangex(int n, int f) + { + Delegates.glDepthRangex = (Delegates.DepthRangex)GetExtensionDelegateStatic("glDepthRangex", typeof(Delegates.DepthRangex)); + Delegates.glDepthRangex((int)n, (int)f); + } + internal static void Load_DepthRangexOES(int n, int f) + { + Delegates.glDepthRangexOES = (Delegates.DepthRangexOES)GetExtensionDelegateStatic("glDepthRangexOES", typeof(Delegates.DepthRangexOES)); + Delegates.glDepthRangexOES((int)n, (int)f); + } + internal static void Load_Disable(OpenTK.Graphics.ES11.EnableCap cap) + { + Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); + Delegates.glDisable((OpenTK.Graphics.ES11.EnableCap)cap); + } + internal static void Load_DisableClientState(OpenTK.Graphics.ES11.EnableCap array) + { + Delegates.glDisableClientState = (Delegates.DisableClientState)GetExtensionDelegateStatic("glDisableClientState", typeof(Delegates.DisableClientState)); + Delegates.glDisableClientState((OpenTK.Graphics.ES11.EnableCap)array); + } + internal static void Load_DisableDriverControlQCOM(UInt32 driverControl) + { + Delegates.glDisableDriverControlQCOM = (Delegates.DisableDriverControlQCOM)GetExtensionDelegateStatic("glDisableDriverControlQCOM", typeof(Delegates.DisableDriverControlQCOM)); + Delegates.glDisableDriverControlQCOM((UInt32)driverControl); + } + internal static unsafe void Load_DiscardFramebufferEXT(OpenTK.Graphics.ES11.All target, Int32 numAttachments, OpenTK.Graphics.ES11.All* attachments) + { + Delegates.glDiscardFramebufferEXT = (Delegates.DiscardFramebufferEXT)GetExtensionDelegateStatic("glDiscardFramebufferEXT", typeof(Delegates.DiscardFramebufferEXT)); + Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES11.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES11.All*)attachments); + } + internal static void Load_DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count) + { + Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); + Delegates.glDrawArrays((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count); + } + internal static void Load_DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices) + { + Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); + Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices); + } + internal static void Load_DrawTexfOES(Single x, Single y, Single z, Single width, Single height) + { + Delegates.glDrawTexfOES = (Delegates.DrawTexfOES)GetExtensionDelegateStatic("glDrawTexfOES", typeof(Delegates.DrawTexfOES)); + Delegates.glDrawTexfOES((Single)x, (Single)y, (Single)z, (Single)width, (Single)height); + } + internal static unsafe void Load_DrawTexfvOES(Single* coords) + { + Delegates.glDrawTexfvOES = (Delegates.DrawTexfvOES)GetExtensionDelegateStatic("glDrawTexfvOES", typeof(Delegates.DrawTexfvOES)); + Delegates.glDrawTexfvOES((Single*)coords); + } + internal static void Load_DrawTexiOES(Int32 x, Int32 y, Int32 z, Int32 width, Int32 height) + { + Delegates.glDrawTexiOES = (Delegates.DrawTexiOES)GetExtensionDelegateStatic("glDrawTexiOES", typeof(Delegates.DrawTexiOES)); + Delegates.glDrawTexiOES((Int32)x, (Int32)y, (Int32)z, (Int32)width, (Int32)height); + } + internal static unsafe void Load_DrawTexivOES(Int32* coords) + { + Delegates.glDrawTexivOES = (Delegates.DrawTexivOES)GetExtensionDelegateStatic("glDrawTexivOES", typeof(Delegates.DrawTexivOES)); + Delegates.glDrawTexivOES((Int32*)coords); + } + internal static void Load_DrawTexsOES(Int16 x, Int16 y, Int16 z, Int16 width, Int16 height) + { + Delegates.glDrawTexsOES = (Delegates.DrawTexsOES)GetExtensionDelegateStatic("glDrawTexsOES", typeof(Delegates.DrawTexsOES)); + Delegates.glDrawTexsOES((Int16)x, (Int16)y, (Int16)z, (Int16)width, (Int16)height); + } + internal static unsafe void Load_DrawTexsvOES(Int16* coords) + { + Delegates.glDrawTexsvOES = (Delegates.DrawTexsvOES)GetExtensionDelegateStatic("glDrawTexsvOES", typeof(Delegates.DrawTexsvOES)); + Delegates.glDrawTexsvOES((Int16*)coords); + } + internal static void Load_DrawTexxOES(int x, int y, int z, int width, int height) + { + Delegates.glDrawTexxOES = (Delegates.DrawTexxOES)GetExtensionDelegateStatic("glDrawTexxOES", typeof(Delegates.DrawTexxOES)); + Delegates.glDrawTexxOES((int)x, (int)y, (int)z, (int)width, (int)height); + } + internal static unsafe void Load_DrawTexxvOES(int* coords) + { + Delegates.glDrawTexxvOES = (Delegates.DrawTexxvOES)GetExtensionDelegateStatic("glDrawTexxvOES", typeof(Delegates.DrawTexxvOES)); + Delegates.glDrawTexxvOES((int*)coords); + } + internal static void Load_EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES11.All target, IntPtr image) + { + Delegates.glEGLImageTargetRenderbufferStorageOES = (Delegates.EGLImageTargetRenderbufferStorageOES)GetExtensionDelegateStatic("glEGLImageTargetRenderbufferStorageOES", typeof(Delegates.EGLImageTargetRenderbufferStorageOES)); + Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); + } + internal static void Load_EGLImageTargetTexture2DOES(OpenTK.Graphics.ES11.All target, IntPtr image) + { + Delegates.glEGLImageTargetTexture2DOES = (Delegates.EGLImageTargetTexture2DOES)GetExtensionDelegateStatic("glEGLImageTargetTexture2DOES", typeof(Delegates.EGLImageTargetTexture2DOES)); + Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES11.All)target, (IntPtr)image); + } + internal static void Load_Enable(OpenTK.Graphics.ES11.EnableCap cap) + { + Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); + Delegates.glEnable((OpenTK.Graphics.ES11.EnableCap)cap); + } + internal static void Load_EnableClientState(OpenTK.Graphics.ES11.EnableCap array) + { + Delegates.glEnableClientState = (Delegates.EnableClientState)GetExtensionDelegateStatic("glEnableClientState", typeof(Delegates.EnableClientState)); + Delegates.glEnableClientState((OpenTK.Graphics.ES11.EnableCap)array); + } + internal static void Load_EnableDriverControlQCOM(UInt32 driverControl) + { + Delegates.glEnableDriverControlQCOM = (Delegates.EnableDriverControlQCOM)GetExtensionDelegateStatic("glEnableDriverControlQCOM", typeof(Delegates.EnableDriverControlQCOM)); + Delegates.glEnableDriverControlQCOM((UInt32)driverControl); + } + internal static void Load_EndTilingQCOM(UInt32 preserveMask) + { + Delegates.glEndTilingQCOM = (Delegates.EndTilingQCOM)GetExtensionDelegateStatic("glEndTilingQCOM", typeof(Delegates.EndTilingQCOM)); + Delegates.glEndTilingQCOM((UInt32)preserveMask); + } + internal static void Load_EvalCoord1xOES(int u) + { + Delegates.glEvalCoord1xOES = (Delegates.EvalCoord1xOES)GetExtensionDelegateStatic("glEvalCoord1xOES", typeof(Delegates.EvalCoord1xOES)); + Delegates.glEvalCoord1xOES((int)u); + } + internal static unsafe void Load_EvalCoord1xvOES(int* coords) + { + Delegates.glEvalCoord1xvOES = (Delegates.EvalCoord1xvOES)GetExtensionDelegateStatic("glEvalCoord1xvOES", typeof(Delegates.EvalCoord1xvOES)); + Delegates.glEvalCoord1xvOES((int*)coords); + } + internal static void Load_EvalCoord2xOES(int u, int v) + { + Delegates.glEvalCoord2xOES = (Delegates.EvalCoord2xOES)GetExtensionDelegateStatic("glEvalCoord2xOES", typeof(Delegates.EvalCoord2xOES)); + Delegates.glEvalCoord2xOES((int)u, (int)v); + } + internal static unsafe void Load_EvalCoord2xvOES(int* coords) + { + Delegates.glEvalCoord2xvOES = (Delegates.EvalCoord2xvOES)GetExtensionDelegateStatic("glEvalCoord2xvOES", typeof(Delegates.EvalCoord2xvOES)); + Delegates.glEvalCoord2xvOES((int*)coords); + } + internal static void Load_ExtGetBufferPointervQCOM(OpenTK.Graphics.ES11.All target, [OutAttribute] IntPtr @params) + { + Delegates.glExtGetBufferPointervQCOM = (Delegates.ExtGetBufferPointervQCOM)GetExtensionDelegateStatic("glExtGetBufferPointervQCOM", typeof(Delegates.ExtGetBufferPointervQCOM)); + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES11.All)target, (IntPtr)@params); + } + internal static unsafe void Load_ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) + { + Delegates.glExtGetBuffersQCOM = (Delegates.ExtGetBuffersQCOM)GetExtensionDelegateStatic("glExtGetBuffersQCOM", typeof(Delegates.ExtGetBuffersQCOM)); + Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); + } + internal static unsafe void Load_ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) + { + Delegates.glExtGetFramebuffersQCOM = (Delegates.ExtGetFramebuffersQCOM)GetExtensionDelegateStatic("glExtGetFramebuffersQCOM", typeof(Delegates.ExtGetFramebuffersQCOM)); + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); + } + internal static unsafe void Load_ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) + { + Delegates.glExtGetProgramBinarySourceQCOM = (Delegates.ExtGetProgramBinarySourceQCOM)GetExtensionDelegateStatic("glExtGetProgramBinarySourceQCOM", typeof(Delegates.ExtGetProgramBinarySourceQCOM)); + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES11.All)shadertype, (StringBuilder)source, (Int32*)length); + } + internal static unsafe void Load_ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) + { + Delegates.glExtGetProgramsQCOM = (Delegates.ExtGetProgramsQCOM)GetExtensionDelegateStatic("glExtGetProgramsQCOM", typeof(Delegates.ExtGetProgramsQCOM)); + Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); + } + internal static unsafe void Load_ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) + { + Delegates.glExtGetRenderbuffersQCOM = (Delegates.ExtGetRenderbuffersQCOM)GetExtensionDelegateStatic("glExtGetRenderbuffersQCOM", typeof(Delegates.ExtGetRenderbuffersQCOM)); + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); + } + internal static unsafe void Load_ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) + { + Delegates.glExtGetShadersQCOM = (Delegates.ExtGetShadersQCOM)GetExtensionDelegateStatic("glExtGetShadersQCOM", typeof(Delegates.ExtGetShadersQCOM)); + Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); + } + internal static unsafe void Load_ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES11.All face, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) + { + Delegates.glExtGetTexLevelParameterivQCOM = (Delegates.ExtGetTexLevelParameterivQCOM)GetExtensionDelegateStatic("glExtGetTexLevelParameterivQCOM", typeof(Delegates.ExtGetTexLevelParameterivQCOM)); + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES11.All)face, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + } + internal static void Load_ExtGetTexSubImageQCOM(OpenTK.Graphics.ES11.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, [OutAttribute] IntPtr texels) + { + Delegates.glExtGetTexSubImageQCOM = (Delegates.ExtGetTexSubImageQCOM)GetExtensionDelegateStatic("glExtGetTexSubImageQCOM", typeof(Delegates.ExtGetTexSubImageQCOM)); + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES11.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (IntPtr)texels); + } + internal static unsafe void Load_ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) + { + Delegates.glExtGetTexturesQCOM = (Delegates.ExtGetTexturesQCOM)GetExtensionDelegateStatic("glExtGetTexturesQCOM", typeof(Delegates.ExtGetTexturesQCOM)); + Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); + } + internal static bool Load_ExtIsProgramBinaryQCOM(UInt32 program) + { + Delegates.glExtIsProgramBinaryQCOM = (Delegates.ExtIsProgramBinaryQCOM)GetExtensionDelegateStatic("glExtIsProgramBinaryQCOM", typeof(Delegates.ExtIsProgramBinaryQCOM)); + return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); + } + internal static void Load_ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, Int32 param) + { + Delegates.glExtTexObjectStateOverrideiQCOM = (Delegates.ExtTexObjectStateOverrideiQCOM)GetExtensionDelegateStatic("glExtTexObjectStateOverrideiQCOM", typeof(Delegates.ExtTexObjectStateOverrideiQCOM)); + Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32)param); + } + internal static unsafe void Load_FeedbackBufferxOES(Int32 n, OpenTK.Graphics.ES11.All type, int* buffer) + { + Delegates.glFeedbackBufferxOES = (Delegates.FeedbackBufferxOES)GetExtensionDelegateStatic("glFeedbackBufferxOES", typeof(Delegates.FeedbackBufferxOES)); + Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.ES11.All)type, (int*)buffer); + } + internal static IntPtr Load_FenceSyncAPPLE(OpenTK.Graphics.ES11.All condition, UInt32 flags) + { + Delegates.glFenceSyncAPPLE = (Delegates.FenceSyncAPPLE)GetExtensionDelegateStatic("glFenceSyncAPPLE", typeof(Delegates.FenceSyncAPPLE)); + return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES11.All)condition, (UInt32)flags); + } + internal static void Load_Finish() + { + Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); + Delegates.glFinish(); + } + internal static void Load_FinishFenceNV(UInt32 fence) + { + Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); + Delegates.glFinishFenceNV((UInt32)fence); + } + internal static void Load_Flush() + { + Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); + Delegates.glFlush(); + } + internal static void Load_FlushMappedBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length) + { + Delegates.glFlushMappedBufferRangeEXT = (Delegates.FlushMappedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedBufferRangeEXT", typeof(Delegates.FlushMappedBufferRangeEXT)); + Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length); + } + internal static void Load_Fogf(OpenTK.Graphics.ES11.FogParameter pname, Single param) + { + Delegates.glFogf = (Delegates.Fogf)GetExtensionDelegateStatic("glFogf", typeof(Delegates.Fogf)); + Delegates.glFogf((OpenTK.Graphics.ES11.FogParameter)pname, (Single)param); + } + internal static unsafe void Load_Fogfv(OpenTK.Graphics.ES11.FogParameter pname, Single* @params) + { + Delegates.glFogfv = (Delegates.Fogfv)GetExtensionDelegateStatic("glFogfv", typeof(Delegates.Fogfv)); + Delegates.glFogfv((OpenTK.Graphics.ES11.FogParameter)pname, (Single*)@params); + } + internal static void Load_Fogx(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glFogx = (Delegates.Fogx)GetExtensionDelegateStatic("glFogx", typeof(Delegates.Fogx)); + Delegates.glFogx((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_FogxOES(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glFogxOES = (Delegates.FogxOES)GetExtensionDelegateStatic("glFogxOES", typeof(Delegates.FogxOES)); + Delegates.glFogxOES((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_Fogxv(OpenTK.Graphics.ES11.All pname, int* param) + { + Delegates.glFogxv = (Delegates.Fogxv)GetExtensionDelegateStatic("glFogxv", typeof(Delegates.Fogxv)); + Delegates.glFogxv((OpenTK.Graphics.ES11.All)pname, (int*)param); + } + internal static unsafe void Load_FogxvOES(OpenTK.Graphics.ES11.All pname, int* param) + { + Delegates.glFogxvOES = (Delegates.FogxvOES)GetExtensionDelegateStatic("glFogxvOES", typeof(Delegates.FogxvOES)); + Delegates.glFogxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param); + } + internal static void Load_FramebufferRenderbufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All renderbuffertarget, UInt32 renderbuffer) + { + Delegates.glFramebufferRenderbufferOES = (Delegates.FramebufferRenderbufferOES)GetExtensionDelegateStatic("glFramebufferRenderbufferOES", typeof(Delegates.FramebufferRenderbufferOES)); + Delegates.glFramebufferRenderbufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)renderbuffertarget, (UInt32)renderbuffer); + } + internal static void Load_FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples) + { + Delegates.glFramebufferTexture2DMultisampleEXT = (Delegates.FramebufferTexture2DMultisampleEXT)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleEXT", typeof(Delegates.FramebufferTexture2DMultisampleEXT)); + Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); + } + internal static void Load_FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level, Int32 samples) + { + Delegates.glFramebufferTexture2DMultisampleIMG = (Delegates.FramebufferTexture2DMultisampleIMG)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleIMG", typeof(Delegates.FramebufferTexture2DMultisampleIMG)); + Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); + } + internal static void Load_FramebufferTexture2DOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture2DOES = (Delegates.FramebufferTexture2DOES)GetExtensionDelegateStatic("glFramebufferTexture2DOES", typeof(Delegates.FramebufferTexture2DOES)); + Delegates.glFramebufferTexture2DOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FrontFace(OpenTK.Graphics.ES11.FrontFaceDirection mode) + { + Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); + Delegates.glFrontFace((OpenTK.Graphics.ES11.FrontFaceDirection)mode); + } + internal static void Load_Frustumf(Single l, Single r, Single b, Single t, Single n, Single f) + { + Delegates.glFrustumf = (Delegates.Frustumf)GetExtensionDelegateStatic("glFrustumf", typeof(Delegates.Frustumf)); + Delegates.glFrustumf((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); + } + internal static void Load_FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f) + { + Delegates.glFrustumfOES = (Delegates.FrustumfOES)GetExtensionDelegateStatic("glFrustumfOES", typeof(Delegates.FrustumfOES)); + Delegates.glFrustumfOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); + } + internal static void Load_Frustumx(int l, int r, int b, int t, int n, int f) + { + Delegates.glFrustumx = (Delegates.Frustumx)GetExtensionDelegateStatic("glFrustumx", typeof(Delegates.Frustumx)); + Delegates.glFrustumx((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); + } + internal static void Load_FrustumxOES(int l, int r, int b, int t, int n, int f) + { + Delegates.glFrustumxOES = (Delegates.FrustumxOES)GetExtensionDelegateStatic("glFrustumxOES", typeof(Delegates.FrustumxOES)); + Delegates.glFrustumxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); + } + internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + } + internal static void Load_GenerateMipmapOES(OpenTK.Graphics.ES11.All target) + { + Delegates.glGenerateMipmapOES = (Delegates.GenerateMipmapOES)GetExtensionDelegateStatic("glGenerateMipmapOES", typeof(Delegates.GenerateMipmapOES)); + Delegates.glGenerateMipmapOES((OpenTK.Graphics.ES11.All)target); + } + internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) + { + Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_GenFramebuffersOES(Int32 n, [OutAttribute] UInt32* framebuffers) + { + Delegates.glGenFramebuffersOES = (Delegates.GenFramebuffersOES)GetExtensionDelegateStatic("glGenFramebuffersOES", typeof(Delegates.GenFramebuffersOES)); + Delegates.glGenFramebuffersOES((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_GenRenderbuffersOES(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + Delegates.glGenRenderbuffersOES = (Delegates.GenRenderbuffersOES)GetExtensionDelegateStatic("glGenRenderbuffersOES", typeof(Delegates.GenRenderbuffersOES)); + Delegates.glGenRenderbuffersOES((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays) + { + Delegates.glGenVertexArraysOES = (Delegates.GenVertexArraysOES)GetExtensionDelegateStatic("glGenVertexArraysOES", typeof(Delegates.GenVertexArraysOES)); + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] bool* data) + { + Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); + Delegates.glGetBooleanv((OpenTK.Graphics.ES11.GetPName)pname, (bool*)data); + } + internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + } + internal static void Load_GetBufferPointervOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetBufferPointervOES = (Delegates.GetBufferPointervOES)GetExtensionDelegateStatic("glGetBufferPointervOES", typeof(Delegates.GetBufferPointervOES)); + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (IntPtr)@params); + } + internal static unsafe void Load_GetClipPlanef(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) + { + Delegates.glGetClipPlanef = (Delegates.GetClipPlanef)GetExtensionDelegateStatic("glGetClipPlanef", typeof(Delegates.GetClipPlanef)); + Delegates.glGetClipPlanef((OpenTK.Graphics.ES11.All)plane, (Single*)equation); + } + internal static unsafe void Load_GetClipPlanefOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] Single* equation) + { + Delegates.glGetClipPlanefOES = (Delegates.GetClipPlanefOES)GetExtensionDelegateStatic("glGetClipPlanefOES", typeof(Delegates.GetClipPlanefOES)); + Delegates.glGetClipPlanefOES((OpenTK.Graphics.ES11.All)plane, (Single*)equation); + } + internal static unsafe void Load_GetClipPlanex(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) + { + Delegates.glGetClipPlanex = (Delegates.GetClipPlanex)GetExtensionDelegateStatic("glGetClipPlanex", typeof(Delegates.GetClipPlanex)); + Delegates.glGetClipPlanex((OpenTK.Graphics.ES11.All)plane, (int*)equation); + } + internal static unsafe void Load_GetClipPlanexOES(OpenTK.Graphics.ES11.All plane, [OutAttribute] int* equation) + { + Delegates.glGetClipPlanexOES = (Delegates.GetClipPlanexOES)GetExtensionDelegateStatic("glGetClipPlanexOES", typeof(Delegates.GetClipPlanexOES)); + Delegates.glGetClipPlanexOES((OpenTK.Graphics.ES11.All)plane, (int*)equation); + } + internal static unsafe void Load_GetConvolutionParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetConvolutionParameterxvOES = (Delegates.GetConvolutionParameterxvOES)GetExtensionDelegateStatic("glGetConvolutionParameterxvOES", typeof(Delegates.GetConvolutionParameterxvOES)); + Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) + { + Delegates.glGetDriverControlsQCOM = (Delegates.GetDriverControlsQCOM)GetExtensionDelegateStatic("glGetDriverControlsQCOM", typeof(Delegates.GetDriverControlsQCOM)); + Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); + } + internal static unsafe void Load_GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) + { + Delegates.glGetDriverControlStringQCOM = (Delegates.GetDriverControlStringQCOM)GetExtensionDelegateStatic("glGetDriverControlStringQCOM", typeof(Delegates.GetDriverControlStringQCOM)); + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); + } + internal static OpenTK.Graphics.ES11.ErrorCode Load_GetError() + { + Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); + return Delegates.glGetError(); + } + internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFixedv(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetFixedv = (Delegates.GetFixedv)GetExtensionDelegateStatic("glGetFixedv", typeof(Delegates.GetFixedv)); + Delegates.glGetFixedv((OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetFixedvOES(OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetFixedvOES = (Delegates.GetFixedvOES)GetExtensionDelegateStatic("glGetFixedvOES", typeof(Delegates.GetFixedvOES)); + Delegates.glGetFixedvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetFloatv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Single* data) + { + Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); + Delegates.glGetFloatv((OpenTK.Graphics.ES11.GetPName)pname, (Single*)data); + } + internal static unsafe void Load_GetFramebufferAttachmentParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All attachment, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferAttachmentParameterivOES = (Delegates.GetFramebufferAttachmentParameterivOES)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameterivOES", typeof(Delegates.GetFramebufferAttachmentParameterivOES)); + Delegates.glGetFramebufferAttachmentParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)attachment, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + } + internal static OpenTK.Graphics.ES11.All Load_GetGraphicsResetStatusEXT() + { + Delegates.glGetGraphicsResetStatusEXT = (Delegates.GetGraphicsResetStatusEXT)GetExtensionDelegateStatic("glGetGraphicsResetStatusEXT", typeof(Delegates.GetGraphicsResetStatusEXT)); + return Delegates.glGetGraphicsResetStatusEXT(); + } + internal static unsafe void Load_GetHistogramParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetHistogramParameterxvOES = (Delegates.GetHistogramParameterxvOES)GetExtensionDelegateStatic("glGetHistogramParameterxvOES", typeof(Delegates.GetHistogramParameterxvOES)); + Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetInteger64vAPPLE(OpenTK.Graphics.ES11.All pname, [OutAttribute] Int64* @params) + { + Delegates.glGetInteger64vAPPLE = (Delegates.GetInteger64vAPPLE)GetExtensionDelegateStatic("glGetInteger64vAPPLE", typeof(Delegates.GetInteger64vAPPLE)); + Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES11.All)pname, (Int64*)@params); + } + internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.ES11.GetPName pname, [OutAttribute] Int32* data) + { + Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); + Delegates.glGetIntegerv((OpenTK.Graphics.ES11.GetPName)pname, (Int32*)data); + } + internal static unsafe void Load_GetLightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetLightfv = (Delegates.GetLightfv)GetExtensionDelegateStatic("glGetLightfv", typeof(Delegates.GetLightfv)); + Delegates.glGetLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetLightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetLightxOES = (Delegates.GetLightxOES)GetExtensionDelegateStatic("glGetLightxOES", typeof(Delegates.GetLightxOES)); + Delegates.glGetLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetLightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetLightxv = (Delegates.GetLightxv)GetExtensionDelegateStatic("glGetLightxv", typeof(Delegates.GetLightxv)); + Delegates.glGetLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetLightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetLightxvOES = (Delegates.GetLightxvOES)GetExtensionDelegateStatic("glGetLightxvOES", typeof(Delegates.GetLightxvOES)); + Delegates.glGetLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetMapxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All query, [OutAttribute] int* v) + { + Delegates.glGetMapxvOES = (Delegates.GetMapxvOES)GetExtensionDelegateStatic("glGetMapxvOES", typeof(Delegates.GetMapxvOES)); + Delegates.glGetMapxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)query, (int*)v); + } + internal static unsafe void Load_GetMaterialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetMaterialfv = (Delegates.GetMaterialfv)GetExtensionDelegateStatic("glGetMaterialfv", typeof(Delegates.GetMaterialfv)); + Delegates.glGetMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); + } + internal static void Load_GetMaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glGetMaterialxOES = (Delegates.GetMaterialxOES)GetExtensionDelegateStatic("glGetMaterialxOES", typeof(Delegates.GetMaterialxOES)); + Delegates.glGetMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_GetMaterialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetMaterialxv = (Delegates.GetMaterialxv)GetExtensionDelegateStatic("glGetMaterialxv", typeof(Delegates.GetMaterialxv)); + Delegates.glGetMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetMaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetMaterialxvOES = (Delegates.GetMaterialxvOES)GetExtensionDelegateStatic("glGetMaterialxvOES", typeof(Delegates.GetMaterialxvOES)); + Delegates.glGetMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) + { + Delegates.glGetnUniformfvEXT = (Delegates.GetnUniformfvEXT)GetExtensionDelegateStatic("glGetnUniformfvEXT", typeof(Delegates.GetnUniformfvEXT)); + Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); + } + internal static unsafe void Load_GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetnUniformivEXT = (Delegates.GetnUniformivEXT)GetExtensionDelegateStatic("glGetnUniformivEXT", typeof(Delegates.GetnUniformivEXT)); + Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); + } + internal static unsafe void Load_GetPixelMapxv(OpenTK.Graphics.ES11.All map, Int32 size, [OutAttribute] int* values) + { + Delegates.glGetPixelMapxv = (Delegates.GetPixelMapxv)GetExtensionDelegateStatic("glGetPixelMapxv", typeof(Delegates.GetPixelMapxv)); + Delegates.glGetPixelMapxv((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values); + } + internal static void Load_GetPointerv(OpenTK.Graphics.ES11.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); + Delegates.glGetPointerv((OpenTK.Graphics.ES11.GetPointervPName)pname, (IntPtr)@params); + } + internal static unsafe void Load_GetRenderbufferParameterivOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetRenderbufferParameterivOES = (Delegates.GetRenderbufferParameterivOES)GetExtensionDelegateStatic("glGetRenderbufferParameterivOES", typeof(Delegates.GetRenderbufferParameterivOES)); + Delegates.glGetRenderbufferParameterivOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + } + internal static IntPtr Load_GetString(OpenTK.Graphics.ES11.StringName name) + { + Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); + return Delegates.glGetString((OpenTK.Graphics.ES11.StringName)name); + } + internal static unsafe void Load_GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES11.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + Delegates.glGetSyncivAPPLE = (Delegates.GetSyncivAPPLE)GetExtensionDelegateStatic("glGetSyncivAPPLE", typeof(Delegates.GetSyncivAPPLE)); + Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES11.All)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + } + internal static unsafe void Load_GetTexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexEnvfv = (Delegates.GetTexEnvfv)GetExtensionDelegateStatic("glGetTexEnvfv", typeof(Delegates.GetTexEnvfv)); + Delegates.glGetTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexEnviv = (Delegates.GetTexEnviv)GetExtensionDelegateStatic("glGetTexEnviv", typeof(Delegates.GetTexEnviv)); + Delegates.glGetTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetTexEnvxv = (Delegates.GetTexEnvxv)GetExtensionDelegateStatic("glGetTexEnvxv", typeof(Delegates.GetTexEnvxv)); + Delegates.glGetTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetTexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetTexEnvxvOES = (Delegates.GetTexEnvxvOES)GetExtensionDelegateStatic("glGetTexEnvxvOES", typeof(Delegates.GetTexEnvxvOES)); + Delegates.glGetTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetTexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexGenfvOES = (Delegates.GetTexGenfvOES)GetExtensionDelegateStatic("glGetTexGenfvOES", typeof(Delegates.GetTexGenfvOES)); + Delegates.glGetTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexGenivOES = (Delegates.GetTexGenivOES)GetExtensionDelegateStatic("glGetTexGenivOES", typeof(Delegates.GetTexGenivOES)); + Delegates.glGetTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetTexGenxvOES = (Delegates.GetTexGenxvOES)GetExtensionDelegateStatic("glGetTexGenxvOES", typeof(Delegates.GetTexGenxvOES)); + Delegates.glGetTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetTexLevelParameterxvOES(OpenTK.Graphics.ES11.All target, Int32 level, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetTexLevelParameterxvOES = (Delegates.GetTexLevelParameterxvOES)GetExtensionDelegateStatic("glGetTexLevelParameterxvOES", typeof(Delegates.GetTexLevelParameterxvOES)); + Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.ES11.All)target, (Int32)level, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetTexParameterxv = (Delegates.GetTexParameterxv)GetExtensionDelegateStatic("glGetTexParameterxv", typeof(Delegates.GetTexParameterxv)); + Delegates.glGetTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_GetTexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, [OutAttribute] int* @params) + { + Delegates.glGetTexParameterxvOES = (Delegates.GetTexParameterxvOES)GetExtensionDelegateStatic("glGetTexParameterxvOES", typeof(Delegates.GetTexParameterxvOES)); + Delegates.glGetTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static void Load_Hint(OpenTK.Graphics.ES11.HintTarget target, OpenTK.Graphics.ES11.HintMode mode) + { + Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); + Delegates.glHint((OpenTK.Graphics.ES11.HintTarget)target, (OpenTK.Graphics.ES11.HintMode)mode); + } + internal static void Load_IndexxOES(int component) + { + Delegates.glIndexxOES = (Delegates.IndexxOES)GetExtensionDelegateStatic("glIndexxOES", typeof(Delegates.IndexxOES)); + Delegates.glIndexxOES((int)component); + } + internal static unsafe void Load_IndexxvOES(int* component) + { + Delegates.glIndexxvOES = (Delegates.IndexxvOES)GetExtensionDelegateStatic("glIndexxvOES", typeof(Delegates.IndexxvOES)); + Delegates.glIndexxvOES((int*)component); + } + internal static bool Load_IsBuffer(UInt32 buffer) + { + Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); + return Delegates.glIsBuffer((UInt32)buffer); + } + internal static bool Load_IsEnabled(OpenTK.Graphics.ES11.EnableCap cap) + { + Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); + return Delegates.glIsEnabled((OpenTK.Graphics.ES11.EnableCap)cap); + } + internal static bool Load_IsFenceNV(UInt32 fence) + { + Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); + return Delegates.glIsFenceNV((UInt32)fence); + } + internal static bool Load_IsFramebufferOES(UInt32 framebuffer) + { + Delegates.glIsFramebufferOES = (Delegates.IsFramebufferOES)GetExtensionDelegateStatic("glIsFramebufferOES", typeof(Delegates.IsFramebufferOES)); + return Delegates.glIsFramebufferOES((UInt32)framebuffer); + } + internal static bool Load_IsRenderbufferOES(UInt32 renderbuffer) + { + Delegates.glIsRenderbufferOES = (Delegates.IsRenderbufferOES)GetExtensionDelegateStatic("glIsRenderbufferOES", typeof(Delegates.IsRenderbufferOES)); + return Delegates.glIsRenderbufferOES((UInt32)renderbuffer); + } + internal static bool Load_IsSyncAPPLE(IntPtr sync) + { + Delegates.glIsSyncAPPLE = (Delegates.IsSyncAPPLE)GetExtensionDelegateStatic("glIsSyncAPPLE", typeof(Delegates.IsSyncAPPLE)); + return Delegates.glIsSyncAPPLE((IntPtr)sync); + } + internal static bool Load_IsTexture(UInt32 texture) + { + Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); + return Delegates.glIsTexture((UInt32)texture); + } + internal static bool Load_IsVertexArrayOES(UInt32 array) + { + Delegates.glIsVertexArrayOES = (Delegates.IsVertexArrayOES)GetExtensionDelegateStatic("glIsVertexArrayOES", typeof(Delegates.IsVertexArrayOES)); + return Delegates.glIsVertexArrayOES((UInt32)array); + } + internal static void Load_Lightf(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single param) + { + Delegates.glLightf = (Delegates.Lightf)GetExtensionDelegateStatic("glLightf", typeof(Delegates.Lightf)); + Delegates.glLightf((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single)param); + } + internal static unsafe void Load_Lightfv(OpenTK.Graphics.ES11.LightName light, OpenTK.Graphics.ES11.LightParameter pname, Single* @params) + { + Delegates.glLightfv = (Delegates.Lightfv)GetExtensionDelegateStatic("glLightfv", typeof(Delegates.Lightfv)); + Delegates.glLightfv((OpenTK.Graphics.ES11.LightName)light, (OpenTK.Graphics.ES11.LightParameter)pname, (Single*)@params); + } + internal static void Load_LightModelf(OpenTK.Graphics.ES11.LightModelParameter pname, Single param) + { + Delegates.glLightModelf = (Delegates.LightModelf)GetExtensionDelegateStatic("glLightModelf", typeof(Delegates.LightModelf)); + Delegates.glLightModelf((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single)param); + } + internal static unsafe void Load_LightModelfv(OpenTK.Graphics.ES11.LightModelParameter pname, Single* @params) + { + Delegates.glLightModelfv = (Delegates.LightModelfv)GetExtensionDelegateStatic("glLightModelfv", typeof(Delegates.LightModelfv)); + Delegates.glLightModelfv((OpenTK.Graphics.ES11.LightModelParameter)pname, (Single*)@params); + } + internal static void Load_LightModelx(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glLightModelx = (Delegates.LightModelx)GetExtensionDelegateStatic("glLightModelx", typeof(Delegates.LightModelx)); + Delegates.glLightModelx((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_LightModelxOES(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glLightModelxOES = (Delegates.LightModelxOES)GetExtensionDelegateStatic("glLightModelxOES", typeof(Delegates.LightModelxOES)); + Delegates.glLightModelxOES((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_LightModelxv(OpenTK.Graphics.ES11.All pname, int* param) + { + Delegates.glLightModelxv = (Delegates.LightModelxv)GetExtensionDelegateStatic("glLightModelxv", typeof(Delegates.LightModelxv)); + Delegates.glLightModelxv((OpenTK.Graphics.ES11.All)pname, (int*)param); + } + internal static unsafe void Load_LightModelxvOES(OpenTK.Graphics.ES11.All pname, int* param) + { + Delegates.glLightModelxvOES = (Delegates.LightModelxvOES)GetExtensionDelegateStatic("glLightModelxvOES", typeof(Delegates.LightModelxvOES)); + Delegates.glLightModelxvOES((OpenTK.Graphics.ES11.All)pname, (int*)param); + } + internal static void Load_Lightx(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glLightx = (Delegates.Lightx)GetExtensionDelegateStatic("glLightx", typeof(Delegates.Lightx)); + Delegates.glLightx((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_LightxOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glLightxOES = (Delegates.LightxOES)GetExtensionDelegateStatic("glLightxOES", typeof(Delegates.LightxOES)); + Delegates.glLightxOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_Lightxv(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glLightxv = (Delegates.Lightxv)GetExtensionDelegateStatic("glLightxv", typeof(Delegates.Lightxv)); + Delegates.glLightxv((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_LightxvOES(OpenTK.Graphics.ES11.All light, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glLightxvOES = (Delegates.LightxvOES)GetExtensionDelegateStatic("glLightxvOES", typeof(Delegates.LightxvOES)); + Delegates.glLightxvOES((OpenTK.Graphics.ES11.All)light, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static void Load_LineWidth(Single width) + { + Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); + Delegates.glLineWidth((Single)width); + } + internal static void Load_LineWidthx(int width) + { + Delegates.glLineWidthx = (Delegates.LineWidthx)GetExtensionDelegateStatic("glLineWidthx", typeof(Delegates.LineWidthx)); + Delegates.glLineWidthx((int)width); + } + internal static void Load_LineWidthxOES(int width) + { + Delegates.glLineWidthxOES = (Delegates.LineWidthxOES)GetExtensionDelegateStatic("glLineWidthxOES", typeof(Delegates.LineWidthxOES)); + Delegates.glLineWidthxOES((int)width); + } + internal static void Load_LoadIdentity() + { + Delegates.glLoadIdentity = (Delegates.LoadIdentity)GetExtensionDelegateStatic("glLoadIdentity", typeof(Delegates.LoadIdentity)); + Delegates.glLoadIdentity(); + } + internal static unsafe void Load_LoadMatrixf(Single* m) + { + Delegates.glLoadMatrixf = (Delegates.LoadMatrixf)GetExtensionDelegateStatic("glLoadMatrixf", typeof(Delegates.LoadMatrixf)); + Delegates.glLoadMatrixf((Single*)m); + } + internal static unsafe void Load_LoadMatrixx(int* m) + { + Delegates.glLoadMatrixx = (Delegates.LoadMatrixx)GetExtensionDelegateStatic("glLoadMatrixx", typeof(Delegates.LoadMatrixx)); + Delegates.glLoadMatrixx((int*)m); + } + internal static unsafe void Load_LoadMatrixxOES(int* m) + { + Delegates.glLoadMatrixxOES = (Delegates.LoadMatrixxOES)GetExtensionDelegateStatic("glLoadMatrixxOES", typeof(Delegates.LoadMatrixxOES)); + Delegates.glLoadMatrixxOES((int*)m); + } + internal static void Load_LoadPaletteFromModelViewMatrixOES() + { + Delegates.glLoadPaletteFromModelViewMatrixOES = (Delegates.LoadPaletteFromModelViewMatrixOES)GetExtensionDelegateStatic("glLoadPaletteFromModelViewMatrixOES", typeof(Delegates.LoadPaletteFromModelViewMatrixOES)); + Delegates.glLoadPaletteFromModelViewMatrixOES(); + } + internal static unsafe void Load_LoadTransposeMatrixxOES(int* m) + { + Delegates.glLoadTransposeMatrixxOES = (Delegates.LoadTransposeMatrixxOES)GetExtensionDelegateStatic("glLoadTransposeMatrixxOES", typeof(Delegates.LoadTransposeMatrixxOES)); + Delegates.glLoadTransposeMatrixxOES((int*)m); + } + internal static void Load_LogicOp(OpenTK.Graphics.ES11.LogicOp opcode) + { + Delegates.glLogicOp = (Delegates.LogicOp)GetExtensionDelegateStatic("glLogicOp", typeof(Delegates.LogicOp)); + Delegates.glLogicOp((OpenTK.Graphics.ES11.LogicOp)opcode); + } + internal static void Load_Map1xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 stride, Int32 order, int points) + { + Delegates.glMap1xOES = (Delegates.Map1xOES)GetExtensionDelegateStatic("glMap1xOES", typeof(Delegates.Map1xOES)); + Delegates.glMap1xOES((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points); + } + internal static void Load_Map2xOES(OpenTK.Graphics.ES11.All target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points) + { + Delegates.glMap2xOES = (Delegates.Map2xOES)GetExtensionDelegateStatic("glMap2xOES", typeof(Delegates.Map2xOES)); + Delegates.glMap2xOES((OpenTK.Graphics.ES11.All)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points); + } + internal static IntPtr Load_MapBufferOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All access) + { + Delegates.glMapBufferOES = (Delegates.MapBufferOES)GetExtensionDelegateStatic("glMapBufferOES", typeof(Delegates.MapBufferOES)); + return Delegates.glMapBufferOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)access); + } + internal static IntPtr Load_MapBufferRangeEXT(OpenTK.Graphics.ES11.All target, IntPtr offset, IntPtr length, UInt32 access) + { + Delegates.glMapBufferRangeEXT = (Delegates.MapBufferRangeEXT)GetExtensionDelegateStatic("glMapBufferRangeEXT", typeof(Delegates.MapBufferRangeEXT)); + return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES11.All)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); + } + internal static void Load_MapGrid1xOES(Int32 n, int u1, int u2) + { + Delegates.glMapGrid1xOES = (Delegates.MapGrid1xOES)GetExtensionDelegateStatic("glMapGrid1xOES", typeof(Delegates.MapGrid1xOES)); + Delegates.glMapGrid1xOES((Int32)n, (int)u1, (int)u2); + } + internal static void Load_MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2) + { + Delegates.glMapGrid2xOES = (Delegates.MapGrid2xOES)GetExtensionDelegateStatic("glMapGrid2xOES", typeof(Delegates.MapGrid2xOES)); + Delegates.glMapGrid2xOES((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2); + } + internal static void Load_Materialf(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single param) + { + Delegates.glMaterialf = (Delegates.Materialf)GetExtensionDelegateStatic("glMaterialf", typeof(Delegates.Materialf)); + Delegates.glMaterialf((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single)param); + } + internal static unsafe void Load_Materialfv(OpenTK.Graphics.ES11.MaterialFace face, OpenTK.Graphics.ES11.MaterialParameter pname, Single* @params) + { + Delegates.glMaterialfv = (Delegates.Materialfv)GetExtensionDelegateStatic("glMaterialfv", typeof(Delegates.Materialfv)); + Delegates.glMaterialfv((OpenTK.Graphics.ES11.MaterialFace)face, (OpenTK.Graphics.ES11.MaterialParameter)pname, (Single*)@params); + } + internal static void Load_Materialx(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glMaterialx = (Delegates.Materialx)GetExtensionDelegateStatic("glMaterialx", typeof(Delegates.Materialx)); + Delegates.glMaterialx((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_MaterialxOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glMaterialxOES = (Delegates.MaterialxOES)GetExtensionDelegateStatic("glMaterialxOES", typeof(Delegates.MaterialxOES)); + Delegates.glMaterialxOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_Materialxv(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) + { + Delegates.glMaterialxv = (Delegates.Materialxv)GetExtensionDelegateStatic("glMaterialxv", typeof(Delegates.Materialxv)); + Delegates.glMaterialxv((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param); + } + internal static unsafe void Load_MaterialxvOES(OpenTK.Graphics.ES11.All face, OpenTK.Graphics.ES11.All pname, int* param) + { + Delegates.glMaterialxvOES = (Delegates.MaterialxvOES)GetExtensionDelegateStatic("glMaterialxvOES", typeof(Delegates.MaterialxvOES)); + Delegates.glMaterialxvOES((OpenTK.Graphics.ES11.All)face, (OpenTK.Graphics.ES11.All)pname, (int*)param); + } + internal static void Load_MatrixIndexPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + Delegates.glMatrixIndexPointerOES = (Delegates.MatrixIndexPointerOES)GetExtensionDelegateStatic("glMatrixIndexPointerOES", typeof(Delegates.MatrixIndexPointerOES)); + Delegates.glMatrixIndexPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_MatrixMode(OpenTK.Graphics.ES11.MatrixMode mode) + { + Delegates.glMatrixMode = (Delegates.MatrixMode)GetExtensionDelegateStatic("glMatrixMode", typeof(Delegates.MatrixMode)); + Delegates.glMatrixMode((OpenTK.Graphics.ES11.MatrixMode)mode); + } + internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.ES11.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES11.All type, IntPtr indices, Int32 primcount) + { + Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_MultiTexCoord1bOES(OpenTK.Graphics.ES11.All texture, SByte s) + { + Delegates.glMultiTexCoord1bOES = (Delegates.MultiTexCoord1bOES)GetExtensionDelegateStatic("glMultiTexCoord1bOES", typeof(Delegates.MultiTexCoord1bOES)); + Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s); + } + internal static unsafe void Load_MultiTexCoord1bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) + { + Delegates.glMultiTexCoord1bvOES = (Delegates.MultiTexCoord1bvOES)GetExtensionDelegateStatic("glMultiTexCoord1bvOES", typeof(Delegates.MultiTexCoord1bvOES)); + Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord1xOES(OpenTK.Graphics.ES11.All texture, int s) + { + Delegates.glMultiTexCoord1xOES = (Delegates.MultiTexCoord1xOES)GetExtensionDelegateStatic("glMultiTexCoord1xOES", typeof(Delegates.MultiTexCoord1xOES)); + Delegates.glMultiTexCoord1xOES((OpenTK.Graphics.ES11.All)texture, (int)s); + } + internal static unsafe void Load_MultiTexCoord1xvOES(OpenTK.Graphics.ES11.All texture, int* coords) + { + Delegates.glMultiTexCoord1xvOES = (Delegates.MultiTexCoord1xvOES)GetExtensionDelegateStatic("glMultiTexCoord1xvOES", typeof(Delegates.MultiTexCoord1xvOES)); + Delegates.glMultiTexCoord1xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); + } + internal static void Load_MultiTexCoord2bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t) + { + Delegates.glMultiTexCoord2bOES = (Delegates.MultiTexCoord2bOES)GetExtensionDelegateStatic("glMultiTexCoord2bOES", typeof(Delegates.MultiTexCoord2bOES)); + Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t); + } + internal static unsafe void Load_MultiTexCoord2bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) + { + Delegates.glMultiTexCoord2bvOES = (Delegates.MultiTexCoord2bvOES)GetExtensionDelegateStatic("glMultiTexCoord2bvOES", typeof(Delegates.MultiTexCoord2bvOES)); + Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord2xOES(OpenTK.Graphics.ES11.All texture, int s, int t) + { + Delegates.glMultiTexCoord2xOES = (Delegates.MultiTexCoord2xOES)GetExtensionDelegateStatic("glMultiTexCoord2xOES", typeof(Delegates.MultiTexCoord2xOES)); + Delegates.glMultiTexCoord2xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t); + } + internal static unsafe void Load_MultiTexCoord2xvOES(OpenTK.Graphics.ES11.All texture, int* coords) + { + Delegates.glMultiTexCoord2xvOES = (Delegates.MultiTexCoord2xvOES)GetExtensionDelegateStatic("glMultiTexCoord2xvOES", typeof(Delegates.MultiTexCoord2xvOES)); + Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); + } + internal static void Load_MultiTexCoord3bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r) + { + Delegates.glMultiTexCoord3bOES = (Delegates.MultiTexCoord3bOES)GetExtensionDelegateStatic("glMultiTexCoord3bOES", typeof(Delegates.MultiTexCoord3bOES)); + Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r); + } + internal static unsafe void Load_MultiTexCoord3bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) + { + Delegates.glMultiTexCoord3bvOES = (Delegates.MultiTexCoord3bvOES)GetExtensionDelegateStatic("glMultiTexCoord3bvOES", typeof(Delegates.MultiTexCoord3bvOES)); + Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord3xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r) + { + Delegates.glMultiTexCoord3xOES = (Delegates.MultiTexCoord3xOES)GetExtensionDelegateStatic("glMultiTexCoord3xOES", typeof(Delegates.MultiTexCoord3xOES)); + Delegates.glMultiTexCoord3xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r); + } + internal static unsafe void Load_MultiTexCoord3xvOES(OpenTK.Graphics.ES11.All texture, int* coords) + { + Delegates.glMultiTexCoord3xvOES = (Delegates.MultiTexCoord3xvOES)GetExtensionDelegateStatic("glMultiTexCoord3xvOES", typeof(Delegates.MultiTexCoord3xvOES)); + Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); + } + internal static void Load_MultiTexCoord4bOES(OpenTK.Graphics.ES11.All texture, SByte s, SByte t, SByte r, SByte q) + { + Delegates.glMultiTexCoord4bOES = (Delegates.MultiTexCoord4bOES)GetExtensionDelegateStatic("glMultiTexCoord4bOES", typeof(Delegates.MultiTexCoord4bOES)); + Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.ES11.All)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); + } + internal static unsafe void Load_MultiTexCoord4bvOES(OpenTK.Graphics.ES11.All texture, SByte* coords) + { + Delegates.glMultiTexCoord4bvOES = (Delegates.MultiTexCoord4bvOES)GetExtensionDelegateStatic("glMultiTexCoord4bvOES", typeof(Delegates.MultiTexCoord4bvOES)); + Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.ES11.All)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord4f(OpenTK.Graphics.ES11.TextureUnit target, Single s, Single t, Single r, Single q) + { + Delegates.glMultiTexCoord4f = (Delegates.MultiTexCoord4f)GetExtensionDelegateStatic("glMultiTexCoord4f", typeof(Delegates.MultiTexCoord4f)); + Delegates.glMultiTexCoord4f((OpenTK.Graphics.ES11.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + } + internal static void Load_MultiTexCoord4x(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) + { + Delegates.glMultiTexCoord4x = (Delegates.MultiTexCoord4x)GetExtensionDelegateStatic("glMultiTexCoord4x", typeof(Delegates.MultiTexCoord4x)); + Delegates.glMultiTexCoord4x((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q); + } + internal static void Load_MultiTexCoord4xOES(OpenTK.Graphics.ES11.All texture, int s, int t, int r, int q) + { + Delegates.glMultiTexCoord4xOES = (Delegates.MultiTexCoord4xOES)GetExtensionDelegateStatic("glMultiTexCoord4xOES", typeof(Delegates.MultiTexCoord4xOES)); + Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.ES11.All)texture, (int)s, (int)t, (int)r, (int)q); + } + internal static unsafe void Load_MultiTexCoord4xvOES(OpenTK.Graphics.ES11.All texture, int* coords) + { + Delegates.glMultiTexCoord4xvOES = (Delegates.MultiTexCoord4xvOES)GetExtensionDelegateStatic("glMultiTexCoord4xvOES", typeof(Delegates.MultiTexCoord4xvOES)); + Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.ES11.All)texture, (int*)coords); + } + internal static unsafe void Load_MultMatrixf(Single* m) + { + Delegates.glMultMatrixf = (Delegates.MultMatrixf)GetExtensionDelegateStatic("glMultMatrixf", typeof(Delegates.MultMatrixf)); + Delegates.glMultMatrixf((Single*)m); + } + internal static unsafe void Load_MultMatrixx(int* m) + { + Delegates.glMultMatrixx = (Delegates.MultMatrixx)GetExtensionDelegateStatic("glMultMatrixx", typeof(Delegates.MultMatrixx)); + Delegates.glMultMatrixx((int*)m); + } + internal static unsafe void Load_MultMatrixxOES(int* m) + { + Delegates.glMultMatrixxOES = (Delegates.MultMatrixxOES)GetExtensionDelegateStatic("glMultMatrixxOES", typeof(Delegates.MultMatrixxOES)); + Delegates.glMultMatrixxOES((int*)m); + } + internal static unsafe void Load_MultTransposeMatrixxOES(int* m) + { + Delegates.glMultTransposeMatrixxOES = (Delegates.MultTransposeMatrixxOES)GetExtensionDelegateStatic("glMultTransposeMatrixxOES", typeof(Delegates.MultTransposeMatrixxOES)); + Delegates.glMultTransposeMatrixxOES((int*)m); + } + internal static void Load_Normal3f(Single nx, Single ny, Single nz) + { + Delegates.glNormal3f = (Delegates.Normal3f)GetExtensionDelegateStatic("glNormal3f", typeof(Delegates.Normal3f)); + Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); + } + internal static void Load_Normal3x(int nx, int ny, int nz) + { + Delegates.glNormal3x = (Delegates.Normal3x)GetExtensionDelegateStatic("glNormal3x", typeof(Delegates.Normal3x)); + Delegates.glNormal3x((int)nx, (int)ny, (int)nz); + } + internal static void Load_Normal3xOES(int nx, int ny, int nz) + { + Delegates.glNormal3xOES = (Delegates.Normal3xOES)GetExtensionDelegateStatic("glNormal3xOES", typeof(Delegates.Normal3xOES)); + Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz); + } + internal static unsafe void Load_Normal3xvOES(int* coords) + { + Delegates.glNormal3xvOES = (Delegates.Normal3xvOES)GetExtensionDelegateStatic("glNormal3xvOES", typeof(Delegates.Normal3xvOES)); + Delegates.glNormal3xvOES((int*)coords); + } + internal static void Load_NormalPointer(OpenTK.Graphics.ES11.NormalPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glNormalPointer = (Delegates.NormalPointer)GetExtensionDelegateStatic("glNormalPointer", typeof(Delegates.NormalPointer)); + Delegates.glNormalPointer((OpenTK.Graphics.ES11.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_Orthof(Single l, Single r, Single b, Single t, Single n, Single f) + { + Delegates.glOrthof = (Delegates.Orthof)GetExtensionDelegateStatic("glOrthof", typeof(Delegates.Orthof)); + Delegates.glOrthof((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); + } + internal static void Load_OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f) + { + Delegates.glOrthofOES = (Delegates.OrthofOES)GetExtensionDelegateStatic("glOrthofOES", typeof(Delegates.OrthofOES)); + Delegates.glOrthofOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); + } + internal static void Load_Orthox(int l, int r, int b, int t, int n, int f) + { + Delegates.glOrthox = (Delegates.Orthox)GetExtensionDelegateStatic("glOrthox", typeof(Delegates.Orthox)); + Delegates.glOrthox((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); + } + internal static void Load_OrthoxOES(int l, int r, int b, int t, int n, int f) + { + Delegates.glOrthoxOES = (Delegates.OrthoxOES)GetExtensionDelegateStatic("glOrthoxOES", typeof(Delegates.OrthoxOES)); + Delegates.glOrthoxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); + } + internal static void Load_PassThroughxOES(int token) + { + Delegates.glPassThroughxOES = (Delegates.PassThroughxOES)GetExtensionDelegateStatic("glPassThroughxOES", typeof(Delegates.PassThroughxOES)); + Delegates.glPassThroughxOES((int)token); + } + internal static unsafe void Load_PixelMapx(OpenTK.Graphics.ES11.All map, Int32 size, int* values) + { + Delegates.glPixelMapx = (Delegates.PixelMapx)GetExtensionDelegateStatic("glPixelMapx", typeof(Delegates.PixelMapx)); + Delegates.glPixelMapx((OpenTK.Graphics.ES11.All)map, (Int32)size, (int*)values); + } + internal static void Load_PixelStorei(OpenTK.Graphics.ES11.PixelStoreParameter pname, Int32 param) + { + Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); + Delegates.glPixelStorei((OpenTK.Graphics.ES11.PixelStoreParameter)pname, (Int32)param); + } + internal static void Load_PixelStorex(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glPixelStorex = (Delegates.PixelStorex)GetExtensionDelegateStatic("glPixelStorex", typeof(Delegates.PixelStorex)); + Delegates.glPixelStorex((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_PixelTransferxOES(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glPixelTransferxOES = (Delegates.PixelTransferxOES)GetExtensionDelegateStatic("glPixelTransferxOES", typeof(Delegates.PixelTransferxOES)); + Delegates.glPixelTransferxOES((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_PixelZoomxOES(int xfactor, int yfactor) + { + Delegates.glPixelZoomxOES = (Delegates.PixelZoomxOES)GetExtensionDelegateStatic("glPixelZoomxOES", typeof(Delegates.PixelZoomxOES)); + Delegates.glPixelZoomxOES((int)xfactor, (int)yfactor); + } + internal static void Load_PointParameterf(OpenTK.Graphics.ES11.All pname, Single param) + { + Delegates.glPointParameterf = (Delegates.PointParameterf)GetExtensionDelegateStatic("glPointParameterf", typeof(Delegates.PointParameterf)); + Delegates.glPointParameterf((OpenTK.Graphics.ES11.All)pname, (Single)param); + } + internal static unsafe void Load_PointParameterfv(OpenTK.Graphics.ES11.All pname, Single* @params) + { + Delegates.glPointParameterfv = (Delegates.PointParameterfv)GetExtensionDelegateStatic("glPointParameterfv", typeof(Delegates.PointParameterfv)); + Delegates.glPointParameterfv((OpenTK.Graphics.ES11.All)pname, (Single*)@params); + } + internal static void Load_PointParameterx(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glPointParameterx = (Delegates.PointParameterx)GetExtensionDelegateStatic("glPointParameterx", typeof(Delegates.PointParameterx)); + Delegates.glPointParameterx((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_PointParameterxOES(OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glPointParameterxOES = (Delegates.PointParameterxOES)GetExtensionDelegateStatic("glPointParameterxOES", typeof(Delegates.PointParameterxOES)); + Delegates.glPointParameterxOES((OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_PointParameterxv(OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glPointParameterxv = (Delegates.PointParameterxv)GetExtensionDelegateStatic("glPointParameterxv", typeof(Delegates.PointParameterxv)); + Delegates.glPointParameterxv((OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_PointParameterxvOES(OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glPointParameterxvOES = (Delegates.PointParameterxvOES)GetExtensionDelegateStatic("glPointParameterxvOES", typeof(Delegates.PointParameterxvOES)); + Delegates.glPointParameterxvOES((OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static void Load_PointSize(Single size) + { + Delegates.glPointSize = (Delegates.PointSize)GetExtensionDelegateStatic("glPointSize", typeof(Delegates.PointSize)); + Delegates.glPointSize((Single)size); + } + internal static void Load_PointSizePointerOES(OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + Delegates.glPointSizePointerOES = (Delegates.PointSizePointerOES)GetExtensionDelegateStatic("glPointSizePointerOES", typeof(Delegates.PointSizePointerOES)); + Delegates.glPointSizePointerOES((OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_PointSizex(int size) + { + Delegates.glPointSizex = (Delegates.PointSizex)GetExtensionDelegateStatic("glPointSizex", typeof(Delegates.PointSizex)); + Delegates.glPointSizex((int)size); + } + internal static void Load_PointSizexOES(int size) + { + Delegates.glPointSizexOES = (Delegates.PointSizexOES)GetExtensionDelegateStatic("glPointSizexOES", typeof(Delegates.PointSizexOES)); + Delegates.glPointSizexOES((int)size); + } + internal static void Load_PolygonOffset(Single factor, Single units) + { + Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); + Delegates.glPolygonOffset((Single)factor, (Single)units); + } + internal static void Load_PolygonOffsetx(int factor, int units) + { + Delegates.glPolygonOffsetx = (Delegates.PolygonOffsetx)GetExtensionDelegateStatic("glPolygonOffsetx", typeof(Delegates.PolygonOffsetx)); + Delegates.glPolygonOffsetx((int)factor, (int)units); + } + internal static void Load_PolygonOffsetxOES(int factor, int units) + { + Delegates.glPolygonOffsetxOES = (Delegates.PolygonOffsetxOES)GetExtensionDelegateStatic("glPolygonOffsetxOES", typeof(Delegates.PolygonOffsetxOES)); + Delegates.glPolygonOffsetxOES((int)factor, (int)units); + } + internal static void Load_PopMatrix() + { + Delegates.glPopMatrix = (Delegates.PopMatrix)GetExtensionDelegateStatic("glPopMatrix", typeof(Delegates.PopMatrix)); + Delegates.glPopMatrix(); + } + internal static unsafe void Load_PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities) + { + Delegates.glPrioritizeTexturesxOES = (Delegates.PrioritizeTexturesxOES)GetExtensionDelegateStatic("glPrioritizeTexturesxOES", typeof(Delegates.PrioritizeTexturesxOES)); + Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); + } + internal static void Load_PushMatrix() + { + Delegates.glPushMatrix = (Delegates.PushMatrix)GetExtensionDelegateStatic("glPushMatrix", typeof(Delegates.PushMatrix)); + Delegates.glPushMatrix(); + } + internal static unsafe Int32 Load_QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) + { + Delegates.glQueryMatrixxOES = (Delegates.QueryMatrixxOES)GetExtensionDelegateStatic("glQueryMatrixxOES", typeof(Delegates.QueryMatrixxOES)); + return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent); + } + internal static void Load_RasterPos2xOES(int x, int y) + { + Delegates.glRasterPos2xOES = (Delegates.RasterPos2xOES)GetExtensionDelegateStatic("glRasterPos2xOES", typeof(Delegates.RasterPos2xOES)); + Delegates.glRasterPos2xOES((int)x, (int)y); + } + internal static unsafe void Load_RasterPos2xvOES(int* coords) + { + Delegates.glRasterPos2xvOES = (Delegates.RasterPos2xvOES)GetExtensionDelegateStatic("glRasterPos2xvOES", typeof(Delegates.RasterPos2xvOES)); + Delegates.glRasterPos2xvOES((int*)coords); + } + internal static void Load_RasterPos3xOES(int x, int y, int z) + { + Delegates.glRasterPos3xOES = (Delegates.RasterPos3xOES)GetExtensionDelegateStatic("glRasterPos3xOES", typeof(Delegates.RasterPos3xOES)); + Delegates.glRasterPos3xOES((int)x, (int)y, (int)z); + } + internal static unsafe void Load_RasterPos3xvOES(int* coords) + { + Delegates.glRasterPos3xvOES = (Delegates.RasterPos3xvOES)GetExtensionDelegateStatic("glRasterPos3xvOES", typeof(Delegates.RasterPos3xvOES)); + Delegates.glRasterPos3xvOES((int*)coords); + } + internal static void Load_RasterPos4xOES(int x, int y, int z, int w) + { + Delegates.glRasterPos4xOES = (Delegates.RasterPos4xOES)GetExtensionDelegateStatic("glRasterPos4xOES", typeof(Delegates.RasterPos4xOES)); + Delegates.glRasterPos4xOES((int)x, (int)y, (int)z, (int)w); + } + internal static unsafe void Load_RasterPos4xvOES(int* coords) + { + Delegates.glRasterPos4xvOES = (Delegates.RasterPos4xvOES)GetExtensionDelegateStatic("glRasterPos4xvOES", typeof(Delegates.RasterPos4xvOES)); + Delegates.glRasterPos4xvOES((int*)coords); + } + internal static void Load_ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.All format, OpenTK.Graphics.ES11.All type, Int32 bufSize, [OutAttribute] IntPtr data) + { + Delegates.glReadnPixelsEXT = (Delegates.ReadnPixelsEXT)GetExtensionDelegateStatic("glReadnPixelsEXT", typeof(Delegates.ReadnPixelsEXT)); + Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.All)format, (OpenTK.Graphics.ES11.All)type, (Int32)bufSize, (IntPtr)data); + } + internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES11.PixelFormat format, OpenTK.Graphics.ES11.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES11.PixelFormat)format, (OpenTK.Graphics.ES11.PixelType)type, (IntPtr)pixels); + } + internal static void Load_RectxOES(int x1, int y1, int x2, int y2) + { + Delegates.glRectxOES = (Delegates.RectxOES)GetExtensionDelegateStatic("glRectxOES", typeof(Delegates.RectxOES)); + Delegates.glRectxOES((int)x1, (int)y1, (int)x2, (int)y2); + } + internal static unsafe void Load_RectxvOES(int* v1, int* v2) + { + Delegates.glRectxvOES = (Delegates.RectxvOES)GetExtensionDelegateStatic("glRectxvOES", typeof(Delegates.RectxvOES)); + Delegates.glRectxvOES((int*)v1, (int*)v2); + } + internal static void Load_RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleAPPLE = (Delegates.RenderbufferStorageMultisampleAPPLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleAPPLE", typeof(Delegates.RenderbufferStorageMultisampleAPPLE)); + Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); + Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES11.All target, Int32 samples, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleIMG = (Delegates.RenderbufferStorageMultisampleIMG)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleIMG", typeof(Delegates.RenderbufferStorageMultisampleIMG)); + Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES11.All)target, (Int32)samples, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageOES = (Delegates.RenderbufferStorageOES)GetExtensionDelegateStatic("glRenderbufferStorageOES", typeof(Delegates.RenderbufferStorageOES)); + Delegates.glRenderbufferStorageOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_ResolveMultisampleFramebufferAPPLE() + { + Delegates.glResolveMultisampleFramebufferAPPLE = (Delegates.ResolveMultisampleFramebufferAPPLE)GetExtensionDelegateStatic("glResolveMultisampleFramebufferAPPLE", typeof(Delegates.ResolveMultisampleFramebufferAPPLE)); + Delegates.glResolveMultisampleFramebufferAPPLE(); + } + internal static void Load_Rotatef(Single angle, Single x, Single y, Single z) + { + Delegates.glRotatef = (Delegates.Rotatef)GetExtensionDelegateStatic("glRotatef", typeof(Delegates.Rotatef)); + Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); + } + internal static void Load_Rotatex(int angle, int x, int y, int z) + { + Delegates.glRotatex = (Delegates.Rotatex)GetExtensionDelegateStatic("glRotatex", typeof(Delegates.Rotatex)); + Delegates.glRotatex((int)angle, (int)x, (int)y, (int)z); + } + internal static void Load_RotatexOES(int angle, int x, int y, int z) + { + Delegates.glRotatexOES = (Delegates.RotatexOES)GetExtensionDelegateStatic("glRotatexOES", typeof(Delegates.RotatexOES)); + Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z); + } + internal static void Load_SampleCoverage(Single value, bool invert) + { + Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); + Delegates.glSampleCoverage((Single)value, (bool)invert); + } + internal static void Load_SampleCoverageOES(int value, bool invert) + { + Delegates.glSampleCoverageOES = (Delegates.SampleCoverageOES)GetExtensionDelegateStatic("glSampleCoverageOES", typeof(Delegates.SampleCoverageOES)); + Delegates.glSampleCoverageOES((int)value, (bool)invert); + } + internal static void Load_SampleCoveragex(int value, bool invert) + { + Delegates.glSampleCoveragex = (Delegates.SampleCoveragex)GetExtensionDelegateStatic("glSampleCoveragex", typeof(Delegates.SampleCoveragex)); + Delegates.glSampleCoveragex((int)value, (bool)invert); + } + internal static void Load_SampleCoveragexOES(int value, bool invert) + { + Delegates.glSampleCoveragexOES = (Delegates.SampleCoveragexOES)GetExtensionDelegateStatic("glSampleCoveragexOES", typeof(Delegates.SampleCoveragexOES)); + Delegates.glSampleCoveragexOES((int)value, (bool)invert); + } + internal static void Load_Scalef(Single x, Single y, Single z) + { + Delegates.glScalef = (Delegates.Scalef)GetExtensionDelegateStatic("glScalef", typeof(Delegates.Scalef)); + Delegates.glScalef((Single)x, (Single)y, (Single)z); + } + internal static void Load_Scalex(int x, int y, int z) + { + Delegates.glScalex = (Delegates.Scalex)GetExtensionDelegateStatic("glScalex", typeof(Delegates.Scalex)); + Delegates.glScalex((int)x, (int)y, (int)z); + } + internal static void Load_ScalexOES(int x, int y, int z) + { + Delegates.glScalexOES = (Delegates.ScalexOES)GetExtensionDelegateStatic("glScalexOES", typeof(Delegates.ScalexOES)); + Delegates.glScalexOES((int)x, (int)y, (int)z); + } + internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.ES11.All condition) + { + Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES11.All)condition); + } + internal static void Load_ShadeModel(OpenTK.Graphics.ES11.ShadingModel mode) + { + Delegates.glShadeModel = (Delegates.ShadeModel)GetExtensionDelegateStatic("glShadeModel", typeof(Delegates.ShadeModel)); + Delegates.glShadeModel((OpenTK.Graphics.ES11.ShadingModel)mode); + } + internal static void Load_StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) + { + Delegates.glStartTilingQCOM = (Delegates.StartTilingQCOM)GetExtensionDelegateStatic("glStartTilingQCOM", typeof(Delegates.StartTilingQCOM)); + Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); + } + internal static void Load_StencilFunc(OpenTK.Graphics.ES11.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); + Delegates.glStencilFunc((OpenTK.Graphics.ES11.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilMask(UInt32 mask) + { + Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); + Delegates.glStencilMask((UInt32)mask); + } + internal static void Load_StencilOp(OpenTK.Graphics.ES11.StencilOp fail, OpenTK.Graphics.ES11.StencilOp zfail, OpenTK.Graphics.ES11.StencilOp zpass) + { + Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); + Delegates.glStencilOp((OpenTK.Graphics.ES11.StencilOp)fail, (OpenTK.Graphics.ES11.StencilOp)zfail, (OpenTK.Graphics.ES11.StencilOp)zpass); + } + internal static bool Load_TestFenceNV(UInt32 fence) + { + Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); + return Delegates.glTestFenceNV((UInt32)fence); + } + internal static void Load_TexCoord1bOES(SByte s) + { + Delegates.glTexCoord1bOES = (Delegates.TexCoord1bOES)GetExtensionDelegateStatic("glTexCoord1bOES", typeof(Delegates.TexCoord1bOES)); + Delegates.glTexCoord1bOES((SByte)s); + } + internal static unsafe void Load_TexCoord1bvOES(SByte* coords) + { + Delegates.glTexCoord1bvOES = (Delegates.TexCoord1bvOES)GetExtensionDelegateStatic("glTexCoord1bvOES", typeof(Delegates.TexCoord1bvOES)); + Delegates.glTexCoord1bvOES((SByte*)coords); + } + internal static void Load_TexCoord1xOES(int s) + { + Delegates.glTexCoord1xOES = (Delegates.TexCoord1xOES)GetExtensionDelegateStatic("glTexCoord1xOES", typeof(Delegates.TexCoord1xOES)); + Delegates.glTexCoord1xOES((int)s); + } + internal static unsafe void Load_TexCoord1xvOES(int* coords) + { + Delegates.glTexCoord1xvOES = (Delegates.TexCoord1xvOES)GetExtensionDelegateStatic("glTexCoord1xvOES", typeof(Delegates.TexCoord1xvOES)); + Delegates.glTexCoord1xvOES((int*)coords); + } + internal static void Load_TexCoord2bOES(SByte s, SByte t) + { + Delegates.glTexCoord2bOES = (Delegates.TexCoord2bOES)GetExtensionDelegateStatic("glTexCoord2bOES", typeof(Delegates.TexCoord2bOES)); + Delegates.glTexCoord2bOES((SByte)s, (SByte)t); + } + internal static unsafe void Load_TexCoord2bvOES(SByte* coords) + { + Delegates.glTexCoord2bvOES = (Delegates.TexCoord2bvOES)GetExtensionDelegateStatic("glTexCoord2bvOES", typeof(Delegates.TexCoord2bvOES)); + Delegates.glTexCoord2bvOES((SByte*)coords); + } + internal static void Load_TexCoord2xOES(int s, int t) + { + Delegates.glTexCoord2xOES = (Delegates.TexCoord2xOES)GetExtensionDelegateStatic("glTexCoord2xOES", typeof(Delegates.TexCoord2xOES)); + Delegates.glTexCoord2xOES((int)s, (int)t); + } + internal static unsafe void Load_TexCoord2xvOES(int* coords) + { + Delegates.glTexCoord2xvOES = (Delegates.TexCoord2xvOES)GetExtensionDelegateStatic("glTexCoord2xvOES", typeof(Delegates.TexCoord2xvOES)); + Delegates.glTexCoord2xvOES((int*)coords); + } + internal static void Load_TexCoord3bOES(SByte s, SByte t, SByte r) + { + Delegates.glTexCoord3bOES = (Delegates.TexCoord3bOES)GetExtensionDelegateStatic("glTexCoord3bOES", typeof(Delegates.TexCoord3bOES)); + Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); + } + internal static unsafe void Load_TexCoord3bvOES(SByte* coords) + { + Delegates.glTexCoord3bvOES = (Delegates.TexCoord3bvOES)GetExtensionDelegateStatic("glTexCoord3bvOES", typeof(Delegates.TexCoord3bvOES)); + Delegates.glTexCoord3bvOES((SByte*)coords); + } + internal static void Load_TexCoord3xOES(int s, int t, int r) + { + Delegates.glTexCoord3xOES = (Delegates.TexCoord3xOES)GetExtensionDelegateStatic("glTexCoord3xOES", typeof(Delegates.TexCoord3xOES)); + Delegates.glTexCoord3xOES((int)s, (int)t, (int)r); + } + internal static unsafe void Load_TexCoord3xvOES(int* coords) + { + Delegates.glTexCoord3xvOES = (Delegates.TexCoord3xvOES)GetExtensionDelegateStatic("glTexCoord3xvOES", typeof(Delegates.TexCoord3xvOES)); + Delegates.glTexCoord3xvOES((int*)coords); + } + internal static void Load_TexCoord4bOES(SByte s, SByte t, SByte r, SByte q) + { + Delegates.glTexCoord4bOES = (Delegates.TexCoord4bOES)GetExtensionDelegateStatic("glTexCoord4bOES", typeof(Delegates.TexCoord4bOES)); + Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); + } + internal static unsafe void Load_TexCoord4bvOES(SByte* coords) + { + Delegates.glTexCoord4bvOES = (Delegates.TexCoord4bvOES)GetExtensionDelegateStatic("glTexCoord4bvOES", typeof(Delegates.TexCoord4bvOES)); + Delegates.glTexCoord4bvOES((SByte*)coords); + } + internal static void Load_TexCoord4xOES(int s, int t, int r, int q) + { + Delegates.glTexCoord4xOES = (Delegates.TexCoord4xOES)GetExtensionDelegateStatic("glTexCoord4xOES", typeof(Delegates.TexCoord4xOES)); + Delegates.glTexCoord4xOES((int)s, (int)t, (int)r, (int)q); + } + internal static unsafe void Load_TexCoord4xvOES(int* coords) + { + Delegates.glTexCoord4xvOES = (Delegates.TexCoord4xvOES)GetExtensionDelegateStatic("glTexCoord4xvOES", typeof(Delegates.TexCoord4xvOES)); + Delegates.glTexCoord4xvOES((int*)coords); + } + internal static void Load_TexCoordPointer(Int32 size, OpenTK.Graphics.ES11.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glTexCoordPointer = (Delegates.TexCoordPointer)GetExtensionDelegateStatic("glTexCoordPointer", typeof(Delegates.TexCoordPointer)); + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.ES11.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_TexEnvf(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single param) + { + Delegates.glTexEnvf = (Delegates.TexEnvf)GetExtensionDelegateStatic("glTexEnvf", typeof(Delegates.TexEnvf)); + Delegates.glTexEnvf((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single)param); + } + internal static unsafe void Load_TexEnvfv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Single* @params) + { + Delegates.glTexEnvfv = (Delegates.TexEnvfv)GetExtensionDelegateStatic("glTexEnvfv", typeof(Delegates.TexEnvfv)); + Delegates.glTexEnvfv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Single*)@params); + } + internal static void Load_TexEnvi(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32 param) + { + Delegates.glTexEnvi = (Delegates.TexEnvi)GetExtensionDelegateStatic("glTexEnvi", typeof(Delegates.TexEnvi)); + Delegates.glTexEnvi((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32)param); + } + internal static unsafe void Load_TexEnviv(OpenTK.Graphics.ES11.TextureEnvTarget target, OpenTK.Graphics.ES11.TextureEnvParameter pname, Int32* @params) + { + Delegates.glTexEnviv = (Delegates.TexEnviv)GetExtensionDelegateStatic("glTexEnviv", typeof(Delegates.TexEnviv)); + Delegates.glTexEnviv((OpenTK.Graphics.ES11.TextureEnvTarget)target, (OpenTK.Graphics.ES11.TextureEnvParameter)pname, (Int32*)@params); + } + internal static void Load_TexEnvx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glTexEnvx = (Delegates.TexEnvx)GetExtensionDelegateStatic("glTexEnvx", typeof(Delegates.TexEnvx)); + Delegates.glTexEnvx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_TexEnvxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glTexEnvxOES = (Delegates.TexEnvxOES)GetExtensionDelegateStatic("glTexEnvxOES", typeof(Delegates.TexEnvxOES)); + Delegates.glTexEnvxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_TexEnvxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glTexEnvxv = (Delegates.TexEnvxv)GetExtensionDelegateStatic("glTexEnvxv", typeof(Delegates.TexEnvxv)); + Delegates.glTexEnvxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_TexEnvxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glTexEnvxvOES = (Delegates.TexEnvxvOES)GetExtensionDelegateStatic("glTexEnvxvOES", typeof(Delegates.TexEnvxvOES)); + Delegates.glTexEnvxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static void Load_TexGenfOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single param) + { + Delegates.glTexGenfOES = (Delegates.TexGenfOES)GetExtensionDelegateStatic("glTexGenfOES", typeof(Delegates.TexGenfOES)); + Delegates.glTexGenfOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single)param); + } + internal static unsafe void Load_TexGenfvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Single* @params) + { + Delegates.glTexGenfvOES = (Delegates.TexGenfvOES)GetExtensionDelegateStatic("glTexGenfvOES", typeof(Delegates.TexGenfvOES)); + Delegates.glTexGenfvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Single*)@params); + } + internal static void Load_TexGeniOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32 param) + { + Delegates.glTexGeniOES = (Delegates.TexGeniOES)GetExtensionDelegateStatic("glTexGeniOES", typeof(Delegates.TexGeniOES)); + Delegates.glTexGeniOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32)param); + } + internal static unsafe void Load_TexGenivOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, Int32* @params) + { + Delegates.glTexGenivOES = (Delegates.TexGenivOES)GetExtensionDelegateStatic("glTexGenivOES", typeof(Delegates.TexGenivOES)); + Delegates.glTexGenivOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (Int32*)@params); + } + internal static void Load_TexGenxOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glTexGenxOES = (Delegates.TexGenxOES)GetExtensionDelegateStatic("glTexGenxOES", typeof(Delegates.TexGenxOES)); + Delegates.glTexGenxOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_TexGenxvOES(OpenTK.Graphics.ES11.All coord, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glTexGenxvOES = (Delegates.TexGenxvOES)GetExtensionDelegateStatic("glTexGenxvOES", typeof(Delegates.TexGenxvOES)); + Delegates.glTexGenxvOES((OpenTK.Graphics.ES11.All)coord, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static void Load_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) + { + Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); + 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); + } + internal static void Load_TexParameterf(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single param) + { + Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); + Delegates.glTexParameterf((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single)param); + } + internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Single* @params) + { + Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); + Delegates.glTexParameterfv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Single*)@params); + } + internal static void Load_TexParameteri(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32 param) + { + Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); + Delegates.glTexParameteri((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32)param); + } + internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.ES11.TextureTarget target, OpenTK.Graphics.ES11.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); + Delegates.glTexParameteriv((OpenTK.Graphics.ES11.TextureTarget)target, (OpenTK.Graphics.ES11.TextureParameterName)pname, (Int32*)@params); + } + internal static void Load_TexParameterx(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glTexParameterx = (Delegates.TexParameterx)GetExtensionDelegateStatic("glTexParameterx", typeof(Delegates.TexParameterx)); + Delegates.glTexParameterx((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static void Load_TexParameterxOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int param) + { + Delegates.glTexParameterxOES = (Delegates.TexParameterxOES)GetExtensionDelegateStatic("glTexParameterxOES", typeof(Delegates.TexParameterxOES)); + Delegates.glTexParameterxOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int)param); + } + internal static unsafe void Load_TexParameterxv(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glTexParameterxv = (Delegates.TexParameterxv)GetExtensionDelegateStatic("glTexParameterxv", typeof(Delegates.TexParameterxv)); + Delegates.glTexParameterxv((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static unsafe void Load_TexParameterxvOES(OpenTK.Graphics.ES11.All target, OpenTK.Graphics.ES11.All pname, int* @params) + { + Delegates.glTexParameterxvOES = (Delegates.TexParameterxvOES)GetExtensionDelegateStatic("glTexParameterxvOES", typeof(Delegates.TexParameterxvOES)); + Delegates.glTexParameterxvOES((OpenTK.Graphics.ES11.All)target, (OpenTK.Graphics.ES11.All)pname, (int*)@params); + } + internal static void Load_TexStorage1DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) + { + Delegates.glTexStorage1DEXT = (Delegates.TexStorage1DEXT)GetExtensionDelegateStatic("glTexStorage1DEXT", typeof(Delegates.TexStorage1DEXT)); + Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width); + } + internal static void Load_TexStorage2DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) + { + Delegates.glTexStorage2DEXT = (Delegates.TexStorage2DEXT)GetExtensionDelegateStatic("glTexStorage2DEXT", typeof(Delegates.TexStorage2DEXT)); + Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TexStorage3DEXT(OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTexStorage3DEXT = (Delegates.TexStorage3DEXT)GetExtensionDelegateStatic("glTexStorage3DEXT", typeof(Delegates.TexStorage3DEXT)); + Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_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) + { + Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); + 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); + } + internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width) + { + Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); + Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width); + } + internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height) + { + Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); + Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES11.All target, Int32 levels, OpenTK.Graphics.ES11.All internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); + Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES11.All)target, (Int32)levels, (OpenTK.Graphics.ES11.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_Translatef(Single x, Single y, Single z) + { + Delegates.glTranslatef = (Delegates.Translatef)GetExtensionDelegateStatic("glTranslatef", typeof(Delegates.Translatef)); + Delegates.glTranslatef((Single)x, (Single)y, (Single)z); + } + internal static void Load_Translatex(int x, int y, int z) + { + Delegates.glTranslatex = (Delegates.Translatex)GetExtensionDelegateStatic("glTranslatex", typeof(Delegates.Translatex)); + Delegates.glTranslatex((int)x, (int)y, (int)z); + } + internal static void Load_TranslatexOES(int x, int y, int z) + { + Delegates.glTranslatexOES = (Delegates.TranslatexOES)GetExtensionDelegateStatic("glTranslatexOES", typeof(Delegates.TranslatexOES)); + Delegates.glTranslatexOES((int)x, (int)y, (int)z); + } + internal static bool Load_UnmapBufferOES(OpenTK.Graphics.ES11.All target) + { + Delegates.glUnmapBufferOES = (Delegates.UnmapBufferOES)GetExtensionDelegateStatic("glUnmapBufferOES", typeof(Delegates.UnmapBufferOES)); + return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES11.All)target); + } + internal static void Load_Vertex2bOES(SByte x) + { + Delegates.glVertex2bOES = (Delegates.Vertex2bOES)GetExtensionDelegateStatic("glVertex2bOES", typeof(Delegates.Vertex2bOES)); + Delegates.glVertex2bOES((SByte)x); + } + internal static unsafe void Load_Vertex2bvOES(SByte* coords) + { + Delegates.glVertex2bvOES = (Delegates.Vertex2bvOES)GetExtensionDelegateStatic("glVertex2bvOES", typeof(Delegates.Vertex2bvOES)); + Delegates.glVertex2bvOES((SByte*)coords); + } + internal static void Load_Vertex2xOES(int x) + { + Delegates.glVertex2xOES = (Delegates.Vertex2xOES)GetExtensionDelegateStatic("glVertex2xOES", typeof(Delegates.Vertex2xOES)); + Delegates.glVertex2xOES((int)x); + } + internal static unsafe void Load_Vertex2xvOES(int* coords) + { + Delegates.glVertex2xvOES = (Delegates.Vertex2xvOES)GetExtensionDelegateStatic("glVertex2xvOES", typeof(Delegates.Vertex2xvOES)); + Delegates.glVertex2xvOES((int*)coords); + } + internal static void Load_Vertex3bOES(SByte x, SByte y) + { + Delegates.glVertex3bOES = (Delegates.Vertex3bOES)GetExtensionDelegateStatic("glVertex3bOES", typeof(Delegates.Vertex3bOES)); + Delegates.glVertex3bOES((SByte)x, (SByte)y); + } + internal static unsafe void Load_Vertex3bvOES(SByte* coords) + { + Delegates.glVertex3bvOES = (Delegates.Vertex3bvOES)GetExtensionDelegateStatic("glVertex3bvOES", typeof(Delegates.Vertex3bvOES)); + Delegates.glVertex3bvOES((SByte*)coords); + } + internal static void Load_Vertex3xOES(int x, int y) + { + Delegates.glVertex3xOES = (Delegates.Vertex3xOES)GetExtensionDelegateStatic("glVertex3xOES", typeof(Delegates.Vertex3xOES)); + Delegates.glVertex3xOES((int)x, (int)y); + } + internal static unsafe void Load_Vertex3xvOES(int* coords) + { + Delegates.glVertex3xvOES = (Delegates.Vertex3xvOES)GetExtensionDelegateStatic("glVertex3xvOES", typeof(Delegates.Vertex3xvOES)); + Delegates.glVertex3xvOES((int*)coords); + } + internal static void Load_Vertex4bOES(SByte x, SByte y, SByte z) + { + Delegates.glVertex4bOES = (Delegates.Vertex4bOES)GetExtensionDelegateStatic("glVertex4bOES", typeof(Delegates.Vertex4bOES)); + Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); + } + internal static unsafe void Load_Vertex4bvOES(SByte* coords) + { + Delegates.glVertex4bvOES = (Delegates.Vertex4bvOES)GetExtensionDelegateStatic("glVertex4bvOES", typeof(Delegates.Vertex4bvOES)); + Delegates.glVertex4bvOES((SByte*)coords); + } + internal static void Load_Vertex4xOES(int x, int y, int z) + { + Delegates.glVertex4xOES = (Delegates.Vertex4xOES)GetExtensionDelegateStatic("glVertex4xOES", typeof(Delegates.Vertex4xOES)); + Delegates.glVertex4xOES((int)x, (int)y, (int)z); + } + internal static unsafe void Load_Vertex4xvOES(int* coords) + { + Delegates.glVertex4xvOES = (Delegates.Vertex4xvOES)GetExtensionDelegateStatic("glVertex4xvOES", typeof(Delegates.Vertex4xvOES)); + Delegates.glVertex4xvOES((int*)coords); + } + internal static void Load_VertexPointer(Int32 size, OpenTK.Graphics.ES11.VertexPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexPointer = (Delegates.VertexPointer)GetExtensionDelegateStatic("glVertexPointer", typeof(Delegates.VertexPointer)); + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.ES11.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout) + { + Delegates.glWaitSyncAPPLE = (Delegates.WaitSyncAPPLE)GetExtensionDelegateStatic("glWaitSyncAPPLE", typeof(Delegates.WaitSyncAPPLE)); + Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + } + internal static void Load_WeightPointerOES(Int32 size, OpenTK.Graphics.ES11.All type, Int32 stride, IntPtr pointer) + { + Delegates.glWeightPointerOES = (Delegates.WeightPointerOES)GetExtensionDelegateStatic("glWeightPointerOES", typeof(Delegates.WeightPointerOES)); + Delegates.glWeightPointerOES((Int32)size, (OpenTK.Graphics.ES11.All)type, (Int32)stride, (IntPtr)pointer); + } } } } diff --git a/Source/OpenTK/Graphics/ES20/ES20Delegates.cs b/Source/OpenTK/Graphics/ES20/ES20Delegates.cs index 5a0e1df6..745b0078 100644 --- a/Source/OpenTK/Graphics/ES20/ES20Delegates.cs +++ b/Source/OpenTK/Graphics/ES20/ES20Delegates.cs @@ -1065,1716 +1065,1716 @@ namespace OpenTK.Graphics.ES20 [SuppressUnmanagedCodeSecurity] internal delegate void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout); internal static WaitSyncAPPLE glWaitSyncAPPLE = Load_WaitSyncAPPLE; - } - internal static void Load_ActiveProgramEXT(UInt32 program) - { - Delegates.glActiveProgramEXT = (Delegates.ActiveProgramEXT)GetExtensionDelegateStatic("glActiveProgramEXT", typeof(Delegates.ActiveProgramEXT)); - Delegates.glActiveProgramEXT((UInt32)program); - } - internal static void Load_ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program) - { - Delegates.glActiveShaderProgramEXT = (Delegates.ActiveShaderProgramEXT)GetExtensionDelegateStatic("glActiveShaderProgramEXT", typeof(Delegates.ActiveShaderProgramEXT)); - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - } - internal static void Load_ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture) - { - Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); - Delegates.glActiveTexture((OpenTK.Graphics.ES20.TextureUnit)texture); - } - internal static void Load_AlphaFuncQCOM(OpenTK.Graphics.ES20.All func, Single @ref) - { - Delegates.glAlphaFuncQCOM = (Delegates.AlphaFuncQCOM)GetExtensionDelegateStatic("glAlphaFuncQCOM", typeof(Delegates.AlphaFuncQCOM)); - Delegates.glAlphaFuncQCOM((OpenTK.Graphics.ES20.All)func, (Single)@ref); - } - internal static void Load_AttachShader(UInt32 program, UInt32 shader) - { - Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - } - internal static void Load_BeginPerfMonitorAMD(UInt32 monitor) - { - Delegates.glBeginPerfMonitorAMD = (Delegates.BeginPerfMonitorAMD)GetExtensionDelegateStatic("glBeginPerfMonitorAMD", typeof(Delegates.BeginPerfMonitorAMD)); - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - } - internal static void Load_BeginQueryEXT(OpenTK.Graphics.ES20.QueryTarget target, UInt32 id) - { - Delegates.glBeginQueryEXT = (Delegates.BeginQueryEXT)GetExtensionDelegateStatic("glBeginQueryEXT", typeof(Delegates.BeginQueryEXT)); - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id); - } - internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) - { - Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - } - internal static void Load_BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer) - { - Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); - Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); - } - internal static void Load_BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer) - { - Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); - Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); - } - internal static void Load_BindProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glBindProgramPipelineEXT = (Delegates.BindProgramPipelineEXT)GetExtensionDelegateStatic("glBindProgramPipelineEXT", typeof(Delegates.BindProgramPipelineEXT)); - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - } - internal static void Load_BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer) - { - Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); - } - internal static void Load_BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture) - { - Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); - Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); - } - internal static void Load_BindVertexArrayOES(UInt32 array) - { - Delegates.glBindVertexArrayOES = (Delegates.BindVertexArrayOES)GetExtensionDelegateStatic("glBindVertexArrayOES", typeof(Delegates.BindVertexArrayOES)); - Delegates.glBindVertexArrayOES((UInt32)array); - } - internal static void Load_BlendBarrierNV() - { - Delegates.glBlendBarrierNV = (Delegates.BlendBarrierNV)GetExtensionDelegateStatic("glBlendBarrierNV", typeof(Delegates.BlendBarrierNV)); - Delegates.glBlendBarrierNV(); - } - internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode) - { - Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); - Delegates.glBlendEquation((OpenTK.Graphics.ES20.BlendEquationMode)mode); - } - internal static void Load_BlendEquationEXT(OpenTK.Graphics.ES20.BlendEquationMode mode) - { - Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES20.BlendEquationMode)mode); - } - internal static void Load_BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha) - { - Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); - Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha); - } - internal static void Load_BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor) - { - Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); - Delegates.glBlendFunc((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor); - } - internal static void Load_BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES20.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES20.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dfactorAlpha) - { - Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); - Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorAlpha); - } - internal static void Load_BlendParameteriNV(OpenTK.Graphics.ES20.All pname, Int32 value) - { - Delegates.glBlendParameteriNV = (Delegates.BlendParameteriNV)GetExtensionDelegateStatic("glBlendParameteriNV", typeof(Delegates.BlendParameteriNV)); - Delegates.glBlendParameteriNV((OpenTK.Graphics.ES20.All)pname, (Int32)value); - } - internal static void Load_BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebufferANGLE = (Delegates.BlitFramebufferANGLE)GetExtensionDelegateStatic("glBlitFramebufferANGLE", typeof(Delegates.BlitFramebufferANGLE)); - Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); - } - internal static void Load_BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebufferNV = (Delegates.BlitFramebufferNV)GetExtensionDelegateStatic("glBlitFramebufferNV", typeof(Delegates.BlitFramebufferNV)); - Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); - } - internal static void Load_BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage) - { - Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); - Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage); - } - internal static void Load_BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); - Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static OpenTK.Graphics.ES20.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target) - { - Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES20.FramebufferTarget)target); - } - internal static void Load_Clear(OpenTK.Graphics.ES20.ClearBufferMask mask) - { - Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); - Delegates.glClear((OpenTK.Graphics.ES20.ClearBufferMask)mask); - } - internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_ClearDepthf(Single d) - { - Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); - Delegates.glClearDepthf((Single)d); - } - internal static void Load_ClearStencil(Int32 s) - { - Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); - Delegates.glClearStencil((Int32)s); - } - internal static OpenTK.Graphics.ES20.WaitSyncStatus Load_ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout) - { - Delegates.glClientWaitSyncAPPLE = (Delegates.ClientWaitSyncAPPLE)GetExtensionDelegateStatic("glClientWaitSyncAPPLE", typeof(Delegates.ClientWaitSyncAPPLE)); - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout); - } - internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) - { - Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - } - internal static void Load_CompileShader(UInt32 shader) - { - Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); - Delegates.glCompileShader((UInt32)shader); - } - internal static void Load_CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage3DOES = (Delegates.CompressedTexImage3DOES)GetExtensionDelegateStatic("glCompressedTexImage3DOES", typeof(Delegates.CompressedTexImage3DOES)); - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage3DOES = (Delegates.CompressedTexSubImage3DOES)GetExtensionDelegateStatic("glCompressedTexSubImage3DOES", typeof(Delegates.CompressedTexSubImage3DOES)); - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CopyBufferSubDataNV(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - Delegates.glCopyBufferSubDataNV = (Delegates.CopyBufferSubDataNV)GetExtensionDelegateStatic("glCopyBufferSubDataNV", typeof(Delegates.CopyBufferSubDataNV)); - Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES20.BufferTarget)readTarget, (OpenTK.Graphics.ES20.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - } - internal static void Load_CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage3DOES = (Delegates.CopyTexSubImage3DOES)GetExtensionDelegateStatic("glCopyTexSubImage3DOES", typeof(Delegates.CopyTexSubImage3DOES)); - Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - Delegates.glCopyTextureLevelsAPPLE = (Delegates.CopyTextureLevelsAPPLE)GetExtensionDelegateStatic("glCopyTextureLevelsAPPLE", typeof(Delegates.CopyTextureLevelsAPPLE)); - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - } - internal static void Load_CoverageMaskNV(bool mask) - { - Delegates.glCoverageMaskNV = (Delegates.CoverageMaskNV)GetExtensionDelegateStatic("glCoverageMaskNV", typeof(Delegates.CoverageMaskNV)); - Delegates.glCoverageMaskNV((bool)mask); - } - internal static void Load_CoverageOperationNV(OpenTK.Graphics.ES20.All operation) - { - Delegates.glCoverageOperationNV = (Delegates.CoverageOperationNV)GetExtensionDelegateStatic("glCoverageOperationNV", typeof(Delegates.CoverageOperationNV)); - Delegates.glCoverageOperationNV((OpenTK.Graphics.ES20.All)operation); - } - internal static Int32 Load_CreateProgram() - { - Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); - return Delegates.glCreateProgram(); - } - internal static Int32 Load_CreateShader(OpenTK.Graphics.ES20.ShaderType type) - { - Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); - return Delegates.glCreateShader((OpenTK.Graphics.ES20.ShaderType)type); - } - internal static Int32 Load_CreateShaderProgramEXT(OpenTK.Graphics.ES20.All type, String @string) - { - Delegates.glCreateShaderProgramEXT = (Delegates.CreateShaderProgramEXT)GetExtensionDelegateStatic("glCreateShaderProgramEXT", typeof(Delegates.CreateShaderProgramEXT)); - return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.ES20.All)type, (String)@string); - } - internal static Int32 Load_CreateShaderProgramvEXT(OpenTK.Graphics.ES20.All type, Int32 count, String[] strings) - { - Delegates.glCreateShaderProgramvEXT = (Delegates.CreateShaderProgramvEXT)GetExtensionDelegateStatic("glCreateShaderProgramvEXT", typeof(Delegates.CreateShaderProgramvEXT)); - return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.ES20.All)type, (Int32)count, (String[])strings); - } - internal static void Load_CullFace(OpenTK.Graphics.ES20.CullFaceMode mode) - { - Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); - Delegates.glCullFace((OpenTK.Graphics.ES20.CullFaceMode)mode); - } - internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - } - internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) - { - Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - } - internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); - Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static void Load_DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - } - internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); - } - internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) - { - Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - } - internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) - { - Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_DeletePerfMonitorsAMD(Int32 n, UInt32* monitors) - { - Delegates.glDeletePerfMonitorsAMD = (Delegates.DeletePerfMonitorsAMD)GetExtensionDelegateStatic("glDeletePerfMonitorsAMD", typeof(Delegates.DeletePerfMonitorsAMD)); - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - } - internal static void Load_DeleteProgram(UInt32 program) - { - Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); - Delegates.glDeleteProgram((UInt32)program); - } - internal static unsafe void Load_DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines) - { - Delegates.glDeleteProgramPipelinesEXT = (Delegates.DeleteProgramPipelinesEXT)GetExtensionDelegateStatic("glDeleteProgramPipelinesEXT", typeof(Delegates.DeleteProgramPipelinesEXT)); - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_DeleteQueriesEXT(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueriesEXT = (Delegates.DeleteQueriesEXT)GetExtensionDelegateStatic("glDeleteQueriesEXT", typeof(Delegates.DeleteQueriesEXT)); - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static void Load_DeleteShader(UInt32 shader) - { - Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); - Delegates.glDeleteShader((UInt32)shader); - } - internal static void Load_DeleteSyncAPPLE(IntPtr sync) - { - Delegates.glDeleteSyncAPPLE = (Delegates.DeleteSyncAPPLE)GetExtensionDelegateStatic("glDeleteSyncAPPLE", typeof(Delegates.DeleteSyncAPPLE)); - Delegates.glDeleteSyncAPPLE((IntPtr)sync); - } - internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) - { - Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_DeleteVertexArraysOES(Int32 n, UInt32* arrays) - { - Delegates.glDeleteVertexArraysOES = (Delegates.DeleteVertexArraysOES)GetExtensionDelegateStatic("glDeleteVertexArraysOES", typeof(Delegates.DeleteVertexArraysOES)); - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - } - internal static void Load_DepthFunc(OpenTK.Graphics.ES20.DepthFunction func) - { - Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); - Delegates.glDepthFunc((OpenTK.Graphics.ES20.DepthFunction)func); - } - internal static void Load_DepthMask(bool flag) - { - Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); - Delegates.glDepthMask((bool)flag); - } - internal static void Load_DepthRangef(Single n, Single f) - { - Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); - Delegates.glDepthRangef((Single)n, (Single)f); - } - internal static void Load_DetachShader(UInt32 program, UInt32 shader) - { - Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - } - internal static void Load_Disable(OpenTK.Graphics.ES20.EnableCap cap) - { - Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); - Delegates.glDisable((OpenTK.Graphics.ES20.EnableCap)cap); - } - internal static void Load_DisableDriverControlQCOM(UInt32 driverControl) - { - Delegates.glDisableDriverControlQCOM = (Delegates.DisableDriverControlQCOM)GetExtensionDelegateStatic("glDisableDriverControlQCOM", typeof(Delegates.DisableDriverControlQCOM)); - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - } - internal static void Load_DisableVertexAttribArray(UInt32 index) - { - Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); - Delegates.glDisableVertexAttribArray((UInt32)index); - } - internal static unsafe void Load_DiscardFramebufferEXT(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments) - { - Delegates.glDiscardFramebufferEXT = (Delegates.DiscardFramebufferEXT)GetExtensionDelegateStatic("glDiscardFramebufferEXT", typeof(Delegates.DiscardFramebufferEXT)); - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments); - } - internal static void Load_DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count) - { - Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); - Delegates.glDrawArrays((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count); - } - internal static void Load_DrawArraysInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedANGLE = (Delegates.DrawArraysInstancedANGLE)GetExtensionDelegateStatic("glDrawArraysInstancedANGLE", typeof(Delegates.DrawArraysInstancedANGLE)); - Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - } - internal static void Load_DrawArraysInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedEXT = (Delegates.DrawArraysInstancedEXT)GetExtensionDelegateStatic("glDrawArraysInstancedEXT", typeof(Delegates.DrawArraysInstancedEXT)); - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - } - internal static void Load_DrawArraysInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedNV = (Delegates.DrawArraysInstancedNV)GetExtensionDelegateStatic("glDrawArraysInstancedNV", typeof(Delegates.DrawArraysInstancedNV)); - Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - } - internal static unsafe void Load_DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) - { - Delegates.glDrawBuffersEXT = (Delegates.DrawBuffersEXT)GetExtensionDelegateStatic("glDrawBuffersEXT", typeof(Delegates.DrawBuffersEXT)); - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); - } - internal static unsafe void Load_DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES20.All* location, Int32* indices) - { - Delegates.glDrawBuffersIndexedEXT = (Delegates.DrawBuffersIndexedEXT)GetExtensionDelegateStatic("glDrawBuffersIndexedEXT", typeof(Delegates.DrawBuffersIndexedEXT)); - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES20.All*)location, (Int32*)indices); - } - internal static unsafe void Load_DrawBuffersNV(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) - { - Delegates.glDrawBuffersNV = (Delegates.DrawBuffersNV)GetExtensionDelegateStatic("glDrawBuffersNV", typeof(Delegates.DrawBuffersNV)); - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); - } - internal static void Load_DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); - Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_DrawElementsInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedANGLE = (Delegates.DrawElementsInstancedANGLE)GetExtensionDelegateStatic("glDrawElementsInstancedANGLE", typeof(Delegates.DrawElementsInstancedANGLE)); - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_DrawElementsInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedEXT = (Delegates.DrawElementsInstancedEXT)GetExtensionDelegateStatic("glDrawElementsInstancedEXT", typeof(Delegates.DrawElementsInstancedEXT)); - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_DrawElementsInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedNV = (Delegates.DrawElementsInstancedNV)GetExtensionDelegateStatic("glDrawElementsInstancedNV", typeof(Delegates.DrawElementsInstancedNV)); - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image) - { - Delegates.glEGLImageTargetRenderbufferStorageOES = (Delegates.EGLImageTargetRenderbufferStorageOES)GetExtensionDelegateStatic("glEGLImageTargetRenderbufferStorageOES", typeof(Delegates.EGLImageTargetRenderbufferStorageOES)); - Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); - } - internal static void Load_EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image) - { - Delegates.glEGLImageTargetTexture2DOES = (Delegates.EGLImageTargetTexture2DOES)GetExtensionDelegateStatic("glEGLImageTargetTexture2DOES", typeof(Delegates.EGLImageTargetTexture2DOES)); - Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); - } - internal static void Load_Enable(OpenTK.Graphics.ES20.EnableCap cap) - { - Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); - Delegates.glEnable((OpenTK.Graphics.ES20.EnableCap)cap); - } - internal static void Load_EnableDriverControlQCOM(UInt32 driverControl) - { - Delegates.glEnableDriverControlQCOM = (Delegates.EnableDriverControlQCOM)GetExtensionDelegateStatic("glEnableDriverControlQCOM", typeof(Delegates.EnableDriverControlQCOM)); - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - } - internal static void Load_EnableVertexAttribArray(UInt32 index) - { - Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); - Delegates.glEnableVertexAttribArray((UInt32)index); - } - internal static void Load_EndPerfMonitorAMD(UInt32 monitor) - { - Delegates.glEndPerfMonitorAMD = (Delegates.EndPerfMonitorAMD)GetExtensionDelegateStatic("glEndPerfMonitorAMD", typeof(Delegates.EndPerfMonitorAMD)); - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - } - internal static void Load_EndQueryEXT(OpenTK.Graphics.ES20.QueryTarget target) - { - Delegates.glEndQueryEXT = (Delegates.EndQueryEXT)GetExtensionDelegateStatic("glEndQueryEXT", typeof(Delegates.EndQueryEXT)); - Delegates.glEndQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target); - } - internal static void Load_EndTilingQCOM(UInt32 preserveMask) - { - Delegates.glEndTilingQCOM = (Delegates.EndTilingQCOM)GetExtensionDelegateStatic("glEndTilingQCOM", typeof(Delegates.EndTilingQCOM)); - Delegates.glEndTilingQCOM((UInt32)preserveMask); - } - internal static void Load_ExtGetBufferPointervQCOM(OpenTK.Graphics.ES20.All target, [OutAttribute] IntPtr @params) - { - Delegates.glExtGetBufferPointervQCOM = (Delegates.ExtGetBufferPointervQCOM)GetExtensionDelegateStatic("glExtGetBufferPointervQCOM", typeof(Delegates.ExtGetBufferPointervQCOM)); - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params); - } - internal static unsafe void Load_ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - Delegates.glExtGetBuffersQCOM = (Delegates.ExtGetBuffersQCOM)GetExtensionDelegateStatic("glExtGetBuffersQCOM", typeof(Delegates.ExtGetBuffersQCOM)); - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - } - internal static unsafe void Load_ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM = (Delegates.ExtGetFramebuffersQCOM)GetExtensionDelegateStatic("glExtGetFramebuffersQCOM", typeof(Delegates.ExtGetFramebuffersQCOM)); - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - } - internal static unsafe void Load_ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - Delegates.glExtGetProgramBinarySourceQCOM = (Delegates.ExtGetProgramBinarySourceQCOM)GetExtensionDelegateStatic("glExtGetProgramBinarySourceQCOM", typeof(Delegates.ExtGetProgramBinarySourceQCOM)); - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length); - } - internal static unsafe void Load_ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - Delegates.glExtGetProgramsQCOM = (Delegates.ExtGetProgramsQCOM)GetExtensionDelegateStatic("glExtGetProgramsQCOM", typeof(Delegates.ExtGetProgramsQCOM)); - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - } - internal static unsafe void Load_ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM = (Delegates.ExtGetRenderbuffersQCOM)GetExtensionDelegateStatic("glExtGetRenderbuffersQCOM", typeof(Delegates.ExtGetRenderbuffersQCOM)); - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - } - internal static unsafe void Load_ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - Delegates.glExtGetShadersQCOM = (Delegates.ExtGetShadersQCOM)GetExtensionDelegateStatic("glExtGetShadersQCOM", typeof(Delegates.ExtGetShadersQCOM)); - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - } - internal static unsafe void Load_ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - Delegates.glExtGetTexLevelParameterivQCOM = (Delegates.ExtGetTexLevelParameterivQCOM)GetExtensionDelegateStatic("glExtGetTexLevelParameterivQCOM", typeof(Delegates.ExtGetTexLevelParameterivQCOM)); - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - } - internal static void Load_ExtGetTexSubImageQCOM(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr texels) - { - Delegates.glExtGetTexSubImageQCOM = (Delegates.ExtGetTexSubImageQCOM)GetExtensionDelegateStatic("glExtGetTexSubImageQCOM", typeof(Delegates.ExtGetTexSubImageQCOM)); - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels); - } - internal static unsafe void Load_ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - Delegates.glExtGetTexturesQCOM = (Delegates.ExtGetTexturesQCOM)GetExtensionDelegateStatic("glExtGetTexturesQCOM", typeof(Delegates.ExtGetTexturesQCOM)); - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - } - internal static bool Load_ExtIsProgramBinaryQCOM(UInt32 program) - { - Delegates.glExtIsProgramBinaryQCOM = (Delegates.ExtIsProgramBinaryQCOM)GetExtensionDelegateStatic("glExtIsProgramBinaryQCOM", typeof(Delegates.ExtIsProgramBinaryQCOM)); - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - } - internal static void Load_ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param) - { - Delegates.glExtTexObjectStateOverrideiQCOM = (Delegates.ExtTexObjectStateOverrideiQCOM)GetExtensionDelegateStatic("glExtTexObjectStateOverrideiQCOM", typeof(Delegates.ExtTexObjectStateOverrideiQCOM)); - Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32)param); - } - internal static IntPtr Load_FenceSyncAPPLE(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags) - { - Delegates.glFenceSyncAPPLE = (Delegates.FenceSyncAPPLE)GetExtensionDelegateStatic("glFenceSyncAPPLE", typeof(Delegates.FenceSyncAPPLE)); - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES20.SyncCondition)condition, (OpenTK.Graphics.ES20.WaitSyncFlags)flags); - } - internal static void Load_Finish() - { - Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); - Delegates.glFinish(); - } - internal static void Load_FinishFenceNV(UInt32 fence) - { - Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); - Delegates.glFinishFenceNV((UInt32)fence); - } - internal static void Load_Flush() - { - Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); - Delegates.glFlush(); - } - internal static void Load_FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length) - { - Delegates.glFlushMappedBufferRangeEXT = (Delegates.FlushMappedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedBufferRangeEXT", typeof(Delegates.FlushMappedBufferRangeEXT)); - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - } - internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - } - internal static void Load_FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - Delegates.glFramebufferTexture2DMultisampleEXT = (Delegates.FramebufferTexture2DMultisampleEXT)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleEXT", typeof(Delegates.FramebufferTexture2DMultisampleEXT)); - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - } - internal static void Load_FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - Delegates.glFramebufferTexture2DMultisampleIMG = (Delegates.FramebufferTexture2DMultisampleIMG)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleIMG", typeof(Delegates.FramebufferTexture2DMultisampleIMG)); - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - } - internal static void Load_FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - Delegates.glFramebufferTexture3DOES = (Delegates.FramebufferTexture3DOES)GetExtensionDelegateStatic("glFramebufferTexture3DOES", typeof(Delegates.FramebufferTexture3DOES)); - Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - } - internal static void Load_FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode) - { - Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); - Delegates.glFrontFace((OpenTK.Graphics.ES20.FrontFaceDirection)mode); - } - internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } - internal static void Load_GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target) - { - Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); - Delegates.glGenerateMipmap((OpenTK.Graphics.ES20.TextureTarget)target); - } - internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) - { - Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors) - { - Delegates.glGenPerfMonitorsAMD = (Delegates.GenPerfMonitorsAMD)GetExtensionDelegateStatic("glGenPerfMonitorsAMD", typeof(Delegates.GenPerfMonitorsAMD)); - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - } - internal static unsafe void Load_GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines) - { - Delegates.glGenProgramPipelinesEXT = (Delegates.GenProgramPipelinesEXT)GetExtensionDelegateStatic("glGenProgramPipelinesEXT", typeof(Delegates.GenProgramPipelinesEXT)); - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenQueriesEXT = (Delegates.GenQueriesEXT)GetExtensionDelegateStatic("glGenQueriesEXT", typeof(Delegates.GenQueriesEXT)); - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays) - { - Delegates.glGenVertexArraysOES = (Delegates.GenVertexArraysOES)GetExtensionDelegateStatic("glGenVertexArraysOES", typeof(Delegates.GenVertexArraysOES)); - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - } - internal static Int32 Load_GetAttribLocation(UInt32 program, String name) - { - Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* data) - { - Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); - Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data); - } - internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params); - } - internal static void Load_GetBufferPointervOES(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetBufferPointervOES = (Delegates.GetBufferPointervOES)GetExtensionDelegateStatic("glGetBufferPointervOES", typeof(Delegates.GetBufferPointervOES)); - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params); - } - internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe void Load_GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - Delegates.glGetDriverControlsQCOM = (Delegates.GetDriverControlsQCOM)GetExtensionDelegateStatic("glGetDriverControlsQCOM", typeof(Delegates.GetDriverControlsQCOM)); - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - } - internal static unsafe void Load_GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - Delegates.glGetDriverControlStringQCOM = (Delegates.GetDriverControlStringQCOM)GetExtensionDelegateStatic("glGetDriverControlStringQCOM", typeof(Delegates.GetDriverControlStringQCOM)); - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - } - internal static OpenTK.Graphics.ES20.ErrorCode Load_GetError() - { - Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); - return Delegates.glGetError(); - } - internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* data) - { - Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); - Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data); - } - internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params); - } - internal static OpenTK.Graphics.ES20.All Load_GetGraphicsResetStatusEXT() - { - Delegates.glGetGraphicsResetStatusEXT = (Delegates.GetGraphicsResetStatusEXT)GetExtensionDelegateStatic("glGetGraphicsResetStatusEXT", typeof(Delegates.GetGraphicsResetStatusEXT)); - return Delegates.glGetGraphicsResetStatusEXT(); - } - internal static unsafe void Load_GetInteger64vAPPLE(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params) - { - Delegates.glGetInteger64vAPPLE = (Delegates.GetInteger64vAPPLE)GetExtensionDelegateStatic("glGetInteger64vAPPLE", typeof(Delegates.GetInteger64vAPPLE)); - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params); - } - internal static unsafe void Load_GetIntegeri_vEXT(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - Delegates.glGetIntegeri_vEXT = (Delegates.GetIntegeri_vEXT)GetExtensionDelegateStatic("glGetIntegeri_vEXT", typeof(Delegates.GetIntegeri_vEXT)); - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data); - } - internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data) - { - Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); - Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data); - } - internal static unsafe void Load_GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - Delegates.glGetnUniformfvEXT = (Delegates.GetnUniformfvEXT)GetExtensionDelegateStatic("glGetnUniformfvEXT", typeof(Delegates.GetnUniformfvEXT)); - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - } - internal static unsafe void Load_GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetnUniformivEXT = (Delegates.GetnUniformivEXT)GetExtensionDelegateStatic("glGetnUniformivEXT", typeof(Delegates.GetnUniformivEXT)); - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - } - internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); - Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectLabelEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabelEXT = (Delegates.GetObjectLabelEXT)GetExtensionDelegateStatic("glGetObjectLabelEXT", typeof(Delegates.GetObjectLabelEXT)); - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD = (Delegates.GetPerfMonitorCounterDataAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterDataAMD", typeof(Delegates.GetPerfMonitorCounterDataAMD)); - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - } - internal static void Load_GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) - { - Delegates.glGetPerfMonitorCounterInfoAMD = (Delegates.GetPerfMonitorCounterInfoAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterInfoAMD", typeof(Delegates.GetPerfMonitorCounterInfoAMD)); - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data); - } - internal static unsafe void Load_GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - Delegates.glGetPerfMonitorCountersAMD = (Delegates.GetPerfMonitorCountersAMD)GetExtensionDelegateStatic("glGetPerfMonitorCountersAMD", typeof(Delegates.GetPerfMonitorCountersAMD)); - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - } - internal static unsafe void Load_GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - Delegates.glGetPerfMonitorCounterStringAMD = (Delegates.GetPerfMonitorCounterStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterStringAMD", typeof(Delegates.GetPerfMonitorCounterStringAMD)); - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - } - internal static unsafe void Load_GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - Delegates.glGetPerfMonitorGroupsAMD = (Delegates.GetPerfMonitorGroupsAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupsAMD", typeof(Delegates.GetPerfMonitorGroupsAMD)); - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - } - internal static unsafe void Load_GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - Delegates.glGetPerfMonitorGroupStringAMD = (Delegates.GetPerfMonitorGroupStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupStringAMD", typeof(Delegates.GetPerfMonitorGroupStringAMD)); - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - } - internal static void Load_GetPointerv(OpenTK.Graphics.ES20.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); - Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params); - } - internal static void Load_GetPointervKHR(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); - Delegates.glGetPointervKHR((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params); - } - internal static unsafe void Load_GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary) - { - Delegates.glGetProgramBinaryOES = (Delegates.GetProgramBinaryOES)GetExtensionDelegateStatic("glGetProgramBinaryOES", typeof(Delegates.GetProgramBinaryOES)); - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary); - } - internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramPipelineInfoLogEXT = (Delegates.GetProgramPipelineInfoLogEXT)GetExtensionDelegateStatic("glGetProgramPipelineInfoLogEXT", typeof(Delegates.GetProgramPipelineInfoLogEXT)); - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramPipelineivEXT = (Delegates.GetProgramPipelineivEXT)GetExtensionDelegateStatic("glGetProgramPipelineivEXT", typeof(Delegates.GetProgramPipelineivEXT)); - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryivEXT(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryivEXT = (Delegates.GetQueryivEXT)GetExtensionDelegateStatic("glGetQueryivEXT", typeof(Delegates.GetQueryivEXT)); - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - Delegates.glGetQueryObjecti64vEXT = (Delegates.GetQueryObjecti64vEXT)GetExtensionDelegateStatic("glGetQueryObjecti64vEXT", typeof(Delegates.GetQueryObjecti64vEXT)); - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params); - } - internal static unsafe void Load_GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryObjectivEXT = (Delegates.GetQueryObjectivEXT)GetExtensionDelegateStatic("glGetQueryObjectivEXT", typeof(Delegates.GetQueryObjectivEXT)); - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetQueryObjectui64vEXT = (Delegates.GetQueryObjectui64vEXT)GetExtensionDelegateStatic("glGetQueryObjectui64vEXT", typeof(Delegates.GetQueryObjectui64vEXT)); - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params); - } - internal static unsafe void Load_GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetQueryObjectuivEXT = (Delegates.GetQueryObjectuivEXT)GetExtensionDelegateStatic("glGetQueryObjectuivEXT", typeof(Delegates.GetQueryObjectuivEXT)); - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - } - internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - } - internal static IntPtr Load_GetString(OpenTK.Graphics.ES20.StringName name) - { - Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); - return Delegates.glGetString((OpenTK.Graphics.ES20.StringName)name); - } - internal static unsafe void Load_GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - Delegates.glGetSyncivAPPLE = (Delegates.GetSyncivAPPLE)GetExtensionDelegateStatic("glGetSyncivAPPLE", typeof(Delegates.GetSyncivAPPLE)); - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - } - internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - Delegates.glGetTranslatedShaderSourceANGLE = (Delegates.GetTranslatedShaderSourceANGLE)GetExtensionDelegateStatic("glGetTranslatedShaderSourceANGLE", typeof(Delegates.GetTranslatedShaderSourceANGLE)); - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); - } - internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - } - internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - } - internal static Int32 Load_GetUniformLocation(UInt32 program, String name) - { - Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); - } - internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); - } - internal static void Load_Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode) - { - Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); - Delegates.glHint((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode); - } - internal static void Load_InsertEventMarkerEXT(Int32 length, String marker) - { - Delegates.glInsertEventMarkerEXT = (Delegates.InsertEventMarkerEXT)GetExtensionDelegateStatic("glInsertEventMarkerEXT", typeof(Delegates.InsertEventMarkerEXT)); - Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); - } - internal static bool Load_IsBuffer(UInt32 buffer) - { - Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); - return Delegates.glIsBuffer((UInt32)buffer); - } - internal static bool Load_IsEnabled(OpenTK.Graphics.ES20.EnableCap cap) - { - Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); - return Delegates.glIsEnabled((OpenTK.Graphics.ES20.EnableCap)cap); - } - internal static bool Load_IsFenceNV(UInt32 fence) - { - Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); - return Delegates.glIsFenceNV((UInt32)fence); - } - internal static bool Load_IsFramebuffer(UInt32 framebuffer) - { - Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); - return Delegates.glIsFramebuffer((UInt32)framebuffer); - } - internal static bool Load_IsProgram(UInt32 program) - { - Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); - return Delegates.glIsProgram((UInt32)program); - } - internal static bool Load_IsProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glIsProgramPipelineEXT = (Delegates.IsProgramPipelineEXT)GetExtensionDelegateStatic("glIsProgramPipelineEXT", typeof(Delegates.IsProgramPipelineEXT)); - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - } - internal static bool Load_IsQueryEXT(UInt32 id) - { - Delegates.glIsQueryEXT = (Delegates.IsQueryEXT)GetExtensionDelegateStatic("glIsQueryEXT", typeof(Delegates.IsQueryEXT)); - return Delegates.glIsQueryEXT((UInt32)id); - } - internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) - { - Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - } - internal static bool Load_IsShader(UInt32 shader) - { - Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); - return Delegates.glIsShader((UInt32)shader); - } - internal static bool Load_IsSyncAPPLE(IntPtr sync) - { - Delegates.glIsSyncAPPLE = (Delegates.IsSyncAPPLE)GetExtensionDelegateStatic("glIsSyncAPPLE", typeof(Delegates.IsSyncAPPLE)); - return Delegates.glIsSyncAPPLE((IntPtr)sync); - } - internal static bool Load_IsTexture(UInt32 texture) - { - Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); - return Delegates.glIsTexture((UInt32)texture); - } - internal static bool Load_IsVertexArrayOES(UInt32 array) - { - Delegates.glIsVertexArrayOES = (Delegates.IsVertexArrayOES)GetExtensionDelegateStatic("glIsVertexArrayOES", typeof(Delegates.IsVertexArrayOES)); - return Delegates.glIsVertexArrayOES((UInt32)array); - } - internal static void Load_LabelObjectEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 length, String label) - { - Delegates.glLabelObjectEXT = (Delegates.LabelObjectEXT)GetExtensionDelegateStatic("glLabelObjectEXT", typeof(Delegates.LabelObjectEXT)); - Delegates.glLabelObjectEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)length, (String)label); - } - internal static void Load_LineWidth(Single width) - { - Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); - Delegates.glLineWidth((Single)width); - } - internal static void Load_LinkProgram(UInt32 program) - { - Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); - Delegates.glLinkProgram((UInt32)program); - } - internal static IntPtr Load_MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access) - { - Delegates.glMapBufferOES = (Delegates.MapBufferOES)GetExtensionDelegateStatic("glMapBufferOES", typeof(Delegates.MapBufferOES)); - return Delegates.glMapBufferOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)access); - } - internal static IntPtr Load_MapBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) - { - Delegates.glMapBufferRangeEXT = (Delegates.MapBufferRangeEXT)GetExtensionDelegateStatic("glMapBufferRangeEXT", typeof(Delegates.MapBufferRangeEXT)); - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - } - internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - } - internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); - Delegates.glObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - } - internal static void Load_PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param) - { - Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); - Delegates.glPixelStorei((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param); - } - internal static void Load_PolygonOffset(Single factor, Single units) - { - Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); - Delegates.glPolygonOffset((Single)factor, (Single)units); - } - internal static void Load_PopDebugGroup() - { - Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); - Delegates.glPopDebugGroup(); - } - internal static void Load_PopDebugGroupKHR() - { - Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); - Delegates.glPopDebugGroupKHR(); - } - internal static void Load_PopGroupMarkerEXT() - { - Delegates.glPopGroupMarkerEXT = (Delegates.PopGroupMarkerEXT)GetExtensionDelegateStatic("glPopGroupMarkerEXT", typeof(Delegates.PopGroupMarkerEXT)); - Delegates.glPopGroupMarkerEXT(); - } - internal static void Load_ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) - { - Delegates.glProgramBinaryOES = (Delegates.ProgramBinaryOES)GetExtensionDelegateStatic("glProgramBinaryOES", typeof(Delegates.ProgramBinaryOES)); - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length); - } - internal static void Load_ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value) - { - Delegates.glProgramParameteriEXT = (Delegates.ProgramParameteriEXT)GetExtensionDelegateStatic("glProgramParameteriEXT", typeof(Delegates.ProgramParameteriEXT)); - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value); - } - internal static void Load_ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0) - { - Delegates.glProgramUniform1fEXT = (Delegates.ProgramUniform1fEXT)GetExtensionDelegateStatic("glProgramUniform1fEXT", typeof(Delegates.ProgramUniform1fEXT)); - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - } - internal static unsafe void Load_ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform1fvEXT = (Delegates.ProgramUniform1fvEXT)GetExtensionDelegateStatic("glProgramUniform1fvEXT", typeof(Delegates.ProgramUniform1fvEXT)); - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0) - { - Delegates.glProgramUniform1iEXT = (Delegates.ProgramUniform1iEXT)GetExtensionDelegateStatic("glProgramUniform1iEXT", typeof(Delegates.ProgramUniform1iEXT)); - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - } - internal static unsafe void Load_ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform1ivEXT = (Delegates.ProgramUniform1ivEXT)GetExtensionDelegateStatic("glProgramUniform1ivEXT", typeof(Delegates.ProgramUniform1ivEXT)); - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0) - { - Delegates.glProgramUniform1uiEXT = (Delegates.ProgramUniform1uiEXT)GetExtensionDelegateStatic("glProgramUniform1uiEXT", typeof(Delegates.ProgramUniform1uiEXT)); - Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); - } - internal static unsafe void Load_ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform1uivEXT = (Delegates.ProgramUniform1uivEXT)GetExtensionDelegateStatic("glProgramUniform1uivEXT", typeof(Delegates.ProgramUniform1uivEXT)); - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1) - { - Delegates.glProgramUniform2fEXT = (Delegates.ProgramUniform2fEXT)GetExtensionDelegateStatic("glProgramUniform2fEXT", typeof(Delegates.ProgramUniform2fEXT)); - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform2fvEXT = (Delegates.ProgramUniform2fvEXT)GetExtensionDelegateStatic("glProgramUniform2fvEXT", typeof(Delegates.ProgramUniform2fvEXT)); - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - Delegates.glProgramUniform2iEXT = (Delegates.ProgramUniform2iEXT)GetExtensionDelegateStatic("glProgramUniform2iEXT", typeof(Delegates.ProgramUniform2iEXT)); - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform2ivEXT = (Delegates.ProgramUniform2ivEXT)GetExtensionDelegateStatic("glProgramUniform2ivEXT", typeof(Delegates.ProgramUniform2ivEXT)); - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glProgramUniform2uiEXT = (Delegates.ProgramUniform2uiEXT)GetExtensionDelegateStatic("glProgramUniform2uiEXT", typeof(Delegates.ProgramUniform2uiEXT)); - Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static unsafe void Load_ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform2uivEXT = (Delegates.ProgramUniform2uivEXT)GetExtensionDelegateStatic("glProgramUniform2uivEXT", typeof(Delegates.ProgramUniform2uivEXT)); - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glProgramUniform3fEXT = (Delegates.ProgramUniform3fEXT)GetExtensionDelegateStatic("glProgramUniform3fEXT", typeof(Delegates.ProgramUniform3fEXT)); - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform3fvEXT = (Delegates.ProgramUniform3fvEXT)GetExtensionDelegateStatic("glProgramUniform3fvEXT", typeof(Delegates.ProgramUniform3fvEXT)); - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glProgramUniform3iEXT = (Delegates.ProgramUniform3iEXT)GetExtensionDelegateStatic("glProgramUniform3iEXT", typeof(Delegates.ProgramUniform3iEXT)); - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform3ivEXT = (Delegates.ProgramUniform3ivEXT)GetExtensionDelegateStatic("glProgramUniform3ivEXT", typeof(Delegates.ProgramUniform3ivEXT)); - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glProgramUniform3uiEXT = (Delegates.ProgramUniform3uiEXT)GetExtensionDelegateStatic("glProgramUniform3uiEXT", typeof(Delegates.ProgramUniform3uiEXT)); - Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static unsafe void Load_ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform3uivEXT = (Delegates.ProgramUniform3uivEXT)GetExtensionDelegateStatic("glProgramUniform3uivEXT", typeof(Delegates.ProgramUniform3uivEXT)); - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glProgramUniform4fEXT = (Delegates.ProgramUniform4fEXT)GetExtensionDelegateStatic("glProgramUniform4fEXT", typeof(Delegates.ProgramUniform4fEXT)); - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform4fvEXT = (Delegates.ProgramUniform4fvEXT)GetExtensionDelegateStatic("glProgramUniform4fvEXT", typeof(Delegates.ProgramUniform4fvEXT)); - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glProgramUniform4iEXT = (Delegates.ProgramUniform4iEXT)GetExtensionDelegateStatic("glProgramUniform4iEXT", typeof(Delegates.ProgramUniform4iEXT)); - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform4ivEXT = (Delegates.ProgramUniform4ivEXT)GetExtensionDelegateStatic("glProgramUniform4ivEXT", typeof(Delegates.ProgramUniform4ivEXT)); - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glProgramUniform4uiEXT = (Delegates.ProgramUniform4uiEXT)GetExtensionDelegateStatic("glProgramUniform4uiEXT", typeof(Delegates.ProgramUniform4uiEXT)); - Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static unsafe void Load_ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform4uivEXT = (Delegates.ProgramUniform4uivEXT)GetExtensionDelegateStatic("glProgramUniform4uivEXT", typeof(Delegates.ProgramUniform4uivEXT)); - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2fvEXT = (Delegates.ProgramUniformMatrix2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2fvEXT", typeof(Delegates.ProgramUniformMatrix2fvEXT)); - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x3fvEXT = (Delegates.ProgramUniformMatrix2x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fvEXT", typeof(Delegates.ProgramUniformMatrix2x3fvEXT)); - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x4fvEXT = (Delegates.ProgramUniformMatrix2x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fvEXT", typeof(Delegates.ProgramUniformMatrix2x4fvEXT)); - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3fvEXT = (Delegates.ProgramUniformMatrix3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3fvEXT", typeof(Delegates.ProgramUniformMatrix3fvEXT)); - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x2fvEXT = (Delegates.ProgramUniformMatrix3x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fvEXT", typeof(Delegates.ProgramUniformMatrix3x2fvEXT)); - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x4fvEXT = (Delegates.ProgramUniformMatrix3x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fvEXT", typeof(Delegates.ProgramUniformMatrix3x4fvEXT)); - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4fvEXT = (Delegates.ProgramUniformMatrix4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4fvEXT", typeof(Delegates.ProgramUniformMatrix4fvEXT)); - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x2fvEXT = (Delegates.ProgramUniformMatrix4x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fvEXT", typeof(Delegates.ProgramUniformMatrix4x2fvEXT)); - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x3fvEXT = (Delegates.ProgramUniformMatrix4x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fvEXT", typeof(Delegates.ProgramUniformMatrix4x3fvEXT)); - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static void Load_PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); - Delegates.glPushDebugGroup((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_PushGroupMarkerEXT(Int32 length, String marker) - { - Delegates.glPushGroupMarkerEXT = (Delegates.PushGroupMarkerEXT)GetExtensionDelegateStatic("glPushGroupMarkerEXT", typeof(Delegates.PushGroupMarkerEXT)); - Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); - } - internal static void Load_QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES20.All target) - { - Delegates.glQueryCounterEXT = (Delegates.QueryCounterEXT)GetExtensionDelegateStatic("glQueryCounterEXT", typeof(Delegates.QueryCounterEXT)); - Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES20.All)target); - } - internal static void Load_ReadBufferIndexedEXT(OpenTK.Graphics.ES20.All src, Int32 index) - { - Delegates.glReadBufferIndexedEXT = (Delegates.ReadBufferIndexedEXT)GetExtensionDelegateStatic("glReadBufferIndexedEXT", typeof(Delegates.ReadBufferIndexedEXT)); - Delegates.glReadBufferIndexedEXT((OpenTK.Graphics.ES20.All)src, (Int32)index); - } - internal static void Load_ReadBufferNV(OpenTK.Graphics.ES20.All mode) - { - Delegates.glReadBufferNV = (Delegates.ReadBufferNV)GetExtensionDelegateStatic("glReadBufferNV", typeof(Delegates.ReadBufferNV)); - Delegates.glReadBufferNV((OpenTK.Graphics.ES20.All)mode); - } - internal static void Load_ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - Delegates.glReadnPixelsEXT = (Delegates.ReadnPixelsEXT)GetExtensionDelegateStatic("glReadnPixelsEXT", typeof(Delegates.ReadnPixelsEXT)); - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data); - } - internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - } - internal static void Load_ReleaseShaderCompiler() - { - Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); - Delegates.glReleaseShaderCompiler(); - } - internal static void Load_RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); - Delegates.glRenderbufferStorage((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleANGLE = (Delegates.RenderbufferStorageMultisampleANGLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleANGLE", typeof(Delegates.RenderbufferStorageMultisampleANGLE)); - Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleAPPLE = (Delegates.RenderbufferStorageMultisampleAPPLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleAPPLE", typeof(Delegates.RenderbufferStorageMultisampleAPPLE)); - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleIMG = (Delegates.RenderbufferStorageMultisampleIMG)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleIMG", typeof(Delegates.RenderbufferStorageMultisampleIMG)); - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleNV = (Delegates.RenderbufferStorageMultisampleNV)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleNV", typeof(Delegates.RenderbufferStorageMultisampleNV)); - Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_ResolveMultisampleFramebufferAPPLE() - { - Delegates.glResolveMultisampleFramebufferAPPLE = (Delegates.ResolveMultisampleFramebufferAPPLE)GetExtensionDelegateStatic("glResolveMultisampleFramebufferAPPLE", typeof(Delegates.ResolveMultisampleFramebufferAPPLE)); - Delegates.glResolveMultisampleFramebufferAPPLE(); - } - internal static void Load_SampleCoverage(Single value, bool invert) - { - Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); - Delegates.glSampleCoverage((Single)value, (bool)invert); - } - internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static unsafe void Load_SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - Delegates.glSelectPerfMonitorCountersAMD = (Delegates.SelectPerfMonitorCountersAMD)GetExtensionDelegateStatic("glSelectPerfMonitorCountersAMD", typeof(Delegates.SelectPerfMonitorCountersAMD)); - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - } - internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition) - { - Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition); - } - internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - } - internal static void Load_StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - Delegates.glStartTilingQCOM = (Delegates.StartTilingQCOM)GetExtensionDelegateStatic("glStartTilingQCOM", typeof(Delegates.StartTilingQCOM)); - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - } - internal static void Load_StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); - Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilMask(UInt32 mask) - { - Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); - Delegates.glStencilMask((UInt32)mask); - } - internal static void Load_StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, UInt32 mask) - { - Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); - } - internal static void Load_StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass) - { - Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); - Delegates.glStencilOp((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass); - } - internal static void Load_StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass) - { - Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); - Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass); - } - internal static bool Load_TestFenceNV(UInt32 fence) - { - Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); - return Delegates.glTestFenceNV((UInt32)fence); - } - internal static void Load_TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); - Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - Delegates.glTexImage3DOES = (Delegates.TexImage3DOES)GetExtensionDelegateStatic("glTexImage3DOES", typeof(Delegates.TexImage3DOES)); - Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param) - { - Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); - Delegates.glTexParameterf((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param); - } - internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params) - { - Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); - Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params); - } - internal static void Load_TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param) - { - Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); - Delegates.glTexParameteri((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param); - } - internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); - Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params); - } - internal static void Load_TexStorage1DEXT(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) - { - Delegates.glTexStorage1DEXT = (Delegates.TexStorage1DEXT)GetExtensionDelegateStatic("glTexStorage1DEXT", typeof(Delegates.TexStorage1DEXT)); - Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width); - } - internal static void Load_TexStorage2DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glTexStorage2DEXT = (Delegates.TexStorage2DEXT)GetExtensionDelegateStatic("glTexStorage2DEXT", typeof(Delegates.TexStorage2DEXT)); - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TexStorage3DEXT(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTexStorage3DEXT = (Delegates.TexStorage3DEXT)GetExtensionDelegateStatic("glTexStorage3DEXT", typeof(Delegates.TexStorage3DEXT)); - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); - Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) - { - Delegates.glTexSubImage3DOES = (Delegates.TexSubImage3DOES)GetExtensionDelegateStatic("glTexSubImage3DOES", typeof(Delegates.TexSubImage3DOES)); - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels); - } - internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) - { - Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width); - } - internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) - { - Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_Uniform1f(Int32 location, Single v0) - { - Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); - Delegates.glUniform1f((Int32)location, (Single)v0); - } - internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform1i(Int32 location, Int32 v0) - { - Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); - Delegates.glUniform1i((Int32)location, (Int32)v0); - } - internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) - { - Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) - { - Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x3fvNV = (Delegates.UniformMatrix2x3fvNV)GetExtensionDelegateStatic("glUniformMatrix2x3fvNV", typeof(Delegates.UniformMatrix2x3fvNV)); - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x4fvNV = (Delegates.UniformMatrix2x4fvNV)GetExtensionDelegateStatic("glUniformMatrix2x4fvNV", typeof(Delegates.UniformMatrix2x4fvNV)); - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x2fvNV = (Delegates.UniformMatrix3x2fvNV)GetExtensionDelegateStatic("glUniformMatrix3x2fvNV", typeof(Delegates.UniformMatrix3x2fvNV)); - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x4fvNV = (Delegates.UniformMatrix3x4fvNV)GetExtensionDelegateStatic("glUniformMatrix3x4fvNV", typeof(Delegates.UniformMatrix3x4fvNV)); - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x2fvNV = (Delegates.UniformMatrix4x2fvNV)GetExtensionDelegateStatic("glUniformMatrix4x2fvNV", typeof(Delegates.UniformMatrix4x2fvNV)); - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x3fvNV = (Delegates.UniformMatrix4x3fvNV)GetExtensionDelegateStatic("glUniformMatrix4x3fvNV", typeof(Delegates.UniformMatrix4x3fvNV)); - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static bool Load_UnmapBufferOES(OpenTK.Graphics.ES20.BufferTarget target) - { - Delegates.glUnmapBufferOES = (Delegates.UnmapBufferOES)GetExtensionDelegateStatic("glUnmapBufferOES", typeof(Delegates.UnmapBufferOES)); - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES20.BufferTarget)target); - } - internal static void Load_UseProgram(UInt32 program) - { - Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); - Delegates.glUseProgram((UInt32)program); - } - internal static void Load_UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program) - { - Delegates.glUseProgramStagesEXT = (Delegates.UseProgramStagesEXT)GetExtensionDelegateStatic("glUseProgramStagesEXT", typeof(Delegates.UseProgramStagesEXT)); - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - } - internal static void Load_UseShaderProgramEXT(OpenTK.Graphics.ES20.All type, UInt32 program) - { - Delegates.glUseShaderProgramEXT = (Delegates.UseShaderProgramEXT)GetExtensionDelegateStatic("glUseShaderProgramEXT", typeof(Delegates.UseShaderProgramEXT)); - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES20.All)type, (UInt32)program); - } - internal static void Load_ValidateProgram(UInt32 program) - { - Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); - Delegates.glValidateProgram((UInt32)program); - } - internal static void Load_ValidateProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glValidateProgramPipelineEXT = (Delegates.ValidateProgramPipelineEXT)GetExtensionDelegateStatic("glValidateProgramPipelineEXT", typeof(Delegates.ValidateProgramPipelineEXT)); - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - } - internal static void Load_VertexAttrib1f(UInt32 index, Single x) - { - Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - } - internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) - { - Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - } - internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) - { - Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisorANGLE = (Delegates.VertexAttribDivisorANGLE)GetExtensionDelegateStatic("glVertexAttribDivisorANGLE", typeof(Delegates.VertexAttribDivisorANGLE)); - Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribDivisorEXT(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisorEXT = (Delegates.VertexAttribDivisorEXT)GetExtensionDelegateStatic("glVertexAttribDivisorEXT", typeof(Delegates.VertexAttribDivisorEXT)); - Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribDivisorNV(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisorNV = (Delegates.VertexAttribDivisorNV)GetExtensionDelegateStatic("glVertexAttribDivisorNV", typeof(Delegates.VertexAttribDivisorNV)); - Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout) - { - Delegates.glWaitSyncAPPLE = (Delegates.WaitSyncAPPLE)GetExtensionDelegateStatic("glWaitSyncAPPLE", typeof(Delegates.WaitSyncAPPLE)); - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout); + internal static void Load_ActiveProgramEXT(UInt32 program) + { + Delegates.glActiveProgramEXT = (Delegates.ActiveProgramEXT)GetExtensionDelegateStatic("glActiveProgramEXT", typeof(Delegates.ActiveProgramEXT)); + Delegates.glActiveProgramEXT((UInt32)program); + } + internal static void Load_ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program) + { + Delegates.glActiveShaderProgramEXT = (Delegates.ActiveShaderProgramEXT)GetExtensionDelegateStatic("glActiveShaderProgramEXT", typeof(Delegates.ActiveShaderProgramEXT)); + Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); + } + internal static void Load_ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture) + { + Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); + Delegates.glActiveTexture((OpenTK.Graphics.ES20.TextureUnit)texture); + } + internal static void Load_AlphaFuncQCOM(OpenTK.Graphics.ES20.All func, Single @ref) + { + Delegates.glAlphaFuncQCOM = (Delegates.AlphaFuncQCOM)GetExtensionDelegateStatic("glAlphaFuncQCOM", typeof(Delegates.AlphaFuncQCOM)); + Delegates.glAlphaFuncQCOM((OpenTK.Graphics.ES20.All)func, (Single)@ref); + } + internal static void Load_AttachShader(UInt32 program, UInt32 shader) + { + Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + } + internal static void Load_BeginPerfMonitorAMD(UInt32 monitor) + { + Delegates.glBeginPerfMonitorAMD = (Delegates.BeginPerfMonitorAMD)GetExtensionDelegateStatic("glBeginPerfMonitorAMD", typeof(Delegates.BeginPerfMonitorAMD)); + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + } + internal static void Load_BeginQueryEXT(OpenTK.Graphics.ES20.QueryTarget target, UInt32 id) + { + Delegates.glBeginQueryEXT = (Delegates.BeginQueryEXT)GetExtensionDelegateStatic("glBeginQueryEXT", typeof(Delegates.BeginQueryEXT)); + Delegates.glBeginQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target, (UInt32)id); + } + internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) + { + Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + } + internal static void Load_BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer) + { + Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); + Delegates.glBindBuffer((OpenTK.Graphics.ES20.BufferTarget)target, (UInt32)buffer); + } + internal static void Load_BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer) + { + Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); + Delegates.glBindFramebuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (UInt32)framebuffer); + } + internal static void Load_BindProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glBindProgramPipelineEXT = (Delegates.BindProgramPipelineEXT)GetExtensionDelegateStatic("glBindProgramPipelineEXT", typeof(Delegates.BindProgramPipelineEXT)); + Delegates.glBindProgramPipelineEXT((UInt32)pipeline); + } + internal static void Load_BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer) + { + Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); + Delegates.glBindRenderbuffer((OpenTK.Graphics.ES20.RenderbufferTarget)target, (UInt32)renderbuffer); + } + internal static void Load_BindTexture(OpenTK.Graphics.ES20.TextureTarget target, UInt32 texture) + { + Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); + Delegates.glBindTexture((OpenTK.Graphics.ES20.TextureTarget)target, (UInt32)texture); + } + internal static void Load_BindVertexArrayOES(UInt32 array) + { + Delegates.glBindVertexArrayOES = (Delegates.BindVertexArrayOES)GetExtensionDelegateStatic("glBindVertexArrayOES", typeof(Delegates.BindVertexArrayOES)); + Delegates.glBindVertexArrayOES((UInt32)array); + } + internal static void Load_BlendBarrierNV() + { + Delegates.glBlendBarrierNV = (Delegates.BlendBarrierNV)GetExtensionDelegateStatic("glBlendBarrierNV", typeof(Delegates.BlendBarrierNV)); + Delegates.glBlendBarrierNV(); + } + internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); + Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_BlendEquation(OpenTK.Graphics.ES20.BlendEquationMode mode) + { + Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); + Delegates.glBlendEquation((OpenTK.Graphics.ES20.BlendEquationMode)mode); + } + internal static void Load_BlendEquationEXT(OpenTK.Graphics.ES20.BlendEquationMode mode) + { + Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); + Delegates.glBlendEquationEXT((OpenTK.Graphics.ES20.BlendEquationMode)mode); + } + internal static void Load_BlendEquationSeparate(OpenTK.Graphics.ES20.BlendEquationMode modeRGB, OpenTK.Graphics.ES20.BlendEquationMode modeAlpha) + { + Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); + Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES20.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES20.BlendEquationMode)modeAlpha); + } + internal static void Load_BlendFunc(OpenTK.Graphics.ES20.BlendingFactorSrc sfactor, OpenTK.Graphics.ES20.BlendingFactorDest dfactor) + { + Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); + Delegates.glBlendFunc((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactor); + } + internal static void Load_BlendFuncSeparate(OpenTK.Graphics.ES20.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES20.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES20.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES20.BlendingFactorDest dfactorAlpha) + { + Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); + Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES20.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES20.BlendingFactorDest)dfactorAlpha); + } + internal static void Load_BlendParameteriNV(OpenTK.Graphics.ES20.All pname, Int32 value) + { + Delegates.glBlendParameteriNV = (Delegates.BlendParameteriNV)GetExtensionDelegateStatic("glBlendParameteriNV", typeof(Delegates.BlendParameteriNV)); + Delegates.glBlendParameteriNV((OpenTK.Graphics.ES20.All)pname, (Int32)value); + } + internal static void Load_BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebufferANGLE = (Delegates.BlitFramebufferANGLE)GetExtensionDelegateStatic("glBlitFramebufferANGLE", typeof(Delegates.BlitFramebufferANGLE)); + Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); + } + internal static void Load_BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebufferNV = (Delegates.BlitFramebufferNV)GetExtensionDelegateStatic("glBlitFramebufferNV", typeof(Delegates.BlitFramebufferNV)); + Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES20.ClearBufferMask)mask, (OpenTK.Graphics.ES20.BlitFramebufferFilter)filter); + } + internal static void Load_BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage) + { + Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); + Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage); + } + internal static void Load_BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); + Delegates.glBufferSubData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static OpenTK.Graphics.ES20.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target) + { + Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); + return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES20.FramebufferTarget)target); + } + internal static void Load_Clear(OpenTK.Graphics.ES20.ClearBufferMask mask) + { + Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); + Delegates.glClear((OpenTK.Graphics.ES20.ClearBufferMask)mask); + } + internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_ClearDepthf(Single d) + { + Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); + Delegates.glClearDepthf((Single)d); + } + internal static void Load_ClearStencil(Int32 s) + { + Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); + Delegates.glClearStencil((Int32)s); + } + internal static OpenTK.Graphics.ES20.WaitSyncStatus Load_ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout) + { + Delegates.glClientWaitSyncAPPLE = (Delegates.ClientWaitSyncAPPLE)GetExtensionDelegateStatic("glClientWaitSyncAPPLE", typeof(Delegates.ClientWaitSyncAPPLE)); + return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.ClientWaitSyncFlags)flags, (UInt64)timeout); + } + internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) + { + Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + } + internal static void Load_CompileShader(UInt32 shader) + { + Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); + Delegates.glCompileShader((UInt32)shader); + } + internal static void Load_CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage3DOES = (Delegates.CompressedTexImage3DOES)GetExtensionDelegateStatic("glCompressedTexImage3DOES", typeof(Delegates.CompressedTexImage3DOES)); + Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage3DOES = (Delegates.CompressedTexSubImage3DOES)GetExtensionDelegateStatic("glCompressedTexSubImage3DOES", typeof(Delegates.CompressedTexSubImage3DOES)); + Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CopyBufferSubDataNV(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + Delegates.glCopyBufferSubDataNV = (Delegates.CopyBufferSubDataNV)GetExtensionDelegateStatic("glCopyBufferSubDataNV", typeof(Delegates.CopyBufferSubDataNV)); + Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES20.BufferTarget)readTarget, (OpenTK.Graphics.ES20.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + } + internal static void Load_CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); + Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage3DOES = (Delegates.CopyTexSubImage3DOES)GetExtensionDelegateStatic("glCopyTexSubImage3DOES", typeof(Delegates.CopyTexSubImage3DOES)); + Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) + { + Delegates.glCopyTextureLevelsAPPLE = (Delegates.CopyTextureLevelsAPPLE)GetExtensionDelegateStatic("glCopyTextureLevelsAPPLE", typeof(Delegates.CopyTextureLevelsAPPLE)); + Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); + } + internal static void Load_CoverageMaskNV(bool mask) + { + Delegates.glCoverageMaskNV = (Delegates.CoverageMaskNV)GetExtensionDelegateStatic("glCoverageMaskNV", typeof(Delegates.CoverageMaskNV)); + Delegates.glCoverageMaskNV((bool)mask); + } + internal static void Load_CoverageOperationNV(OpenTK.Graphics.ES20.All operation) + { + Delegates.glCoverageOperationNV = (Delegates.CoverageOperationNV)GetExtensionDelegateStatic("glCoverageOperationNV", typeof(Delegates.CoverageOperationNV)); + Delegates.glCoverageOperationNV((OpenTK.Graphics.ES20.All)operation); + } + internal static Int32 Load_CreateProgram() + { + Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); + return Delegates.glCreateProgram(); + } + internal static Int32 Load_CreateShader(OpenTK.Graphics.ES20.ShaderType type) + { + Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); + return Delegates.glCreateShader((OpenTK.Graphics.ES20.ShaderType)type); + } + internal static Int32 Load_CreateShaderProgramEXT(OpenTK.Graphics.ES20.All type, String @string) + { + Delegates.glCreateShaderProgramEXT = (Delegates.CreateShaderProgramEXT)GetExtensionDelegateStatic("glCreateShaderProgramEXT", typeof(Delegates.CreateShaderProgramEXT)); + return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.ES20.All)type, (String)@string); + } + internal static Int32 Load_CreateShaderProgramvEXT(OpenTK.Graphics.ES20.All type, Int32 count, String[] strings) + { + Delegates.glCreateShaderProgramvEXT = (Delegates.CreateShaderProgramvEXT)GetExtensionDelegateStatic("glCreateShaderProgramvEXT", typeof(Delegates.CreateShaderProgramvEXT)); + return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.ES20.All)type, (Int32)count, (String[])strings); + } + internal static void Load_CullFace(OpenTK.Graphics.ES20.CullFaceMode mode) + { + Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); + Delegates.glCullFace((OpenTK.Graphics.ES20.CullFaceMode)mode); + } + internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) + { + Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); + Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); + } + internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) + { + Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); + Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); + } + internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); + Delegates.glDebugMessageControl((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.ES20.DebugSourceControl source, OpenTK.Graphics.ES20.DebugTypeControl type, OpenTK.Graphics.ES20.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); + Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES20.DebugSourceControl)source, (OpenTK.Graphics.ES20.DebugTypeControl)type, (OpenTK.Graphics.ES20.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static void Load_DebugMessageInsert(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); + Delegates.glDebugMessageInsert((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); + } + internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.ES20.DebugSourceExternal source, OpenTK.Graphics.ES20.DebugType type, UInt32 id, OpenTK.Graphics.ES20.DebugSeverity severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); + Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES20.DebugSourceExternal)source, (OpenTK.Graphics.ES20.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES20.DebugSeverity)severity, (Int32)length, (String)buf); + } + internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } + internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) + { + Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_DeletePerfMonitorsAMD(Int32 n, UInt32* monitors) + { + Delegates.glDeletePerfMonitorsAMD = (Delegates.DeletePerfMonitorsAMD)GetExtensionDelegateStatic("glDeletePerfMonitorsAMD", typeof(Delegates.DeletePerfMonitorsAMD)); + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + } + internal static void Load_DeleteProgram(UInt32 program) + { + Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); + Delegates.glDeleteProgram((UInt32)program); + } + internal static unsafe void Load_DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines) + { + Delegates.glDeleteProgramPipelinesEXT = (Delegates.DeleteProgramPipelinesEXT)GetExtensionDelegateStatic("glDeleteProgramPipelinesEXT", typeof(Delegates.DeleteProgramPipelinesEXT)); + Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_DeleteQueriesEXT(Int32 n, UInt32* ids) + { + Delegates.glDeleteQueriesEXT = (Delegates.DeleteQueriesEXT)GetExtensionDelegateStatic("glDeleteQueriesEXT", typeof(Delegates.DeleteQueriesEXT)); + Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static void Load_DeleteShader(UInt32 shader) + { + Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); + Delegates.glDeleteShader((UInt32)shader); + } + internal static void Load_DeleteSyncAPPLE(IntPtr sync) + { + Delegates.glDeleteSyncAPPLE = (Delegates.DeleteSyncAPPLE)GetExtensionDelegateStatic("glDeleteSyncAPPLE", typeof(Delegates.DeleteSyncAPPLE)); + Delegates.glDeleteSyncAPPLE((IntPtr)sync); + } + internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) + { + Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_DeleteVertexArraysOES(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArraysOES = (Delegates.DeleteVertexArraysOES)GetExtensionDelegateStatic("glDeleteVertexArraysOES", typeof(Delegates.DeleteVertexArraysOES)); + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); + } + internal static void Load_DepthFunc(OpenTK.Graphics.ES20.DepthFunction func) + { + Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); + Delegates.glDepthFunc((OpenTK.Graphics.ES20.DepthFunction)func); + } + internal static void Load_DepthMask(bool flag) + { + Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); + Delegates.glDepthMask((bool)flag); + } + internal static void Load_DepthRangef(Single n, Single f) + { + Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); + Delegates.glDepthRangef((Single)n, (Single)f); + } + internal static void Load_DetachShader(UInt32 program, UInt32 shader) + { + Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + } + internal static void Load_Disable(OpenTK.Graphics.ES20.EnableCap cap) + { + Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); + Delegates.glDisable((OpenTK.Graphics.ES20.EnableCap)cap); + } + internal static void Load_DisableDriverControlQCOM(UInt32 driverControl) + { + Delegates.glDisableDriverControlQCOM = (Delegates.DisableDriverControlQCOM)GetExtensionDelegateStatic("glDisableDriverControlQCOM", typeof(Delegates.DisableDriverControlQCOM)); + Delegates.glDisableDriverControlQCOM((UInt32)driverControl); + } + internal static void Load_DisableVertexAttribArray(UInt32 index) + { + Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); + Delegates.glDisableVertexAttribArray((UInt32)index); + } + internal static unsafe void Load_DiscardFramebufferEXT(OpenTK.Graphics.ES20.All target, Int32 numAttachments, OpenTK.Graphics.ES20.All* attachments) + { + Delegates.glDiscardFramebufferEXT = (Delegates.DiscardFramebufferEXT)GetExtensionDelegateStatic("glDiscardFramebufferEXT", typeof(Delegates.DiscardFramebufferEXT)); + Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES20.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES20.All*)attachments); + } + internal static void Load_DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count) + { + Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); + Delegates.glDrawArrays((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count); + } + internal static void Load_DrawArraysInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedANGLE = (Delegates.DrawArraysInstancedANGLE)GetExtensionDelegateStatic("glDrawArraysInstancedANGLE", typeof(Delegates.DrawArraysInstancedANGLE)); + Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); + } + internal static void Load_DrawArraysInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedEXT = (Delegates.DrawArraysInstancedEXT)GetExtensionDelegateStatic("glDrawArraysInstancedEXT", typeof(Delegates.DrawArraysInstancedEXT)); + Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); + } + internal static void Load_DrawArraysInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedNV = (Delegates.DrawArraysInstancedNV)GetExtensionDelegateStatic("glDrawArraysInstancedNV", typeof(Delegates.DrawArraysInstancedNV)); + Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); + } + internal static unsafe void Load_DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) + { + Delegates.glDrawBuffersEXT = (Delegates.DrawBuffersEXT)GetExtensionDelegateStatic("glDrawBuffersEXT", typeof(Delegates.DrawBuffersEXT)); + Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); + } + internal static unsafe void Load_DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES20.All* location, Int32* indices) + { + Delegates.glDrawBuffersIndexedEXT = (Delegates.DrawBuffersIndexedEXT)GetExtensionDelegateStatic("glDrawBuffersIndexedEXT", typeof(Delegates.DrawBuffersIndexedEXT)); + Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES20.All*)location, (Int32*)indices); + } + internal static unsafe void Load_DrawBuffersNV(Int32 n, OpenTK.Graphics.ES20.DrawBufferMode* bufs) + { + Delegates.glDrawBuffersNV = (Delegates.DrawBuffersNV)GetExtensionDelegateStatic("glDrawBuffersNV", typeof(Delegates.DrawBuffersNV)); + Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES20.DrawBufferMode*)bufs); + } + internal static void Load_DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); + Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_DrawElementsInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedANGLE = (Delegates.DrawElementsInstancedANGLE)GetExtensionDelegateStatic("glDrawElementsInstancedANGLE", typeof(Delegates.DrawElementsInstancedANGLE)); + Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_DrawElementsInstancedEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedEXT = (Delegates.DrawElementsInstancedEXT)GetExtensionDelegateStatic("glDrawElementsInstancedEXT", typeof(Delegates.DrawElementsInstancedEXT)); + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_DrawElementsInstancedNV(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedNV = (Delegates.DrawElementsInstancedNV)GetExtensionDelegateStatic("glDrawElementsInstancedNV", typeof(Delegates.DrawElementsInstancedNV)); + Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image) + { + Delegates.glEGLImageTargetRenderbufferStorageOES = (Delegates.EGLImageTargetRenderbufferStorageOES)GetExtensionDelegateStatic("glEGLImageTargetRenderbufferStorageOES", typeof(Delegates.EGLImageTargetRenderbufferStorageOES)); + Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); + } + internal static void Load_EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image) + { + Delegates.glEGLImageTargetTexture2DOES = (Delegates.EGLImageTargetTexture2DOES)GetExtensionDelegateStatic("glEGLImageTargetTexture2DOES", typeof(Delegates.EGLImageTargetTexture2DOES)); + Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES20.All)target, (IntPtr)image); + } + internal static void Load_Enable(OpenTK.Graphics.ES20.EnableCap cap) + { + Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); + Delegates.glEnable((OpenTK.Graphics.ES20.EnableCap)cap); + } + internal static void Load_EnableDriverControlQCOM(UInt32 driverControl) + { + Delegates.glEnableDriverControlQCOM = (Delegates.EnableDriverControlQCOM)GetExtensionDelegateStatic("glEnableDriverControlQCOM", typeof(Delegates.EnableDriverControlQCOM)); + Delegates.glEnableDriverControlQCOM((UInt32)driverControl); + } + internal static void Load_EnableVertexAttribArray(UInt32 index) + { + Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); + Delegates.glEnableVertexAttribArray((UInt32)index); + } + internal static void Load_EndPerfMonitorAMD(UInt32 monitor) + { + Delegates.glEndPerfMonitorAMD = (Delegates.EndPerfMonitorAMD)GetExtensionDelegateStatic("glEndPerfMonitorAMD", typeof(Delegates.EndPerfMonitorAMD)); + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + } + internal static void Load_EndQueryEXT(OpenTK.Graphics.ES20.QueryTarget target) + { + Delegates.glEndQueryEXT = (Delegates.EndQueryEXT)GetExtensionDelegateStatic("glEndQueryEXT", typeof(Delegates.EndQueryEXT)); + Delegates.glEndQueryEXT((OpenTK.Graphics.ES20.QueryTarget)target); + } + internal static void Load_EndTilingQCOM(UInt32 preserveMask) + { + Delegates.glEndTilingQCOM = (Delegates.EndTilingQCOM)GetExtensionDelegateStatic("glEndTilingQCOM", typeof(Delegates.EndTilingQCOM)); + Delegates.glEndTilingQCOM((UInt32)preserveMask); + } + internal static void Load_ExtGetBufferPointervQCOM(OpenTK.Graphics.ES20.All target, [OutAttribute] IntPtr @params) + { + Delegates.glExtGetBufferPointervQCOM = (Delegates.ExtGetBufferPointervQCOM)GetExtensionDelegateStatic("glExtGetBufferPointervQCOM", typeof(Delegates.ExtGetBufferPointervQCOM)); + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES20.All)target, (IntPtr)@params); + } + internal static unsafe void Load_ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) + { + Delegates.glExtGetBuffersQCOM = (Delegates.ExtGetBuffersQCOM)GetExtensionDelegateStatic("glExtGetBuffersQCOM", typeof(Delegates.ExtGetBuffersQCOM)); + Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); + } + internal static unsafe void Load_ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) + { + Delegates.glExtGetFramebuffersQCOM = (Delegates.ExtGetFramebuffersQCOM)GetExtensionDelegateStatic("glExtGetFramebuffersQCOM", typeof(Delegates.ExtGetFramebuffersQCOM)); + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); + } + internal static unsafe void Load_ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) + { + Delegates.glExtGetProgramBinarySourceQCOM = (Delegates.ExtGetProgramBinarySourceQCOM)GetExtensionDelegateStatic("glExtGetProgramBinarySourceQCOM", typeof(Delegates.ExtGetProgramBinarySourceQCOM)); + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES20.All)shadertype, (StringBuilder)source, (Int32*)length); + } + internal static unsafe void Load_ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) + { + Delegates.glExtGetProgramsQCOM = (Delegates.ExtGetProgramsQCOM)GetExtensionDelegateStatic("glExtGetProgramsQCOM", typeof(Delegates.ExtGetProgramsQCOM)); + Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); + } + internal static unsafe void Load_ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) + { + Delegates.glExtGetRenderbuffersQCOM = (Delegates.ExtGetRenderbuffersQCOM)GetExtensionDelegateStatic("glExtGetRenderbuffersQCOM", typeof(Delegates.ExtGetRenderbuffersQCOM)); + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); + } + internal static unsafe void Load_ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) + { + Delegates.glExtGetShadersQCOM = (Delegates.ExtGetShadersQCOM)GetExtensionDelegateStatic("glExtGetShadersQCOM", typeof(Delegates.ExtGetShadersQCOM)); + Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); + } + internal static unsafe void Load_ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES20.All face, Int32 level, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) + { + Delegates.glExtGetTexLevelParameterivQCOM = (Delegates.ExtGetTexLevelParameterivQCOM)GetExtensionDelegateStatic("glExtGetTexLevelParameterivQCOM", typeof(Delegates.ExtGetTexLevelParameterivQCOM)); + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES20.All)face, (Int32)level, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); + } + internal static void Load_ExtGetTexSubImageQCOM(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, [OutAttribute] IntPtr texels) + { + Delegates.glExtGetTexSubImageQCOM = (Delegates.ExtGetTexSubImageQCOM)GetExtensionDelegateStatic("glExtGetTexSubImageQCOM", typeof(Delegates.ExtGetTexSubImageQCOM)); + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES20.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)texels); + } + internal static unsafe void Load_ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) + { + Delegates.glExtGetTexturesQCOM = (Delegates.ExtGetTexturesQCOM)GetExtensionDelegateStatic("glExtGetTexturesQCOM", typeof(Delegates.ExtGetTexturesQCOM)); + Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); + } + internal static bool Load_ExtIsProgramBinaryQCOM(UInt32 program) + { + Delegates.glExtIsProgramBinaryQCOM = (Delegates.ExtIsProgramBinaryQCOM)GetExtensionDelegateStatic("glExtIsProgramBinaryQCOM", typeof(Delegates.ExtIsProgramBinaryQCOM)); + return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); + } + internal static void Load_ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param) + { + Delegates.glExtTexObjectStateOverrideiQCOM = (Delegates.ExtTexObjectStateOverrideiQCOM)GetExtensionDelegateStatic("glExtTexObjectStateOverrideiQCOM", typeof(Delegates.ExtTexObjectStateOverrideiQCOM)); + Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)pname, (Int32)param); + } + internal static IntPtr Load_FenceSyncAPPLE(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags) + { + Delegates.glFenceSyncAPPLE = (Delegates.FenceSyncAPPLE)GetExtensionDelegateStatic("glFenceSyncAPPLE", typeof(Delegates.FenceSyncAPPLE)); + return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES20.SyncCondition)condition, (OpenTK.Graphics.ES20.WaitSyncFlags)flags); + } + internal static void Load_Finish() + { + Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); + Delegates.glFinish(); + } + internal static void Load_FinishFenceNV(UInt32 fence) + { + Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); + Delegates.glFinishFenceNV((UInt32)fence); + } + internal static void Load_Flush() + { + Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); + Delegates.glFlush(); + } + internal static void Load_FlushMappedBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length) + { + Delegates.glFlushMappedBufferRangeEXT = (Delegates.FlushMappedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedBufferRangeEXT", typeof(Delegates.FlushMappedBufferRangeEXT)); + Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + } + internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + } + internal static void Load_FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); + Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples) + { + Delegates.glFramebufferTexture2DMultisampleEXT = (Delegates.FramebufferTexture2DMultisampleEXT)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleEXT", typeof(Delegates.FramebufferTexture2DMultisampleEXT)); + Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); + } + internal static void Load_FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples) + { + Delegates.glFramebufferTexture2DMultisampleIMG = (Delegates.FramebufferTexture2DMultisampleIMG)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleIMG", typeof(Delegates.FramebufferTexture2DMultisampleIMG)); + Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); + } + internal static void Load_FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + Delegates.glFramebufferTexture3DOES = (Delegates.FramebufferTexture3DOES)GetExtensionDelegateStatic("glFramebufferTexture3DOES", typeof(Delegates.FramebufferTexture3DOES)); + Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + } + internal static void Load_FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode) + { + Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); + Delegates.glFrontFace((OpenTK.Graphics.ES20.FrontFaceDirection)mode); + } + internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + } + internal static void Load_GenerateMipmap(OpenTK.Graphics.ES20.TextureTarget target) + { + Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); + Delegates.glGenerateMipmap((OpenTK.Graphics.ES20.TextureTarget)target); + } + internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) + { + Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors) + { + Delegates.glGenPerfMonitorsAMD = (Delegates.GenPerfMonitorsAMD)GetExtensionDelegateStatic("glGenPerfMonitorsAMD", typeof(Delegates.GenPerfMonitorsAMD)); + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + } + internal static unsafe void Load_GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines) + { + Delegates.glGenProgramPipelinesEXT = (Delegates.GenProgramPipelinesEXT)GetExtensionDelegateStatic("glGenProgramPipelinesEXT", typeof(Delegates.GenProgramPipelinesEXT)); + Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenQueriesEXT = (Delegates.GenQueriesEXT)GetExtensionDelegateStatic("glGenQueriesEXT", typeof(Delegates.GenQueriesEXT)); + Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays) + { + Delegates.glGenVertexArraysOES = (Delegates.GenVertexArraysOES)GetExtensionDelegateStatic("glGenVertexArraysOES", typeof(Delegates.GenVertexArraysOES)); + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveAttribType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES20.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES20.ActiveUniformType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) + { + Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); + } + internal static Int32 Load_GetAttribLocation(UInt32 program, String name) + { + Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] bool* data) + { + Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); + Delegates.glGetBooleanv((OpenTK.Graphics.ES20.GetPName)pname, (bool*)data); + } + internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferParameterName)pname, (Int32*)@params); + } + internal static void Load_GetBufferPointervOES(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.BufferPointer pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetBufferPointervOES = (Delegates.GetBufferPointervOES)GetExtensionDelegateStatic("glGetBufferPointervOES", typeof(Delegates.GetBufferPointervOES)); + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES20.BufferTarget)target, (OpenTK.Graphics.ES20.BufferPointer)pname, (IntPtr)@params); + } + internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); + return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES20.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES20.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES20.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); + return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES20.DebugSourceExternal*)sources, (OpenTK.Graphics.ES20.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES20.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe void Load_GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) + { + Delegates.glGetDriverControlsQCOM = (Delegates.GetDriverControlsQCOM)GetExtensionDelegateStatic("glGetDriverControlsQCOM", typeof(Delegates.GetDriverControlsQCOM)); + Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); + } + internal static unsafe void Load_GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) + { + Delegates.glGetDriverControlStringQCOM = (Delegates.GetDriverControlStringQCOM)GetExtensionDelegateStatic("glGetDriverControlStringQCOM", typeof(Delegates.GetDriverControlStringQCOM)); + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); + } + internal static OpenTK.Graphics.ES20.ErrorCode Load_GetError() + { + Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); + return Delegates.glGetError(); + } + internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFloatv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Single* data) + { + Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); + Delegates.glGetFloatv((OpenTK.Graphics.ES20.GetPName)pname, (Single*)data); + } + internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES20.FramebufferTarget)target, (OpenTK.Graphics.ES20.All)attachment, (OpenTK.Graphics.ES20.FramebufferParameterName)pname, (Int32*)@params); + } + internal static OpenTK.Graphics.ES20.All Load_GetGraphicsResetStatusEXT() + { + Delegates.glGetGraphicsResetStatusEXT = (Delegates.GetGraphicsResetStatusEXT)GetExtensionDelegateStatic("glGetGraphicsResetStatusEXT", typeof(Delegates.GetGraphicsResetStatusEXT)); + return Delegates.glGetGraphicsResetStatusEXT(); + } + internal static unsafe void Load_GetInteger64vAPPLE(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params) + { + Delegates.glGetInteger64vAPPLE = (Delegates.GetInteger64vAPPLE)GetExtensionDelegateStatic("glGetInteger64vAPPLE", typeof(Delegates.GetInteger64vAPPLE)); + Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES20.GetPName)pname, (Int64*)@params); + } + internal static unsafe void Load_GetIntegeri_vEXT(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + Delegates.glGetIntegeri_vEXT = (Delegates.GetIntegeri_vEXT)GetExtensionDelegateStatic("glGetIntegeri_vEXT", typeof(Delegates.GetIntegeri_vEXT)); + Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES20.GetIndexedPName)target, (UInt32)index, (Int32*)data); + } + internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data) + { + Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); + Delegates.glGetIntegerv((OpenTK.Graphics.ES20.GetPName)pname, (Int32*)data); + } + internal static unsafe void Load_GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) + { + Delegates.glGetnUniformfvEXT = (Delegates.GetnUniformfvEXT)GetExtensionDelegateStatic("glGetnUniformfvEXT", typeof(Delegates.GetnUniformfvEXT)); + Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); + } + internal static unsafe void Load_GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetnUniformivEXT = (Delegates.GetnUniformivEXT)GetExtensionDelegateStatic("glGetnUniformivEXT", typeof(Delegates.GetnUniformivEXT)); + Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); + } + internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); + Delegates.glGetObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectLabelEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabelEXT = (Delegates.GetObjectLabelEXT)GetExtensionDelegateStatic("glGetObjectLabelEXT", typeof(Delegates.GetObjectLabelEXT)); + Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); + Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); + Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); + Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD = (Delegates.GetPerfMonitorCounterDataAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterDataAMD", typeof(Delegates.GetPerfMonitorCounterDataAMD)); + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES20.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + } + internal static void Load_GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr data) + { + Delegates.glGetPerfMonitorCounterInfoAMD = (Delegates.GetPerfMonitorCounterInfoAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterInfoAMD", typeof(Delegates.GetPerfMonitorCounterInfoAMD)); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES20.All)pname, (IntPtr)data); + } + internal static unsafe void Load_GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) + { + Delegates.glGetPerfMonitorCountersAMD = (Delegates.GetPerfMonitorCountersAMD)GetExtensionDelegateStatic("glGetPerfMonitorCountersAMD", typeof(Delegates.GetPerfMonitorCountersAMD)); + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + } + internal static unsafe void Load_GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) + { + Delegates.glGetPerfMonitorCounterStringAMD = (Delegates.GetPerfMonitorCounterStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterStringAMD", typeof(Delegates.GetPerfMonitorCounterStringAMD)); + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); + } + internal static unsafe void Load_GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) + { + Delegates.glGetPerfMonitorGroupsAMD = (Delegates.GetPerfMonitorGroupsAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupsAMD", typeof(Delegates.GetPerfMonitorGroupsAMD)); + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + } + internal static unsafe void Load_GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) + { + Delegates.glGetPerfMonitorGroupStringAMD = (Delegates.GetPerfMonitorGroupStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupStringAMD", typeof(Delegates.GetPerfMonitorGroupStringAMD)); + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); + } + internal static void Load_GetPointerv(OpenTK.Graphics.ES20.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); + Delegates.glGetPointerv((OpenTK.Graphics.ES20.GetPointervPName)pname, (IntPtr)@params); + } + internal static void Load_GetPointervKHR(OpenTK.Graphics.ES20.All pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); + Delegates.glGetPointervKHR((OpenTK.Graphics.ES20.All)pname, (IntPtr)@params); + } + internal static unsafe void Load_GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute] IntPtr binary) + { + Delegates.glGetProgramBinaryOES = (Delegates.GetProgramBinaryOES)GetExtensionDelegateStatic("glGetProgramBinaryOES", typeof(Delegates.GetProgramBinaryOES)); + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES20.All*)binaryFormat, (IntPtr)binary); + } + internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.GetProgramParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES20.GetProgramParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramPipelineInfoLogEXT = (Delegates.GetProgramPipelineInfoLogEXT)GetExtensionDelegateStatic("glGetProgramPipelineInfoLogEXT", typeof(Delegates.GetProgramPipelineInfoLogEXT)); + Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES20.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramPipelineivEXT = (Delegates.GetProgramPipelineivEXT)GetExtensionDelegateStatic("glGetProgramPipelineivEXT", typeof(Delegates.GetProgramPipelineivEXT)); + Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES20.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryivEXT(OpenTK.Graphics.ES20.QueryTarget target, OpenTK.Graphics.ES20.GetQueryParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryivEXT = (Delegates.GetQueryivEXT)GetExtensionDelegateStatic("glGetQueryivEXT", typeof(Delegates.GetQueryivEXT)); + Delegates.glGetQueryivEXT((OpenTK.Graphics.ES20.QueryTarget)target, (OpenTK.Graphics.ES20.GetQueryParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int64* @params) + { + Delegates.glGetQueryObjecti64vEXT = (Delegates.GetQueryObjecti64vEXT)GetExtensionDelegateStatic("glGetQueryObjecti64vEXT", typeof(Delegates.GetQueryObjecti64vEXT)); + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int64*)@params); + } + internal static unsafe void Load_GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryObjectivEXT = (Delegates.GetQueryObjectivEXT)GetExtensionDelegateStatic("glGetQueryObjectivEXT", typeof(Delegates.GetQueryObjectivEXT)); + Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetQueryObjectui64vEXT = (Delegates.GetQueryObjectui64vEXT)GetExtensionDelegateStatic("glGetQueryObjectui64vEXT", typeof(Delegates.GetQueryObjectui64vEXT)); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt64*)@params); + } + internal static unsafe void Load_GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES20.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetQueryObjectuivEXT = (Delegates.GetQueryObjectuivEXT)GetExtensionDelegateStatic("glGetQueryObjectuivEXT", typeof(Delegates.GetQueryObjectuivEXT)); + Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES20.GetQueryObjectParam)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES20.ShaderParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES20.ShaderType)shadertype, (OpenTK.Graphics.ES20.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); + } + internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); + } + internal static IntPtr Load_GetString(OpenTK.Graphics.ES20.StringName name) + { + Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); + return Delegates.glGetString((OpenTK.Graphics.ES20.StringName)name); + } + internal static unsafe void Load_GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + Delegates.glGetSyncivAPPLE = (Delegates.GetSyncivAPPLE)GetExtensionDelegateStatic("glGetSyncivAPPLE", typeof(Delegates.GetSyncivAPPLE)); + Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + } + internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.GetTextureParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + Delegates.glGetTranslatedShaderSourceANGLE = (Delegates.GetTranslatedShaderSourceANGLE)GetExtensionDelegateStatic("glGetTranslatedShaderSourceANGLE", typeof(Delegates.GetTranslatedShaderSourceANGLE)); + Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); + } + internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) + { + Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + } + internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) + { + Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + } + internal static Int32 Load_GetUniformLocation(UInt32 program, String name) + { + Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribParameter)pname, (Int32*)@params); + } + internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES20.VertexAttribPointerParameter)pname, (IntPtr)pointer); + } + internal static void Load_Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode) + { + Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); + Delegates.glHint((OpenTK.Graphics.ES20.HintTarget)target, (OpenTK.Graphics.ES20.HintMode)mode); + } + internal static void Load_InsertEventMarkerEXT(Int32 length, String marker) + { + Delegates.glInsertEventMarkerEXT = (Delegates.InsertEventMarkerEXT)GetExtensionDelegateStatic("glInsertEventMarkerEXT", typeof(Delegates.InsertEventMarkerEXT)); + Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); + } + internal static bool Load_IsBuffer(UInt32 buffer) + { + Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); + return Delegates.glIsBuffer((UInt32)buffer); + } + internal static bool Load_IsEnabled(OpenTK.Graphics.ES20.EnableCap cap) + { + Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); + return Delegates.glIsEnabled((OpenTK.Graphics.ES20.EnableCap)cap); + } + internal static bool Load_IsFenceNV(UInt32 fence) + { + Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); + return Delegates.glIsFenceNV((UInt32)fence); + } + internal static bool Load_IsFramebuffer(UInt32 framebuffer) + { + Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); + return Delegates.glIsFramebuffer((UInt32)framebuffer); + } + internal static bool Load_IsProgram(UInt32 program) + { + Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); + return Delegates.glIsProgram((UInt32)program); + } + internal static bool Load_IsProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glIsProgramPipelineEXT = (Delegates.IsProgramPipelineEXT)GetExtensionDelegateStatic("glIsProgramPipelineEXT", typeof(Delegates.IsProgramPipelineEXT)); + return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); + } + internal static bool Load_IsQueryEXT(UInt32 id) + { + Delegates.glIsQueryEXT = (Delegates.IsQueryEXT)GetExtensionDelegateStatic("glIsQueryEXT", typeof(Delegates.IsQueryEXT)); + return Delegates.glIsQueryEXT((UInt32)id); + } + internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) + { + Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + } + internal static bool Load_IsShader(UInt32 shader) + { + Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); + return Delegates.glIsShader((UInt32)shader); + } + internal static bool Load_IsSyncAPPLE(IntPtr sync) + { + Delegates.glIsSyncAPPLE = (Delegates.IsSyncAPPLE)GetExtensionDelegateStatic("glIsSyncAPPLE", typeof(Delegates.IsSyncAPPLE)); + return Delegates.glIsSyncAPPLE((IntPtr)sync); + } + internal static bool Load_IsTexture(UInt32 texture) + { + Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); + return Delegates.glIsTexture((UInt32)texture); + } + internal static bool Load_IsVertexArrayOES(UInt32 array) + { + Delegates.glIsVertexArrayOES = (Delegates.IsVertexArrayOES)GetExtensionDelegateStatic("glIsVertexArrayOES", typeof(Delegates.IsVertexArrayOES)); + return Delegates.glIsVertexArrayOES((UInt32)array); + } + internal static void Load_LabelObjectEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 length, String label) + { + Delegates.glLabelObjectEXT = (Delegates.LabelObjectEXT)GetExtensionDelegateStatic("glLabelObjectEXT", typeof(Delegates.LabelObjectEXT)); + Delegates.glLabelObjectEXT((OpenTK.Graphics.ES20.All)type, (UInt32)@object, (Int32)length, (String)label); + } + internal static void Load_LineWidth(Single width) + { + Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); + Delegates.glLineWidth((Single)width); + } + internal static void Load_LinkProgram(UInt32 program) + { + Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); + Delegates.glLinkProgram((UInt32)program); + } + internal static IntPtr Load_MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access) + { + Delegates.glMapBufferOES = (Delegates.MapBufferOES)GetExtensionDelegateStatic("glMapBufferOES", typeof(Delegates.MapBufferOES)); + return Delegates.glMapBufferOES((OpenTK.Graphics.ES20.All)target, (OpenTK.Graphics.ES20.All)access); + } + internal static IntPtr Load_MapBufferRangeEXT(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) + { + Delegates.glMapBufferRangeEXT = (Delegates.MapBufferRangeEXT)GetExtensionDelegateStatic("glMapBufferRangeEXT", typeof(Delegates.MapBufferRangeEXT)); + return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); + } + internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); + Delegates.glObjectLabel((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); + Delegates.glObjectLabelKHR((OpenTK.Graphics.ES20.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); + Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); + Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); + } + internal static void Load_PixelStorei(OpenTK.Graphics.ES20.PixelStoreParameter pname, Int32 param) + { + Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); + Delegates.glPixelStorei((OpenTK.Graphics.ES20.PixelStoreParameter)pname, (Int32)param); + } + internal static void Load_PolygonOffset(Single factor, Single units) + { + Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); + Delegates.glPolygonOffset((Single)factor, (Single)units); + } + internal static void Load_PopDebugGroup() + { + Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); + Delegates.glPopDebugGroup(); + } + internal static void Load_PopDebugGroupKHR() + { + Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); + Delegates.glPopDebugGroupKHR(); + } + internal static void Load_PopGroupMarkerEXT() + { + Delegates.glPopGroupMarkerEXT = (Delegates.PopGroupMarkerEXT)GetExtensionDelegateStatic("glPopGroupMarkerEXT", typeof(Delegates.PopGroupMarkerEXT)); + Delegates.glPopGroupMarkerEXT(); + } + internal static void Load_ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length) + { + Delegates.glProgramBinaryOES = (Delegates.ProgramBinaryOES)GetExtensionDelegateStatic("glProgramBinaryOES", typeof(Delegates.ProgramBinaryOES)); + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES20.All)binaryFormat, (IntPtr)binary, (Int32)length); + } + internal static void Load_ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES20.ProgramParameterName pname, Int32 value) + { + Delegates.glProgramParameteriEXT = (Delegates.ProgramParameteriEXT)GetExtensionDelegateStatic("glProgramParameteriEXT", typeof(Delegates.ProgramParameteriEXT)); + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES20.ProgramParameterName)pname, (Int32)value); + } + internal static void Load_ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0) + { + Delegates.glProgramUniform1fEXT = (Delegates.ProgramUniform1fEXT)GetExtensionDelegateStatic("glProgramUniform1fEXT", typeof(Delegates.ProgramUniform1fEXT)); + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + } + internal static unsafe void Load_ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform1fvEXT = (Delegates.ProgramUniform1fvEXT)GetExtensionDelegateStatic("glProgramUniform1fvEXT", typeof(Delegates.ProgramUniform1fvEXT)); + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0) + { + Delegates.glProgramUniform1iEXT = (Delegates.ProgramUniform1iEXT)GetExtensionDelegateStatic("glProgramUniform1iEXT", typeof(Delegates.ProgramUniform1iEXT)); + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + } + internal static unsafe void Load_ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform1ivEXT = (Delegates.ProgramUniform1ivEXT)GetExtensionDelegateStatic("glProgramUniform1ivEXT", typeof(Delegates.ProgramUniform1ivEXT)); + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0) + { + Delegates.glProgramUniform1uiEXT = (Delegates.ProgramUniform1uiEXT)GetExtensionDelegateStatic("glProgramUniform1uiEXT", typeof(Delegates.ProgramUniform1uiEXT)); + Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); + } + internal static unsafe void Load_ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform1uivEXT = (Delegates.ProgramUniform1uivEXT)GetExtensionDelegateStatic("glProgramUniform1uivEXT", typeof(Delegates.ProgramUniform1uivEXT)); + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1) + { + Delegates.glProgramUniform2fEXT = (Delegates.ProgramUniform2fEXT)GetExtensionDelegateStatic("glProgramUniform2fEXT", typeof(Delegates.ProgramUniform2fEXT)); + Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform2fvEXT = (Delegates.ProgramUniform2fvEXT)GetExtensionDelegateStatic("glProgramUniform2fvEXT", typeof(Delegates.ProgramUniform2fvEXT)); + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + Delegates.glProgramUniform2iEXT = (Delegates.ProgramUniform2iEXT)GetExtensionDelegateStatic("glProgramUniform2iEXT", typeof(Delegates.ProgramUniform2iEXT)); + Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform2ivEXT = (Delegates.ProgramUniform2ivEXT)GetExtensionDelegateStatic("glProgramUniform2ivEXT", typeof(Delegates.ProgramUniform2ivEXT)); + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glProgramUniform2uiEXT = (Delegates.ProgramUniform2uiEXT)GetExtensionDelegateStatic("glProgramUniform2uiEXT", typeof(Delegates.ProgramUniform2uiEXT)); + Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static unsafe void Load_ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform2uivEXT = (Delegates.ProgramUniform2uivEXT)GetExtensionDelegateStatic("glProgramUniform2uivEXT", typeof(Delegates.ProgramUniform2uivEXT)); + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glProgramUniform3fEXT = (Delegates.ProgramUniform3fEXT)GetExtensionDelegateStatic("glProgramUniform3fEXT", typeof(Delegates.ProgramUniform3fEXT)); + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform3fvEXT = (Delegates.ProgramUniform3fvEXT)GetExtensionDelegateStatic("glProgramUniform3fvEXT", typeof(Delegates.ProgramUniform3fvEXT)); + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glProgramUniform3iEXT = (Delegates.ProgramUniform3iEXT)GetExtensionDelegateStatic("glProgramUniform3iEXT", typeof(Delegates.ProgramUniform3iEXT)); + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform3ivEXT = (Delegates.ProgramUniform3ivEXT)GetExtensionDelegateStatic("glProgramUniform3ivEXT", typeof(Delegates.ProgramUniform3ivEXT)); + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glProgramUniform3uiEXT = (Delegates.ProgramUniform3uiEXT)GetExtensionDelegateStatic("glProgramUniform3uiEXT", typeof(Delegates.ProgramUniform3uiEXT)); + Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static unsafe void Load_ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform3uivEXT = (Delegates.ProgramUniform3uivEXT)GetExtensionDelegateStatic("glProgramUniform3uivEXT", typeof(Delegates.ProgramUniform3uivEXT)); + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glProgramUniform4fEXT = (Delegates.ProgramUniform4fEXT)GetExtensionDelegateStatic("glProgramUniform4fEXT", typeof(Delegates.ProgramUniform4fEXT)); + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform4fvEXT = (Delegates.ProgramUniform4fvEXT)GetExtensionDelegateStatic("glProgramUniform4fvEXT", typeof(Delegates.ProgramUniform4fvEXT)); + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glProgramUniform4iEXT = (Delegates.ProgramUniform4iEXT)GetExtensionDelegateStatic("glProgramUniform4iEXT", typeof(Delegates.ProgramUniform4iEXT)); + Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform4ivEXT = (Delegates.ProgramUniform4ivEXT)GetExtensionDelegateStatic("glProgramUniform4ivEXT", typeof(Delegates.ProgramUniform4ivEXT)); + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glProgramUniform4uiEXT = (Delegates.ProgramUniform4uiEXT)GetExtensionDelegateStatic("glProgramUniform4uiEXT", typeof(Delegates.ProgramUniform4uiEXT)); + Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static unsafe void Load_ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform4uivEXT = (Delegates.ProgramUniform4uivEXT)GetExtensionDelegateStatic("glProgramUniform4uivEXT", typeof(Delegates.ProgramUniform4uivEXT)); + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2fvEXT = (Delegates.ProgramUniformMatrix2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2fvEXT", typeof(Delegates.ProgramUniformMatrix2fvEXT)); + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x3fvEXT = (Delegates.ProgramUniformMatrix2x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fvEXT", typeof(Delegates.ProgramUniformMatrix2x3fvEXT)); + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x4fvEXT = (Delegates.ProgramUniformMatrix2x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fvEXT", typeof(Delegates.ProgramUniformMatrix2x4fvEXT)); + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3fvEXT = (Delegates.ProgramUniformMatrix3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3fvEXT", typeof(Delegates.ProgramUniformMatrix3fvEXT)); + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x2fvEXT = (Delegates.ProgramUniformMatrix3x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fvEXT", typeof(Delegates.ProgramUniformMatrix3x2fvEXT)); + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x4fvEXT = (Delegates.ProgramUniformMatrix3x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fvEXT", typeof(Delegates.ProgramUniformMatrix3x4fvEXT)); + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4fvEXT = (Delegates.ProgramUniformMatrix4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4fvEXT", typeof(Delegates.ProgramUniformMatrix4fvEXT)); + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x2fvEXT = (Delegates.ProgramUniformMatrix4x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fvEXT", typeof(Delegates.ProgramUniformMatrix4x2fvEXT)); + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x3fvEXT = (Delegates.ProgramUniformMatrix4x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fvEXT", typeof(Delegates.ProgramUniformMatrix4x3fvEXT)); + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static void Load_PushDebugGroup(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); + Delegates.glPushDebugGroup((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.ES20.All source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); + Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES20.All)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_PushGroupMarkerEXT(Int32 length, String marker) + { + Delegates.glPushGroupMarkerEXT = (Delegates.PushGroupMarkerEXT)GetExtensionDelegateStatic("glPushGroupMarkerEXT", typeof(Delegates.PushGroupMarkerEXT)); + Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); + } + internal static void Load_QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES20.All target) + { + Delegates.glQueryCounterEXT = (Delegates.QueryCounterEXT)GetExtensionDelegateStatic("glQueryCounterEXT", typeof(Delegates.QueryCounterEXT)); + Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES20.All)target); + } + internal static void Load_ReadBufferIndexedEXT(OpenTK.Graphics.ES20.All src, Int32 index) + { + Delegates.glReadBufferIndexedEXT = (Delegates.ReadBufferIndexedEXT)GetExtensionDelegateStatic("glReadBufferIndexedEXT", typeof(Delegates.ReadBufferIndexedEXT)); + Delegates.glReadBufferIndexedEXT((OpenTK.Graphics.ES20.All)src, (Int32)index); + } + internal static void Load_ReadBufferNV(OpenTK.Graphics.ES20.All mode) + { + Delegates.glReadBufferNV = (Delegates.ReadBufferNV)GetExtensionDelegateStatic("glReadBufferNV", typeof(Delegates.ReadBufferNV)); + Delegates.glReadBufferNV((OpenTK.Graphics.ES20.All)mode); + } + internal static void Load_ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, Int32 bufSize, [OutAttribute] IntPtr data) + { + Delegates.glReadnPixelsEXT = (Delegates.ReadnPixelsEXT)GetExtensionDelegateStatic("glReadnPixelsEXT", typeof(Delegates.ReadnPixelsEXT)); + Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (Int32)bufSize, (IntPtr)data); + } + internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); + } + internal static void Load_ReleaseShaderCompiler() + { + Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); + Delegates.glReleaseShaderCompiler(); + } + internal static void Load_RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); + Delegates.glRenderbufferStorage((OpenTK.Graphics.ES20.RenderbufferTarget)target, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleANGLE = (Delegates.RenderbufferStorageMultisampleANGLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleANGLE", typeof(Delegates.RenderbufferStorageMultisampleANGLE)); + Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleAPPLE = (Delegates.RenderbufferStorageMultisampleAPPLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleAPPLE", typeof(Delegates.RenderbufferStorageMultisampleAPPLE)); + Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); + Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleIMG = (Delegates.RenderbufferStorageMultisampleIMG)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleIMG", typeof(Delegates.RenderbufferStorageMultisampleIMG)); + Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES20.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleNV = (Delegates.RenderbufferStorageMultisampleNV)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleNV", typeof(Delegates.RenderbufferStorageMultisampleNV)); + Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES20.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES20.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_ResolveMultisampleFramebufferAPPLE() + { + Delegates.glResolveMultisampleFramebufferAPPLE = (Delegates.ResolveMultisampleFramebufferAPPLE)GetExtensionDelegateStatic("glResolveMultisampleFramebufferAPPLE", typeof(Delegates.ResolveMultisampleFramebufferAPPLE)); + Delegates.glResolveMultisampleFramebufferAPPLE(); + } + internal static void Load_SampleCoverage(Single value, bool invert) + { + Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); + Delegates.glSampleCoverage((Single)value, (bool)invert); + } + internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static unsafe void Load_SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) + { + Delegates.glSelectPerfMonitorCountersAMD = (Delegates.SelectPerfMonitorCountersAMD)GetExtensionDelegateStatic("glSelectPerfMonitorCountersAMD", typeof(Delegates.SelectPerfMonitorCountersAMD)); + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + } + internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition) + { + Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES20.All)condition); + } + internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES20.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES20.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + } + internal static void Load_StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) + { + Delegates.glStartTilingQCOM = (Delegates.StartTilingQCOM)GetExtensionDelegateStatic("glStartTilingQCOM", typeof(Delegates.StartTilingQCOM)); + Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); + } + internal static void Load_StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); + Delegates.glStencilFunc((OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); + Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilMask(UInt32 mask) + { + Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); + Delegates.glStencilMask((UInt32)mask); + } + internal static void Load_StencilMaskSeparate(OpenTK.Graphics.ES20.StencilFace face, UInt32 mask) + { + Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); + Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES20.StencilFace)face, (UInt32)mask); + } + internal static void Load_StencilOp(OpenTK.Graphics.ES20.StencilOp fail, OpenTK.Graphics.ES20.StencilOp zfail, OpenTK.Graphics.ES20.StencilOp zpass) + { + Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); + Delegates.glStencilOp((OpenTK.Graphics.ES20.StencilOp)fail, (OpenTK.Graphics.ES20.StencilOp)zfail, (OpenTK.Graphics.ES20.StencilOp)zpass); + } + internal static void Load_StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass) + { + Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); + Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass); + } + internal static bool Load_TestFenceNV(UInt32 fence) + { + Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); + return Delegates.glTestFenceNV((UInt32)fence); + } + internal static void Load_TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) + { + Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); + Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) + { + Delegates.glTexImage3DOES = (Delegates.TexImage3DOES)GetExtensionDelegateStatic("glTexImage3DOES", typeof(Delegates.TexImage3DOES)); + Delegates.glTexImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param) + { + Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); + Delegates.glTexParameterf((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single)param); + } + internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single* @params) + { + Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); + Delegates.glTexParameterfv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Single*)@params); + } + internal static void Load_TexParameteri(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32 param) + { + Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); + Delegates.glTexParameteri((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32)param); + } + internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); + Delegates.glTexParameteriv((OpenTK.Graphics.ES20.TextureTarget)target, (OpenTK.Graphics.ES20.TextureParameterName)pname, (Int32*)@params); + } + internal static void Load_TexStorage1DEXT(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) + { + Delegates.glTexStorage1DEXT = (Delegates.TexStorage1DEXT)GetExtensionDelegateStatic("glTexStorage1DEXT", typeof(Delegates.TexStorage1DEXT)); + Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width); + } + internal static void Load_TexStorage2DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glTexStorage2DEXT = (Delegates.TexStorage2DEXT)GetExtensionDelegateStatic("glTexStorage2DEXT", typeof(Delegates.TexStorage2DEXT)); + Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TexStorage3DEXT(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTexStorage3DEXT = (Delegates.TexStorage3DEXT)GetExtensionDelegateStatic("glTexStorage3DEXT", typeof(Delegates.TexStorage3DEXT)); + Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES20.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); + Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels) + { + Delegates.glTexSubImage3DOES = (Delegates.TexSubImage3DOES)GetExtensionDelegateStatic("glTexSubImage3DOES", typeof(Delegates.TexSubImage3DOES)); + Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES20.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES20.All)format, (OpenTK.Graphics.ES20.All)type, (IntPtr)pixels); + } + internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width) + { + Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); + Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width); + } + internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height) + { + Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); + Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); + Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES20.All)target, (Int32)levels, (OpenTK.Graphics.ES20.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_Uniform1f(Int32 location, Single v0) + { + Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); + Delegates.glUniform1f((Int32)location, (Single)v0); + } + internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform1i(Int32 location, Int32 v0) + { + Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); + Delegates.glUniform1i((Int32)location, (Int32)v0); + } + internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) + { + Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); + Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) + { + Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); + Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); + Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); + Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); + Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); + Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x3fvNV = (Delegates.UniformMatrix2x3fvNV)GetExtensionDelegateStatic("glUniformMatrix2x3fvNV", typeof(Delegates.UniformMatrix2x3fvNV)); + Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x4fvNV = (Delegates.UniformMatrix2x4fvNV)GetExtensionDelegateStatic("glUniformMatrix2x4fvNV", typeof(Delegates.UniformMatrix2x4fvNV)); + Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x2fvNV = (Delegates.UniformMatrix3x2fvNV)GetExtensionDelegateStatic("glUniformMatrix3x2fvNV", typeof(Delegates.UniformMatrix3x2fvNV)); + Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x4fvNV = (Delegates.UniformMatrix3x4fvNV)GetExtensionDelegateStatic("glUniformMatrix3x4fvNV", typeof(Delegates.UniformMatrix3x4fvNV)); + Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x2fvNV = (Delegates.UniformMatrix4x2fvNV)GetExtensionDelegateStatic("glUniformMatrix4x2fvNV", typeof(Delegates.UniformMatrix4x2fvNV)); + Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x3fvNV = (Delegates.UniformMatrix4x3fvNV)GetExtensionDelegateStatic("glUniformMatrix4x3fvNV", typeof(Delegates.UniformMatrix4x3fvNV)); + Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static bool Load_UnmapBufferOES(OpenTK.Graphics.ES20.BufferTarget target) + { + Delegates.glUnmapBufferOES = (Delegates.UnmapBufferOES)GetExtensionDelegateStatic("glUnmapBufferOES", typeof(Delegates.UnmapBufferOES)); + return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES20.BufferTarget)target); + } + internal static void Load_UseProgram(UInt32 program) + { + Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); + Delegates.glUseProgram((UInt32)program); + } + internal static void Load_UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program) + { + Delegates.glUseProgramStagesEXT = (Delegates.UseProgramStagesEXT)GetExtensionDelegateStatic("glUseProgramStagesEXT", typeof(Delegates.UseProgramStagesEXT)); + Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); + } + internal static void Load_UseShaderProgramEXT(OpenTK.Graphics.ES20.All type, UInt32 program) + { + Delegates.glUseShaderProgramEXT = (Delegates.UseShaderProgramEXT)GetExtensionDelegateStatic("glUseShaderProgramEXT", typeof(Delegates.UseShaderProgramEXT)); + Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES20.All)type, (UInt32)program); + } + internal static void Load_ValidateProgram(UInt32 program) + { + Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); + Delegates.glValidateProgram((UInt32)program); + } + internal static void Load_ValidateProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glValidateProgramPipelineEXT = (Delegates.ValidateProgramPipelineEXT)GetExtensionDelegateStatic("glValidateProgramPipelineEXT", typeof(Delegates.ValidateProgramPipelineEXT)); + Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); + } + internal static void Load_VertexAttrib1f(UInt32 index, Single x) + { + Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + } + internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) + { + Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); + Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); + } + internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) + { + Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); + Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); + Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisorANGLE = (Delegates.VertexAttribDivisorANGLE)GetExtensionDelegateStatic("glVertexAttribDivisorANGLE", typeof(Delegates.VertexAttribDivisorANGLE)); + Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribDivisorEXT(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisorEXT = (Delegates.VertexAttribDivisorEXT)GetExtensionDelegateStatic("glVertexAttribDivisorEXT", typeof(Delegates.VertexAttribDivisorEXT)); + Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribDivisorNV(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisorNV = (Delegates.VertexAttribDivisorNV)GetExtensionDelegateStatic("glVertexAttribDivisorNV", typeof(Delegates.VertexAttribDivisorNV)); + Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES20.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES20.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout) + { + Delegates.glWaitSyncAPPLE = (Delegates.WaitSyncAPPLE)GetExtensionDelegateStatic("glWaitSyncAPPLE", typeof(Delegates.WaitSyncAPPLE)); + Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES20.WaitSyncFlags)flags, (UInt64)timeout); + } } } } diff --git a/Source/OpenTK/Graphics/ES30/ES30Delegates.cs b/Source/OpenTK/Graphics/ES30/ES30Delegates.cs index 42834cbb..1fd4a6aa 100644 --- a/Source/OpenTK/Graphics/ES30/ES30Delegates.cs +++ b/Source/OpenTK/Graphics/ES30/ES30Delegates.cs @@ -1377,2236 +1377,2236 @@ namespace OpenTK.Graphics.ES30 [SuppressUnmanagedCodeSecurity] internal delegate void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout); internal static WaitSyncAPPLE glWaitSyncAPPLE = Load_WaitSyncAPPLE; - } - internal static void Load_ActiveProgramEXT(UInt32 program) - { - Delegates.glActiveProgramEXT = (Delegates.ActiveProgramEXT)GetExtensionDelegateStatic("glActiveProgramEXT", typeof(Delegates.ActiveProgramEXT)); - Delegates.glActiveProgramEXT((UInt32)program); - } - internal static void Load_ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program) - { - Delegates.glActiveShaderProgramEXT = (Delegates.ActiveShaderProgramEXT)GetExtensionDelegateStatic("glActiveShaderProgramEXT", typeof(Delegates.ActiveShaderProgramEXT)); - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - } - internal static void Load_ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture) - { - Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); - Delegates.glActiveTexture((OpenTK.Graphics.ES30.TextureUnit)texture); - } - internal static void Load_AlphaFuncQCOM(OpenTK.Graphics.ES30.All func, Single @ref) - { - Delegates.glAlphaFuncQCOM = (Delegates.AlphaFuncQCOM)GetExtensionDelegateStatic("glAlphaFuncQCOM", typeof(Delegates.AlphaFuncQCOM)); - Delegates.glAlphaFuncQCOM((OpenTK.Graphics.ES30.All)func, (Single)@ref); - } - internal static void Load_AttachShader(UInt32 program, UInt32 shader) - { - Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - } - internal static void Load_BeginPerfMonitorAMD(UInt32 monitor) - { - Delegates.glBeginPerfMonitorAMD = (Delegates.BeginPerfMonitorAMD)GetExtensionDelegateStatic("glBeginPerfMonitorAMD", typeof(Delegates.BeginPerfMonitorAMD)); - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - } - internal static void Load_BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) - { - Delegates.glBeginQuery = (Delegates.BeginQuery)GetExtensionDelegateStatic("glBeginQuery", typeof(Delegates.BeginQuery)); - Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - } - internal static void Load_BeginQueryEXT(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) - { - Delegates.glBeginQueryEXT = (Delegates.BeginQueryEXT)GetExtensionDelegateStatic("glBeginQueryEXT", typeof(Delegates.BeginQueryEXT)); - Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); - } - internal static void Load_BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode) - { - Delegates.glBeginTransformFeedback = (Delegates.BeginTransformFeedback)GetExtensionDelegateStatic("glBeginTransformFeedback", typeof(Delegates.BeginTransformFeedback)); - Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode); - } - internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) - { - Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - } - internal static void Load_BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer) - { - Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); - Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer); - } - internal static void Load_BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - Delegates.glBindBufferBase = (Delegates.BindBufferBase)GetExtensionDelegateStatic("glBindBufferBase", typeof(Delegates.BindBufferBase)); - Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - } - internal static void Load_BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glBindBufferRange = (Delegates.BindBufferRange)GetExtensionDelegateStatic("glBindBufferRange", typeof(Delegates.BindBufferRange)); - Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static void Load_BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer) - { - Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); - Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer); - } - internal static void Load_BindProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glBindProgramPipelineEXT = (Delegates.BindProgramPipelineEXT)GetExtensionDelegateStatic("glBindProgramPipelineEXT", typeof(Delegates.BindProgramPipelineEXT)); - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - } - internal static void Load_BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer) - { - Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); - Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer); - } - internal static void Load_BindSampler(UInt32 unit, UInt32 sampler) - { - Delegates.glBindSampler = (Delegates.BindSampler)GetExtensionDelegateStatic("glBindSampler", typeof(Delegates.BindSampler)); - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - } - internal static void Load_BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture) - { - Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); - Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture); - } - internal static void Load_BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id) - { - Delegates.glBindTransformFeedback = (Delegates.BindTransformFeedback)GetExtensionDelegateStatic("glBindTransformFeedback", typeof(Delegates.BindTransformFeedback)); - Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id); - } - internal static void Load_BindVertexArray(UInt32 array) - { - Delegates.glBindVertexArray = (Delegates.BindVertexArray)GetExtensionDelegateStatic("glBindVertexArray", typeof(Delegates.BindVertexArray)); - Delegates.glBindVertexArray((UInt32)array); - } - internal static void Load_BindVertexArrayOES(UInt32 array) - { - Delegates.glBindVertexArrayOES = (Delegates.BindVertexArrayOES)GetExtensionDelegateStatic("glBindVertexArrayOES", typeof(Delegates.BindVertexArrayOES)); - Delegates.glBindVertexArrayOES((UInt32)array); - } - internal static void Load_BlendBarrierNV() - { - Delegates.glBlendBarrierNV = (Delegates.BlendBarrierNV)GetExtensionDelegateStatic("glBlendBarrierNV", typeof(Delegates.BlendBarrierNV)); - Delegates.glBlendBarrierNV(); - } - internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode) - { - Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); - Delegates.glBlendEquation((OpenTK.Graphics.ES30.BlendEquationMode)mode); - } - internal static void Load_BlendEquationEXT(OpenTK.Graphics.ES30.BlendEquationMode mode) - { - Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); - Delegates.glBlendEquationEXT((OpenTK.Graphics.ES30.BlendEquationMode)mode); - } - internal static void Load_BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha) - { - Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); - Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha); - } - internal static void Load_BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor) - { - Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); - Delegates.glBlendFunc((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor); - } - internal static void Load_BlendFuncSeparate(OpenTK.Graphics.ES30.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES30.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES30.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES30.BlendingFactorDest dfactorAlpha) - { - Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); - Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha); - } - internal static void Load_BlendParameteriNV(OpenTK.Graphics.ES30.All pname, Int32 value) - { - Delegates.glBlendParameteriNV = (Delegates.BlendParameteriNV)GetExtensionDelegateStatic("glBlendParameteriNV", typeof(Delegates.BlendParameteriNV)); - Delegates.glBlendParameteriNV((OpenTK.Graphics.ES30.All)pname, (Int32)value); - } - internal static void Load_BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebuffer = (Delegates.BlitFramebuffer)GetExtensionDelegateStatic("glBlitFramebuffer", typeof(Delegates.BlitFramebuffer)); - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - } - internal static void Load_BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebufferANGLE = (Delegates.BlitFramebufferANGLE)GetExtensionDelegateStatic("glBlitFramebufferANGLE", typeof(Delegates.BlitFramebufferANGLE)); - Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - } - internal static void Load_BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebufferNV = (Delegates.BlitFramebufferNV)GetExtensionDelegateStatic("glBlitFramebufferNV", typeof(Delegates.BlitFramebufferNV)); - Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); - } - internal static void Load_BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage) - { - Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); - Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage); - } - internal static void Load_BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); - Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static OpenTK.Graphics.ES30.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target) - { - Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES30.FramebufferTarget)target); - } - internal static void Load_Clear(OpenTK.Graphics.ES30.ClearBufferMask mask) - { - Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); - Delegates.glClear((OpenTK.Graphics.ES30.ClearBufferMask)mask); - } - internal static void Load_ClearBufferfi(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - Delegates.glClearBufferfi = (Delegates.ClearBufferfi)GetExtensionDelegateStatic("glClearBufferfi", typeof(Delegates.ClearBufferfi)); - Delegates.glClearBufferfi((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - } - internal static unsafe void Load_ClearBufferfv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - Delegates.glClearBufferfv = (Delegates.ClearBufferfv)GetExtensionDelegateStatic("glClearBufferfv", typeof(Delegates.ClearBufferfv)); - Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - } - internal static unsafe void Load_ClearBufferiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - Delegates.glClearBufferiv = (Delegates.ClearBufferiv)GetExtensionDelegateStatic("glClearBufferiv", typeof(Delegates.ClearBufferiv)); - Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - } - internal static unsafe void Load_ClearBufferuiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - Delegates.glClearBufferuiv = (Delegates.ClearBufferuiv)GetExtensionDelegateStatic("glClearBufferuiv", typeof(Delegates.ClearBufferuiv)); - Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - } - internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_ClearDepthf(Single d) - { - Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); - Delegates.glClearDepthf((Single)d); - } - internal static void Load_ClearStencil(Int32 s) - { - Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); - Delegates.glClearStencil((Int32)s); - } - internal static OpenTK.Graphics.ES30.WaitSyncStatus Load_ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) - { - Delegates.glClientWaitSync = (Delegates.ClientWaitSync)GetExtensionDelegateStatic("glClientWaitSync", typeof(Delegates.ClientWaitSync)); - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - } - internal static OpenTK.Graphics.ES30.WaitSyncStatus Load_ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) - { - Delegates.glClientWaitSyncAPPLE = (Delegates.ClientWaitSyncAPPLE)GetExtensionDelegateStatic("glClientWaitSyncAPPLE", typeof(Delegates.ClientWaitSyncAPPLE)); - return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); - } - internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) - { - Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - } - internal static void Load_CompileShader(UInt32 shader) - { - Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); - Delegates.glCompileShader((UInt32)shader); - } - internal static void Load_CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); - Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage3D = (Delegates.CompressedTexImage3D)GetExtensionDelegateStatic("glCompressedTexImage3D", typeof(Delegates.CompressedTexImage3D)); - Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage3DOES = (Delegates.CompressedTexImage3DOES)GetExtensionDelegateStatic("glCompressedTexImage3DOES", typeof(Delegates.CompressedTexImage3DOES)); - Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage3D = (Delegates.CompressedTexSubImage3D)GetExtensionDelegateStatic("glCompressedTexSubImage3D", typeof(Delegates.CompressedTexSubImage3D)); - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage3DOES = (Delegates.CompressedTexSubImage3DOES)GetExtensionDelegateStatic("glCompressedTexSubImage3DOES", typeof(Delegates.CompressedTexSubImage3DOES)); - Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - Delegates.glCopyBufferSubData = (Delegates.CopyBufferSubData)GetExtensionDelegateStatic("glCopyBufferSubData", typeof(Delegates.CopyBufferSubData)); - Delegates.glCopyBufferSubData((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - } - internal static void Load_CopyBufferSubDataNV(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - Delegates.glCopyBufferSubDataNV = (Delegates.CopyBufferSubDataNV)GetExtensionDelegateStatic("glCopyBufferSubDataNV", typeof(Delegates.CopyBufferSubDataNV)); - Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - } - internal static void Load_CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); - Delegates.glCopyTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage3D = (Delegates.CopyTexSubImage3D)GetExtensionDelegateStatic("glCopyTexSubImage3D", typeof(Delegates.CopyTexSubImage3D)); - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage3DOES = (Delegates.CopyTexSubImage3DOES)GetExtensionDelegateStatic("glCopyTexSubImage3DOES", typeof(Delegates.CopyTexSubImage3DOES)); - Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) - { - Delegates.glCopyTextureLevelsAPPLE = (Delegates.CopyTextureLevelsAPPLE)GetExtensionDelegateStatic("glCopyTextureLevelsAPPLE", typeof(Delegates.CopyTextureLevelsAPPLE)); - Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); - } - internal static void Load_CoverageMaskNV(bool mask) - { - Delegates.glCoverageMaskNV = (Delegates.CoverageMaskNV)GetExtensionDelegateStatic("glCoverageMaskNV", typeof(Delegates.CoverageMaskNV)); - Delegates.glCoverageMaskNV((bool)mask); - } - internal static void Load_CoverageOperationNV(OpenTK.Graphics.ES30.All operation) - { - Delegates.glCoverageOperationNV = (Delegates.CoverageOperationNV)GetExtensionDelegateStatic("glCoverageOperationNV", typeof(Delegates.CoverageOperationNV)); - Delegates.glCoverageOperationNV((OpenTK.Graphics.ES30.All)operation); - } - internal static Int32 Load_CreateProgram() - { - Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); - return Delegates.glCreateProgram(); - } - internal static Int32 Load_CreateShader(OpenTK.Graphics.ES30.ShaderType type) - { - Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); - return Delegates.glCreateShader((OpenTK.Graphics.ES30.ShaderType)type); - } - internal static Int32 Load_CreateShaderProgramEXT(OpenTK.Graphics.ES30.All type, String @string) - { - Delegates.glCreateShaderProgramEXT = (Delegates.CreateShaderProgramEXT)GetExtensionDelegateStatic("glCreateShaderProgramEXT", typeof(Delegates.CreateShaderProgramEXT)); - return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.ES30.All)type, (String)@string); - } - internal static Int32 Load_CreateShaderProgramvEXT(OpenTK.Graphics.ES30.All type, Int32 count, String[] strings) - { - Delegates.glCreateShaderProgramvEXT = (Delegates.CreateShaderProgramvEXT)GetExtensionDelegateStatic("glCreateShaderProgramvEXT", typeof(Delegates.CreateShaderProgramvEXT)); - return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.ES30.All)type, (Int32)count, (String[])strings); - } - internal static void Load_CullFace(OpenTK.Graphics.ES30.CullFaceMode mode) - { - Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); - Delegates.glCullFace((OpenTK.Graphics.ES30.CullFaceMode)mode); - } - internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - } - internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) - { - Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - } - internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); - Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static void Load_DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); - Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - } - internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); - } - internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) - { - Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - } - internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) - { - Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_DeletePerfMonitorsAMD(Int32 n, UInt32* monitors) - { - Delegates.glDeletePerfMonitorsAMD = (Delegates.DeletePerfMonitorsAMD)GetExtensionDelegateStatic("glDeletePerfMonitorsAMD", typeof(Delegates.DeletePerfMonitorsAMD)); - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - } - internal static void Load_DeleteProgram(UInt32 program) - { - Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); - Delegates.glDeleteProgram((UInt32)program); - } - internal static unsafe void Load_DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines) - { - Delegates.glDeleteProgramPipelinesEXT = (Delegates.DeleteProgramPipelinesEXT)GetExtensionDelegateStatic("glDeleteProgramPipelinesEXT", typeof(Delegates.DeleteProgramPipelinesEXT)); - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_DeleteQueries(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueries = (Delegates.DeleteQueries)GetExtensionDelegateStatic("glDeleteQueries", typeof(Delegates.DeleteQueries)); - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteQueriesEXT(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueriesEXT = (Delegates.DeleteQueriesEXT)GetExtensionDelegateStatic("glDeleteQueriesEXT", typeof(Delegates.DeleteQueriesEXT)); - Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_DeleteSamplers(Int32 count, UInt32* samplers) - { - Delegates.glDeleteSamplers = (Delegates.DeleteSamplers)GetExtensionDelegateStatic("glDeleteSamplers", typeof(Delegates.DeleteSamplers)); - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - } - internal static void Load_DeleteShader(UInt32 shader) - { - Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); - Delegates.glDeleteShader((UInt32)shader); - } - internal static void Load_DeleteSync(IntPtr sync) - { - Delegates.glDeleteSync = (Delegates.DeleteSync)GetExtensionDelegateStatic("glDeleteSync", typeof(Delegates.DeleteSync)); - Delegates.glDeleteSync((IntPtr)sync); - } - internal static void Load_DeleteSyncAPPLE(IntPtr sync) - { - Delegates.glDeleteSyncAPPLE = (Delegates.DeleteSyncAPPLE)GetExtensionDelegateStatic("glDeleteSyncAPPLE", typeof(Delegates.DeleteSyncAPPLE)); - Delegates.glDeleteSyncAPPLE((IntPtr)sync); - } - internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) - { - Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - Delegates.glDeleteTransformFeedbacks = (Delegates.DeleteTransformFeedbacks)GetExtensionDelegateStatic("glDeleteTransformFeedbacks", typeof(Delegates.DeleteTransformFeedbacks)); - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteVertexArrays(Int32 n, UInt32* arrays) - { - Delegates.glDeleteVertexArrays = (Delegates.DeleteVertexArrays)GetExtensionDelegateStatic("glDeleteVertexArrays", typeof(Delegates.DeleteVertexArrays)); - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_DeleteVertexArraysOES(Int32 n, UInt32* arrays) - { - Delegates.glDeleteVertexArraysOES = (Delegates.DeleteVertexArraysOES)GetExtensionDelegateStatic("glDeleteVertexArraysOES", typeof(Delegates.DeleteVertexArraysOES)); - Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); - } - internal static void Load_DepthFunc(OpenTK.Graphics.ES30.DepthFunction func) - { - Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); - Delegates.glDepthFunc((OpenTK.Graphics.ES30.DepthFunction)func); - } - internal static void Load_DepthMask(bool flag) - { - Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); - Delegates.glDepthMask((bool)flag); - } - internal static void Load_DepthRangef(Single n, Single f) - { - Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); - Delegates.glDepthRangef((Single)n, (Single)f); - } - internal static void Load_DetachShader(UInt32 program, UInt32 shader) - { - Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - } - internal static void Load_Disable(OpenTK.Graphics.ES30.EnableCap cap) - { - Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); - Delegates.glDisable((OpenTK.Graphics.ES30.EnableCap)cap); - } - internal static void Load_DisableDriverControlQCOM(UInt32 driverControl) - { - Delegates.glDisableDriverControlQCOM = (Delegates.DisableDriverControlQCOM)GetExtensionDelegateStatic("glDisableDriverControlQCOM", typeof(Delegates.DisableDriverControlQCOM)); - Delegates.glDisableDriverControlQCOM((UInt32)driverControl); - } - internal static void Load_DisableVertexAttribArray(UInt32 index) - { - Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); - Delegates.glDisableVertexAttribArray((UInt32)index); - } - internal static unsafe void Load_DiscardFramebufferEXT(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments) - { - Delegates.glDiscardFramebufferEXT = (Delegates.DiscardFramebufferEXT)GetExtensionDelegateStatic("glDiscardFramebufferEXT", typeof(Delegates.DiscardFramebufferEXT)); - Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.All*)attachments); - } - internal static void Load_DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count) - { - Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); - Delegates.glDrawArrays((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count); - } - internal static void Load_DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - Delegates.glDrawArraysInstanced = (Delegates.DrawArraysInstanced)GetExtensionDelegateStatic("glDrawArraysInstanced", typeof(Delegates.DrawArraysInstanced)); - Delegates.glDrawArraysInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - } - internal static void Load_DrawArraysInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedANGLE = (Delegates.DrawArraysInstancedANGLE)GetExtensionDelegateStatic("glDrawArraysInstancedANGLE", typeof(Delegates.DrawArraysInstancedANGLE)); - Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - } - internal static void Load_DrawArraysInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedEXT = (Delegates.DrawArraysInstancedEXT)GetExtensionDelegateStatic("glDrawArraysInstancedEXT", typeof(Delegates.DrawArraysInstancedEXT)); - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - } - internal static void Load_DrawArraysInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedNV = (Delegates.DrawArraysInstancedNV)GetExtensionDelegateStatic("glDrawArraysInstancedNV", typeof(Delegates.DrawArraysInstancedNV)); - Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - } - internal static unsafe void Load_DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - Delegates.glDrawBuffers = (Delegates.DrawBuffers)GetExtensionDelegateStatic("glDrawBuffers", typeof(Delegates.DrawBuffers)); - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - } - internal static unsafe void Load_DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - Delegates.glDrawBuffersEXT = (Delegates.DrawBuffersEXT)GetExtensionDelegateStatic("glDrawBuffersEXT", typeof(Delegates.DrawBuffersEXT)); - Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - } - internal static unsafe void Load_DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES30.All* location, Int32* indices) - { - Delegates.glDrawBuffersIndexedEXT = (Delegates.DrawBuffersIndexedEXT)GetExtensionDelegateStatic("glDrawBuffersIndexedEXT", typeof(Delegates.DrawBuffersIndexedEXT)); - Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES30.All*)location, (Int32*)indices); - } - internal static unsafe void Load_DrawBuffersNV(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) - { - Delegates.glDrawBuffersNV = (Delegates.DrawBuffersNV)GetExtensionDelegateStatic("glDrawBuffersNV", typeof(Delegates.DrawBuffersNV)); - Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); - } - internal static void Load_DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); - Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 instancecount) - { - Delegates.glDrawElementsInstanced = (Delegates.DrawElementsInstanced)GetExtensionDelegateStatic("glDrawElementsInstanced", typeof(Delegates.DrawElementsInstanced)); - Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - } - internal static void Load_DrawElementsInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedANGLE = (Delegates.DrawElementsInstancedANGLE)GetExtensionDelegateStatic("glDrawElementsInstancedANGLE", typeof(Delegates.DrawElementsInstancedANGLE)); - Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_DrawElementsInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedEXT = (Delegates.DrawElementsInstancedEXT)GetExtensionDelegateStatic("glDrawElementsInstancedEXT", typeof(Delegates.DrawElementsInstancedEXT)); - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_DrawElementsInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedNV = (Delegates.DrawElementsInstancedNV)GetExtensionDelegateStatic("glDrawElementsInstancedNV", typeof(Delegates.DrawElementsInstancedNV)); - Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawRangeElements = (Delegates.DrawRangeElements)GetExtensionDelegateStatic("glDrawRangeElements", typeof(Delegates.DrawRangeElements)); - Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES30.All target, IntPtr image) - { - Delegates.glEGLImageTargetRenderbufferStorageOES = (Delegates.EGLImageTargetRenderbufferStorageOES)GetExtensionDelegateStatic("glEGLImageTargetRenderbufferStorageOES", typeof(Delegates.EGLImageTargetRenderbufferStorageOES)); - Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES30.All)target, (IntPtr)image); - } - internal static void Load_EGLImageTargetTexture2DOES(OpenTK.Graphics.ES30.All target, IntPtr image) - { - Delegates.glEGLImageTargetTexture2DOES = (Delegates.EGLImageTargetTexture2DOES)GetExtensionDelegateStatic("glEGLImageTargetTexture2DOES", typeof(Delegates.EGLImageTargetTexture2DOES)); - Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES30.All)target, (IntPtr)image); - } - internal static void Load_Enable(OpenTK.Graphics.ES30.EnableCap cap) - { - Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); - Delegates.glEnable((OpenTK.Graphics.ES30.EnableCap)cap); - } - internal static void Load_EnableDriverControlQCOM(UInt32 driverControl) - { - Delegates.glEnableDriverControlQCOM = (Delegates.EnableDriverControlQCOM)GetExtensionDelegateStatic("glEnableDriverControlQCOM", typeof(Delegates.EnableDriverControlQCOM)); - Delegates.glEnableDriverControlQCOM((UInt32)driverControl); - } - internal static void Load_EnableVertexAttribArray(UInt32 index) - { - Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); - Delegates.glEnableVertexAttribArray((UInt32)index); - } - internal static void Load_EndPerfMonitorAMD(UInt32 monitor) - { - Delegates.glEndPerfMonitorAMD = (Delegates.EndPerfMonitorAMD)GetExtensionDelegateStatic("glEndPerfMonitorAMD", typeof(Delegates.EndPerfMonitorAMD)); - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - } - internal static void Load_EndQuery(OpenTK.Graphics.ES30.QueryTarget target) - { - Delegates.glEndQuery = (Delegates.EndQuery)GetExtensionDelegateStatic("glEndQuery", typeof(Delegates.EndQuery)); - Delegates.glEndQuery((OpenTK.Graphics.ES30.QueryTarget)target); - } - internal static void Load_EndQueryEXT(OpenTK.Graphics.ES30.QueryTarget target) - { - Delegates.glEndQueryEXT = (Delegates.EndQueryEXT)GetExtensionDelegateStatic("glEndQueryEXT", typeof(Delegates.EndQueryEXT)); - Delegates.glEndQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target); - } - internal static void Load_EndTilingQCOM(UInt32 preserveMask) - { - Delegates.glEndTilingQCOM = (Delegates.EndTilingQCOM)GetExtensionDelegateStatic("glEndTilingQCOM", typeof(Delegates.EndTilingQCOM)); - Delegates.glEndTilingQCOM((UInt32)preserveMask); - } - internal static void Load_EndTransformFeedback() - { - Delegates.glEndTransformFeedback = (Delegates.EndTransformFeedback)GetExtensionDelegateStatic("glEndTransformFeedback", typeof(Delegates.EndTransformFeedback)); - Delegates.glEndTransformFeedback(); - } - internal static void Load_ExtGetBufferPointervQCOM(OpenTK.Graphics.ES30.All target, [OutAttribute] IntPtr @params) - { - Delegates.glExtGetBufferPointervQCOM = (Delegates.ExtGetBufferPointervQCOM)GetExtensionDelegateStatic("glExtGetBufferPointervQCOM", typeof(Delegates.ExtGetBufferPointervQCOM)); - Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES30.All)target, (IntPtr)@params); - } - internal static unsafe void Load_ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) - { - Delegates.glExtGetBuffersQCOM = (Delegates.ExtGetBuffersQCOM)GetExtensionDelegateStatic("glExtGetBuffersQCOM", typeof(Delegates.ExtGetBuffersQCOM)); - Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); - } - internal static unsafe void Load_ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) - { - Delegates.glExtGetFramebuffersQCOM = (Delegates.ExtGetFramebuffersQCOM)GetExtensionDelegateStatic("glExtGetFramebuffersQCOM", typeof(Delegates.ExtGetFramebuffersQCOM)); - Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); - } - internal static unsafe void Load_ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) - { - Delegates.glExtGetProgramBinarySourceQCOM = (Delegates.ExtGetProgramBinarySourceQCOM)GetExtensionDelegateStatic("glExtGetProgramBinarySourceQCOM", typeof(Delegates.ExtGetProgramBinarySourceQCOM)); - Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length); - } - internal static unsafe void Load_ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) - { - Delegates.glExtGetProgramsQCOM = (Delegates.ExtGetProgramsQCOM)GetExtensionDelegateStatic("glExtGetProgramsQCOM", typeof(Delegates.ExtGetProgramsQCOM)); - Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); - } - internal static unsafe void Load_ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) - { - Delegates.glExtGetRenderbuffersQCOM = (Delegates.ExtGetRenderbuffersQCOM)GetExtensionDelegateStatic("glExtGetRenderbuffersQCOM", typeof(Delegates.ExtGetRenderbuffersQCOM)); - Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); - } - internal static unsafe void Load_ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) - { - Delegates.glExtGetShadersQCOM = (Delegates.ExtGetShadersQCOM)GetExtensionDelegateStatic("glExtGetShadersQCOM", typeof(Delegates.ExtGetShadersQCOM)); - Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); - } - internal static unsafe void Load_ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - Delegates.glExtGetTexLevelParameterivQCOM = (Delegates.ExtGetTexLevelParameterivQCOM)GetExtensionDelegateStatic("glExtGetTexLevelParameterivQCOM", typeof(Delegates.ExtGetTexLevelParameterivQCOM)); - Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - } - internal static void Load_ExtGetTexSubImageQCOM(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr texels) - { - Delegates.glExtGetTexSubImageQCOM = (Delegates.ExtGetTexSubImageQCOM)GetExtensionDelegateStatic("glExtGetTexSubImageQCOM", typeof(Delegates.ExtGetTexSubImageQCOM)); - Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES30.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)texels); - } - internal static unsafe void Load_ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) - { - Delegates.glExtGetTexturesQCOM = (Delegates.ExtGetTexturesQCOM)GetExtensionDelegateStatic("glExtGetTexturesQCOM", typeof(Delegates.ExtGetTexturesQCOM)); - Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); - } - internal static bool Load_ExtIsProgramBinaryQCOM(UInt32 program) - { - Delegates.glExtIsProgramBinaryQCOM = (Delegates.ExtIsProgramBinaryQCOM)GetExtensionDelegateStatic("glExtIsProgramBinaryQCOM", typeof(Delegates.ExtIsProgramBinaryQCOM)); - return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); - } - internal static void Load_ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param) - { - Delegates.glExtTexObjectStateOverrideiQCOM = (Delegates.ExtTexObjectStateOverrideiQCOM)GetExtensionDelegateStatic("glExtTexObjectStateOverrideiQCOM", typeof(Delegates.ExtTexObjectStateOverrideiQCOM)); - Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32)param); - } - internal static IntPtr Load_FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) - { - Delegates.glFenceSync = (Delegates.FenceSync)GetExtensionDelegateStatic("glFenceSync", typeof(Delegates.FenceSync)); - return Delegates.glFenceSync((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); - } - internal static IntPtr Load_FenceSyncAPPLE(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) - { - Delegates.glFenceSyncAPPLE = (Delegates.FenceSyncAPPLE)GetExtensionDelegateStatic("glFenceSyncAPPLE", typeof(Delegates.FenceSyncAPPLE)); - return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); - } - internal static void Load_Finish() - { - Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); - Delegates.glFinish(); - } - internal static void Load_FinishFenceNV(UInt32 fence) - { - Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); - Delegates.glFinishFenceNV((UInt32)fence); - } - internal static void Load_Flush() - { - Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); - Delegates.glFlush(); - } - internal static void Load_FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) - { - Delegates.glFlushMappedBufferRange = (Delegates.FlushMappedBufferRange)GetExtensionDelegateStatic("glFlushMappedBufferRange", typeof(Delegates.FlushMappedBufferRange)); - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - } - internal static void Load_FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) - { - Delegates.glFlushMappedBufferRangeEXT = (Delegates.FlushMappedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedBufferRangeEXT", typeof(Delegates.FlushMappedBufferRangeEXT)); - Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - } - internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - } - internal static void Load_FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); - Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - Delegates.glFramebufferTexture2DMultisampleEXT = (Delegates.FramebufferTexture2DMultisampleEXT)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleEXT", typeof(Delegates.FramebufferTexture2DMultisampleEXT)); - Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - } - internal static void Load_FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples) - { - Delegates.glFramebufferTexture2DMultisampleIMG = (Delegates.FramebufferTexture2DMultisampleIMG)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleIMG", typeof(Delegates.FramebufferTexture2DMultisampleIMG)); - Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); - } - internal static void Load_FramebufferTexture3DOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - Delegates.glFramebufferTexture3DOES = (Delegates.FramebufferTexture3DOES)GetExtensionDelegateStatic("glFramebufferTexture3DOES", typeof(Delegates.FramebufferTexture3DOES)); - Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - } - internal static void Load_FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - Delegates.glFramebufferTextureLayer = (Delegates.FramebufferTextureLayer)GetExtensionDelegateStatic("glFramebufferTextureLayer", typeof(Delegates.FramebufferTextureLayer)); - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - } - internal static void Load_FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode) - { - Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); - Delegates.glFrontFace((OpenTK.Graphics.ES30.FrontFaceDirection)mode); - } - internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } - internal static void Load_GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target) - { - Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); - Delegates.glGenerateMipmap((OpenTK.Graphics.ES30.TextureTarget)target); - } - internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) - { - Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors) - { - Delegates.glGenPerfMonitorsAMD = (Delegates.GenPerfMonitorsAMD)GetExtensionDelegateStatic("glGenPerfMonitorsAMD", typeof(Delegates.GenPerfMonitorsAMD)); - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - } - internal static unsafe void Load_GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines) - { - Delegates.glGenProgramPipelinesEXT = (Delegates.GenProgramPipelinesEXT)GetExtensionDelegateStatic("glGenProgramPipelinesEXT", typeof(Delegates.GenProgramPipelinesEXT)); - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenQueries = (Delegates.GenQueries)GetExtensionDelegateStatic("glGenQueries", typeof(Delegates.GenQueries)); - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenQueriesEXT = (Delegates.GenQueriesEXT)GetExtensionDelegateStatic("glGenQueriesEXT", typeof(Delegates.GenQueriesEXT)); - Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - Delegates.glGenSamplers = (Delegates.GenSamplers)GetExtensionDelegateStatic("glGenSamplers", typeof(Delegates.GenSamplers)); - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - } - internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenTransformFeedbacks = (Delegates.GenTransformFeedbacks)GetExtensionDelegateStatic("glGenTransformFeedbacks", typeof(Delegates.GenTransformFeedbacks)); - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - Delegates.glGenVertexArrays = (Delegates.GenVertexArrays)GetExtensionDelegateStatic("glGenVertexArrays", typeof(Delegates.GenVertexArrays)); - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays) - { - Delegates.glGenVertexArraysOES = (Delegates.GenVertexArraysOES)GetExtensionDelegateStatic("glGenVertexArraysOES", typeof(Delegates.GenVertexArraysOES)); - Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveUniformBlockiv = (Delegates.GetActiveUniformBlockiv)GetExtensionDelegateStatic("glGetActiveUniformBlockiv", typeof(Delegates.GetActiveUniformBlockiv)); - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - Delegates.glGetActiveUniformBlockName = (Delegates.GetActiveUniformBlockName)GetExtensionDelegateStatic("glGetActiveUniformBlockName", typeof(Delegates.GetActiveUniformBlockName)); - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - } - internal static unsafe void Load_GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveUniformsiv = (Delegates.GetActiveUniformsiv)GetExtensionDelegateStatic("glGetActiveUniformsiv", typeof(Delegates.GetActiveUniformsiv)); - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - } - internal static Int32 Load_GetAttribLocation(UInt32 program, String name) - { - Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data) - { - Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); - Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data); - } - internal static unsafe void Load_GetBufferParameteri64v(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params) - { - Delegates.glGetBufferParameteri64v = (Delegates.GetBufferParameteri64v)GetExtensionDelegateStatic("glGetBufferParameteri64v", typeof(Delegates.GetBufferParameteri64v)); - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params); - } - internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); - Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params); - } - internal static void Load_GetBufferPointerv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetBufferPointerv = (Delegates.GetBufferPointerv)GetExtensionDelegateStatic("glGetBufferPointerv", typeof(Delegates.GetBufferPointerv)); - Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); - } - internal static void Load_GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetBufferPointervOES = (Delegates.GetBufferPointervOES)GetExtensionDelegateStatic("glGetBufferPointervOES", typeof(Delegates.GetBufferPointervOES)); - Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); - } - internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe void Load_GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) - { - Delegates.glGetDriverControlsQCOM = (Delegates.GetDriverControlsQCOM)GetExtensionDelegateStatic("glGetDriverControlsQCOM", typeof(Delegates.GetDriverControlsQCOM)); - Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); - } - internal static unsafe void Load_GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) - { - Delegates.glGetDriverControlStringQCOM = (Delegates.GetDriverControlStringQCOM)GetExtensionDelegateStatic("glGetDriverControlStringQCOM", typeof(Delegates.GetDriverControlStringQCOM)); - Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); - } - internal static OpenTK.Graphics.ES30.ErrorCode Load_GetError() - { - Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); - return Delegates.glGetError(); - } - internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFloatv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data) - { - Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); - Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data); - } - internal static Int32 Load_GetFragDataLocation(UInt32 program, String name) - { - Delegates.glGetFragDataLocation = (Delegates.GetFragDataLocation)GetExtensionDelegateStatic("glGetFragDataLocation", typeof(Delegates.GetFragDataLocation)); - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params); - } - internal static OpenTK.Graphics.ES30.All Load_GetGraphicsResetStatusEXT() - { - Delegates.glGetGraphicsResetStatusEXT = (Delegates.GetGraphicsResetStatusEXT)GetExtensionDelegateStatic("glGetGraphicsResetStatusEXT", typeof(Delegates.GetGraphicsResetStatusEXT)); - return Delegates.glGetGraphicsResetStatusEXT(); - } - internal static unsafe void Load_GetInteger64i_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - Delegates.glGetInteger64i_v = (Delegates.GetInteger64i_v)GetExtensionDelegateStatic("glGetInteger64i_v", typeof(Delegates.GetInteger64i_v)); - Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data); - } - internal static unsafe void Load_GetInteger64v(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data) - { - Delegates.glGetInteger64v = (Delegates.GetInteger64v)GetExtensionDelegateStatic("glGetInteger64v", typeof(Delegates.GetInteger64v)); - Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data); - } - internal static unsafe void Load_GetInteger64vAPPLE(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params) - { - Delegates.glGetInteger64vAPPLE = (Delegates.GetInteger64vAPPLE)GetExtensionDelegateStatic("glGetInteger64vAPPLE", typeof(Delegates.GetInteger64vAPPLE)); - Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params); - } - internal static unsafe void Load_GetIntegeri_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - Delegates.glGetIntegeri_v = (Delegates.GetIntegeri_v)GetExtensionDelegateStatic("glGetIntegeri_v", typeof(Delegates.GetIntegeri_v)); - Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - } - internal static unsafe void Load_GetIntegeri_vEXT(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - Delegates.glGetIntegeri_vEXT = (Delegates.GetIntegeri_vEXT)GetExtensionDelegateStatic("glGetIntegeri_vEXT", typeof(Delegates.GetIntegeri_vEXT)); - Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); - } - internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data) - { - Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); - Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data); - } - internal static unsafe void Load_GetInternalformativ(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetInternalformativ = (Delegates.GetInternalformativ)GetExtensionDelegateStatic("glGetInternalformativ", typeof(Delegates.GetInternalformativ)); - Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); - } - internal static unsafe void Load_GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - Delegates.glGetnUniformfvEXT = (Delegates.GetnUniformfvEXT)GetExtensionDelegateStatic("glGetnUniformfvEXT", typeof(Delegates.GetnUniformfvEXT)); - Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - } - internal static unsafe void Load_GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetnUniformivEXT = (Delegates.GetnUniformivEXT)GetExtensionDelegateStatic("glGetnUniformivEXT", typeof(Delegates.GetnUniformivEXT)); - Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - } - internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); - Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectLabelEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabelEXT = (Delegates.GetObjectLabelEXT)GetExtensionDelegateStatic("glGetObjectLabelEXT", typeof(Delegates.GetObjectLabelEXT)); - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD = (Delegates.GetPerfMonitorCounterDataAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterDataAMD", typeof(Delegates.GetPerfMonitorCounterDataAMD)); - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - } - internal static void Load_GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data) - { - Delegates.glGetPerfMonitorCounterInfoAMD = (Delegates.GetPerfMonitorCounterInfoAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterInfoAMD", typeof(Delegates.GetPerfMonitorCounterInfoAMD)); - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data); - } - internal static unsafe void Load_GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - Delegates.glGetPerfMonitorCountersAMD = (Delegates.GetPerfMonitorCountersAMD)GetExtensionDelegateStatic("glGetPerfMonitorCountersAMD", typeof(Delegates.GetPerfMonitorCountersAMD)); - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - } - internal static unsafe void Load_GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - Delegates.glGetPerfMonitorCounterStringAMD = (Delegates.GetPerfMonitorCounterStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterStringAMD", typeof(Delegates.GetPerfMonitorCounterStringAMD)); - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - } - internal static unsafe void Load_GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - Delegates.glGetPerfMonitorGroupsAMD = (Delegates.GetPerfMonitorGroupsAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupsAMD", typeof(Delegates.GetPerfMonitorGroupsAMD)); - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - } - internal static unsafe void Load_GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - Delegates.glGetPerfMonitorGroupStringAMD = (Delegates.GetPerfMonitorGroupStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupStringAMD", typeof(Delegates.GetPerfMonitorGroupStringAMD)); - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - } - internal static void Load_GetPointerv(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); - Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params); - } - internal static void Load_GetPointervKHR(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); - Delegates.glGetPointervKHR((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params); - } - internal static unsafe void Load_GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) - { - Delegates.glGetProgramBinary = (Delegates.GetProgramBinary)GetExtensionDelegateStatic("glGetProgramBinary", typeof(Delegates.GetProgramBinary)); - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); - } - internal static unsafe void Load_GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) - { - Delegates.glGetProgramBinaryOES = (Delegates.GetProgramBinaryOES)GetExtensionDelegateStatic("glGetProgramBinaryOES", typeof(Delegates.GetProgramBinaryOES)); - Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); - } - internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramPipelineInfoLogEXT = (Delegates.GetProgramPipelineInfoLogEXT)GetExtensionDelegateStatic("glGetProgramPipelineInfoLogEXT", typeof(Delegates.GetProgramPipelineInfoLogEXT)); - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramPipelineivEXT = (Delegates.GetProgramPipelineivEXT)GetExtensionDelegateStatic("glGetProgramPipelineivEXT", typeof(Delegates.GetProgramPipelineivEXT)); - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryiv(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryiv = (Delegates.GetQueryiv)GetExtensionDelegateStatic("glGetQueryiv", typeof(Delegates.GetQueryiv)); - Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryivEXT(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryivEXT = (Delegates.GetQueryivEXT)GetExtensionDelegateStatic("glGetQueryivEXT", typeof(Delegates.GetQueryivEXT)); - Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - Delegates.glGetQueryObjecti64vEXT = (Delegates.GetQueryObjecti64vEXT)GetExtensionDelegateStatic("glGetQueryObjecti64vEXT", typeof(Delegates.GetQueryObjecti64vEXT)); - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params); - } - internal static unsafe void Load_GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryObjectivEXT = (Delegates.GetQueryObjectivEXT)GetExtensionDelegateStatic("glGetQueryObjectivEXT", typeof(Delegates.GetQueryObjectivEXT)); - Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetQueryObjectui64vEXT = (Delegates.GetQueryObjectui64vEXT)GetExtensionDelegateStatic("glGetQueryObjectui64vEXT", typeof(Delegates.GetQueryObjectui64vEXT)); - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params); - } - internal static unsafe void Load_GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetQueryObjectuiv = (Delegates.GetQueryObjectuiv)GetExtensionDelegateStatic("glGetQueryObjectuiv", typeof(Delegates.GetQueryObjectuiv)); - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetQueryObjectuivEXT = (Delegates.GetQueryObjectuivEXT)GetExtensionDelegateStatic("glGetQueryObjectuivEXT", typeof(Delegates.GetQueryObjectuivEXT)); - Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params) - { - Delegates.glGetSamplerParameterfv = (Delegates.GetSamplerParameterfv)GetExtensionDelegateStatic("glGetSamplerParameterfv", typeof(Delegates.GetSamplerParameterfv)); - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params); - } - internal static unsafe void Load_GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetSamplerParameteriv = (Delegates.GetSamplerParameteriv)GetExtensionDelegateStatic("glGetSamplerParameteriv", typeof(Delegates.GetSamplerParameteriv)); - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - } - internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - } - internal static IntPtr Load_GetString(OpenTK.Graphics.ES30.StringName name) - { - Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); - return Delegates.glGetString((OpenTK.Graphics.ES30.StringName)name); - } - internal static IntPtr Load_GetStringi(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index) - { - Delegates.glGetStringi = (Delegates.GetStringi)GetExtensionDelegateStatic("glGetStringi", typeof(Delegates.GetStringi)); - return Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index); - } - internal static unsafe void Load_GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - Delegates.glGetSynciv = (Delegates.GetSynciv)GetExtensionDelegateStatic("glGetSynciv", typeof(Delegates.GetSynciv)); - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - } - internal static unsafe void Load_GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - Delegates.glGetSyncivAPPLE = (Delegates.GetSyncivAPPLE)GetExtensionDelegateStatic("glGetSyncivAPPLE", typeof(Delegates.GetSyncivAPPLE)); - Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - } - internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); - Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); - Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetTransformFeedbackVarying = (Delegates.GetTransformFeedbackVarying)GetExtensionDelegateStatic("glGetTransformFeedbackVarying", typeof(Delegates.GetTransformFeedbackVarying)); - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - Delegates.glGetTranslatedShaderSourceANGLE = (Delegates.GetTranslatedShaderSourceANGLE)GetExtensionDelegateStatic("glGetTranslatedShaderSourceANGLE", typeof(Delegates.GetTranslatedShaderSourceANGLE)); - Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); - } - internal static Int32 Load_GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - Delegates.glGetUniformBlockIndex = (Delegates.GetUniformBlockIndex)GetExtensionDelegateStatic("glGetUniformBlockIndex", typeof(Delegates.GetUniformBlockIndex)); - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - } - internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - } - internal static unsafe void Load_GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - Delegates.glGetUniformIndices = (Delegates.GetUniformIndices)GetExtensionDelegateStatic("glGetUniformIndices", typeof(Delegates.GetUniformIndices)); - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - } - internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - } - internal static Int32 Load_GetUniformLocation(UInt32 program, String name) - { - Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - Delegates.glGetUniformuiv = (Delegates.GetUniformuiv)GetExtensionDelegateStatic("glGetUniformuiv", typeof(Delegates.GetUniformuiv)); - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - } - internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribIiv = (Delegates.GetVertexAttribIiv)GetExtensionDelegateStatic("glGetVertexAttribIiv", typeof(Delegates.GetVertexAttribIiv)); - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetVertexAttribIuiv = (Delegates.GetVertexAttribIuiv)GetExtensionDelegateStatic("glGetVertexAttribIuiv", typeof(Delegates.GetVertexAttribIuiv)); - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params); - } - internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer); - } - internal static void Load_Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode) - { - Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); - Delegates.glHint((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode); - } - internal static void Load_InsertEventMarkerEXT(Int32 length, String marker) - { - Delegates.glInsertEventMarkerEXT = (Delegates.InsertEventMarkerEXT)GetExtensionDelegateStatic("glInsertEventMarkerEXT", typeof(Delegates.InsertEventMarkerEXT)); - Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); - } - internal static unsafe void Load_InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments) - { - Delegates.glInvalidateFramebuffer = (Delegates.InvalidateFramebuffer)GetExtensionDelegateStatic("glInvalidateFramebuffer", typeof(Delegates.InvalidateFramebuffer)); - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments); - } - internal static unsafe void Load_InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glInvalidateSubFramebuffer = (Delegates.InvalidateSubFramebuffer)GetExtensionDelegateStatic("glInvalidateSubFramebuffer", typeof(Delegates.InvalidateSubFramebuffer)); - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static bool Load_IsBuffer(UInt32 buffer) - { - Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); - return Delegates.glIsBuffer((UInt32)buffer); - } - internal static bool Load_IsEnabled(OpenTK.Graphics.ES30.EnableCap cap) - { - Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); - return Delegates.glIsEnabled((OpenTK.Graphics.ES30.EnableCap)cap); - } - internal static bool Load_IsFenceNV(UInt32 fence) - { - Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); - return Delegates.glIsFenceNV((UInt32)fence); - } - internal static bool Load_IsFramebuffer(UInt32 framebuffer) - { - Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); - return Delegates.glIsFramebuffer((UInt32)framebuffer); - } - internal static bool Load_IsProgram(UInt32 program) - { - Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); - return Delegates.glIsProgram((UInt32)program); - } - internal static bool Load_IsProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glIsProgramPipelineEXT = (Delegates.IsProgramPipelineEXT)GetExtensionDelegateStatic("glIsProgramPipelineEXT", typeof(Delegates.IsProgramPipelineEXT)); - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - } - internal static bool Load_IsQuery(UInt32 id) - { - Delegates.glIsQuery = (Delegates.IsQuery)GetExtensionDelegateStatic("glIsQuery", typeof(Delegates.IsQuery)); - return Delegates.glIsQuery((UInt32)id); - } - internal static bool Load_IsQueryEXT(UInt32 id) - { - Delegates.glIsQueryEXT = (Delegates.IsQueryEXT)GetExtensionDelegateStatic("glIsQueryEXT", typeof(Delegates.IsQueryEXT)); - return Delegates.glIsQueryEXT((UInt32)id); - } - internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) - { - Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - } - internal static bool Load_IsSampler(UInt32 sampler) - { - Delegates.glIsSampler = (Delegates.IsSampler)GetExtensionDelegateStatic("glIsSampler", typeof(Delegates.IsSampler)); - return Delegates.glIsSampler((UInt32)sampler); - } - internal static bool Load_IsShader(UInt32 shader) - { - Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); - return Delegates.glIsShader((UInt32)shader); - } - internal static bool Load_IsSync(IntPtr sync) - { - Delegates.glIsSync = (Delegates.IsSync)GetExtensionDelegateStatic("glIsSync", typeof(Delegates.IsSync)); - return Delegates.glIsSync((IntPtr)sync); - } - internal static bool Load_IsSyncAPPLE(IntPtr sync) - { - Delegates.glIsSyncAPPLE = (Delegates.IsSyncAPPLE)GetExtensionDelegateStatic("glIsSyncAPPLE", typeof(Delegates.IsSyncAPPLE)); - return Delegates.glIsSyncAPPLE((IntPtr)sync); - } - internal static bool Load_IsTexture(UInt32 texture) - { - Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); - return Delegates.glIsTexture((UInt32)texture); - } - internal static bool Load_IsTransformFeedback(UInt32 id) - { - Delegates.glIsTransformFeedback = (Delegates.IsTransformFeedback)GetExtensionDelegateStatic("glIsTransformFeedback", typeof(Delegates.IsTransformFeedback)); - return Delegates.glIsTransformFeedback((UInt32)id); - } - internal static bool Load_IsVertexArray(UInt32 array) - { - Delegates.glIsVertexArray = (Delegates.IsVertexArray)GetExtensionDelegateStatic("glIsVertexArray", typeof(Delegates.IsVertexArray)); - return Delegates.glIsVertexArray((UInt32)array); - } - internal static bool Load_IsVertexArrayOES(UInt32 array) - { - Delegates.glIsVertexArrayOES = (Delegates.IsVertexArrayOES)GetExtensionDelegateStatic("glIsVertexArrayOES", typeof(Delegates.IsVertexArrayOES)); - return Delegates.glIsVertexArrayOES((UInt32)array); - } - internal static void Load_LabelObjectEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 length, String label) - { - Delegates.glLabelObjectEXT = (Delegates.LabelObjectEXT)GetExtensionDelegateStatic("glLabelObjectEXT", typeof(Delegates.LabelObjectEXT)); - Delegates.glLabelObjectEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)length, (String)label); - } - internal static void Load_LineWidth(Single width) - { - Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); - Delegates.glLineWidth((Single)width); - } - internal static void Load_LinkProgram(UInt32 program) - { - Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); - Delegates.glLinkProgram((UInt32)program); - } - internal static IntPtr Load_MapBufferOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All access) - { - Delegates.glMapBufferOES = (Delegates.MapBufferOES)GetExtensionDelegateStatic("glMapBufferOES", typeof(Delegates.MapBufferOES)); - return Delegates.glMapBufferOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)access); - } - internal static IntPtr Load_MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access) - { - Delegates.glMapBufferRange = (Delegates.MapBufferRange)GetExtensionDelegateStatic("glMapBufferRange", typeof(Delegates.MapBufferRange)); - return Delegates.glMapBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access); - } - internal static IntPtr Load_MapBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) - { - Delegates.glMapBufferRangeEXT = (Delegates.MapBufferRangeEXT)GetExtensionDelegateStatic("glMapBufferRangeEXT", typeof(Delegates.MapBufferRangeEXT)); - return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); - } - internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - } - internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); - Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); - Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - } - internal static void Load_PauseTransformFeedback() - { - Delegates.glPauseTransformFeedback = (Delegates.PauseTransformFeedback)GetExtensionDelegateStatic("glPauseTransformFeedback", typeof(Delegates.PauseTransformFeedback)); - Delegates.glPauseTransformFeedback(); - } - internal static void Load_PixelStorei(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param) - { - Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); - Delegates.glPixelStorei((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param); - } - internal static void Load_PolygonOffset(Single factor, Single units) - { - Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); - Delegates.glPolygonOffset((Single)factor, (Single)units); - } - internal static void Load_PopDebugGroup() - { - Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); - Delegates.glPopDebugGroup(); - } - internal static void Load_PopDebugGroupKHR() - { - Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); - Delegates.glPopDebugGroupKHR(); - } - internal static void Load_PopGroupMarkerEXT() - { - Delegates.glPopGroupMarkerEXT = (Delegates.PopGroupMarkerEXT)GetExtensionDelegateStatic("glPopGroupMarkerEXT", typeof(Delegates.PopGroupMarkerEXT)); - Delegates.glPopGroupMarkerEXT(); - } - internal static void Load_ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - Delegates.glProgramBinary = (Delegates.ProgramBinary)GetExtensionDelegateStatic("glProgramBinary", typeof(Delegates.ProgramBinary)); - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); - } - internal static void Load_ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) - { - Delegates.glProgramBinaryOES = (Delegates.ProgramBinaryOES)GetExtensionDelegateStatic("glProgramBinaryOES", typeof(Delegates.ProgramBinaryOES)); - Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); - } - internal static void Load_ProgramParameteri(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - Delegates.glProgramParameteri = (Delegates.ProgramParameteri)GetExtensionDelegateStatic("glProgramParameteri", typeof(Delegates.ProgramParameteri)); - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - } - internal static void Load_ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) - { - Delegates.glProgramParameteriEXT = (Delegates.ProgramParameteriEXT)GetExtensionDelegateStatic("glProgramParameteriEXT", typeof(Delegates.ProgramParameteriEXT)); - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); - } - internal static void Load_ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0) - { - Delegates.glProgramUniform1fEXT = (Delegates.ProgramUniform1fEXT)GetExtensionDelegateStatic("glProgramUniform1fEXT", typeof(Delegates.ProgramUniform1fEXT)); - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - } - internal static unsafe void Load_ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform1fvEXT = (Delegates.ProgramUniform1fvEXT)GetExtensionDelegateStatic("glProgramUniform1fvEXT", typeof(Delegates.ProgramUniform1fvEXT)); - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0) - { - Delegates.glProgramUniform1iEXT = (Delegates.ProgramUniform1iEXT)GetExtensionDelegateStatic("glProgramUniform1iEXT", typeof(Delegates.ProgramUniform1iEXT)); - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - } - internal static unsafe void Load_ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform1ivEXT = (Delegates.ProgramUniform1ivEXT)GetExtensionDelegateStatic("glProgramUniform1ivEXT", typeof(Delegates.ProgramUniform1ivEXT)); - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0) - { - Delegates.glProgramUniform1uiEXT = (Delegates.ProgramUniform1uiEXT)GetExtensionDelegateStatic("glProgramUniform1uiEXT", typeof(Delegates.ProgramUniform1uiEXT)); - Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); - } - internal static unsafe void Load_ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform1uivEXT = (Delegates.ProgramUniform1uivEXT)GetExtensionDelegateStatic("glProgramUniform1uivEXT", typeof(Delegates.ProgramUniform1uivEXT)); - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1) - { - Delegates.glProgramUniform2fEXT = (Delegates.ProgramUniform2fEXT)GetExtensionDelegateStatic("glProgramUniform2fEXT", typeof(Delegates.ProgramUniform2fEXT)); - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform2fvEXT = (Delegates.ProgramUniform2fvEXT)GetExtensionDelegateStatic("glProgramUniform2fvEXT", typeof(Delegates.ProgramUniform2fvEXT)); - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - Delegates.glProgramUniform2iEXT = (Delegates.ProgramUniform2iEXT)GetExtensionDelegateStatic("glProgramUniform2iEXT", typeof(Delegates.ProgramUniform2iEXT)); - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform2ivEXT = (Delegates.ProgramUniform2ivEXT)GetExtensionDelegateStatic("glProgramUniform2ivEXT", typeof(Delegates.ProgramUniform2ivEXT)); - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glProgramUniform2uiEXT = (Delegates.ProgramUniform2uiEXT)GetExtensionDelegateStatic("glProgramUniform2uiEXT", typeof(Delegates.ProgramUniform2uiEXT)); - Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static unsafe void Load_ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform2uivEXT = (Delegates.ProgramUniform2uivEXT)GetExtensionDelegateStatic("glProgramUniform2uivEXT", typeof(Delegates.ProgramUniform2uivEXT)); - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glProgramUniform3fEXT = (Delegates.ProgramUniform3fEXT)GetExtensionDelegateStatic("glProgramUniform3fEXT", typeof(Delegates.ProgramUniform3fEXT)); - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform3fvEXT = (Delegates.ProgramUniform3fvEXT)GetExtensionDelegateStatic("glProgramUniform3fvEXT", typeof(Delegates.ProgramUniform3fvEXT)); - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glProgramUniform3iEXT = (Delegates.ProgramUniform3iEXT)GetExtensionDelegateStatic("glProgramUniform3iEXT", typeof(Delegates.ProgramUniform3iEXT)); - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform3ivEXT = (Delegates.ProgramUniform3ivEXT)GetExtensionDelegateStatic("glProgramUniform3ivEXT", typeof(Delegates.ProgramUniform3ivEXT)); - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glProgramUniform3uiEXT = (Delegates.ProgramUniform3uiEXT)GetExtensionDelegateStatic("glProgramUniform3uiEXT", typeof(Delegates.ProgramUniform3uiEXT)); - Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static unsafe void Load_ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform3uivEXT = (Delegates.ProgramUniform3uivEXT)GetExtensionDelegateStatic("glProgramUniform3uivEXT", typeof(Delegates.ProgramUniform3uivEXT)); - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glProgramUniform4fEXT = (Delegates.ProgramUniform4fEXT)GetExtensionDelegateStatic("glProgramUniform4fEXT", typeof(Delegates.ProgramUniform4fEXT)); - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform4fvEXT = (Delegates.ProgramUniform4fvEXT)GetExtensionDelegateStatic("glProgramUniform4fvEXT", typeof(Delegates.ProgramUniform4fvEXT)); - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glProgramUniform4iEXT = (Delegates.ProgramUniform4iEXT)GetExtensionDelegateStatic("glProgramUniform4iEXT", typeof(Delegates.ProgramUniform4iEXT)); - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform4ivEXT = (Delegates.ProgramUniform4ivEXT)GetExtensionDelegateStatic("glProgramUniform4ivEXT", typeof(Delegates.ProgramUniform4ivEXT)); - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glProgramUniform4uiEXT = (Delegates.ProgramUniform4uiEXT)GetExtensionDelegateStatic("glProgramUniform4uiEXT", typeof(Delegates.ProgramUniform4uiEXT)); - Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static unsafe void Load_ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform4uivEXT = (Delegates.ProgramUniform4uivEXT)GetExtensionDelegateStatic("glProgramUniform4uivEXT", typeof(Delegates.ProgramUniform4uivEXT)); - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2fvEXT = (Delegates.ProgramUniformMatrix2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2fvEXT", typeof(Delegates.ProgramUniformMatrix2fvEXT)); - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x3fvEXT = (Delegates.ProgramUniformMatrix2x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fvEXT", typeof(Delegates.ProgramUniformMatrix2x3fvEXT)); - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x4fvEXT = (Delegates.ProgramUniformMatrix2x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fvEXT", typeof(Delegates.ProgramUniformMatrix2x4fvEXT)); - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3fvEXT = (Delegates.ProgramUniformMatrix3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3fvEXT", typeof(Delegates.ProgramUniformMatrix3fvEXT)); - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x2fvEXT = (Delegates.ProgramUniformMatrix3x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fvEXT", typeof(Delegates.ProgramUniformMatrix3x2fvEXT)); - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x4fvEXT = (Delegates.ProgramUniformMatrix3x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fvEXT", typeof(Delegates.ProgramUniformMatrix3x4fvEXT)); - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4fvEXT = (Delegates.ProgramUniformMatrix4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4fvEXT", typeof(Delegates.ProgramUniformMatrix4fvEXT)); - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x2fvEXT = (Delegates.ProgramUniformMatrix4x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fvEXT", typeof(Delegates.ProgramUniformMatrix4x2fvEXT)); - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x3fvEXT = (Delegates.ProgramUniformMatrix4x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fvEXT", typeof(Delegates.ProgramUniformMatrix4x3fvEXT)); - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static void Load_PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); - Delegates.glPushDebugGroup((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_PushGroupMarkerEXT(Int32 length, String marker) - { - Delegates.glPushGroupMarkerEXT = (Delegates.PushGroupMarkerEXT)GetExtensionDelegateStatic("glPushGroupMarkerEXT", typeof(Delegates.PushGroupMarkerEXT)); - Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); - } - internal static void Load_QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES30.All target) - { - Delegates.glQueryCounterEXT = (Delegates.QueryCounterEXT)GetExtensionDelegateStatic("glQueryCounterEXT", typeof(Delegates.QueryCounterEXT)); - Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES30.All)target); - } - internal static void Load_ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode) - { - Delegates.glReadBuffer = (Delegates.ReadBuffer)GetExtensionDelegateStatic("glReadBuffer", typeof(Delegates.ReadBuffer)); - Delegates.glReadBuffer((OpenTK.Graphics.ES30.ReadBufferMode)mode); - } - internal static void Load_ReadBufferIndexedEXT(OpenTK.Graphics.ES30.All src, Int32 index) - { - Delegates.glReadBufferIndexedEXT = (Delegates.ReadBufferIndexedEXT)GetExtensionDelegateStatic("glReadBufferIndexedEXT", typeof(Delegates.ReadBufferIndexedEXT)); - Delegates.glReadBufferIndexedEXT((OpenTK.Graphics.ES30.All)src, (Int32)index); - } - internal static void Load_ReadBufferNV(OpenTK.Graphics.ES30.All mode) - { - Delegates.glReadBufferNV = (Delegates.ReadBufferNV)GetExtensionDelegateStatic("glReadBufferNV", typeof(Delegates.ReadBufferNV)); - Delegates.glReadBufferNV((OpenTK.Graphics.ES30.All)mode); - } - internal static void Load_ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - Delegates.glReadnPixelsEXT = (Delegates.ReadnPixelsEXT)GetExtensionDelegateStatic("glReadnPixelsEXT", typeof(Delegates.ReadnPixelsEXT)); - Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data); - } - internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - } - internal static void Load_ReleaseShaderCompiler() - { - Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); - Delegates.glReleaseShaderCompiler(); - } - internal static void Load_RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); - Delegates.glRenderbufferStorage((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisample = (Delegates.RenderbufferStorageMultisample)GetExtensionDelegateStatic("glRenderbufferStorageMultisample", typeof(Delegates.RenderbufferStorageMultisample)); - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleANGLE = (Delegates.RenderbufferStorageMultisampleANGLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleANGLE", typeof(Delegates.RenderbufferStorageMultisampleANGLE)); - Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleAPPLE = (Delegates.RenderbufferStorageMultisampleAPPLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleAPPLE", typeof(Delegates.RenderbufferStorageMultisampleAPPLE)); - Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleIMG = (Delegates.RenderbufferStorageMultisampleIMG)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleIMG", typeof(Delegates.RenderbufferStorageMultisampleIMG)); - Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleNV = (Delegates.RenderbufferStorageMultisampleNV)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleNV", typeof(Delegates.RenderbufferStorageMultisampleNV)); - Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_ResolveMultisampleFramebufferAPPLE() - { - Delegates.glResolveMultisampleFramebufferAPPLE = (Delegates.ResolveMultisampleFramebufferAPPLE)GetExtensionDelegateStatic("glResolveMultisampleFramebufferAPPLE", typeof(Delegates.ResolveMultisampleFramebufferAPPLE)); - Delegates.glResolveMultisampleFramebufferAPPLE(); - } - internal static void Load_ResumeTransformFeedback() - { - Delegates.glResumeTransformFeedback = (Delegates.ResumeTransformFeedback)GetExtensionDelegateStatic("glResumeTransformFeedback", typeof(Delegates.ResumeTransformFeedback)); - Delegates.glResumeTransformFeedback(); - } - internal static void Load_SampleCoverage(Single value, bool invert) - { - Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); - Delegates.glSampleCoverage((Single)value, (bool)invert); - } - internal static void Load_SamplerParameterf(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param) - { - Delegates.glSamplerParameterf = (Delegates.SamplerParameterf)GetExtensionDelegateStatic("glSamplerParameterf", typeof(Delegates.SamplerParameterf)); - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param); - } - internal static unsafe void Load_SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param) - { - Delegates.glSamplerParameterfv = (Delegates.SamplerParameterfv)GetExtensionDelegateStatic("glSamplerParameterfv", typeof(Delegates.SamplerParameterfv)); - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param); - } - internal static void Load_SamplerParameteri(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param) - { - Delegates.glSamplerParameteri = (Delegates.SamplerParameteri)GetExtensionDelegateStatic("glSamplerParameteri", typeof(Delegates.SamplerParameteri)); - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param); - } - internal static unsafe void Load_SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param) - { - Delegates.glSamplerParameteriv = (Delegates.SamplerParameteriv)GetExtensionDelegateStatic("glSamplerParameteriv", typeof(Delegates.SamplerParameteriv)); - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param); - } - internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static unsafe void Load_SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - Delegates.glSelectPerfMonitorCountersAMD = (Delegates.SelectPerfMonitorCountersAMD)GetExtensionDelegateStatic("glSelectPerfMonitorCountersAMD", typeof(Delegates.SelectPerfMonitorCountersAMD)); - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - } - internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.ES30.All condition) - { - Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES30.All)condition); - } - internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) - { - Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - } - internal static void Load_StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) - { - Delegates.glStartTilingQCOM = (Delegates.StartTilingQCOM)GetExtensionDelegateStatic("glStartTilingQCOM", typeof(Delegates.StartTilingQCOM)); - Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); - } - internal static void Load_StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); - Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); - Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilMask(UInt32 mask) - { - Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); - Delegates.glStencilMask((UInt32)mask); - } - internal static void Load_StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask) - { - Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); - Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask); - } - internal static void Load_StencilOp(OpenTK.Graphics.ES30.StencilOp fail, OpenTK.Graphics.ES30.StencilOp zfail, OpenTK.Graphics.ES30.StencilOp zpass) - { - Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); - Delegates.glStencilOp((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass); - } - internal static void Load_StencilOpSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilOp sfail, OpenTK.Graphics.ES30.StencilOp dpfail, OpenTK.Graphics.ES30.StencilOp dppass) - { - Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); - Delegates.glStencilOpSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass); - } - internal static bool Load_TestFenceNV(UInt32 fence) - { - Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); - return Delegates.glTestFenceNV((UInt32)fence); - } - internal static void Load_TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); - Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - Delegates.glTexImage3D = (Delegates.TexImage3D)GetExtensionDelegateStatic("glTexImage3D", typeof(Delegates.TexImage3D)); - Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - Delegates.glTexImage3DOES = (Delegates.TexImage3DOES)GetExtensionDelegateStatic("glTexImage3DOES", typeof(Delegates.TexImage3DOES)); - Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexParameterf(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param) - { - Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); - Delegates.glTexParameterf((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param); - } - internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params) - { - Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); - Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params); - } - internal static void Load_TexParameteri(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param) - { - Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); - Delegates.glTexParameteri((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param); - } - internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); - Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params); - } - internal static void Load_TexStorage1DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) - { - Delegates.glTexStorage1DEXT = (Delegates.TexStorage1DEXT)GetExtensionDelegateStatic("glTexStorage1DEXT", typeof(Delegates.TexStorage1DEXT)); - Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width); - } - internal static void Load_TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glTexStorage2D = (Delegates.TexStorage2D)GetExtensionDelegateStatic("glTexStorage2D", typeof(Delegates.TexStorage2D)); - Delegates.glTexStorage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glTexStorage2DEXT = (Delegates.TexStorage2DEXT)GetExtensionDelegateStatic("glTexStorage2DEXT", typeof(Delegates.TexStorage2DEXT)); - Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTexStorage3D = (Delegates.TexStorage3D)GetExtensionDelegateStatic("glTexStorage3D", typeof(Delegates.TexStorage3D)); - Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTexStorage3DEXT = (Delegates.TexStorage3DEXT)GetExtensionDelegateStatic("glTexStorage3DEXT", typeof(Delegates.TexStorage3DEXT)); - Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); - Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage3D = (Delegates.TexSubImage3D)GetExtensionDelegateStatic("glTexSubImage3D", typeof(Delegates.TexSubImage3D)); - Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) - { - Delegates.glTexSubImage3DOES = (Delegates.TexSubImage3DOES)GetExtensionDelegateStatic("glTexSubImage3DOES", typeof(Delegates.TexSubImage3DOES)); - Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels); - } - internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) - { - Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width); - } - internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) - { - Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode) - { - Delegates.glTransformFeedbackVaryings = (Delegates.TransformFeedbackVaryings)GetExtensionDelegateStatic("glTransformFeedbackVaryings", typeof(Delegates.TransformFeedbackVaryings)); - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode); - } - internal static void Load_Uniform1f(Int32 location, Single v0) - { - Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); - Delegates.glUniform1f((Int32)location, (Single)v0); - } - internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform1i(Int32 location, Int32 v0) - { - Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); - Delegates.glUniform1i((Int32)location, (Int32)v0); - } - internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform1ui(Int32 location, UInt32 v0) - { - Delegates.glUniform1ui = (Delegates.Uniform1ui)GetExtensionDelegateStatic("glUniform1ui", typeof(Delegates.Uniform1ui)); - Delegates.glUniform1ui((Int32)location, (UInt32)v0); - } - internal static unsafe void Load_Uniform1uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform1uiv = (Delegates.Uniform1uiv)GetExtensionDelegateStatic("glUniform1uiv", typeof(Delegates.Uniform1uiv)); - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) - { - Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) - { - Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform2ui(Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glUniform2ui = (Delegates.Uniform2ui)GetExtensionDelegateStatic("glUniform2ui", typeof(Delegates.Uniform2ui)); - Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static unsafe void Load_Uniform2uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform2uiv = (Delegates.Uniform2uiv)GetExtensionDelegateStatic("glUniform2uiv", typeof(Delegates.Uniform2uiv)); - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glUniform3ui = (Delegates.Uniform3ui)GetExtensionDelegateStatic("glUniform3ui", typeof(Delegates.Uniform3ui)); - Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static unsafe void Load_Uniform3uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform3uiv = (Delegates.Uniform3uiv)GetExtensionDelegateStatic("glUniform3uiv", typeof(Delegates.Uniform3uiv)); - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glUniform4ui = (Delegates.Uniform4ui)GetExtensionDelegateStatic("glUniform4ui", typeof(Delegates.Uniform4ui)); - Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static unsafe void Load_Uniform4uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform4uiv = (Delegates.Uniform4uiv)GetExtensionDelegateStatic("glUniform4uiv", typeof(Delegates.Uniform4uiv)); - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - Delegates.glUniformBlockBinding = (Delegates.UniformBlockBinding)GetExtensionDelegateStatic("glUniformBlockBinding", typeof(Delegates.UniformBlockBinding)); - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - } - internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x3fv = (Delegates.UniformMatrix2x3fv)GetExtensionDelegateStatic("glUniformMatrix2x3fv", typeof(Delegates.UniformMatrix2x3fv)); - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x3fvNV = (Delegates.UniformMatrix2x3fvNV)GetExtensionDelegateStatic("glUniformMatrix2x3fvNV", typeof(Delegates.UniformMatrix2x3fvNV)); - Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x4fv = (Delegates.UniformMatrix2x4fv)GetExtensionDelegateStatic("glUniformMatrix2x4fv", typeof(Delegates.UniformMatrix2x4fv)); - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x4fvNV = (Delegates.UniformMatrix2x4fvNV)GetExtensionDelegateStatic("glUniformMatrix2x4fvNV", typeof(Delegates.UniformMatrix2x4fvNV)); - Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x2fv = (Delegates.UniformMatrix3x2fv)GetExtensionDelegateStatic("glUniformMatrix3x2fv", typeof(Delegates.UniformMatrix3x2fv)); - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x2fvNV = (Delegates.UniformMatrix3x2fvNV)GetExtensionDelegateStatic("glUniformMatrix3x2fvNV", typeof(Delegates.UniformMatrix3x2fvNV)); - Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x4fv = (Delegates.UniformMatrix3x4fv)GetExtensionDelegateStatic("glUniformMatrix3x4fv", typeof(Delegates.UniformMatrix3x4fv)); - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x4fvNV = (Delegates.UniformMatrix3x4fvNV)GetExtensionDelegateStatic("glUniformMatrix3x4fvNV", typeof(Delegates.UniformMatrix3x4fvNV)); - Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x2fv = (Delegates.UniformMatrix4x2fv)GetExtensionDelegateStatic("glUniformMatrix4x2fv", typeof(Delegates.UniformMatrix4x2fv)); - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x2fvNV = (Delegates.UniformMatrix4x2fvNV)GetExtensionDelegateStatic("glUniformMatrix4x2fvNV", typeof(Delegates.UniformMatrix4x2fvNV)); - Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x3fv = (Delegates.UniformMatrix4x3fv)GetExtensionDelegateStatic("glUniformMatrix4x3fv", typeof(Delegates.UniformMatrix4x3fv)); - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x3fvNV = (Delegates.UniformMatrix4x3fvNV)GetExtensionDelegateStatic("glUniformMatrix4x3fvNV", typeof(Delegates.UniformMatrix4x3fvNV)); - Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static bool Load_UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target) - { - Delegates.glUnmapBuffer = (Delegates.UnmapBuffer)GetExtensionDelegateStatic("glUnmapBuffer", typeof(Delegates.UnmapBuffer)); - return Delegates.glUnmapBuffer((OpenTK.Graphics.ES30.BufferTarget)target); - } - internal static bool Load_UnmapBufferOES(OpenTK.Graphics.ES30.BufferTarget target) - { - Delegates.glUnmapBufferOES = (Delegates.UnmapBufferOES)GetExtensionDelegateStatic("glUnmapBufferOES", typeof(Delegates.UnmapBufferOES)); - return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES30.BufferTarget)target); - } - internal static void Load_UseProgram(UInt32 program) - { - Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); - Delegates.glUseProgram((UInt32)program); - } - internal static void Load_UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program) - { - Delegates.glUseProgramStagesEXT = (Delegates.UseProgramStagesEXT)GetExtensionDelegateStatic("glUseProgramStagesEXT", typeof(Delegates.UseProgramStagesEXT)); - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - } - internal static void Load_UseShaderProgramEXT(OpenTK.Graphics.ES30.All type, UInt32 program) - { - Delegates.glUseShaderProgramEXT = (Delegates.UseShaderProgramEXT)GetExtensionDelegateStatic("glUseShaderProgramEXT", typeof(Delegates.UseShaderProgramEXT)); - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES30.All)type, (UInt32)program); - } - internal static void Load_ValidateProgram(UInt32 program) - { - Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); - Delegates.glValidateProgram((UInt32)program); - } - internal static void Load_ValidateProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glValidateProgramPipelineEXT = (Delegates.ValidateProgramPipelineEXT)GetExtensionDelegateStatic("glValidateProgramPipelineEXT", typeof(Delegates.ValidateProgramPipelineEXT)); - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - } - internal static void Load_VertexAttrib1f(UInt32 index, Single x) - { - Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - } - internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) - { - Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - } - internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) - { - Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisor = (Delegates.VertexAttribDivisor)GetExtensionDelegateStatic("glVertexAttribDivisor", typeof(Delegates.VertexAttribDivisor)); - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisorANGLE = (Delegates.VertexAttribDivisorANGLE)GetExtensionDelegateStatic("glVertexAttribDivisorANGLE", typeof(Delegates.VertexAttribDivisorANGLE)); - Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribDivisorEXT(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisorEXT = (Delegates.VertexAttribDivisorEXT)GetExtensionDelegateStatic("glVertexAttribDivisorEXT", typeof(Delegates.VertexAttribDivisorEXT)); - Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribDivisorNV(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisorNV = (Delegates.VertexAttribDivisorNV)GetExtensionDelegateStatic("glVertexAttribDivisorNV", typeof(Delegates.VertexAttribDivisorNV)); - Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glVertexAttribI4i = (Delegates.VertexAttribI4i)GetExtensionDelegateStatic("glVertexAttribI4i", typeof(Delegates.VertexAttribI4i)); - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_VertexAttribI4iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI4iv = (Delegates.VertexAttribI4iv)GetExtensionDelegateStatic("glVertexAttribI4iv", typeof(Delegates.VertexAttribI4iv)); - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - } - internal static void Load_VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - Delegates.glVertexAttribI4ui = (Delegates.VertexAttribI4ui)GetExtensionDelegateStatic("glVertexAttribI4ui", typeof(Delegates.VertexAttribI4ui)); - Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - } - internal static unsafe void Load_VertexAttribI4uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI4uiv = (Delegates.VertexAttribI4uiv)GetExtensionDelegateStatic("glVertexAttribI4uiv", typeof(Delegates.VertexAttribI4uiv)); - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - } - internal static void Load_VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribIPointer = (Delegates.VertexAttribIPointer)GetExtensionDelegateStatic("glVertexAttribIPointer", typeof(Delegates.VertexAttribIPointer)); - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) - { - Delegates.glWaitSync = (Delegates.WaitSync)GetExtensionDelegateStatic("glWaitSync", typeof(Delegates.WaitSync)); - Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); - } - internal static void Load_WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) - { - Delegates.glWaitSyncAPPLE = (Delegates.WaitSyncAPPLE)GetExtensionDelegateStatic("glWaitSyncAPPLE", typeof(Delegates.WaitSyncAPPLE)); - Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); + internal static void Load_ActiveProgramEXT(UInt32 program) + { + Delegates.glActiveProgramEXT = (Delegates.ActiveProgramEXT)GetExtensionDelegateStatic("glActiveProgramEXT", typeof(Delegates.ActiveProgramEXT)); + Delegates.glActiveProgramEXT((UInt32)program); + } + internal static void Load_ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program) + { + Delegates.glActiveShaderProgramEXT = (Delegates.ActiveShaderProgramEXT)GetExtensionDelegateStatic("glActiveShaderProgramEXT", typeof(Delegates.ActiveShaderProgramEXT)); + Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); + } + internal static void Load_ActiveTexture(OpenTK.Graphics.ES30.TextureUnit texture) + { + Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); + Delegates.glActiveTexture((OpenTK.Graphics.ES30.TextureUnit)texture); + } + internal static void Load_AlphaFuncQCOM(OpenTK.Graphics.ES30.All func, Single @ref) + { + Delegates.glAlphaFuncQCOM = (Delegates.AlphaFuncQCOM)GetExtensionDelegateStatic("glAlphaFuncQCOM", typeof(Delegates.AlphaFuncQCOM)); + Delegates.glAlphaFuncQCOM((OpenTK.Graphics.ES30.All)func, (Single)@ref); + } + internal static void Load_AttachShader(UInt32 program, UInt32 shader) + { + Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + } + internal static void Load_BeginPerfMonitorAMD(UInt32 monitor) + { + Delegates.glBeginPerfMonitorAMD = (Delegates.BeginPerfMonitorAMD)GetExtensionDelegateStatic("glBeginPerfMonitorAMD", typeof(Delegates.BeginPerfMonitorAMD)); + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + } + internal static void Load_BeginQuery(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) + { + Delegates.glBeginQuery = (Delegates.BeginQuery)GetExtensionDelegateStatic("glBeginQuery", typeof(Delegates.BeginQuery)); + Delegates.glBeginQuery((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); + } + internal static void Load_BeginQueryEXT(OpenTK.Graphics.ES30.QueryTarget target, UInt32 id) + { + Delegates.glBeginQueryEXT = (Delegates.BeginQueryEXT)GetExtensionDelegateStatic("glBeginQueryEXT", typeof(Delegates.BeginQueryEXT)); + Delegates.glBeginQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target, (UInt32)id); + } + internal static void Load_BeginTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType primitiveMode) + { + Delegates.glBeginTransformFeedback = (Delegates.BeginTransformFeedback)GetExtensionDelegateStatic("glBeginTransformFeedback", typeof(Delegates.BeginTransformFeedback)); + Delegates.glBeginTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackPrimitiveType)primitiveMode); + } + internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) + { + Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + } + internal static void Load_BindBuffer(OpenTK.Graphics.ES30.BufferTarget target, UInt32 buffer) + { + Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); + Delegates.glBindBuffer((OpenTK.Graphics.ES30.BufferTarget)target, (UInt32)buffer); + } + internal static void Load_BindBufferBase(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer) + { + Delegates.glBindBufferBase = (Delegates.BindBufferBase)GetExtensionDelegateStatic("glBindBufferBase", typeof(Delegates.BindBufferBase)); + Delegates.glBindBufferBase((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); + } + internal static void Load_BindBufferRange(OpenTK.Graphics.ES30.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glBindBufferRange = (Delegates.BindBufferRange)GetExtensionDelegateStatic("glBindBufferRange", typeof(Delegates.BindBufferRange)); + Delegates.glBindBufferRange((OpenTK.Graphics.ES30.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static void Load_BindFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, UInt32 framebuffer) + { + Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); + Delegates.glBindFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (UInt32)framebuffer); + } + internal static void Load_BindProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glBindProgramPipelineEXT = (Delegates.BindProgramPipelineEXT)GetExtensionDelegateStatic("glBindProgramPipelineEXT", typeof(Delegates.BindProgramPipelineEXT)); + Delegates.glBindProgramPipelineEXT((UInt32)pipeline); + } + internal static void Load_BindRenderbuffer(OpenTK.Graphics.ES30.RenderbufferTarget target, UInt32 renderbuffer) + { + Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); + Delegates.glBindRenderbuffer((OpenTK.Graphics.ES30.RenderbufferTarget)target, (UInt32)renderbuffer); + } + internal static void Load_BindSampler(UInt32 unit, UInt32 sampler) + { + Delegates.glBindSampler = (Delegates.BindSampler)GetExtensionDelegateStatic("glBindSampler", typeof(Delegates.BindSampler)); + Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); + } + internal static void Load_BindTexture(OpenTK.Graphics.ES30.TextureTarget target, UInt32 texture) + { + Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); + Delegates.glBindTexture((OpenTK.Graphics.ES30.TextureTarget)target, (UInt32)texture); + } + internal static void Load_BindTransformFeedback(OpenTK.Graphics.ES30.TransformFeedbackTarget target, UInt32 id) + { + Delegates.glBindTransformFeedback = (Delegates.BindTransformFeedback)GetExtensionDelegateStatic("glBindTransformFeedback", typeof(Delegates.BindTransformFeedback)); + Delegates.glBindTransformFeedback((OpenTK.Graphics.ES30.TransformFeedbackTarget)target, (UInt32)id); + } + internal static void Load_BindVertexArray(UInt32 array) + { + Delegates.glBindVertexArray = (Delegates.BindVertexArray)GetExtensionDelegateStatic("glBindVertexArray", typeof(Delegates.BindVertexArray)); + Delegates.glBindVertexArray((UInt32)array); + } + internal static void Load_BindVertexArrayOES(UInt32 array) + { + Delegates.glBindVertexArrayOES = (Delegates.BindVertexArrayOES)GetExtensionDelegateStatic("glBindVertexArrayOES", typeof(Delegates.BindVertexArrayOES)); + Delegates.glBindVertexArrayOES((UInt32)array); + } + internal static void Load_BlendBarrierNV() + { + Delegates.glBlendBarrierNV = (Delegates.BlendBarrierNV)GetExtensionDelegateStatic("glBlendBarrierNV", typeof(Delegates.BlendBarrierNV)); + Delegates.glBlendBarrierNV(); + } + internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); + Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_BlendEquation(OpenTK.Graphics.ES30.BlendEquationMode mode) + { + Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); + Delegates.glBlendEquation((OpenTK.Graphics.ES30.BlendEquationMode)mode); + } + internal static void Load_BlendEquationEXT(OpenTK.Graphics.ES30.BlendEquationMode mode) + { + Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); + Delegates.glBlendEquationEXT((OpenTK.Graphics.ES30.BlendEquationMode)mode); + } + internal static void Load_BlendEquationSeparate(OpenTK.Graphics.ES30.BlendEquationMode modeRGB, OpenTK.Graphics.ES30.BlendEquationMode modeAlpha) + { + Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); + Delegates.glBlendEquationSeparate((OpenTK.Graphics.ES30.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES30.BlendEquationMode)modeAlpha); + } + internal static void Load_BlendFunc(OpenTK.Graphics.ES30.BlendingFactorSrc sfactor, OpenTK.Graphics.ES30.BlendingFactorDest dfactor) + { + Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); + Delegates.glBlendFunc((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactor); + } + internal static void Load_BlendFuncSeparate(OpenTK.Graphics.ES30.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.ES30.BlendingFactorDest dfactorRGB, OpenTK.Graphics.ES30.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.ES30.BlendingFactorDest dfactorAlpha) + { + Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); + Delegates.glBlendFuncSeparate((OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.ES30.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.ES30.BlendingFactorDest)dfactorAlpha); + } + internal static void Load_BlendParameteriNV(OpenTK.Graphics.ES30.All pname, Int32 value) + { + Delegates.glBlendParameteriNV = (Delegates.BlendParameteriNV)GetExtensionDelegateStatic("glBlendParameteriNV", typeof(Delegates.BlendParameteriNV)); + Delegates.glBlendParameteriNV((OpenTK.Graphics.ES30.All)pname, (Int32)value); + } + internal static void Load_BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebuffer = (Delegates.BlitFramebuffer)GetExtensionDelegateStatic("glBlitFramebuffer", typeof(Delegates.BlitFramebuffer)); + Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); + } + internal static void Load_BlitFramebufferANGLE(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebufferANGLE = (Delegates.BlitFramebufferANGLE)GetExtensionDelegateStatic("glBlitFramebufferANGLE", typeof(Delegates.BlitFramebufferANGLE)); + Delegates.glBlitFramebufferANGLE((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); + } + internal static void Load_BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES30.ClearBufferMask mask, OpenTK.Graphics.ES30.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebufferNV = (Delegates.BlitFramebufferNV)GetExtensionDelegateStatic("glBlitFramebufferNV", typeof(Delegates.BlitFramebufferNV)); + Delegates.glBlitFramebufferNV((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES30.ClearBufferMask)mask, (OpenTK.Graphics.ES30.BlitFramebufferFilter)filter); + } + internal static void Load_BufferData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES30.BufferUsageHint usage) + { + Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); + Delegates.glBufferData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES30.BufferUsageHint)usage); + } + internal static void Load_BufferSubData(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); + Delegates.glBufferSubData((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static OpenTK.Graphics.ES30.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.ES30.FramebufferTarget target) + { + Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); + return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.ES30.FramebufferTarget)target); + } + internal static void Load_Clear(OpenTK.Graphics.ES30.ClearBufferMask mask) + { + Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); + Delegates.glClear((OpenTK.Graphics.ES30.ClearBufferMask)mask); + } + internal static void Load_ClearBufferfi(OpenTK.Graphics.ES30.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) + { + Delegates.glClearBufferfi = (Delegates.ClearBufferfi)GetExtensionDelegateStatic("glClearBufferfi", typeof(Delegates.ClearBufferfi)); + Delegates.glClearBufferfi((OpenTK.Graphics.ES30.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + } + internal static unsafe void Load_ClearBufferfv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Single* value) + { + Delegates.glClearBufferfv = (Delegates.ClearBufferfv)GetExtensionDelegateStatic("glClearBufferfv", typeof(Delegates.ClearBufferfv)); + Delegates.glClearBufferfv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + } + internal static unsafe void Load_ClearBufferiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, Int32* value) + { + Delegates.glClearBufferiv = (Delegates.ClearBufferiv)GetExtensionDelegateStatic("glClearBufferiv", typeof(Delegates.ClearBufferiv)); + Delegates.glClearBufferiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + } + internal static unsafe void Load_ClearBufferuiv(OpenTK.Graphics.ES30.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) + { + Delegates.glClearBufferuiv = (Delegates.ClearBufferuiv)GetExtensionDelegateStatic("glClearBufferuiv", typeof(Delegates.ClearBufferuiv)); + Delegates.glClearBufferuiv((OpenTK.Graphics.ES30.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + } + internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_ClearDepthf(Single d) + { + Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); + Delegates.glClearDepthf((Single)d); + } + internal static void Load_ClearStencil(Int32 s) + { + Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); + Delegates.glClearStencil((Int32)s); + } + internal static OpenTK.Graphics.ES30.WaitSyncStatus Load_ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) + { + Delegates.glClientWaitSync = (Delegates.ClientWaitSync)GetExtensionDelegateStatic("glClientWaitSync", typeof(Delegates.ClientWaitSync)); + return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); + } + internal static OpenTK.Graphics.ES30.WaitSyncStatus Load_ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout) + { + Delegates.glClientWaitSyncAPPLE = (Delegates.ClientWaitSyncAPPLE)GetExtensionDelegateStatic("glClientWaitSyncAPPLE", typeof(Delegates.ClientWaitSyncAPPLE)); + return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout); + } + internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) + { + Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + } + internal static void Load_CompileShader(UInt32 shader) + { + Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); + Delegates.glCompileShader((UInt32)shader); + } + internal static void Load_CompressedTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); + Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage3D = (Delegates.CompressedTexImage3D)GetExtensionDelegateStatic("glCompressedTexImage3D", typeof(Delegates.CompressedTexImage3D)); + Delegates.glCompressedTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage3DOES = (Delegates.CompressedTexImage3DOES)GetExtensionDelegateStatic("glCompressedTexImage3DOES", typeof(Delegates.CompressedTexImage3DOES)); + Delegates.glCompressedTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage3D = (Delegates.CompressedTexSubImage3D)GetExtensionDelegateStatic("glCompressedTexSubImage3D", typeof(Delegates.CompressedTexSubImage3D)); + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage3DOES = (Delegates.CompressedTexSubImage3DOES)GetExtensionDelegateStatic("glCompressedTexSubImage3DOES", typeof(Delegates.CompressedTexSubImage3DOES)); + Delegates.glCompressedTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CopyBufferSubData(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + Delegates.glCopyBufferSubData = (Delegates.CopyBufferSubData)GetExtensionDelegateStatic("glCopyBufferSubData", typeof(Delegates.CopyBufferSubData)); + Delegates.glCopyBufferSubData((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + } + internal static void Load_CopyBufferSubDataNV(OpenTK.Graphics.ES30.BufferTarget readTarget, OpenTK.Graphics.ES30.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + Delegates.glCopyBufferSubDataNV = (Delegates.CopyBufferSubDataNV)GetExtensionDelegateStatic("glCopyBufferSubDataNV", typeof(Delegates.CopyBufferSubDataNV)); + Delegates.glCopyBufferSubDataNV((OpenTK.Graphics.ES30.BufferTarget)readTarget, (OpenTK.Graphics.ES30.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + } + internal static void Load_CopyTexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); + Delegates.glCopyTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage3D = (Delegates.CopyTexSubImage3D)GetExtensionDelegateStatic("glCopyTexSubImage3D", typeof(Delegates.CopyTexSubImage3D)); + Delegates.glCopyTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage3DOES = (Delegates.CopyTexSubImage3DOES)GetExtensionDelegateStatic("glCopyTexSubImage3DOES", typeof(Delegates.CopyTexSubImage3DOES)); + Delegates.glCopyTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount) + { + Delegates.glCopyTextureLevelsAPPLE = (Delegates.CopyTextureLevelsAPPLE)GetExtensionDelegateStatic("glCopyTextureLevelsAPPLE", typeof(Delegates.CopyTextureLevelsAPPLE)); + Delegates.glCopyTextureLevelsAPPLE((UInt32)destinationTexture, (UInt32)sourceTexture, (Int32)sourceBaseLevel, (Int32)sourceLevelCount); + } + internal static void Load_CoverageMaskNV(bool mask) + { + Delegates.glCoverageMaskNV = (Delegates.CoverageMaskNV)GetExtensionDelegateStatic("glCoverageMaskNV", typeof(Delegates.CoverageMaskNV)); + Delegates.glCoverageMaskNV((bool)mask); + } + internal static void Load_CoverageOperationNV(OpenTK.Graphics.ES30.All operation) + { + Delegates.glCoverageOperationNV = (Delegates.CoverageOperationNV)GetExtensionDelegateStatic("glCoverageOperationNV", typeof(Delegates.CoverageOperationNV)); + Delegates.glCoverageOperationNV((OpenTK.Graphics.ES30.All)operation); + } + internal static Int32 Load_CreateProgram() + { + Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); + return Delegates.glCreateProgram(); + } + internal static Int32 Load_CreateShader(OpenTK.Graphics.ES30.ShaderType type) + { + Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); + return Delegates.glCreateShader((OpenTK.Graphics.ES30.ShaderType)type); + } + internal static Int32 Load_CreateShaderProgramEXT(OpenTK.Graphics.ES30.All type, String @string) + { + Delegates.glCreateShaderProgramEXT = (Delegates.CreateShaderProgramEXT)GetExtensionDelegateStatic("glCreateShaderProgramEXT", typeof(Delegates.CreateShaderProgramEXT)); + return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.ES30.All)type, (String)@string); + } + internal static Int32 Load_CreateShaderProgramvEXT(OpenTK.Graphics.ES30.All type, Int32 count, String[] strings) + { + Delegates.glCreateShaderProgramvEXT = (Delegates.CreateShaderProgramvEXT)GetExtensionDelegateStatic("glCreateShaderProgramvEXT", typeof(Delegates.CreateShaderProgramvEXT)); + return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.ES30.All)type, (Int32)count, (String[])strings); + } + internal static void Load_CullFace(OpenTK.Graphics.ES30.CullFaceMode mode) + { + Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); + Delegates.glCullFace((OpenTK.Graphics.ES30.CullFaceMode)mode); + } + internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) + { + Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); + Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); + } + internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) + { + Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); + Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); + } + internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); + Delegates.glDebugMessageControl((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.ES30.DebugSourceControl source, OpenTK.Graphics.ES30.DebugTypeControl type, OpenTK.Graphics.ES30.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); + Delegates.glDebugMessageControlKHR((OpenTK.Graphics.ES30.DebugSourceControl)source, (OpenTK.Graphics.ES30.DebugTypeControl)type, (OpenTK.Graphics.ES30.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static void Load_DebugMessageInsert(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); + Delegates.glDebugMessageInsert((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); + } + internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.ES30.DebugSourceExternal source, OpenTK.Graphics.ES30.DebugType type, UInt32 id, OpenTK.Graphics.ES30.DebugSeverity severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); + Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.ES30.DebugSourceExternal)source, (OpenTK.Graphics.ES30.DebugType)type, (UInt32)id, (OpenTK.Graphics.ES30.DebugSeverity)severity, (Int32)length, (String)buf); + } + internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } + internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) + { + Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_DeletePerfMonitorsAMD(Int32 n, UInt32* monitors) + { + Delegates.glDeletePerfMonitorsAMD = (Delegates.DeletePerfMonitorsAMD)GetExtensionDelegateStatic("glDeletePerfMonitorsAMD", typeof(Delegates.DeletePerfMonitorsAMD)); + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + } + internal static void Load_DeleteProgram(UInt32 program) + { + Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); + Delegates.glDeleteProgram((UInt32)program); + } + internal static unsafe void Load_DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines) + { + Delegates.glDeleteProgramPipelinesEXT = (Delegates.DeleteProgramPipelinesEXT)GetExtensionDelegateStatic("glDeleteProgramPipelinesEXT", typeof(Delegates.DeleteProgramPipelinesEXT)); + Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_DeleteQueries(Int32 n, UInt32* ids) + { + Delegates.glDeleteQueries = (Delegates.DeleteQueries)GetExtensionDelegateStatic("glDeleteQueries", typeof(Delegates.DeleteQueries)); + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteQueriesEXT(Int32 n, UInt32* ids) + { + Delegates.glDeleteQueriesEXT = (Delegates.DeleteQueriesEXT)GetExtensionDelegateStatic("glDeleteQueriesEXT", typeof(Delegates.DeleteQueriesEXT)); + Delegates.glDeleteQueriesEXT((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_DeleteSamplers(Int32 count, UInt32* samplers) + { + Delegates.glDeleteSamplers = (Delegates.DeleteSamplers)GetExtensionDelegateStatic("glDeleteSamplers", typeof(Delegates.DeleteSamplers)); + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); + } + internal static void Load_DeleteShader(UInt32 shader) + { + Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); + Delegates.glDeleteShader((UInt32)shader); + } + internal static void Load_DeleteSync(IntPtr sync) + { + Delegates.glDeleteSync = (Delegates.DeleteSync)GetExtensionDelegateStatic("glDeleteSync", typeof(Delegates.DeleteSync)); + Delegates.glDeleteSync((IntPtr)sync); + } + internal static void Load_DeleteSyncAPPLE(IntPtr sync) + { + Delegates.glDeleteSyncAPPLE = (Delegates.DeleteSyncAPPLE)GetExtensionDelegateStatic("glDeleteSyncAPPLE", typeof(Delegates.DeleteSyncAPPLE)); + Delegates.glDeleteSyncAPPLE((IntPtr)sync); + } + internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) + { + Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_DeleteTransformFeedbacks(Int32 n, UInt32* ids) + { + Delegates.glDeleteTransformFeedbacks = (Delegates.DeleteTransformFeedbacks)GetExtensionDelegateStatic("glDeleteTransformFeedbacks", typeof(Delegates.DeleteTransformFeedbacks)); + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteVertexArrays(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArrays = (Delegates.DeleteVertexArrays)GetExtensionDelegateStatic("glDeleteVertexArrays", typeof(Delegates.DeleteVertexArrays)); + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_DeleteVertexArraysOES(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArraysOES = (Delegates.DeleteVertexArraysOES)GetExtensionDelegateStatic("glDeleteVertexArraysOES", typeof(Delegates.DeleteVertexArraysOES)); + Delegates.glDeleteVertexArraysOES((Int32)n, (UInt32*)arrays); + } + internal static void Load_DepthFunc(OpenTK.Graphics.ES30.DepthFunction func) + { + Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); + Delegates.glDepthFunc((OpenTK.Graphics.ES30.DepthFunction)func); + } + internal static void Load_DepthMask(bool flag) + { + Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); + Delegates.glDepthMask((bool)flag); + } + internal static void Load_DepthRangef(Single n, Single f) + { + Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); + Delegates.glDepthRangef((Single)n, (Single)f); + } + internal static void Load_DetachShader(UInt32 program, UInt32 shader) + { + Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + } + internal static void Load_Disable(OpenTK.Graphics.ES30.EnableCap cap) + { + Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); + Delegates.glDisable((OpenTK.Graphics.ES30.EnableCap)cap); + } + internal static void Load_DisableDriverControlQCOM(UInt32 driverControl) + { + Delegates.glDisableDriverControlQCOM = (Delegates.DisableDriverControlQCOM)GetExtensionDelegateStatic("glDisableDriverControlQCOM", typeof(Delegates.DisableDriverControlQCOM)); + Delegates.glDisableDriverControlQCOM((UInt32)driverControl); + } + internal static void Load_DisableVertexAttribArray(UInt32 index) + { + Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); + Delegates.glDisableVertexAttribArray((UInt32)index); + } + internal static unsafe void Load_DiscardFramebufferEXT(OpenTK.Graphics.ES30.All target, Int32 numAttachments, OpenTK.Graphics.ES30.All* attachments) + { + Delegates.glDiscardFramebufferEXT = (Delegates.DiscardFramebufferEXT)GetExtensionDelegateStatic("glDiscardFramebufferEXT", typeof(Delegates.DiscardFramebufferEXT)); + Delegates.glDiscardFramebufferEXT((OpenTK.Graphics.ES30.All)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.All*)attachments); + } + internal static void Load_DrawArrays(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count) + { + Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); + Delegates.glDrawArrays((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count); + } + internal static void Load_DrawArraysInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) + { + Delegates.glDrawArraysInstanced = (Delegates.DrawArraysInstanced)GetExtensionDelegateStatic("glDrawArraysInstanced", typeof(Delegates.DrawArraysInstanced)); + Delegates.glDrawArraysInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); + } + internal static void Load_DrawArraysInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedANGLE = (Delegates.DrawArraysInstancedANGLE)GetExtensionDelegateStatic("glDrawArraysInstancedANGLE", typeof(Delegates.DrawArraysInstancedANGLE)); + Delegates.glDrawArraysInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); + } + internal static void Load_DrawArraysInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedEXT = (Delegates.DrawArraysInstancedEXT)GetExtensionDelegateStatic("glDrawArraysInstancedEXT", typeof(Delegates.DrawArraysInstancedEXT)); + Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); + } + internal static void Load_DrawArraysInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedNV = (Delegates.DrawArraysInstancedNV)GetExtensionDelegateStatic("glDrawArraysInstancedNV", typeof(Delegates.DrawArraysInstancedNV)); + Delegates.glDrawArraysInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); + } + internal static unsafe void Load_DrawBuffers(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) + { + Delegates.glDrawBuffers = (Delegates.DrawBuffers)GetExtensionDelegateStatic("glDrawBuffers", typeof(Delegates.DrawBuffers)); + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); + } + internal static unsafe void Load_DrawBuffersEXT(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) + { + Delegates.glDrawBuffersEXT = (Delegates.DrawBuffersEXT)GetExtensionDelegateStatic("glDrawBuffersEXT", typeof(Delegates.DrawBuffersEXT)); + Delegates.glDrawBuffersEXT((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); + } + internal static unsafe void Load_DrawBuffersIndexedEXT(Int32 n, OpenTK.Graphics.ES30.All* location, Int32* indices) + { + Delegates.glDrawBuffersIndexedEXT = (Delegates.DrawBuffersIndexedEXT)GetExtensionDelegateStatic("glDrawBuffersIndexedEXT", typeof(Delegates.DrawBuffersIndexedEXT)); + Delegates.glDrawBuffersIndexedEXT((Int32)n, (OpenTK.Graphics.ES30.All*)location, (Int32*)indices); + } + internal static unsafe void Load_DrawBuffersNV(Int32 n, OpenTK.Graphics.ES30.DrawBufferMode* bufs) + { + Delegates.glDrawBuffersNV = (Delegates.DrawBuffersNV)GetExtensionDelegateStatic("glDrawBuffersNV", typeof(Delegates.DrawBuffersNV)); + Delegates.glDrawBuffersNV((Int32)n, (OpenTK.Graphics.ES30.DrawBufferMode*)bufs); + } + internal static void Load_DrawElements(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); + Delegates.glDrawElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_DrawElementsInstanced(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 instancecount) + { + Delegates.glDrawElementsInstanced = (Delegates.DrawElementsInstanced)GetExtensionDelegateStatic("glDrawElementsInstanced", typeof(Delegates.DrawElementsInstanced)); + Delegates.glDrawElementsInstanced((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); + } + internal static void Load_DrawElementsInstancedANGLE(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedANGLE = (Delegates.DrawElementsInstancedANGLE)GetExtensionDelegateStatic("glDrawElementsInstancedANGLE", typeof(Delegates.DrawElementsInstancedANGLE)); + Delegates.glDrawElementsInstancedANGLE((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_DrawElementsInstancedEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedEXT = (Delegates.DrawElementsInstancedEXT)GetExtensionDelegateStatic("glDrawElementsInstancedEXT", typeof(Delegates.DrawElementsInstancedEXT)); + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_DrawElementsInstancedNV(OpenTK.Graphics.ES30.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedNV = (Delegates.DrawElementsInstancedNV)GetExtensionDelegateStatic("glDrawElementsInstancedNV", typeof(Delegates.DrawElementsInstancedNV)); + Delegates.glDrawElementsInstancedNV((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_DrawRangeElements(OpenTK.Graphics.ES30.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawRangeElements = (Delegates.DrawRangeElements)GetExtensionDelegateStatic("glDrawRangeElements", typeof(Delegates.DrawRangeElements)); + Delegates.glDrawRangeElements((OpenTK.Graphics.ES30.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES30.All target, IntPtr image) + { + Delegates.glEGLImageTargetRenderbufferStorageOES = (Delegates.EGLImageTargetRenderbufferStorageOES)GetExtensionDelegateStatic("glEGLImageTargetRenderbufferStorageOES", typeof(Delegates.EGLImageTargetRenderbufferStorageOES)); + Delegates.glEGLImageTargetRenderbufferStorageOES((OpenTK.Graphics.ES30.All)target, (IntPtr)image); + } + internal static void Load_EGLImageTargetTexture2DOES(OpenTK.Graphics.ES30.All target, IntPtr image) + { + Delegates.glEGLImageTargetTexture2DOES = (Delegates.EGLImageTargetTexture2DOES)GetExtensionDelegateStatic("glEGLImageTargetTexture2DOES", typeof(Delegates.EGLImageTargetTexture2DOES)); + Delegates.glEGLImageTargetTexture2DOES((OpenTK.Graphics.ES30.All)target, (IntPtr)image); + } + internal static void Load_Enable(OpenTK.Graphics.ES30.EnableCap cap) + { + Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); + Delegates.glEnable((OpenTK.Graphics.ES30.EnableCap)cap); + } + internal static void Load_EnableDriverControlQCOM(UInt32 driverControl) + { + Delegates.glEnableDriverControlQCOM = (Delegates.EnableDriverControlQCOM)GetExtensionDelegateStatic("glEnableDriverControlQCOM", typeof(Delegates.EnableDriverControlQCOM)); + Delegates.glEnableDriverControlQCOM((UInt32)driverControl); + } + internal static void Load_EnableVertexAttribArray(UInt32 index) + { + Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); + Delegates.glEnableVertexAttribArray((UInt32)index); + } + internal static void Load_EndPerfMonitorAMD(UInt32 monitor) + { + Delegates.glEndPerfMonitorAMD = (Delegates.EndPerfMonitorAMD)GetExtensionDelegateStatic("glEndPerfMonitorAMD", typeof(Delegates.EndPerfMonitorAMD)); + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + } + internal static void Load_EndQuery(OpenTK.Graphics.ES30.QueryTarget target) + { + Delegates.glEndQuery = (Delegates.EndQuery)GetExtensionDelegateStatic("glEndQuery", typeof(Delegates.EndQuery)); + Delegates.glEndQuery((OpenTK.Graphics.ES30.QueryTarget)target); + } + internal static void Load_EndQueryEXT(OpenTK.Graphics.ES30.QueryTarget target) + { + Delegates.glEndQueryEXT = (Delegates.EndQueryEXT)GetExtensionDelegateStatic("glEndQueryEXT", typeof(Delegates.EndQueryEXT)); + Delegates.glEndQueryEXT((OpenTK.Graphics.ES30.QueryTarget)target); + } + internal static void Load_EndTilingQCOM(UInt32 preserveMask) + { + Delegates.glEndTilingQCOM = (Delegates.EndTilingQCOM)GetExtensionDelegateStatic("glEndTilingQCOM", typeof(Delegates.EndTilingQCOM)); + Delegates.glEndTilingQCOM((UInt32)preserveMask); + } + internal static void Load_EndTransformFeedback() + { + Delegates.glEndTransformFeedback = (Delegates.EndTransformFeedback)GetExtensionDelegateStatic("glEndTransformFeedback", typeof(Delegates.EndTransformFeedback)); + Delegates.glEndTransformFeedback(); + } + internal static void Load_ExtGetBufferPointervQCOM(OpenTK.Graphics.ES30.All target, [OutAttribute] IntPtr @params) + { + Delegates.glExtGetBufferPointervQCOM = (Delegates.ExtGetBufferPointervQCOM)GetExtensionDelegateStatic("glExtGetBufferPointervQCOM", typeof(Delegates.ExtGetBufferPointervQCOM)); + Delegates.glExtGetBufferPointervQCOM((OpenTK.Graphics.ES30.All)target, (IntPtr)@params); + } + internal static unsafe void Load_ExtGetBuffersQCOM([OutAttribute] UInt32* buffers, Int32 maxBuffers, [OutAttribute] Int32* numBuffers) + { + Delegates.glExtGetBuffersQCOM = (Delegates.ExtGetBuffersQCOM)GetExtensionDelegateStatic("glExtGetBuffersQCOM", typeof(Delegates.ExtGetBuffersQCOM)); + Delegates.glExtGetBuffersQCOM((UInt32*)buffers, (Int32)maxBuffers, (Int32*)numBuffers); + } + internal static unsafe void Load_ExtGetFramebuffersQCOM([OutAttribute] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute] Int32* numFramebuffers) + { + Delegates.glExtGetFramebuffersQCOM = (Delegates.ExtGetFramebuffersQCOM)GetExtensionDelegateStatic("glExtGetFramebuffersQCOM", typeof(Delegates.ExtGetFramebuffersQCOM)); + Delegates.glExtGetFramebuffersQCOM((UInt32*)framebuffers, (Int32)maxFramebuffers, (Int32*)numFramebuffers); + } + internal static unsafe void Load_ExtGetProgramBinarySourceQCOM(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] StringBuilder source, [OutAttribute] Int32* length) + { + Delegates.glExtGetProgramBinarySourceQCOM = (Delegates.ExtGetProgramBinarySourceQCOM)GetExtensionDelegateStatic("glExtGetProgramBinarySourceQCOM", typeof(Delegates.ExtGetProgramBinarySourceQCOM)); + Delegates.glExtGetProgramBinarySourceQCOM((UInt32)program, (OpenTK.Graphics.ES30.All)shadertype, (StringBuilder)source, (Int32*)length); + } + internal static unsafe void Load_ExtGetProgramsQCOM([OutAttribute] UInt32* programs, Int32 maxPrograms, [OutAttribute] Int32* numPrograms) + { + Delegates.glExtGetProgramsQCOM = (Delegates.ExtGetProgramsQCOM)GetExtensionDelegateStatic("glExtGetProgramsQCOM", typeof(Delegates.ExtGetProgramsQCOM)); + Delegates.glExtGetProgramsQCOM((UInt32*)programs, (Int32)maxPrograms, (Int32*)numPrograms); + } + internal static unsafe void Load_ExtGetRenderbuffersQCOM([OutAttribute] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute] Int32* numRenderbuffers) + { + Delegates.glExtGetRenderbuffersQCOM = (Delegates.ExtGetRenderbuffersQCOM)GetExtensionDelegateStatic("glExtGetRenderbuffersQCOM", typeof(Delegates.ExtGetRenderbuffersQCOM)); + Delegates.glExtGetRenderbuffersQCOM((UInt32*)renderbuffers, (Int32)maxRenderbuffers, (Int32*)numRenderbuffers); + } + internal static unsafe void Load_ExtGetShadersQCOM([OutAttribute] UInt32* shaders, Int32 maxShaders, [OutAttribute] Int32* numShaders) + { + Delegates.glExtGetShadersQCOM = (Delegates.ExtGetShadersQCOM)GetExtensionDelegateStatic("glExtGetShadersQCOM", typeof(Delegates.ExtGetShadersQCOM)); + Delegates.glExtGetShadersQCOM((UInt32*)shaders, (Int32)maxShaders, (Int32*)numShaders); + } + internal static unsafe void Load_ExtGetTexLevelParameterivQCOM(UInt32 texture, OpenTK.Graphics.ES30.All face, Int32 level, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) + { + Delegates.glExtGetTexLevelParameterivQCOM = (Delegates.ExtGetTexLevelParameterivQCOM)GetExtensionDelegateStatic("glExtGetTexLevelParameterivQCOM", typeof(Delegates.ExtGetTexLevelParameterivQCOM)); + Delegates.glExtGetTexLevelParameterivQCOM((UInt32)texture, (OpenTK.Graphics.ES30.All)face, (Int32)level, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); + } + internal static void Load_ExtGetTexSubImageQCOM(OpenTK.Graphics.ES30.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, [OutAttribute] IntPtr texels) + { + Delegates.glExtGetTexSubImageQCOM = (Delegates.ExtGetTexSubImageQCOM)GetExtensionDelegateStatic("glExtGetTexSubImageQCOM", typeof(Delegates.ExtGetTexSubImageQCOM)); + Delegates.glExtGetTexSubImageQCOM((OpenTK.Graphics.ES30.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)texels); + } + internal static unsafe void Load_ExtGetTexturesQCOM([OutAttribute] UInt32* textures, Int32 maxTextures, [OutAttribute] Int32* numTextures) + { + Delegates.glExtGetTexturesQCOM = (Delegates.ExtGetTexturesQCOM)GetExtensionDelegateStatic("glExtGetTexturesQCOM", typeof(Delegates.ExtGetTexturesQCOM)); + Delegates.glExtGetTexturesQCOM((UInt32*)textures, (Int32)maxTextures, (Int32*)numTextures); + } + internal static bool Load_ExtIsProgramBinaryQCOM(UInt32 program) + { + Delegates.glExtIsProgramBinaryQCOM = (Delegates.ExtIsProgramBinaryQCOM)GetExtensionDelegateStatic("glExtIsProgramBinaryQCOM", typeof(Delegates.ExtIsProgramBinaryQCOM)); + return Delegates.glExtIsProgramBinaryQCOM((UInt32)program); + } + internal static void Load_ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All pname, Int32 param) + { + Delegates.glExtTexObjectStateOverrideiQCOM = (Delegates.ExtTexObjectStateOverrideiQCOM)GetExtensionDelegateStatic("glExtTexObjectStateOverrideiQCOM", typeof(Delegates.ExtTexObjectStateOverrideiQCOM)); + Delegates.glExtTexObjectStateOverrideiQCOM((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)pname, (Int32)param); + } + internal static IntPtr Load_FenceSync(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) + { + Delegates.glFenceSync = (Delegates.FenceSync)GetExtensionDelegateStatic("glFenceSync", typeof(Delegates.FenceSync)); + return Delegates.glFenceSync((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); + } + internal static IntPtr Load_FenceSyncAPPLE(OpenTK.Graphics.ES30.SyncCondition condition, OpenTK.Graphics.ES30.WaitSyncFlags flags) + { + Delegates.glFenceSyncAPPLE = (Delegates.FenceSyncAPPLE)GetExtensionDelegateStatic("glFenceSyncAPPLE", typeof(Delegates.FenceSyncAPPLE)); + return Delegates.glFenceSyncAPPLE((OpenTK.Graphics.ES30.SyncCondition)condition, (OpenTK.Graphics.ES30.WaitSyncFlags)flags); + } + internal static void Load_Finish() + { + Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); + Delegates.glFinish(); + } + internal static void Load_FinishFenceNV(UInt32 fence) + { + Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); + Delegates.glFinishFenceNV((UInt32)fence); + } + internal static void Load_Flush() + { + Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); + Delegates.glFlush(); + } + internal static void Load_FlushMappedBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) + { + Delegates.glFlushMappedBufferRange = (Delegates.FlushMappedBufferRange)GetExtensionDelegateStatic("glFlushMappedBufferRange", typeof(Delegates.FlushMappedBufferRange)); + Delegates.glFlushMappedBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + } + internal static void Load_FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length) + { + Delegates.glFlushMappedBufferRangeEXT = (Delegates.FlushMappedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedBufferRangeEXT", typeof(Delegates.FlushMappedBufferRangeEXT)); + Delegates.glFlushMappedBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + } + internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + } + internal static void Load_FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); + Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples) + { + Delegates.glFramebufferTexture2DMultisampleEXT = (Delegates.FramebufferTexture2DMultisampleEXT)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleEXT", typeof(Delegates.FramebufferTexture2DMultisampleEXT)); + Delegates.glFramebufferTexture2DMultisampleEXT((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); + } + internal static void Load_FramebufferTexture2DMultisampleIMG(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples) + { + Delegates.glFramebufferTexture2DMultisampleIMG = (Delegates.FramebufferTexture2DMultisampleIMG)GetExtensionDelegateStatic("glFramebufferTexture2DMultisampleIMG", typeof(Delegates.FramebufferTexture2DMultisampleIMG)); + Delegates.glFramebufferTexture2DMultisampleIMG((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)samples); + } + internal static void Load_FramebufferTexture3DOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + Delegates.glFramebufferTexture3DOES = (Delegates.FramebufferTexture3DOES)GetExtensionDelegateStatic("glFramebufferTexture3DOES", typeof(Delegates.FramebufferTexture3DOES)); + Delegates.glFramebufferTexture3DOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)attachment, (OpenTK.Graphics.ES30.All)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + } + internal static void Load_FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + Delegates.glFramebufferTextureLayer = (Delegates.FramebufferTextureLayer)GetExtensionDelegateStatic("glFramebufferTextureLayer", typeof(Delegates.FramebufferTextureLayer)); + Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + } + internal static void Load_FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode) + { + Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); + Delegates.glFrontFace((OpenTK.Graphics.ES30.FrontFaceDirection)mode); + } + internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + } + internal static void Load_GenerateMipmap(OpenTK.Graphics.ES30.TextureTarget target) + { + Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); + Delegates.glGenerateMipmap((OpenTK.Graphics.ES30.TextureTarget)target); + } + internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) + { + Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors) + { + Delegates.glGenPerfMonitorsAMD = (Delegates.GenPerfMonitorsAMD)GetExtensionDelegateStatic("glGenPerfMonitorsAMD", typeof(Delegates.GenPerfMonitorsAMD)); + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + } + internal static unsafe void Load_GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines) + { + Delegates.glGenProgramPipelinesEXT = (Delegates.GenProgramPipelinesEXT)GetExtensionDelegateStatic("glGenProgramPipelinesEXT", typeof(Delegates.GenProgramPipelinesEXT)); + Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_GenQueries(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenQueries = (Delegates.GenQueries)GetExtensionDelegateStatic("glGenQueries", typeof(Delegates.GenQueries)); + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenQueriesEXT(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenQueriesEXT = (Delegates.GenQueriesEXT)GetExtensionDelegateStatic("glGenQueriesEXT", typeof(Delegates.GenQueriesEXT)); + Delegates.glGenQueriesEXT((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) + { + Delegates.glGenSamplers = (Delegates.GenSamplers)GetExtensionDelegateStatic("glGenSamplers", typeof(Delegates.GenSamplers)); + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); + } + internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenTransformFeedbacks = (Delegates.GenTransformFeedbacks)GetExtensionDelegateStatic("glGenTransformFeedbacks", typeof(Delegates.GenTransformFeedbacks)); + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) + { + Delegates.glGenVertexArrays = (Delegates.GenVertexArrays)GetExtensionDelegateStatic("glGenVertexArrays", typeof(Delegates.GenVertexArrays)); + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_GenVertexArraysOES(Int32 n, [OutAttribute] UInt32* arrays) + { + Delegates.glGenVertexArraysOES = (Delegates.GenVertexArraysOES)GetExtensionDelegateStatic("glGenVertexArraysOES", typeof(Delegates.GenVertexArraysOES)); + Delegates.glGenVertexArraysOES((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveAttribType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.ActiveUniformType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES30.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveUniformBlockiv = (Delegates.GetActiveUniformBlockiv)GetExtensionDelegateStatic("glGetActiveUniformBlockiv", typeof(Delegates.GetActiveUniformBlockiv)); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES30.ActiveUniformBlockParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) + { + Delegates.glGetActiveUniformBlockName = (Delegates.GetActiveUniformBlockName)GetExtensionDelegateStatic("glGetActiveUniformBlockName", typeof(Delegates.GetActiveUniformBlockName)); + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); + } + internal static unsafe void Load_GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.ES30.ActiveUniformParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveUniformsiv = (Delegates.GetActiveUniformsiv)GetExtensionDelegateStatic("glGetActiveUniformsiv", typeof(Delegates.GetActiveUniformsiv)); + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES30.ActiveUniformParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) + { + Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); + } + internal static Int32 Load_GetAttribLocation(UInt32 program, String name) + { + Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] bool* data) + { + Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); + Delegates.glGetBooleanv((OpenTK.Graphics.ES30.GetPName)pname, (bool*)data); + } + internal static unsafe void Load_GetBufferParameteri64v(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int64* @params) + { + Delegates.glGetBufferParameteri64v = (Delegates.GetBufferParameteri64v)GetExtensionDelegateStatic("glGetBufferParameteri64v", typeof(Delegates.GetBufferParameteri64v)); + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int64*)@params); + } + internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); + Delegates.glGetBufferParameteriv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferParameterName)pname, (Int32*)@params); + } + internal static void Load_GetBufferPointerv(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetBufferPointerv = (Delegates.GetBufferPointerv)GetExtensionDelegateStatic("glGetBufferPointerv", typeof(Delegates.GetBufferPointerv)); + Delegates.glGetBufferPointerv((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); + } + internal static void Load_GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetBufferPointervOES = (Delegates.GetBufferPointervOES)GetExtensionDelegateStatic("glGetBufferPointervOES", typeof(Delegates.GetBufferPointervOES)); + Delegates.glGetBufferPointervOES((OpenTK.Graphics.ES30.BufferTarget)target, (OpenTK.Graphics.ES30.BufferPointer)pname, (IntPtr)@params); + } + internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); + return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); + return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe void Load_GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls) + { + Delegates.glGetDriverControlsQCOM = (Delegates.GetDriverControlsQCOM)GetExtensionDelegateStatic("glGetDriverControlsQCOM", typeof(Delegates.GetDriverControlsQCOM)); + Delegates.glGetDriverControlsQCOM((Int32*)num, (Int32)size, (UInt32*)driverControls); + } + internal static unsafe void Load_GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder driverControlString) + { + Delegates.glGetDriverControlStringQCOM = (Delegates.GetDriverControlStringQCOM)GetExtensionDelegateStatic("glGetDriverControlStringQCOM", typeof(Delegates.GetDriverControlStringQCOM)); + Delegates.glGetDriverControlStringQCOM((UInt32)driverControl, (Int32)bufSize, (Int32*)length, (StringBuilder)driverControlString); + } + internal static OpenTK.Graphics.ES30.ErrorCode Load_GetError() + { + Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); + return Delegates.glGetError(); + } + internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFloatv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Single* data) + { + Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); + Delegates.glGetFloatv((OpenTK.Graphics.ES30.GetPName)pname, (Single*)data); + } + internal static Int32 Load_GetFragDataLocation(UInt32 program, String name) + { + Delegates.glGetFragDataLocation = (Delegates.GetFragDataLocation)GetExtensionDelegateStatic("glGetFragDataLocation", typeof(Delegates.GetFragDataLocation)); + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.FramebufferParameterName)pname, (Int32*)@params); + } + internal static OpenTK.Graphics.ES30.All Load_GetGraphicsResetStatusEXT() + { + Delegates.glGetGraphicsResetStatusEXT = (Delegates.GetGraphicsResetStatusEXT)GetExtensionDelegateStatic("glGetGraphicsResetStatusEXT", typeof(Delegates.GetGraphicsResetStatusEXT)); + return Delegates.glGetGraphicsResetStatusEXT(); + } + internal static unsafe void Load_GetInteger64i_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) + { + Delegates.glGetInteger64i_v = (Delegates.GetInteger64i_v)GetExtensionDelegateStatic("glGetInteger64i_v", typeof(Delegates.GetInteger64i_v)); + Delegates.glGetInteger64i_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int64*)data); + } + internal static unsafe void Load_GetInteger64v(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data) + { + Delegates.glGetInteger64v = (Delegates.GetInteger64v)GetExtensionDelegateStatic("glGetInteger64v", typeof(Delegates.GetInteger64v)); + Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data); + } + internal static unsafe void Load_GetInteger64vAPPLE(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params) + { + Delegates.glGetInteger64vAPPLE = (Delegates.GetInteger64vAPPLE)GetExtensionDelegateStatic("glGetInteger64vAPPLE", typeof(Delegates.GetInteger64vAPPLE)); + Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params); + } + internal static unsafe void Load_GetIntegeri_v(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + Delegates.glGetIntegeri_v = (Delegates.GetIntegeri_v)GetExtensionDelegateStatic("glGetIntegeri_v", typeof(Delegates.GetIntegeri_v)); + Delegates.glGetIntegeri_v((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); + } + internal static unsafe void Load_GetIntegeri_vEXT(OpenTK.Graphics.ES30.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + Delegates.glGetIntegeri_vEXT = (Delegates.GetIntegeri_vEXT)GetExtensionDelegateStatic("glGetIntegeri_vEXT", typeof(Delegates.GetIntegeri_vEXT)); + Delegates.glGetIntegeri_vEXT((OpenTK.Graphics.ES30.GetIndexedPName)target, (UInt32)index, (Int32*)data); + } + internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int32* data) + { + Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); + Delegates.glGetIntegerv((OpenTK.Graphics.ES30.GetPName)pname, (Int32*)data); + } + internal static unsafe void Load_GetInternalformativ(OpenTK.Graphics.ES30.ImageTarget target, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, OpenTK.Graphics.ES30.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetInternalformativ = (Delegates.GetInternalformativ)GetExtensionDelegateStatic("glGetInternalformativ", typeof(Delegates.GetInternalformativ)); + Delegates.glGetInternalformativ((OpenTK.Graphics.ES30.ImageTarget)target, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES30.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); + } + internal static unsafe void Load_GetnUniformfvEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) + { + Delegates.glGetnUniformfvEXT = (Delegates.GetnUniformfvEXT)GetExtensionDelegateStatic("glGetnUniformfvEXT", typeof(Delegates.GetnUniformfvEXT)); + Delegates.glGetnUniformfvEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); + } + internal static unsafe void Load_GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetnUniformivEXT = (Delegates.GetnUniformivEXT)GetExtensionDelegateStatic("glGetnUniformivEXT", typeof(Delegates.GetnUniformivEXT)); + Delegates.glGetnUniformivEXT((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); + } + internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); + Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectLabelEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabelEXT = (Delegates.GetObjectLabelEXT)GetExtensionDelegateStatic("glGetObjectLabelEXT", typeof(Delegates.GetObjectLabelEXT)); + Delegates.glGetObjectLabelEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); + Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); + Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); + Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES30.All pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD = (Delegates.GetPerfMonitorCounterDataAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterDataAMD", typeof(Delegates.GetPerfMonitorCounterDataAMD)); + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.ES30.All)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + } + internal static void Load_GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr data) + { + Delegates.glGetPerfMonitorCounterInfoAMD = (Delegates.GetPerfMonitorCounterInfoAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterInfoAMD", typeof(Delegates.GetPerfMonitorCounterInfoAMD)); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.ES30.All)pname, (IntPtr)data); + } + internal static unsafe void Load_GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) + { + Delegates.glGetPerfMonitorCountersAMD = (Delegates.GetPerfMonitorCountersAMD)GetExtensionDelegateStatic("glGetPerfMonitorCountersAMD", typeof(Delegates.GetPerfMonitorCountersAMD)); + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + } + internal static unsafe void Load_GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) + { + Delegates.glGetPerfMonitorCounterStringAMD = (Delegates.GetPerfMonitorCounterStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterStringAMD", typeof(Delegates.GetPerfMonitorCounterStringAMD)); + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); + } + internal static unsafe void Load_GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) + { + Delegates.glGetPerfMonitorGroupsAMD = (Delegates.GetPerfMonitorGroupsAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupsAMD", typeof(Delegates.GetPerfMonitorGroupsAMD)); + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + } + internal static unsafe void Load_GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) + { + Delegates.glGetPerfMonitorGroupStringAMD = (Delegates.GetPerfMonitorGroupStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupStringAMD", typeof(Delegates.GetPerfMonitorGroupStringAMD)); + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); + } + internal static void Load_GetPointerv(OpenTK.Graphics.ES30.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); + Delegates.glGetPointerv((OpenTK.Graphics.ES30.GetPointervPName)pname, (IntPtr)@params); + } + internal static void Load_GetPointervKHR(OpenTK.Graphics.ES30.All pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); + Delegates.glGetPointervKHR((OpenTK.Graphics.ES30.All)pname, (IntPtr)@params); + } + internal static unsafe void Load_GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) + { + Delegates.glGetProgramBinary = (Delegates.GetProgramBinary)GetExtensionDelegateStatic("glGetProgramBinary", typeof(Delegates.GetProgramBinary)); + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); + } + internal static unsafe void Load_GetProgramBinaryOES(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute] IntPtr binary) + { + Delegates.glGetProgramBinaryOES = (Delegates.GetProgramBinaryOES)GetExtensionDelegateStatic("glGetProgramBinaryOES", typeof(Delegates.GetProgramBinaryOES)); + Delegates.glGetProgramBinaryOES((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES30.All*)binaryFormat, (IntPtr)binary); + } + internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.ES30.GetProgramParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.ES30.GetProgramParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramPipelineInfoLogEXT = (Delegates.GetProgramPipelineInfoLogEXT)GetExtensionDelegateStatic("glGetProgramPipelineInfoLogEXT", typeof(Delegates.GetProgramPipelineInfoLogEXT)); + Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramPipelineivEXT = (Delegates.GetProgramPipelineivEXT)GetExtensionDelegateStatic("glGetProgramPipelineivEXT", typeof(Delegates.GetProgramPipelineivEXT)); + Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryiv(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryiv = (Delegates.GetQueryiv)GetExtensionDelegateStatic("glGetQueryiv", typeof(Delegates.GetQueryiv)); + Delegates.glGetQueryiv((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryivEXT(OpenTK.Graphics.ES30.QueryTarget target, OpenTK.Graphics.ES30.GetQueryParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryivEXT = (Delegates.GetQueryivEXT)GetExtensionDelegateStatic("glGetQueryivEXT", typeof(Delegates.GetQueryivEXT)); + Delegates.glGetQueryivEXT((OpenTK.Graphics.ES30.QueryTarget)target, (OpenTK.Graphics.ES30.GetQueryParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int64* @params) + { + Delegates.glGetQueryObjecti64vEXT = (Delegates.GetQueryObjecti64vEXT)GetExtensionDelegateStatic("glGetQueryObjecti64vEXT", typeof(Delegates.GetQueryObjecti64vEXT)); + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int64*)@params); + } + internal static unsafe void Load_GetQueryObjectivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryObjectivEXT = (Delegates.GetQueryObjectivEXT)GetExtensionDelegateStatic("glGetQueryObjectivEXT", typeof(Delegates.GetQueryObjectivEXT)); + Delegates.glGetQueryObjectivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetQueryObjectui64vEXT = (Delegates.GetQueryObjectui64vEXT)GetExtensionDelegateStatic("glGetQueryObjectui64vEXT", typeof(Delegates.GetQueryObjectui64vEXT)); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt64*)@params); + } + internal static unsafe void Load_GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetQueryObjectuiv = (Delegates.GetQueryObjectuiv)GetExtensionDelegateStatic("glGetQueryObjectuiv", typeof(Delegates.GetQueryObjectuiv)); + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetQueryObjectuivEXT(UInt32 id, OpenTK.Graphics.ES30.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetQueryObjectuivEXT = (Delegates.GetQueryObjectuivEXT)GetExtensionDelegateStatic("glGetQueryObjectuivEXT", typeof(Delegates.GetQueryObjectuivEXT)); + Delegates.glGetQueryObjectuivEXT((UInt32)id, (OpenTK.Graphics.ES30.GetQueryObjectParam)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Single* @params) + { + Delegates.glGetSamplerParameterfv = (Delegates.GetSamplerParameterfv)GetExtensionDelegateStatic("glGetSamplerParameterfv", typeof(Delegates.GetSamplerParameterfv)); + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)@params); + } + internal static unsafe void Load_GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetSamplerParameteriv = (Delegates.GetSamplerParameteriv)GetExtensionDelegateStatic("glGetSamplerParameteriv", typeof(Delegates.GetSamplerParameteriv)); + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.ES30.ShaderParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.ES30.ShaderParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.ES30.ShaderType shadertype, OpenTK.Graphics.ES30.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.ES30.ShaderType)shadertype, (OpenTK.Graphics.ES30.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); + } + internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); + } + internal static IntPtr Load_GetString(OpenTK.Graphics.ES30.StringName name) + { + Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); + return Delegates.glGetString((OpenTK.Graphics.ES30.StringName)name); + } + internal static IntPtr Load_GetStringi(OpenTK.Graphics.ES30.StringNameIndexed name, UInt32 index) + { + Delegates.glGetStringi = (Delegates.GetStringi)GetExtensionDelegateStatic("glGetStringi", typeof(Delegates.GetStringi)); + return Delegates.glGetStringi((OpenTK.Graphics.ES30.StringNameIndexed)name, (UInt32)index); + } + internal static unsafe void Load_GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + Delegates.glGetSynciv = (Delegates.GetSynciv)GetExtensionDelegateStatic("glGetSynciv", typeof(Delegates.GetSynciv)); + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + } + internal static unsafe void Load_GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + Delegates.glGetSyncivAPPLE = (Delegates.GetSyncivAPPLE)GetExtensionDelegateStatic("glGetSyncivAPPLE", typeof(Delegates.GetSyncivAPPLE)); + Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + } + internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); + Delegates.glGetTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); + Delegates.glGetTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.GetTextureParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES30.TransformFeedbackType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetTransformFeedbackVarying = (Delegates.GetTransformFeedbackVarying)GetExtensionDelegateStatic("glGetTransformFeedbackVarying", typeof(Delegates.GetTransformFeedbackVarying)); + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES30.TransformFeedbackType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + Delegates.glGetTranslatedShaderSourceANGLE = (Delegates.GetTranslatedShaderSourceANGLE)GetExtensionDelegateStatic("glGetTranslatedShaderSourceANGLE", typeof(Delegates.GetTranslatedShaderSourceANGLE)); + Delegates.glGetTranslatedShaderSourceANGLE((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); + } + internal static Int32 Load_GetUniformBlockIndex(UInt32 program, String uniformBlockName) + { + Delegates.glGetUniformBlockIndex = (Delegates.GetUniformBlockIndex)GetExtensionDelegateStatic("glGetUniformBlockIndex", typeof(Delegates.GetUniformBlockIndex)); + return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); + } + internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) + { + Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + } + internal static unsafe void Load_GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) + { + Delegates.glGetUniformIndices = (Delegates.GetUniformIndices)GetExtensionDelegateStatic("glGetUniformIndices", typeof(Delegates.GetUniformIndices)); + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + } + internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) + { + Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + } + internal static Int32 Load_GetUniformLocation(UInt32 program, String name) + { + Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) + { + Delegates.glGetUniformuiv = (Delegates.GetUniformuiv)GetExtensionDelegateStatic("glGetUniformuiv", typeof(Delegates.GetUniformuiv)); + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); + } + internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribIiv = (Delegates.GetVertexAttribIiv)GetExtensionDelegateStatic("glGetVertexAttribIiv", typeof(Delegates.GetVertexAttribIiv)); + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.ES30.All pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetVertexAttribIuiv = (Delegates.GetVertexAttribIuiv)GetExtensionDelegateStatic("glGetVertexAttribIuiv", typeof(Delegates.GetVertexAttribIuiv)); + Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES30.All)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribParameter)pname, (Int32*)@params); + } + internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES30.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES30.VertexAttribPointerParameter)pname, (IntPtr)pointer); + } + internal static void Load_Hint(OpenTK.Graphics.ES30.HintTarget target, OpenTK.Graphics.ES30.HintMode mode) + { + Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); + Delegates.glHint((OpenTK.Graphics.ES30.HintTarget)target, (OpenTK.Graphics.ES30.HintMode)mode); + } + internal static void Load_InsertEventMarkerEXT(Int32 length, String marker) + { + Delegates.glInsertEventMarkerEXT = (Delegates.InsertEventMarkerEXT)GetExtensionDelegateStatic("glInsertEventMarkerEXT", typeof(Delegates.InsertEventMarkerEXT)); + Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); + } + internal static unsafe void Load_InvalidateFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments) + { + Delegates.glInvalidateFramebuffer = (Delegates.InvalidateFramebuffer)GetExtensionDelegateStatic("glInvalidateFramebuffer", typeof(Delegates.InvalidateFramebuffer)); + Delegates.glInvalidateFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments); + } + internal static unsafe void Load_InvalidateSubFramebuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES30.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glInvalidateSubFramebuffer = (Delegates.InvalidateSubFramebuffer)GetExtensionDelegateStatic("glInvalidateSubFramebuffer", typeof(Delegates.InvalidateSubFramebuffer)); + Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES30.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static bool Load_IsBuffer(UInt32 buffer) + { + Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); + return Delegates.glIsBuffer((UInt32)buffer); + } + internal static bool Load_IsEnabled(OpenTK.Graphics.ES30.EnableCap cap) + { + Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); + return Delegates.glIsEnabled((OpenTK.Graphics.ES30.EnableCap)cap); + } + internal static bool Load_IsFenceNV(UInt32 fence) + { + Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); + return Delegates.glIsFenceNV((UInt32)fence); + } + internal static bool Load_IsFramebuffer(UInt32 framebuffer) + { + Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); + return Delegates.glIsFramebuffer((UInt32)framebuffer); + } + internal static bool Load_IsProgram(UInt32 program) + { + Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); + return Delegates.glIsProgram((UInt32)program); + } + internal static bool Load_IsProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glIsProgramPipelineEXT = (Delegates.IsProgramPipelineEXT)GetExtensionDelegateStatic("glIsProgramPipelineEXT", typeof(Delegates.IsProgramPipelineEXT)); + return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); + } + internal static bool Load_IsQuery(UInt32 id) + { + Delegates.glIsQuery = (Delegates.IsQuery)GetExtensionDelegateStatic("glIsQuery", typeof(Delegates.IsQuery)); + return Delegates.glIsQuery((UInt32)id); + } + internal static bool Load_IsQueryEXT(UInt32 id) + { + Delegates.glIsQueryEXT = (Delegates.IsQueryEXT)GetExtensionDelegateStatic("glIsQueryEXT", typeof(Delegates.IsQueryEXT)); + return Delegates.glIsQueryEXT((UInt32)id); + } + internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) + { + Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + } + internal static bool Load_IsSampler(UInt32 sampler) + { + Delegates.glIsSampler = (Delegates.IsSampler)GetExtensionDelegateStatic("glIsSampler", typeof(Delegates.IsSampler)); + return Delegates.glIsSampler((UInt32)sampler); + } + internal static bool Load_IsShader(UInt32 shader) + { + Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); + return Delegates.glIsShader((UInt32)shader); + } + internal static bool Load_IsSync(IntPtr sync) + { + Delegates.glIsSync = (Delegates.IsSync)GetExtensionDelegateStatic("glIsSync", typeof(Delegates.IsSync)); + return Delegates.glIsSync((IntPtr)sync); + } + internal static bool Load_IsSyncAPPLE(IntPtr sync) + { + Delegates.glIsSyncAPPLE = (Delegates.IsSyncAPPLE)GetExtensionDelegateStatic("glIsSyncAPPLE", typeof(Delegates.IsSyncAPPLE)); + return Delegates.glIsSyncAPPLE((IntPtr)sync); + } + internal static bool Load_IsTexture(UInt32 texture) + { + Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); + return Delegates.glIsTexture((UInt32)texture); + } + internal static bool Load_IsTransformFeedback(UInt32 id) + { + Delegates.glIsTransformFeedback = (Delegates.IsTransformFeedback)GetExtensionDelegateStatic("glIsTransformFeedback", typeof(Delegates.IsTransformFeedback)); + return Delegates.glIsTransformFeedback((UInt32)id); + } + internal static bool Load_IsVertexArray(UInt32 array) + { + Delegates.glIsVertexArray = (Delegates.IsVertexArray)GetExtensionDelegateStatic("glIsVertexArray", typeof(Delegates.IsVertexArray)); + return Delegates.glIsVertexArray((UInt32)array); + } + internal static bool Load_IsVertexArrayOES(UInt32 array) + { + Delegates.glIsVertexArrayOES = (Delegates.IsVertexArrayOES)GetExtensionDelegateStatic("glIsVertexArrayOES", typeof(Delegates.IsVertexArrayOES)); + return Delegates.glIsVertexArrayOES((UInt32)array); + } + internal static void Load_LabelObjectEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 length, String label) + { + Delegates.glLabelObjectEXT = (Delegates.LabelObjectEXT)GetExtensionDelegateStatic("glLabelObjectEXT", typeof(Delegates.LabelObjectEXT)); + Delegates.glLabelObjectEXT((OpenTK.Graphics.ES30.All)type, (UInt32)@object, (Int32)length, (String)label); + } + internal static void Load_LineWidth(Single width) + { + Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); + Delegates.glLineWidth((Single)width); + } + internal static void Load_LinkProgram(UInt32 program) + { + Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); + Delegates.glLinkProgram((UInt32)program); + } + internal static IntPtr Load_MapBufferOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All access) + { + Delegates.glMapBufferOES = (Delegates.MapBufferOES)GetExtensionDelegateStatic("glMapBufferOES", typeof(Delegates.MapBufferOES)); + return Delegates.glMapBufferOES((OpenTK.Graphics.ES30.All)target, (OpenTK.Graphics.ES30.All)access); + } + internal static IntPtr Load_MapBufferRange(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES30.BufferAccessMask access) + { + Delegates.glMapBufferRange = (Delegates.MapBufferRange)GetExtensionDelegateStatic("glMapBufferRange", typeof(Delegates.MapBufferRange)); + return Delegates.glMapBufferRange((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES30.BufferAccessMask)access); + } + internal static IntPtr Load_MapBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length, UInt32 access) + { + Delegates.glMapBufferRangeEXT = (Delegates.MapBufferRangeEXT)GetExtensionDelegateStatic("glMapBufferRangeEXT", typeof(Delegates.MapBufferRangeEXT)); + return Delegates.glMapBufferRangeEXT((OpenTK.Graphics.ES30.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (UInt32)access); + } + internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.ES30.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.ES30.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); + Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); + Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); + Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); + Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); + } + internal static void Load_PauseTransformFeedback() + { + Delegates.glPauseTransformFeedback = (Delegates.PauseTransformFeedback)GetExtensionDelegateStatic("glPauseTransformFeedback", typeof(Delegates.PauseTransformFeedback)); + Delegates.glPauseTransformFeedback(); + } + internal static void Load_PixelStorei(OpenTK.Graphics.ES30.PixelStoreParameter pname, Int32 param) + { + Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); + Delegates.glPixelStorei((OpenTK.Graphics.ES30.PixelStoreParameter)pname, (Int32)param); + } + internal static void Load_PolygonOffset(Single factor, Single units) + { + Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); + Delegates.glPolygonOffset((Single)factor, (Single)units); + } + internal static void Load_PopDebugGroup() + { + Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); + Delegates.glPopDebugGroup(); + } + internal static void Load_PopDebugGroupKHR() + { + Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); + Delegates.glPopDebugGroupKHR(); + } + internal static void Load_PopGroupMarkerEXT() + { + Delegates.glPopGroupMarkerEXT = (Delegates.PopGroupMarkerEXT)GetExtensionDelegateStatic("glPopGroupMarkerEXT", typeof(Delegates.PopGroupMarkerEXT)); + Delegates.glPopGroupMarkerEXT(); + } + internal static void Load_ProgramBinary(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) + { + Delegates.glProgramBinary = (Delegates.ProgramBinary)GetExtensionDelegateStatic("glProgramBinary", typeof(Delegates.ProgramBinary)); + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); + } + internal static void Load_ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES30.All binaryFormat, IntPtr binary, Int32 length) + { + Delegates.glProgramBinaryOES = (Delegates.ProgramBinaryOES)GetExtensionDelegateStatic("glProgramBinaryOES", typeof(Delegates.ProgramBinaryOES)); + Delegates.glProgramBinaryOES((UInt32)program, (OpenTK.Graphics.ES30.All)binaryFormat, (IntPtr)binary, (Int32)length); + } + internal static void Load_ProgramParameteri(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) + { + Delegates.glProgramParameteri = (Delegates.ProgramParameteri)GetExtensionDelegateStatic("glProgramParameteri", typeof(Delegates.ProgramParameteri)); + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); + } + internal static void Load_ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.ES30.ProgramParameterName pname, Int32 value) + { + Delegates.glProgramParameteriEXT = (Delegates.ProgramParameteriEXT)GetExtensionDelegateStatic("glProgramParameteriEXT", typeof(Delegates.ProgramParameteriEXT)); + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.ES30.ProgramParameterName)pname, (Int32)value); + } + internal static void Load_ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0) + { + Delegates.glProgramUniform1fEXT = (Delegates.ProgramUniform1fEXT)GetExtensionDelegateStatic("glProgramUniform1fEXT", typeof(Delegates.ProgramUniform1fEXT)); + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + } + internal static unsafe void Load_ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform1fvEXT = (Delegates.ProgramUniform1fvEXT)GetExtensionDelegateStatic("glProgramUniform1fvEXT", typeof(Delegates.ProgramUniform1fvEXT)); + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0) + { + Delegates.glProgramUniform1iEXT = (Delegates.ProgramUniform1iEXT)GetExtensionDelegateStatic("glProgramUniform1iEXT", typeof(Delegates.ProgramUniform1iEXT)); + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + } + internal static unsafe void Load_ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform1ivEXT = (Delegates.ProgramUniform1ivEXT)GetExtensionDelegateStatic("glProgramUniform1ivEXT", typeof(Delegates.ProgramUniform1ivEXT)); + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0) + { + Delegates.glProgramUniform1uiEXT = (Delegates.ProgramUniform1uiEXT)GetExtensionDelegateStatic("glProgramUniform1uiEXT", typeof(Delegates.ProgramUniform1uiEXT)); + Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); + } + internal static unsafe void Load_ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform1uivEXT = (Delegates.ProgramUniform1uivEXT)GetExtensionDelegateStatic("glProgramUniform1uivEXT", typeof(Delegates.ProgramUniform1uivEXT)); + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1) + { + Delegates.glProgramUniform2fEXT = (Delegates.ProgramUniform2fEXT)GetExtensionDelegateStatic("glProgramUniform2fEXT", typeof(Delegates.ProgramUniform2fEXT)); + Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform2fvEXT = (Delegates.ProgramUniform2fvEXT)GetExtensionDelegateStatic("glProgramUniform2fvEXT", typeof(Delegates.ProgramUniform2fvEXT)); + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + Delegates.glProgramUniform2iEXT = (Delegates.ProgramUniform2iEXT)GetExtensionDelegateStatic("glProgramUniform2iEXT", typeof(Delegates.ProgramUniform2iEXT)); + Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform2ivEXT = (Delegates.ProgramUniform2ivEXT)GetExtensionDelegateStatic("glProgramUniform2ivEXT", typeof(Delegates.ProgramUniform2ivEXT)); + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glProgramUniform2uiEXT = (Delegates.ProgramUniform2uiEXT)GetExtensionDelegateStatic("glProgramUniform2uiEXT", typeof(Delegates.ProgramUniform2uiEXT)); + Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static unsafe void Load_ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform2uivEXT = (Delegates.ProgramUniform2uivEXT)GetExtensionDelegateStatic("glProgramUniform2uivEXT", typeof(Delegates.ProgramUniform2uivEXT)); + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glProgramUniform3fEXT = (Delegates.ProgramUniform3fEXT)GetExtensionDelegateStatic("glProgramUniform3fEXT", typeof(Delegates.ProgramUniform3fEXT)); + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform3fvEXT = (Delegates.ProgramUniform3fvEXT)GetExtensionDelegateStatic("glProgramUniform3fvEXT", typeof(Delegates.ProgramUniform3fvEXT)); + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glProgramUniform3iEXT = (Delegates.ProgramUniform3iEXT)GetExtensionDelegateStatic("glProgramUniform3iEXT", typeof(Delegates.ProgramUniform3iEXT)); + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform3ivEXT = (Delegates.ProgramUniform3ivEXT)GetExtensionDelegateStatic("glProgramUniform3ivEXT", typeof(Delegates.ProgramUniform3ivEXT)); + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glProgramUniform3uiEXT = (Delegates.ProgramUniform3uiEXT)GetExtensionDelegateStatic("glProgramUniform3uiEXT", typeof(Delegates.ProgramUniform3uiEXT)); + Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static unsafe void Load_ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform3uivEXT = (Delegates.ProgramUniform3uivEXT)GetExtensionDelegateStatic("glProgramUniform3uivEXT", typeof(Delegates.ProgramUniform3uivEXT)); + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glProgramUniform4fEXT = (Delegates.ProgramUniform4fEXT)GetExtensionDelegateStatic("glProgramUniform4fEXT", typeof(Delegates.ProgramUniform4fEXT)); + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform4fvEXT = (Delegates.ProgramUniform4fvEXT)GetExtensionDelegateStatic("glProgramUniform4fvEXT", typeof(Delegates.ProgramUniform4fvEXT)); + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glProgramUniform4iEXT = (Delegates.ProgramUniform4iEXT)GetExtensionDelegateStatic("glProgramUniform4iEXT", typeof(Delegates.ProgramUniform4iEXT)); + Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform4ivEXT = (Delegates.ProgramUniform4ivEXT)GetExtensionDelegateStatic("glProgramUniform4ivEXT", typeof(Delegates.ProgramUniform4ivEXT)); + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glProgramUniform4uiEXT = (Delegates.ProgramUniform4uiEXT)GetExtensionDelegateStatic("glProgramUniform4uiEXT", typeof(Delegates.ProgramUniform4uiEXT)); + Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static unsafe void Load_ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform4uivEXT = (Delegates.ProgramUniform4uivEXT)GetExtensionDelegateStatic("glProgramUniform4uivEXT", typeof(Delegates.ProgramUniform4uivEXT)); + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2fvEXT = (Delegates.ProgramUniformMatrix2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2fvEXT", typeof(Delegates.ProgramUniformMatrix2fvEXT)); + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x3fvEXT = (Delegates.ProgramUniformMatrix2x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fvEXT", typeof(Delegates.ProgramUniformMatrix2x3fvEXT)); + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x4fvEXT = (Delegates.ProgramUniformMatrix2x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fvEXT", typeof(Delegates.ProgramUniformMatrix2x4fvEXT)); + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3fvEXT = (Delegates.ProgramUniformMatrix3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3fvEXT", typeof(Delegates.ProgramUniformMatrix3fvEXT)); + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x2fvEXT = (Delegates.ProgramUniformMatrix3x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fvEXT", typeof(Delegates.ProgramUniformMatrix3x2fvEXT)); + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x4fvEXT = (Delegates.ProgramUniformMatrix3x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fvEXT", typeof(Delegates.ProgramUniformMatrix3x4fvEXT)); + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4fvEXT = (Delegates.ProgramUniformMatrix4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4fvEXT", typeof(Delegates.ProgramUniformMatrix4fvEXT)); + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x2fvEXT = (Delegates.ProgramUniformMatrix4x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fvEXT", typeof(Delegates.ProgramUniformMatrix4x2fvEXT)); + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x3fvEXT = (Delegates.ProgramUniformMatrix4x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fvEXT", typeof(Delegates.ProgramUniformMatrix4x3fvEXT)); + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static void Load_PushDebugGroup(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); + Delegates.glPushDebugGroup((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.ES30.All source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); + Delegates.glPushDebugGroupKHR((OpenTK.Graphics.ES30.All)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_PushGroupMarkerEXT(Int32 length, String marker) + { + Delegates.glPushGroupMarkerEXT = (Delegates.PushGroupMarkerEXT)GetExtensionDelegateStatic("glPushGroupMarkerEXT", typeof(Delegates.PushGroupMarkerEXT)); + Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); + } + internal static void Load_QueryCounterEXT(UInt32 id, OpenTK.Graphics.ES30.All target) + { + Delegates.glQueryCounterEXT = (Delegates.QueryCounterEXT)GetExtensionDelegateStatic("glQueryCounterEXT", typeof(Delegates.QueryCounterEXT)); + Delegates.glQueryCounterEXT((UInt32)id, (OpenTK.Graphics.ES30.All)target); + } + internal static void Load_ReadBuffer(OpenTK.Graphics.ES30.ReadBufferMode mode) + { + Delegates.glReadBuffer = (Delegates.ReadBuffer)GetExtensionDelegateStatic("glReadBuffer", typeof(Delegates.ReadBuffer)); + Delegates.glReadBuffer((OpenTK.Graphics.ES30.ReadBufferMode)mode); + } + internal static void Load_ReadBufferIndexedEXT(OpenTK.Graphics.ES30.All src, Int32 index) + { + Delegates.glReadBufferIndexedEXT = (Delegates.ReadBufferIndexedEXT)GetExtensionDelegateStatic("glReadBufferIndexedEXT", typeof(Delegates.ReadBufferIndexedEXT)); + Delegates.glReadBufferIndexedEXT((OpenTK.Graphics.ES30.All)src, (Int32)index); + } + internal static void Load_ReadBufferNV(OpenTK.Graphics.ES30.All mode) + { + Delegates.glReadBufferNV = (Delegates.ReadBufferNV)GetExtensionDelegateStatic("glReadBufferNV", typeof(Delegates.ReadBufferNV)); + Delegates.glReadBufferNV((OpenTK.Graphics.ES30.All)mode); + } + internal static void Load_ReadnPixelsEXT(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, Int32 bufSize, [OutAttribute] IntPtr data) + { + Delegates.glReadnPixelsEXT = (Delegates.ReadnPixelsEXT)GetExtensionDelegateStatic("glReadnPixelsEXT", typeof(Delegates.ReadnPixelsEXT)); + Delegates.glReadnPixelsEXT((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (Int32)bufSize, (IntPtr)data); + } + internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); + } + internal static void Load_ReleaseShaderCompiler() + { + Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); + Delegates.glReleaseShaderCompiler(); + } + internal static void Load_RenderbufferStorage(OpenTK.Graphics.ES30.RenderbufferTarget target, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); + Delegates.glRenderbufferStorage((OpenTK.Graphics.ES30.RenderbufferTarget)target, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisample(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisample = (Delegates.RenderbufferStorageMultisample)GetExtensionDelegateStatic("glRenderbufferStorageMultisample", typeof(Delegates.RenderbufferStorageMultisample)); + Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleANGLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleANGLE = (Delegates.RenderbufferStorageMultisampleANGLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleANGLE", typeof(Delegates.RenderbufferStorageMultisampleANGLE)); + Delegates.glRenderbufferStorageMultisampleANGLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleAPPLE(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleAPPLE = (Delegates.RenderbufferStorageMultisampleAPPLE)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleAPPLE", typeof(Delegates.RenderbufferStorageMultisampleAPPLE)); + Delegates.glRenderbufferStorageMultisampleAPPLE((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); + Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleIMG(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleIMG = (Delegates.RenderbufferStorageMultisampleIMG)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleIMG", typeof(Delegates.RenderbufferStorageMultisampleIMG)); + Delegates.glRenderbufferStorageMultisampleIMG((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleNV(OpenTK.Graphics.ES30.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES30.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleNV = (Delegates.RenderbufferStorageMultisampleNV)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleNV", typeof(Delegates.RenderbufferStorageMultisampleNV)); + Delegates.glRenderbufferStorageMultisampleNV((OpenTK.Graphics.ES30.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES30.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_ResolveMultisampleFramebufferAPPLE() + { + Delegates.glResolveMultisampleFramebufferAPPLE = (Delegates.ResolveMultisampleFramebufferAPPLE)GetExtensionDelegateStatic("glResolveMultisampleFramebufferAPPLE", typeof(Delegates.ResolveMultisampleFramebufferAPPLE)); + Delegates.glResolveMultisampleFramebufferAPPLE(); + } + internal static void Load_ResumeTransformFeedback() + { + Delegates.glResumeTransformFeedback = (Delegates.ResumeTransformFeedback)GetExtensionDelegateStatic("glResumeTransformFeedback", typeof(Delegates.ResumeTransformFeedback)); + Delegates.glResumeTransformFeedback(); + } + internal static void Load_SampleCoverage(Single value, bool invert) + { + Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); + Delegates.glSampleCoverage((Single)value, (bool)invert); + } + internal static void Load_SamplerParameterf(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single param) + { + Delegates.glSamplerParameterf = (Delegates.SamplerParameterf)GetExtensionDelegateStatic("glSamplerParameterf", typeof(Delegates.SamplerParameterf)); + Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single)param); + } + internal static unsafe void Load_SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Single* param) + { + Delegates.glSamplerParameterfv = (Delegates.SamplerParameterfv)GetExtensionDelegateStatic("glSamplerParameterfv", typeof(Delegates.SamplerParameterfv)); + Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Single*)param); + } + internal static void Load_SamplerParameteri(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32 param) + { + Delegates.glSamplerParameteri = (Delegates.SamplerParameteri)GetExtensionDelegateStatic("glSamplerParameteri", typeof(Delegates.SamplerParameteri)); + Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32)param); + } + internal static unsafe void Load_SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES30.SamplerParameterName pname, Int32* param) + { + Delegates.glSamplerParameteriv = (Delegates.SamplerParameteriv)GetExtensionDelegateStatic("glSamplerParameteriv", typeof(Delegates.SamplerParameteriv)); + Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES30.SamplerParameterName)pname, (Int32*)param); + } + internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static unsafe void Load_SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) + { + Delegates.glSelectPerfMonitorCountersAMD = (Delegates.SelectPerfMonitorCountersAMD)GetExtensionDelegateStatic("glSelectPerfMonitorCountersAMD", typeof(Delegates.SelectPerfMonitorCountersAMD)); + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + } + internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.ES30.All condition) + { + Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.ES30.All)condition); + } + internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.ES30.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.ES30.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + } + internal static void Load_StartTilingQCOM(UInt32 x, UInt32 y, UInt32 width, UInt32 height, UInt32 preserveMask) + { + Delegates.glStartTilingQCOM = (Delegates.StartTilingQCOM)GetExtensionDelegateStatic("glStartTilingQCOM", typeof(Delegates.StartTilingQCOM)); + Delegates.glStartTilingQCOM((UInt32)x, (UInt32)y, (UInt32)width, (UInt32)height, (UInt32)preserveMask); + } + internal static void Load_StencilFunc(OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); + Delegates.glStencilFunc((OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilFuncSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); + Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilMask(UInt32 mask) + { + Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); + Delegates.glStencilMask((UInt32)mask); + } + internal static void Load_StencilMaskSeparate(OpenTK.Graphics.ES30.StencilFace face, UInt32 mask) + { + Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); + Delegates.glStencilMaskSeparate((OpenTK.Graphics.ES30.StencilFace)face, (UInt32)mask); + } + internal static void Load_StencilOp(OpenTK.Graphics.ES30.StencilOp fail, OpenTK.Graphics.ES30.StencilOp zfail, OpenTK.Graphics.ES30.StencilOp zpass) + { + Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); + Delegates.glStencilOp((OpenTK.Graphics.ES30.StencilOp)fail, (OpenTK.Graphics.ES30.StencilOp)zfail, (OpenTK.Graphics.ES30.StencilOp)zpass); + } + internal static void Load_StencilOpSeparate(OpenTK.Graphics.ES30.StencilFace face, OpenTK.Graphics.ES30.StencilOp sfail, OpenTK.Graphics.ES30.StencilOp dpfail, OpenTK.Graphics.ES30.StencilOp dppass) + { + Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); + Delegates.glStencilOpSeparate((OpenTK.Graphics.ES30.StencilFace)face, (OpenTK.Graphics.ES30.StencilOp)sfail, (OpenTK.Graphics.ES30.StencilOp)dpfail, (OpenTK.Graphics.ES30.StencilOp)dppass); + } + internal static bool Load_TestFenceNV(UInt32 fence) + { + Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); + return Delegates.glTestFenceNV((UInt32)fence); + } + internal static void Load_TexImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) + { + Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); + Delegates.glTexImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) + { + Delegates.glTexImage3D = (Delegates.TexImage3D)GetExtensionDelegateStatic("glTexImage3D", typeof(Delegates.TexImage3D)); + Delegates.glTexImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES30.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) + { + Delegates.glTexImage3DOES = (Delegates.TexImage3DOES)GetExtensionDelegateStatic("glTexImage3DOES", typeof(Delegates.TexImage3DOES)); + Delegates.glTexImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (OpenTK.Graphics.ES30.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexParameterf(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single param) + { + Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); + Delegates.glTexParameterf((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single)param); + } + internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Single* @params) + { + Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); + Delegates.glTexParameterfv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Single*)@params); + } + internal static void Load_TexParameteri(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32 param) + { + Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); + Delegates.glTexParameteri((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32)param); + } + internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); + Delegates.glTexParameteriv((OpenTK.Graphics.ES30.TextureTarget)target, (OpenTK.Graphics.ES30.TextureParameterName)pname, (Int32*)@params); + } + internal static void Load_TexStorage1DEXT(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) + { + Delegates.glTexStorage1DEXT = (Delegates.TexStorage1DEXT)GetExtensionDelegateStatic("glTexStorage1DEXT", typeof(Delegates.TexStorage1DEXT)); + Delegates.glTexStorage1DEXT((OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width); + } + internal static void Load_TexStorage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glTexStorage2D = (Delegates.TexStorage2D)GetExtensionDelegateStatic("glTexStorage2D", typeof(Delegates.TexStorage2D)); + Delegates.glTexStorage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glTexStorage2DEXT = (Delegates.TexStorage2DEXT)GetExtensionDelegateStatic("glTexStorage2DEXT", typeof(Delegates.TexStorage2DEXT)); + Delegates.glTexStorage2DEXT((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTexStorage3D = (Delegates.TexStorage3D)GetExtensionDelegateStatic("glTexStorage3D", typeof(Delegates.TexStorage3D)); + Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTexStorage3DEXT = (Delegates.TexStorage3DEXT)GetExtensionDelegateStatic("glTexStorage3DEXT", typeof(Delegates.TexStorage3DEXT)); + Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); + Delegates.glTexSubImage2D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage3D = (Delegates.TexSubImage3D)GetExtensionDelegateStatic("glTexSubImage3D", typeof(Delegates.TexSubImage3D)); + Delegates.glTexSubImage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.PixelFormat)format, (OpenTK.Graphics.ES30.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage3DOES(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES30.All format, OpenTK.Graphics.ES30.All type, IntPtr pixels) + { + Delegates.glTexSubImage3DOES = (Delegates.TexSubImage3DOES)GetExtensionDelegateStatic("glTexSubImage3DOES", typeof(Delegates.TexSubImage3DOES)); + Delegates.glTexSubImage3DOES((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES30.All)format, (OpenTK.Graphics.ES30.All)type, (IntPtr)pixels); + } + internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width) + { + Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); + Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width); + } + internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height) + { + Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); + Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics.ES30.All internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); + Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.ES30.All)target, (Int32)levels, (OpenTK.Graphics.ES30.All)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.ES30.TransformFeedbackMode bufferMode) + { + Delegates.glTransformFeedbackVaryings = (Delegates.TransformFeedbackVaryings)GetExtensionDelegateStatic("glTransformFeedbackVaryings", typeof(Delegates.TransformFeedbackVaryings)); + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.ES30.TransformFeedbackMode)bufferMode); + } + internal static void Load_Uniform1f(Int32 location, Single v0) + { + Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); + Delegates.glUniform1f((Int32)location, (Single)v0); + } + internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform1i(Int32 location, Int32 v0) + { + Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); + Delegates.glUniform1i((Int32)location, (Int32)v0); + } + internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform1ui(Int32 location, UInt32 v0) + { + Delegates.glUniform1ui = (Delegates.Uniform1ui)GetExtensionDelegateStatic("glUniform1ui", typeof(Delegates.Uniform1ui)); + Delegates.glUniform1ui((Int32)location, (UInt32)v0); + } + internal static unsafe void Load_Uniform1uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform1uiv = (Delegates.Uniform1uiv)GetExtensionDelegateStatic("glUniform1uiv", typeof(Delegates.Uniform1uiv)); + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) + { + Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); + Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) + { + Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); + Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform2ui(Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glUniform2ui = (Delegates.Uniform2ui)GetExtensionDelegateStatic("glUniform2ui", typeof(Delegates.Uniform2ui)); + Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static unsafe void Load_Uniform2uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform2uiv = (Delegates.Uniform2uiv)GetExtensionDelegateStatic("glUniform2uiv", typeof(Delegates.Uniform2uiv)); + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); + Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); + Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glUniform3ui = (Delegates.Uniform3ui)GetExtensionDelegateStatic("glUniform3ui", typeof(Delegates.Uniform3ui)); + Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static unsafe void Load_Uniform3uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform3uiv = (Delegates.Uniform3uiv)GetExtensionDelegateStatic("glUniform3uiv", typeof(Delegates.Uniform3uiv)); + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); + Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); + Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glUniform4ui = (Delegates.Uniform4ui)GetExtensionDelegateStatic("glUniform4ui", typeof(Delegates.Uniform4ui)); + Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static unsafe void Load_Uniform4uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform4uiv = (Delegates.Uniform4uiv)GetExtensionDelegateStatic("glUniform4uiv", typeof(Delegates.Uniform4uiv)); + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) + { + Delegates.glUniformBlockBinding = (Delegates.UniformBlockBinding)GetExtensionDelegateStatic("glUniformBlockBinding", typeof(Delegates.UniformBlockBinding)); + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + } + internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x3fv = (Delegates.UniformMatrix2x3fv)GetExtensionDelegateStatic("glUniformMatrix2x3fv", typeof(Delegates.UniformMatrix2x3fv)); + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x3fvNV = (Delegates.UniformMatrix2x3fvNV)GetExtensionDelegateStatic("glUniformMatrix2x3fvNV", typeof(Delegates.UniformMatrix2x3fvNV)); + Delegates.glUniformMatrix2x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x4fv = (Delegates.UniformMatrix2x4fv)GetExtensionDelegateStatic("glUniformMatrix2x4fv", typeof(Delegates.UniformMatrix2x4fv)); + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x4fvNV = (Delegates.UniformMatrix2x4fvNV)GetExtensionDelegateStatic("glUniformMatrix2x4fvNV", typeof(Delegates.UniformMatrix2x4fvNV)); + Delegates.glUniformMatrix2x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x2fv = (Delegates.UniformMatrix3x2fv)GetExtensionDelegateStatic("glUniformMatrix3x2fv", typeof(Delegates.UniformMatrix3x2fv)); + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x2fvNV = (Delegates.UniformMatrix3x2fvNV)GetExtensionDelegateStatic("glUniformMatrix3x2fvNV", typeof(Delegates.UniformMatrix3x2fvNV)); + Delegates.glUniformMatrix3x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x4fv = (Delegates.UniformMatrix3x4fv)GetExtensionDelegateStatic("glUniformMatrix3x4fv", typeof(Delegates.UniformMatrix3x4fv)); + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x4fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x4fvNV = (Delegates.UniformMatrix3x4fvNV)GetExtensionDelegateStatic("glUniformMatrix3x4fvNV", typeof(Delegates.UniformMatrix3x4fvNV)); + Delegates.glUniformMatrix3x4fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x2fv = (Delegates.UniformMatrix4x2fv)GetExtensionDelegateStatic("glUniformMatrix4x2fv", typeof(Delegates.UniformMatrix4x2fv)); + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x2fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x2fvNV = (Delegates.UniformMatrix4x2fvNV)GetExtensionDelegateStatic("glUniformMatrix4x2fvNV", typeof(Delegates.UniformMatrix4x2fvNV)); + Delegates.glUniformMatrix4x2fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x3fv = (Delegates.UniformMatrix4x3fv)GetExtensionDelegateStatic("glUniformMatrix4x3fv", typeof(Delegates.UniformMatrix4x3fv)); + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x3fvNV(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x3fvNV = (Delegates.UniformMatrix4x3fvNV)GetExtensionDelegateStatic("glUniformMatrix4x3fvNV", typeof(Delegates.UniformMatrix4x3fvNV)); + Delegates.glUniformMatrix4x3fvNV((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static bool Load_UnmapBuffer(OpenTK.Graphics.ES30.BufferTarget target) + { + Delegates.glUnmapBuffer = (Delegates.UnmapBuffer)GetExtensionDelegateStatic("glUnmapBuffer", typeof(Delegates.UnmapBuffer)); + return Delegates.glUnmapBuffer((OpenTK.Graphics.ES30.BufferTarget)target); + } + internal static bool Load_UnmapBufferOES(OpenTK.Graphics.ES30.BufferTarget target) + { + Delegates.glUnmapBufferOES = (Delegates.UnmapBufferOES)GetExtensionDelegateStatic("glUnmapBufferOES", typeof(Delegates.UnmapBufferOES)); + return Delegates.glUnmapBufferOES((OpenTK.Graphics.ES30.BufferTarget)target); + } + internal static void Load_UseProgram(UInt32 program) + { + Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); + Delegates.glUseProgram((UInt32)program); + } + internal static void Load_UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program) + { + Delegates.glUseProgramStagesEXT = (Delegates.UseProgramStagesEXT)GetExtensionDelegateStatic("glUseProgramStagesEXT", typeof(Delegates.UseProgramStagesEXT)); + Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); + } + internal static void Load_UseShaderProgramEXT(OpenTK.Graphics.ES30.All type, UInt32 program) + { + Delegates.glUseShaderProgramEXT = (Delegates.UseShaderProgramEXT)GetExtensionDelegateStatic("glUseShaderProgramEXT", typeof(Delegates.UseShaderProgramEXT)); + Delegates.glUseShaderProgramEXT((OpenTK.Graphics.ES30.All)type, (UInt32)program); + } + internal static void Load_ValidateProgram(UInt32 program) + { + Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); + Delegates.glValidateProgram((UInt32)program); + } + internal static void Load_ValidateProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glValidateProgramPipelineEXT = (Delegates.ValidateProgramPipelineEXT)GetExtensionDelegateStatic("glValidateProgramPipelineEXT", typeof(Delegates.ValidateProgramPipelineEXT)); + Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); + } + internal static void Load_VertexAttrib1f(UInt32 index, Single x) + { + Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + } + internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) + { + Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); + Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); + } + internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) + { + Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); + Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); + Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttribDivisor(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisor = (Delegates.VertexAttribDivisor)GetExtensionDelegateStatic("glVertexAttribDivisor", typeof(Delegates.VertexAttribDivisor)); + Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribDivisorANGLE(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisorANGLE = (Delegates.VertexAttribDivisorANGLE)GetExtensionDelegateStatic("glVertexAttribDivisorANGLE", typeof(Delegates.VertexAttribDivisorANGLE)); + Delegates.glVertexAttribDivisorANGLE((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribDivisorEXT(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisorEXT = (Delegates.VertexAttribDivisorEXT)GetExtensionDelegateStatic("glVertexAttribDivisorEXT", typeof(Delegates.VertexAttribDivisorEXT)); + Delegates.glVertexAttribDivisorEXT((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribDivisorNV(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisorNV = (Delegates.VertexAttribDivisorNV)GetExtensionDelegateStatic("glVertexAttribDivisorNV", typeof(Delegates.VertexAttribDivisorNV)); + Delegates.glVertexAttribDivisorNV((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glVertexAttribI4i = (Delegates.VertexAttribI4i)GetExtensionDelegateStatic("glVertexAttribI4i", typeof(Delegates.VertexAttribI4i)); + Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_VertexAttribI4iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI4iv = (Delegates.VertexAttribI4iv)GetExtensionDelegateStatic("glVertexAttribI4iv", typeof(Delegates.VertexAttribI4iv)); + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + } + internal static void Load_VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + Delegates.glVertexAttribI4ui = (Delegates.VertexAttribI4ui)GetExtensionDelegateStatic("glVertexAttribI4ui", typeof(Delegates.VertexAttribI4ui)); + Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + internal static unsafe void Load_VertexAttribI4uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI4uiv = (Delegates.VertexAttribI4uiv)GetExtensionDelegateStatic("glVertexAttribI4uiv", typeof(Delegates.VertexAttribI4uiv)); + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); + } + internal static void Load_VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribIPointer = (Delegates.VertexAttribIPointer)GetExtensionDelegateStatic("glVertexAttribIPointer", typeof(Delegates.VertexAttribIPointer)); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES30.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES30.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) + { + Delegates.glWaitSync = (Delegates.WaitSync)GetExtensionDelegateStatic("glWaitSync", typeof(Delegates.WaitSync)); + Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); + } + internal static void Load_WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout) + { + Delegates.glWaitSyncAPPLE = (Delegates.WaitSyncAPPLE)GetExtensionDelegateStatic("glWaitSyncAPPLE", typeof(Delegates.WaitSyncAPPLE)); + Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout); + } } } } diff --git a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs index 8c9bb2d8..4ea20f79 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs @@ -7983,13246 +7983,13246 @@ namespace OpenTK.Graphics.OpenGL [SuppressUnmanagedCodeSecurity] internal delegate void WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW); internal static WriteMaskEXT glWriteMaskEXT = Load_WriteMaskEXT; - } - internal static void Load_Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value) - { - Delegates.glAccum = (Delegates.Accum)GetExtensionDelegateStatic("glAccum", typeof(Delegates.Accum)); - Delegates.glAccum((OpenTK.Graphics.OpenGL.AccumOp)op, (Single)value); - } - internal static void Load_AccumxOES(OpenTK.Graphics.OpenGL.OesFixedPoint op, int value) - { - Delegates.glAccumxOES = (Delegates.AccumxOES)GetExtensionDelegateStatic("glAccumxOES", typeof(Delegates.AccumxOES)); - Delegates.glAccumxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)op, (int)value); - } - internal static void Load_ActiveProgramEXT(UInt32 program) - { - Delegates.glActiveProgramEXT = (Delegates.ActiveProgramEXT)GetExtensionDelegateStatic("glActiveProgramEXT", typeof(Delegates.ActiveProgramEXT)); - Delegates.glActiveProgramEXT((UInt32)program); - } - internal static void Load_ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - Delegates.glActiveShaderProgram = (Delegates.ActiveShaderProgram)GetExtensionDelegateStatic("glActiveShaderProgram", typeof(Delegates.ActiveShaderProgram)); - Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); - } - internal static void Load_ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program) - { - Delegates.glActiveShaderProgramEXT = (Delegates.ActiveShaderProgramEXT)GetExtensionDelegateStatic("glActiveShaderProgramEXT", typeof(Delegates.ActiveShaderProgramEXT)); - Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); - } - internal static void Load_ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face) - { - Delegates.glActiveStencilFaceEXT = (Delegates.ActiveStencilFaceEXT)GetExtensionDelegateStatic("glActiveStencilFaceEXT", typeof(Delegates.ActiveStencilFaceEXT)); - Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.OpenGL.ExtStencilTwoSide)face); - } - internal static void Load_ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); - Delegates.glActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); - } - internal static void Load_ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - Delegates.glActiveTextureARB = (Delegates.ActiveTextureARB)GetExtensionDelegateStatic("glActiveTextureARB", typeof(Delegates.ActiveTextureARB)); - Delegates.glActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); - } - internal static void Load_ActiveVaryingNV(UInt32 program, String name) - { - Delegates.glActiveVaryingNV = (Delegates.ActiveVaryingNV)GetExtensionDelegateStatic("glActiveVaryingNV", typeof(Delegates.ActiveVaryingNV)); - Delegates.glActiveVaryingNV((UInt32)program, (String)name); - } - internal static void Load_AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) - { - Delegates.glAlphaFragmentOp1ATI = (Delegates.AlphaFragmentOp1ATI)GetExtensionDelegateStatic("glAlphaFragmentOp1ATI", typeof(Delegates.AlphaFragmentOp1ATI)); - Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - } - internal static void Load_AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) - { - Delegates.glAlphaFragmentOp2ATI = (Delegates.AlphaFragmentOp2ATI)GetExtensionDelegateStatic("glAlphaFragmentOp2ATI", typeof(Delegates.AlphaFragmentOp2ATI)); - Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - } - internal static void Load_AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) - { - Delegates.glAlphaFragmentOp3ATI = (Delegates.AlphaFragmentOp3ATI)GetExtensionDelegateStatic("glAlphaFragmentOp3ATI", typeof(Delegates.AlphaFragmentOp3ATI)); - Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - } - internal static void Load_AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref) - { - Delegates.glAlphaFunc = (Delegates.AlphaFunc)GetExtensionDelegateStatic("glAlphaFunc", typeof(Delegates.AlphaFunc)); - Delegates.glAlphaFunc((OpenTK.Graphics.OpenGL.AlphaFunction)func, (Single)@ref); - } - internal static void Load_AlphaFuncxOES(OpenTK.Graphics.OpenGL.OesFixedPoint func, int @ref) - { - Delegates.glAlphaFuncxOES = (Delegates.AlphaFuncxOES)GetExtensionDelegateStatic("glAlphaFuncxOES", typeof(Delegates.AlphaFuncxOES)); - Delegates.glAlphaFuncxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)func, (int)@ref); - } - internal static void Load_ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode) - { - Delegates.glApplyTextureEXT = (Delegates.ApplyTextureEXT)GetExtensionDelegateStatic("glApplyTextureEXT", typeof(Delegates.ApplyTextureEXT)); - Delegates.glApplyTextureEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)mode); - } - internal static unsafe bool Load_AreProgramsResidentNV(Int32 n, UInt32* programs, [OutAttribute] bool* residences) - { - Delegates.glAreProgramsResidentNV = (Delegates.AreProgramsResidentNV)GetExtensionDelegateStatic("glAreProgramsResidentNV", typeof(Delegates.AreProgramsResidentNV)); - return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); - } - internal static unsafe bool Load_AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) - { - Delegates.glAreTexturesResident = (Delegates.AreTexturesResident)GetExtensionDelegateStatic("glAreTexturesResident", typeof(Delegates.AreTexturesResident)); - return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); - } - internal static unsafe bool Load_AreTexturesResidentEXT(Int32 n, UInt32* textures, [OutAttribute] bool* residences) - { - Delegates.glAreTexturesResidentEXT = (Delegates.AreTexturesResidentEXT)GetExtensionDelegateStatic("glAreTexturesResidentEXT", typeof(Delegates.AreTexturesResidentEXT)); - return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); - } - internal static void Load_ArrayElement(Int32 i) - { - Delegates.glArrayElement = (Delegates.ArrayElement)GetExtensionDelegateStatic("glArrayElement", typeof(Delegates.ArrayElement)); - Delegates.glArrayElement((Int32)i); - } - internal static void Load_ArrayElementEXT(Int32 i) - { - Delegates.glArrayElementEXT = (Delegates.ArrayElementEXT)GetExtensionDelegateStatic("glArrayElementEXT", typeof(Delegates.ArrayElementEXT)); - Delegates.glArrayElementEXT((Int32)i); - } - internal static void Load_ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) - { - Delegates.glArrayObjectATI = (Delegates.ArrayObjectATI)GetExtensionDelegateStatic("glArrayObjectATI", typeof(Delegates.ArrayObjectATI)); - Delegates.glArrayObjectATI((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - } - internal static void Load_AsyncMarkerSGIX(UInt32 marker) - { - Delegates.glAsyncMarkerSGIX = (Delegates.AsyncMarkerSGIX)GetExtensionDelegateStatic("glAsyncMarkerSGIX", typeof(Delegates.AsyncMarkerSGIX)); - Delegates.glAsyncMarkerSGIX((UInt32)marker); - } - internal static void Load_AttachObjectARB(UInt32 containerObj, UInt32 obj) - { - Delegates.glAttachObjectARB = (Delegates.AttachObjectARB)GetExtensionDelegateStatic("glAttachObjectARB", typeof(Delegates.AttachObjectARB)); - Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); - } - internal static void Load_AttachShader(UInt32 program, UInt32 shader) - { - Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - } - internal static void Load_Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode) - { - Delegates.glBegin = (Delegates.Begin)GetExtensionDelegateStatic("glBegin", typeof(Delegates.Begin)); - Delegates.glBegin((OpenTK.Graphics.OpenGL.PrimitiveType)mode); - } - internal static void Load_BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) - { - Delegates.glBeginConditionalRender = (Delegates.BeginConditionalRender)GetExtensionDelegateStatic("glBeginConditionalRender", typeof(Delegates.BeginConditionalRender)); - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode); - } - internal static void Load_BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) - { - Delegates.glBeginConditionalRenderNV = (Delegates.BeginConditionalRenderNV)GetExtensionDelegateStatic("glBeginConditionalRenderNV", typeof(Delegates.BeginConditionalRenderNV)); - Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode); - } - internal static void Load_BeginConditionalRenderNVX(UInt32 id) - { - Delegates.glBeginConditionalRenderNVX = (Delegates.BeginConditionalRenderNVX)GetExtensionDelegateStatic("glBeginConditionalRenderNVX", typeof(Delegates.BeginConditionalRenderNVX)); - Delegates.glBeginConditionalRenderNVX((UInt32)id); - } - internal static void Load_BeginFragmentShaderATI() - { - Delegates.glBeginFragmentShaderATI = (Delegates.BeginFragmentShaderATI)GetExtensionDelegateStatic("glBeginFragmentShaderATI", typeof(Delegates.BeginFragmentShaderATI)); - Delegates.glBeginFragmentShaderATI(); - } - internal static void Load_BeginOcclusionQueryNV(UInt32 id) - { - Delegates.glBeginOcclusionQueryNV = (Delegates.BeginOcclusionQueryNV)GetExtensionDelegateStatic("glBeginOcclusionQueryNV", typeof(Delegates.BeginOcclusionQueryNV)); - Delegates.glBeginOcclusionQueryNV((UInt32)id); - } - internal static void Load_BeginPerfMonitorAMD(UInt32 monitor) - { - Delegates.glBeginPerfMonitorAMD = (Delegates.BeginPerfMonitorAMD)GetExtensionDelegateStatic("glBeginPerfMonitorAMD", typeof(Delegates.BeginPerfMonitorAMD)); - Delegates.glBeginPerfMonitorAMD((UInt32)monitor); - } - internal static void Load_BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id) - { - Delegates.glBeginQuery = (Delegates.BeginQuery)GetExtensionDelegateStatic("glBeginQuery", typeof(Delegates.BeginQuery)); - Delegates.glBeginQuery((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id); - } - internal static void Load_BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id) - { - Delegates.glBeginQueryARB = (Delegates.BeginQueryARB)GetExtensionDelegateStatic("glBeginQueryARB", typeof(Delegates.BeginQueryARB)); - Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id); - } - internal static void Load_BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id) - { - Delegates.glBeginQueryIndexed = (Delegates.BeginQueryIndexed)GetExtensionDelegateStatic("glBeginQueryIndexed", typeof(Delegates.BeginQueryIndexed)); - Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id); - } - internal static void Load_BeginTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType primitiveMode) - { - Delegates.glBeginTransformFeedback = (Delegates.BeginTransformFeedback)GetExtensionDelegateStatic("glBeginTransformFeedback", typeof(Delegates.BeginTransformFeedback)); - Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType)primitiveMode); - } - internal static void Load_BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode) - { - Delegates.glBeginTransformFeedbackEXT = (Delegates.BeginTransformFeedbackEXT)GetExtensionDelegateStatic("glBeginTransformFeedbackEXT", typeof(Delegates.BeginTransformFeedbackEXT)); - Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)primitiveMode); - } - internal static void Load_BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode) - { - Delegates.glBeginTransformFeedbackNV = (Delegates.BeginTransformFeedbackNV)GetExtensionDelegateStatic("glBeginTransformFeedbackNV", typeof(Delegates.BeginTransformFeedbackNV)); - Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)primitiveMode); - } - internal static void Load_BeginVertexShaderEXT() - { - Delegates.glBeginVertexShaderEXT = (Delegates.BeginVertexShaderEXT)GetExtensionDelegateStatic("glBeginVertexShaderEXT", typeof(Delegates.BeginVertexShaderEXT)); - Delegates.glBeginVertexShaderEXT(); - } - internal static void Load_BeginVideoCaptureNV(UInt32 video_capture_slot) - { - Delegates.glBeginVideoCaptureNV = (Delegates.BeginVideoCaptureNV)GetExtensionDelegateStatic("glBeginVideoCaptureNV", typeof(Delegates.BeginVideoCaptureNV)); - Delegates.glBeginVideoCaptureNV((UInt32)video_capture_slot); - } - internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) - { - Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - } - internal static void Load_BindAttribLocationARB(UInt32 programObj, UInt32 index, String name) - { - Delegates.glBindAttribLocationARB = (Delegates.BindAttribLocationARB)GetExtensionDelegateStatic("glBindAttribLocationARB", typeof(Delegates.BindAttribLocationARB)); - Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); - } - internal static void Load_BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer) - { - Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); - Delegates.glBindBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer); - } - internal static void Load_BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer) - { - Delegates.glBindBufferARB = (Delegates.BindBufferARB)GetExtensionDelegateStatic("glBindBufferARB", typeof(Delegates.BindBufferARB)); - Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer); - } - internal static void Load_BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - Delegates.glBindBufferBase = (Delegates.BindBufferBase)GetExtensionDelegateStatic("glBindBufferBase", typeof(Delegates.BindBufferBase)); - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - } - internal static void Load_BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer) - { - Delegates.glBindBufferBaseEXT = (Delegates.BindBufferBaseEXT)GetExtensionDelegateStatic("glBindBufferBaseEXT", typeof(Delegates.BindBufferBaseEXT)); - Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); - } - internal static void Load_BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer) - { - Delegates.glBindBufferBaseNV = (Delegates.BindBufferBaseNV)GetExtensionDelegateStatic("glBindBufferBaseNV", typeof(Delegates.BindBufferBaseNV)); - Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); - } - internal static void Load_BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - Delegates.glBindBufferOffsetEXT = (Delegates.BindBufferOffsetEXT)GetExtensionDelegateStatic("glBindBufferOffsetEXT", typeof(Delegates.BindBufferOffsetEXT)); - Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - } - internal static void Load_BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) - { - Delegates.glBindBufferOffsetNV = (Delegates.BindBufferOffsetNV)GetExtensionDelegateStatic("glBindBufferOffsetNV", typeof(Delegates.BindBufferOffsetNV)); - Delegates.glBindBufferOffsetNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); - } - internal static void Load_BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glBindBufferRange = (Delegates.BindBufferRange)GetExtensionDelegateStatic("glBindBufferRange", typeof(Delegates.BindBufferRange)); - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static void Load_BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glBindBufferRangeEXT = (Delegates.BindBufferRangeEXT)GetExtensionDelegateStatic("glBindBufferRangeEXT", typeof(Delegates.BindBufferRangeEXT)); - Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static void Load_BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glBindBufferRangeNV = (Delegates.BindBufferRangeNV)GetExtensionDelegateStatic("glBindBufferRangeNV", typeof(Delegates.BindBufferRangeNV)); - Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static unsafe void Load_BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) - { - Delegates.glBindBuffersBase = (Delegates.BindBuffersBase)GetExtensionDelegateStatic("glBindBuffersBase", typeof(Delegates.BindBuffersBase)); - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); - } - internal static unsafe void Load_BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes) - { - Delegates.glBindBuffersRange = (Delegates.BindBuffersRange)GetExtensionDelegateStatic("glBindBuffersRange", typeof(Delegates.BindBuffersRange)); - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); - } - internal static void Load_BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - Delegates.glBindFragDataLocation = (Delegates.BindFragDataLocation)GetExtensionDelegateStatic("glBindFragDataLocation", typeof(Delegates.BindFragDataLocation)); - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - } - internal static void Load_BindFragDataLocationEXT(UInt32 program, UInt32 color, String name) - { - Delegates.glBindFragDataLocationEXT = (Delegates.BindFragDataLocationEXT)GetExtensionDelegateStatic("glBindFragDataLocationEXT", typeof(Delegates.BindFragDataLocationEXT)); - Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); - } - internal static void Load_BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) - { - Delegates.glBindFragDataLocationIndexed = (Delegates.BindFragDataLocationIndexed)GetExtensionDelegateStatic("glBindFragDataLocationIndexed", typeof(Delegates.BindFragDataLocationIndexed)); - Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); - } - internal static void Load_BindFragmentShaderATI(UInt32 id) - { - Delegates.glBindFragmentShaderATI = (Delegates.BindFragmentShaderATI)GetExtensionDelegateStatic("glBindFragmentShaderATI", typeof(Delegates.BindFragmentShaderATI)); - Delegates.glBindFragmentShaderATI((UInt32)id); - } - internal static void Load_BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) - { - Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); - Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); - } - internal static void Load_BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) - { - Delegates.glBindFramebufferEXT = (Delegates.BindFramebufferEXT)GetExtensionDelegateStatic("glBindFramebufferEXT", typeof(Delegates.BindFramebufferEXT)); - Delegates.glBindFramebufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); - } - internal static void Load_BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format) - { - Delegates.glBindImageTexture = (Delegates.BindImageTexture)GetExtensionDelegateStatic("glBindImageTexture", typeof(Delegates.BindImageTexture)); - Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.TextureAccess)access, (OpenTK.Graphics.OpenGL.SizedInternalFormat)format); - } - internal static void Load_BindImageTextureEXT(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format) - { - Delegates.glBindImageTextureEXT = (Delegates.BindImageTextureEXT)GetExtensionDelegateStatic("glBindImageTextureEXT", typeof(Delegates.BindImageTextureEXT)); - Delegates.glBindImageTextureEXT((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format); - } - internal static unsafe void Load_BindImageTextures(UInt32 first, Int32 count, UInt32* textures) - { - Delegates.glBindImageTextures = (Delegates.BindImageTextures)GetExtensionDelegateStatic("glBindImageTextures", typeof(Delegates.BindImageTextures)); - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); - } - internal static Int32 Load_BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value) - { - Delegates.glBindLightParameterEXT = (Delegates.BindLightParameterEXT)GetExtensionDelegateStatic("glBindLightParameterEXT", typeof(Delegates.BindLightParameterEXT)); - return Delegates.glBindLightParameterEXT((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)value); - } - internal static Int32 Load_BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value) - { - Delegates.glBindMaterialParameterEXT = (Delegates.BindMaterialParameterEXT)GetExtensionDelegateStatic("glBindMaterialParameterEXT", typeof(Delegates.BindMaterialParameterEXT)); - return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)value); - } - internal static void Load_BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - Delegates.glBindMultiTextureEXT = (Delegates.BindMultiTextureEXT)GetExtensionDelegateStatic("glBindMultiTextureEXT", typeof(Delegates.BindMultiTextureEXT)); - Delegates.glBindMultiTextureEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - } - internal static Int32 Load_BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value) - { - Delegates.glBindParameterEXT = (Delegates.BindParameterEXT)GetExtensionDelegateStatic("glBindParameterEXT", typeof(Delegates.BindParameterEXT)); - return Delegates.glBindParameterEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)value); - } - internal static void Load_BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program) - { - Delegates.glBindProgramARB = (Delegates.BindProgramARB)GetExtensionDelegateStatic("glBindProgramARB", typeof(Delegates.BindProgramARB)); - Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program); - } - internal static void Load_BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id) - { - Delegates.glBindProgramNV = (Delegates.BindProgramNV)GetExtensionDelegateStatic("glBindProgramNV", typeof(Delegates.BindProgramNV)); - Delegates.glBindProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id); - } - internal static void Load_BindProgramPipeline(UInt32 pipeline) - { - Delegates.glBindProgramPipeline = (Delegates.BindProgramPipeline)GetExtensionDelegateStatic("glBindProgramPipeline", typeof(Delegates.BindProgramPipeline)); - Delegates.glBindProgramPipeline((UInt32)pipeline); - } - internal static void Load_BindProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glBindProgramPipelineEXT = (Delegates.BindProgramPipelineEXT)GetExtensionDelegateStatic("glBindProgramPipelineEXT", typeof(Delegates.BindProgramPipelineEXT)); - Delegates.glBindProgramPipelineEXT((UInt32)pipeline); - } - internal static void Load_BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) - { - Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); - Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); - } - internal static void Load_BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) - { - Delegates.glBindRenderbufferEXT = (Delegates.BindRenderbufferEXT)GetExtensionDelegateStatic("glBindRenderbufferEXT", typeof(Delegates.BindRenderbufferEXT)); - Delegates.glBindRenderbufferEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); - } - internal static void Load_BindSampler(UInt32 unit, UInt32 sampler) - { - Delegates.glBindSampler = (Delegates.BindSampler)GetExtensionDelegateStatic("glBindSampler", typeof(Delegates.BindSampler)); - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - } - internal static unsafe void Load_BindSamplers(UInt32 first, Int32 count, UInt32* samplers) - { - Delegates.glBindSamplers = (Delegates.BindSamplers)GetExtensionDelegateStatic("glBindSamplers", typeof(Delegates.BindSamplers)); - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); - } - internal static Int32 Load_BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value) - { - Delegates.glBindTexGenParameterEXT = (Delegates.BindTexGenParameterEXT)GetExtensionDelegateStatic("glBindTexGenParameterEXT", typeof(Delegates.BindTexGenParameterEXT)); - return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)value); - } - internal static void Load_BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); - Delegates.glBindTexture((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - } - internal static void Load_BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) - { - Delegates.glBindTextureEXT = (Delegates.BindTextureEXT)GetExtensionDelegateStatic("glBindTextureEXT", typeof(Delegates.BindTextureEXT)); - Delegates.glBindTextureEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); - } - internal static unsafe void Load_BindTextures(UInt32 first, Int32 count, UInt32* textures) - { - Delegates.glBindTextures = (Delegates.BindTextures)GetExtensionDelegateStatic("glBindTextures", typeof(Delegates.BindTextures)); - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); - } - internal static Int32 Load_BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value) - { - Delegates.glBindTextureUnitParameterEXT = (Delegates.BindTextureUnitParameterEXT)GetExtensionDelegateStatic("glBindTextureUnitParameterEXT", typeof(Delegates.BindTextureUnitParameterEXT)); - return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.ExtVertexShader)value); - } - internal static void Load_BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id) - { - Delegates.glBindTransformFeedback = (Delegates.BindTransformFeedback)GetExtensionDelegateStatic("glBindTransformFeedback", typeof(Delegates.BindTransformFeedback)); - Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id); - } - internal static void Load_BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id) - { - Delegates.glBindTransformFeedbackNV = (Delegates.BindTransformFeedbackNV)GetExtensionDelegateStatic("glBindTransformFeedbackNV", typeof(Delegates.BindTransformFeedbackNV)); - Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id); - } - internal static void Load_BindVertexArray(UInt32 array) - { - Delegates.glBindVertexArray = (Delegates.BindVertexArray)GetExtensionDelegateStatic("glBindVertexArray", typeof(Delegates.BindVertexArray)); - Delegates.glBindVertexArray((UInt32)array); - } - internal static void Load_BindVertexArrayAPPLE(UInt32 array) - { - Delegates.glBindVertexArrayAPPLE = (Delegates.BindVertexArrayAPPLE)GetExtensionDelegateStatic("glBindVertexArrayAPPLE", typeof(Delegates.BindVertexArrayAPPLE)); - Delegates.glBindVertexArrayAPPLE((UInt32)array); - } - internal static void Load_BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - Delegates.glBindVertexBuffer = (Delegates.BindVertexBuffer)GetExtensionDelegateStatic("glBindVertexBuffer", typeof(Delegates.BindVertexBuffer)); - Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - } - internal static unsafe void Load_BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) - { - Delegates.glBindVertexBuffers = (Delegates.BindVertexBuffers)GetExtensionDelegateStatic("glBindVertexBuffers", typeof(Delegates.BindVertexBuffers)); - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); - } - internal static void Load_BindVertexShaderEXT(UInt32 id) - { - Delegates.glBindVertexShaderEXT = (Delegates.BindVertexShaderEXT)GetExtensionDelegateStatic("glBindVertexShaderEXT", typeof(Delegates.BindVertexShaderEXT)); - Delegates.glBindVertexShaderEXT((UInt32)id); - } - internal static void Load_BindVideoCaptureStreamBufferNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) - { - Delegates.glBindVideoCaptureStreamBufferNV = (Delegates.BindVideoCaptureStreamBufferNV)GetExtensionDelegateStatic("glBindVideoCaptureStreamBufferNV", typeof(Delegates.BindVideoCaptureStreamBufferNV)); - Delegates.glBindVideoCaptureStreamBufferNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset); - } - internal static void Load_BindVideoCaptureStreamTextureNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture) - { - Delegates.glBindVideoCaptureStreamTextureNV = (Delegates.BindVideoCaptureStreamTextureNV)GetExtensionDelegateStatic("glBindVideoCaptureStreamTextureNV", typeof(Delegates.BindVideoCaptureStreamTextureNV)); - Delegates.glBindVideoCaptureStreamTextureNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture); - } - internal static void Load_Binormal3bEXT(SByte bx, SByte by, SByte bz) - { - Delegates.glBinormal3bEXT = (Delegates.Binormal3bEXT)GetExtensionDelegateStatic("glBinormal3bEXT", typeof(Delegates.Binormal3bEXT)); - Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); - } - internal static unsafe void Load_Binormal3bvEXT(SByte* v) - { - Delegates.glBinormal3bvEXT = (Delegates.Binormal3bvEXT)GetExtensionDelegateStatic("glBinormal3bvEXT", typeof(Delegates.Binormal3bvEXT)); - Delegates.glBinormal3bvEXT((SByte*)v); - } - internal static void Load_Binormal3dEXT(Double bx, Double by, Double bz) - { - Delegates.glBinormal3dEXT = (Delegates.Binormal3dEXT)GetExtensionDelegateStatic("glBinormal3dEXT", typeof(Delegates.Binormal3dEXT)); - Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz); - } - internal static unsafe void Load_Binormal3dvEXT(Double* v) - { - Delegates.glBinormal3dvEXT = (Delegates.Binormal3dvEXT)GetExtensionDelegateStatic("glBinormal3dvEXT", typeof(Delegates.Binormal3dvEXT)); - Delegates.glBinormal3dvEXT((Double*)v); - } - internal static void Load_Binormal3fEXT(Single bx, Single by, Single bz) - { - Delegates.glBinormal3fEXT = (Delegates.Binormal3fEXT)GetExtensionDelegateStatic("glBinormal3fEXT", typeof(Delegates.Binormal3fEXT)); - Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz); - } - internal static unsafe void Load_Binormal3fvEXT(Single* v) - { - Delegates.glBinormal3fvEXT = (Delegates.Binormal3fvEXT)GetExtensionDelegateStatic("glBinormal3fvEXT", typeof(Delegates.Binormal3fvEXT)); - Delegates.glBinormal3fvEXT((Single*)v); - } - internal static void Load_Binormal3iEXT(Int32 bx, Int32 by, Int32 bz) - { - Delegates.glBinormal3iEXT = (Delegates.Binormal3iEXT)GetExtensionDelegateStatic("glBinormal3iEXT", typeof(Delegates.Binormal3iEXT)); - Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz); - } - internal static unsafe void Load_Binormal3ivEXT(Int32* v) - { - Delegates.glBinormal3ivEXT = (Delegates.Binormal3ivEXT)GetExtensionDelegateStatic("glBinormal3ivEXT", typeof(Delegates.Binormal3ivEXT)); - Delegates.glBinormal3ivEXT((Int32*)v); - } - internal static void Load_Binormal3sEXT(Int16 bx, Int16 by, Int16 bz) - { - Delegates.glBinormal3sEXT = (Delegates.Binormal3sEXT)GetExtensionDelegateStatic("glBinormal3sEXT", typeof(Delegates.Binormal3sEXT)); - Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz); - } - internal static unsafe void Load_Binormal3svEXT(Int16* v) - { - Delegates.glBinormal3svEXT = (Delegates.Binormal3svEXT)GetExtensionDelegateStatic("glBinormal3svEXT", typeof(Delegates.Binormal3svEXT)); - Delegates.glBinormal3svEXT((Int16*)v); - } - internal static void Load_BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glBinormalPointerEXT = (Delegates.BinormalPointerEXT)GetExtensionDelegateStatic("glBinormalPointerEXT", typeof(Delegates.BinormalPointerEXT)); - Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static unsafe void Load_Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) - { - Delegates.glBitmap = (Delegates.Bitmap)GetExtensionDelegateStatic("glBitmap", typeof(Delegates.Bitmap)); - Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); - } - internal static unsafe void Load_BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap) - { - Delegates.glBitmapxOES = (Delegates.BitmapxOES)GetExtensionDelegateStatic("glBitmapxOES", typeof(Delegates.BitmapxOES)); - Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap); - } - internal static void Load_BlendBarrierNV() - { - Delegates.glBlendBarrierNV = (Delegates.BlendBarrierNV)GetExtensionDelegateStatic("glBlendBarrierNV", typeof(Delegates.BlendBarrierNV)); - Delegates.glBlendBarrierNV(); - } - internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_BlendColorEXT(Single red, Single green, Single blue, Single alpha) - { - Delegates.glBlendColorEXT = (Delegates.BlendColorEXT)GetExtensionDelegateStatic("glBlendColorEXT", typeof(Delegates.BlendColorEXT)); - Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_BlendColorxOES(int red, int green, int blue, int alpha) - { - Delegates.glBlendColorxOES = (Delegates.BlendColorxOES)GetExtensionDelegateStatic("glBlendColorxOES", typeof(Delegates.BlendColorxOES)); - Delegates.glBlendColorxOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); - Delegates.glBlendEquation((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - } - internal static void Load_BlendEquationEXT(OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); - Delegates.glBlendEquationEXT((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - } - internal static void Load_BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - Delegates.glBlendEquationi = (Delegates.BlendEquationi)GetExtensionDelegateStatic("glBlendEquationi", typeof(Delegates.BlendEquationi)); - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - } - internal static void Load_BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) - { - Delegates.glBlendEquationiARB = (Delegates.BlendEquationiARB)GetExtensionDelegateStatic("glBlendEquationiARB", typeof(Delegates.BlendEquationiARB)); - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); - } - internal static void Load_BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) - { - Delegates.glBlendEquationIndexedAMD = (Delegates.BlendEquationIndexedAMD)GetExtensionDelegateStatic("glBlendEquationIndexedAMD", typeof(Delegates.BlendEquationIndexedAMD)); - Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode); - } - internal static void Load_BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); - Delegates.glBlendEquationSeparate((OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); - } - internal static void Load_BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha) - { - Delegates.glBlendEquationSeparateEXT = (Delegates.BlendEquationSeparateEXT)GetExtensionDelegateStatic("glBlendEquationSeparateEXT", typeof(Delegates.BlendEquationSeparateEXT)); - Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeAlpha); - } - internal static void Load_BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) - { - Delegates.glBlendEquationSeparatei = (Delegates.BlendEquationSeparatei)GetExtensionDelegateStatic("glBlendEquationSeparatei", typeof(Delegates.BlendEquationSeparatei)); - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); - } - internal static void Load_BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) - { - Delegates.glBlendEquationSeparateiARB = (Delegates.BlendEquationSeparateiARB)GetExtensionDelegateStatic("glBlendEquationSeparateiARB", typeof(Delegates.BlendEquationSeparateiARB)); - Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha); - } - internal static void Load_BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) - { - Delegates.glBlendEquationSeparateIndexedAMD = (Delegates.BlendEquationSeparateIndexedAMD)GetExtensionDelegateStatic("glBlendEquationSeparateIndexedAMD", typeof(Delegates.BlendEquationSeparateIndexedAMD)); - Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha); - } - internal static void Load_BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor) - { - Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); - Delegates.glBlendFunc((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactor); - } - internal static void Load_BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst) - { - Delegates.glBlendFunci = (Delegates.BlendFunci)GetExtensionDelegateStatic("glBlendFunci", typeof(Delegates.BlendFunci)); - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst); - } - internal static void Load_BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) - { - Delegates.glBlendFunciARB = (Delegates.BlendFunciARB)GetExtensionDelegateStatic("glBlendFunciARB", typeof(Delegates.BlendFunciARB)); - Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst); - } - internal static void Load_BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) - { - Delegates.glBlendFuncIndexedAMD = (Delegates.BlendFuncIndexedAMD)GetExtensionDelegateStatic("glBlendFuncIndexedAMD", typeof(Delegates.BlendFuncIndexedAMD)); - Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst); - } - internal static void Load_BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha) - { - Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); - Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha); - } - internal static void Load_BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha) - { - Delegates.glBlendFuncSeparateEXT = (Delegates.BlendFuncSeparateEXT)GetExtensionDelegateStatic("glBlendFuncSeparateEXT", typeof(Delegates.BlendFuncSeparateEXT)); - Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorAlpha); - } - internal static void Load_BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha) - { - Delegates.glBlendFuncSeparatei = (Delegates.BlendFuncSeparatei)GetExtensionDelegateStatic("glBlendFuncSeparatei", typeof(Delegates.BlendFuncSeparatei)); - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha); - } - internal static void Load_BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) - { - Delegates.glBlendFuncSeparateiARB = (Delegates.BlendFuncSeparateiARB)GetExtensionDelegateStatic("glBlendFuncSeparateiARB", typeof(Delegates.BlendFuncSeparateiARB)); - Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha); - } - internal static void Load_BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha) - { - Delegates.glBlendFuncSeparateIndexedAMD = (Delegates.BlendFuncSeparateIndexedAMD)GetExtensionDelegateStatic("glBlendFuncSeparateIndexedAMD", typeof(Delegates.BlendFuncSeparateIndexedAMD)); - Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha); - } - internal static void Load_BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorAlpha) - { - Delegates.glBlendFuncSeparateINGR = (Delegates.BlendFuncSeparateINGR)GetExtensionDelegateStatic("glBlendFuncSeparateINGR", typeof(Delegates.BlendFuncSeparateINGR)); - Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorAlpha); - } - internal static void Load_BlendParameteriNV(OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced pname, Int32 value) - { - Delegates.glBlendParameteriNV = (Delegates.BlendParameteriNV)GetExtensionDelegateStatic("glBlendParameteriNV", typeof(Delegates.BlendParameteriNV)); - Delegates.glBlendParameteriNV((OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced)pname, (Int32)value); - } - internal static void Load_BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebuffer = (Delegates.BlitFramebuffer)GetExtensionDelegateStatic("glBlitFramebuffer", typeof(Delegates.BlitFramebuffer)); - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); - } - internal static void Load_BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebufferEXT = (Delegates.BlitFramebufferEXT)GetExtensionDelegateStatic("glBlitFramebufferEXT", typeof(Delegates.BlitFramebufferEXT)); - Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); - } - internal static void Load_BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length) - { - Delegates.glBufferAddressRangeNV = (Delegates.BufferAddressRangeNV)GetExtensionDelegateStatic("glBufferAddressRangeNV", typeof(Delegates.BufferAddressRangeNV)); - Delegates.glBufferAddressRangeNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length); - } - internal static void Load_BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) - { - Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); - Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); - } - internal static void Load_BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) - { - Delegates.glBufferDataARB = (Delegates.BufferDataARB)GetExtensionDelegateStatic("glBufferDataARB", typeof(Delegates.BufferDataARB)); - Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); - } - internal static void Load_BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param) - { - Delegates.glBufferParameteriAPPLE = (Delegates.BufferParameteriAPPLE)GetExtensionDelegateStatic("glBufferParameteriAPPLE", typeof(Delegates.BufferParameteriAPPLE)); - Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterApple)pname, (Int32)param); - } - internal static void Load_BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) - { - Delegates.glBufferStorage = (Delegates.BufferStorage)GetExtensionDelegateStatic("glBufferStorage", typeof(Delegates.BufferStorage)); - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags); - } - internal static void Load_BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static void Load_BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glBufferSubDataARB = (Delegates.BufferSubDataARB)GetExtensionDelegateStatic("glBufferSubDataARB", typeof(Delegates.BufferSubDataARB)); - Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static void Load_CallList(UInt32 list) - { - Delegates.glCallList = (Delegates.CallList)GetExtensionDelegateStatic("glCallList", typeof(Delegates.CallList)); - Delegates.glCallList((UInt32)list); - } - internal static void Load_CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists) - { - Delegates.glCallLists = (Delegates.CallLists)GetExtensionDelegateStatic("glCallLists", typeof(Delegates.CallLists)); - Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists); - } - internal static OpenTK.Graphics.OpenGL.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.OpenGL.FramebufferTarget)target); - } - internal static OpenTK.Graphics.OpenGL.FramebufferErrorCode Load_CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - Delegates.glCheckFramebufferStatusEXT = (Delegates.CheckFramebufferStatusEXT)GetExtensionDelegateStatic("glCheckFramebufferStatusEXT", typeof(Delegates.CheckFramebufferStatusEXT)); - return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target); - } - internal static OpenTK.Graphics.OpenGL.ExtDirectStateAccess Load_CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) - { - Delegates.glCheckNamedFramebufferStatusEXT = (Delegates.CheckNamedFramebufferStatusEXT)GetExtensionDelegateStatic("glCheckNamedFramebufferStatusEXT", typeof(Delegates.CheckNamedFramebufferStatusEXT)); - return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target); - } - internal static void Load_ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp) - { - Delegates.glClampColor = (Delegates.ClampColor)GetExtensionDelegateStatic("glClampColor", typeof(Delegates.ClampColor)); - Delegates.glClampColor((OpenTK.Graphics.OpenGL.ClampColorTarget)target, (OpenTK.Graphics.OpenGL.ClampColorMode)clamp); - } - internal static void Load_ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp) - { - Delegates.glClampColorARB = (Delegates.ClampColorARB)GetExtensionDelegateStatic("glClampColorARB", typeof(Delegates.ClampColorARB)); - Delegates.glClampColorARB((OpenTK.Graphics.OpenGL.ArbColorBufferFloat)target, (OpenTK.Graphics.OpenGL.ArbColorBufferFloat)clamp); - } - internal static void Load_Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask) - { - Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); - Delegates.glClear((OpenTK.Graphics.OpenGL.ClearBufferMask)mask); - } - internal static void Load_ClearAccum(Single red, Single green, Single blue, Single alpha) - { - Delegates.glClearAccum = (Delegates.ClearAccum)GetExtensionDelegateStatic("glClearAccum", typeof(Delegates.ClearAccum)); - Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_ClearAccumxOES(int red, int green, int blue, int alpha) - { - Delegates.glClearAccumxOES = (Delegates.ClearAccumxOES)GetExtensionDelegateStatic("glClearAccumxOES", typeof(Delegates.ClearAccumxOES)); - Delegates.glClearAccumxOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data) - { - Delegates.glClearBufferData = (Delegates.ClearBufferData)GetExtensionDelegateStatic("glClearBufferData", typeof(Delegates.ClearBufferData)); - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data); - } - internal static void Load_ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - Delegates.glClearBufferfi = (Delegates.ClearBufferfi)GetExtensionDelegateStatic("glClearBufferfi", typeof(Delegates.ClearBufferfi)); - Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - } - internal static unsafe void Load_ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - Delegates.glClearBufferfv = (Delegates.ClearBufferfv)GetExtensionDelegateStatic("glClearBufferfv", typeof(Delegates.ClearBufferfv)); - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - } - internal static unsafe void Load_ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - Delegates.glClearBufferiv = (Delegates.ClearBufferiv)GetExtensionDelegateStatic("glClearBufferiv", typeof(Delegates.ClearBufferiv)); - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - } - internal static void Load_ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data) - { - Delegates.glClearBufferSubData = (Delegates.ClearBufferSubData)GetExtensionDelegateStatic("glClearBufferSubData", typeof(Delegates.ClearBufferSubData)); - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data); - } - internal static unsafe void Load_ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - Delegates.glClearBufferuiv = (Delegates.ClearBufferuiv)GetExtensionDelegateStatic("glClearBufferuiv", typeof(Delegates.ClearBufferuiv)); - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - } - internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - Delegates.glClearColorIiEXT = (Delegates.ClearColorIiEXT)GetExtensionDelegateStatic("glClearColorIiEXT", typeof(Delegates.ClearColorIiEXT)); - Delegates.glClearColorIiEXT((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); - } - internal static void Load_ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - Delegates.glClearColorIuiEXT = (Delegates.ClearColorIuiEXT)GetExtensionDelegateStatic("glClearColorIuiEXT", typeof(Delegates.ClearColorIuiEXT)); - Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); - } - internal static void Load_ClearColorxOES(int red, int green, int blue, int alpha) - { - Delegates.glClearColorxOES = (Delegates.ClearColorxOES)GetExtensionDelegateStatic("glClearColorxOES", typeof(Delegates.ClearColorxOES)); - Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static void Load_ClearDepth(Double depth) - { - Delegates.glClearDepth = (Delegates.ClearDepth)GetExtensionDelegateStatic("glClearDepth", typeof(Delegates.ClearDepth)); - Delegates.glClearDepth((Double)depth); - } - internal static void Load_ClearDepthdNV(Double depth) - { - Delegates.glClearDepthdNV = (Delegates.ClearDepthdNV)GetExtensionDelegateStatic("glClearDepthdNV", typeof(Delegates.ClearDepthdNV)); - Delegates.glClearDepthdNV((Double)depth); - } - internal static void Load_ClearDepthf(Single d) - { - Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); - Delegates.glClearDepthf((Single)d); - } - internal static void Load_ClearDepthfOES(Single depth) - { - Delegates.glClearDepthfOES = (Delegates.ClearDepthfOES)GetExtensionDelegateStatic("glClearDepthfOES", typeof(Delegates.ClearDepthfOES)); - Delegates.glClearDepthfOES((Single)depth); - } - internal static void Load_ClearDepthxOES(int depth) - { - Delegates.glClearDepthxOES = (Delegates.ClearDepthxOES)GetExtensionDelegateStatic("glClearDepthxOES", typeof(Delegates.ClearDepthxOES)); - Delegates.glClearDepthxOES((int)depth); - } - internal static void Load_ClearIndex(Single c) - { - Delegates.glClearIndex = (Delegates.ClearIndex)GetExtensionDelegateStatic("glClearIndex", typeof(Delegates.ClearIndex)); - Delegates.glClearIndex((Single)c); - } - internal static void Load_ClearNamedBufferDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - Delegates.glClearNamedBufferDataEXT = (Delegates.ClearNamedBufferDataEXT)GetExtensionDelegateStatic("glClearNamedBufferDataEXT", typeof(Delegates.ClearNamedBufferDataEXT)); - Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - } - internal static void Load_ClearNamedBufferSubDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glClearNamedBufferSubDataEXT = (Delegates.ClearNamedBufferSubDataEXT)GetExtensionDelegateStatic("glClearNamedBufferSubDataEXT", typeof(Delegates.ClearNamedBufferSubDataEXT)); - Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static void Load_ClearStencil(Int32 s) - { - Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); - Delegates.glClearStencil((Int32)s); - } - internal static void Load_ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - Delegates.glClearTexImage = (Delegates.ClearTexImage)GetExtensionDelegateStatic("glClearTexImage", typeof(Delegates.ClearTexImage)); - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - } - internal static void Load_ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - Delegates.glClearTexSubImage = (Delegates.ClearTexSubImage)GetExtensionDelegateStatic("glClearTexSubImage", typeof(Delegates.ClearTexSubImage)); - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - } - internal static void Load_ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - Delegates.glClientActiveTexture = (Delegates.ClientActiveTexture)GetExtensionDelegateStatic("glClientActiveTexture", typeof(Delegates.ClientActiveTexture)); - Delegates.glClientActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); - } - internal static void Load_ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture) - { - Delegates.glClientActiveTextureARB = (Delegates.ClientActiveTextureARB)GetExtensionDelegateStatic("glClientActiveTextureARB", typeof(Delegates.ClientActiveTextureARB)); - Delegates.glClientActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); - } - internal static void Load_ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream) - { - Delegates.glClientActiveVertexStreamATI = (Delegates.ClientActiveVertexStreamATI)GetExtensionDelegateStatic("glClientActiveVertexStreamATI", typeof(Delegates.ClientActiveVertexStreamATI)); - Delegates.glClientActiveVertexStreamATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream); - } - internal static void Load_ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - Delegates.glClientAttribDefaultEXT = (Delegates.ClientAttribDefaultEXT)GetExtensionDelegateStatic("glClientAttribDefaultEXT", typeof(Delegates.ClientAttribDefaultEXT)); - Delegates.glClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); - } - internal static OpenTK.Graphics.OpenGL.WaitSyncStatus Load_ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, UInt64 timeout) - { - Delegates.glClientWaitSync = (Delegates.ClientWaitSync)GetExtensionDelegateStatic("glClientWaitSync", typeof(Delegates.ClientWaitSync)); - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout); - } - internal static unsafe void Load_ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation) - { - Delegates.glClipPlane = (Delegates.ClipPlane)GetExtensionDelegateStatic("glClipPlane", typeof(Delegates.ClipPlane)); - Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); - } - internal static unsafe void Load_ClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single* equation) - { - Delegates.glClipPlanefOES = (Delegates.ClipPlanefOES)GetExtensionDelegateStatic("glClipPlanefOES", typeof(Delegates.ClipPlanefOES)); - Delegates.glClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation); - } - internal static unsafe void Load_ClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int* equation) - { - Delegates.glClipPlanexOES = (Delegates.ClipPlanexOES)GetExtensionDelegateStatic("glClipPlanexOES", typeof(Delegates.ClipPlanexOES)); - Delegates.glClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation); - } - internal static void Load_Color3b(SByte red, SByte green, SByte blue) - { - Delegates.glColor3b = (Delegates.Color3b)GetExtensionDelegateStatic("glColor3b", typeof(Delegates.Color3b)); - Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); - } - internal static unsafe void Load_Color3bv(SByte* v) - { - Delegates.glColor3bv = (Delegates.Color3bv)GetExtensionDelegateStatic("glColor3bv", typeof(Delegates.Color3bv)); - Delegates.glColor3bv((SByte*)v); - } - internal static void Load_Color3d(Double red, Double green, Double blue) - { - Delegates.glColor3d = (Delegates.Color3d)GetExtensionDelegateStatic("glColor3d", typeof(Delegates.Color3d)); - Delegates.glColor3d((Double)red, (Double)green, (Double)blue); - } - internal static unsafe void Load_Color3dv(Double* v) - { - Delegates.glColor3dv = (Delegates.Color3dv)GetExtensionDelegateStatic("glColor3dv", typeof(Delegates.Color3dv)); - Delegates.glColor3dv((Double*)v); - } - internal static void Load_Color3f(Single red, Single green, Single blue) - { - Delegates.glColor3f = (Delegates.Color3f)GetExtensionDelegateStatic("glColor3f", typeof(Delegates.Color3f)); - Delegates.glColor3f((Single)red, (Single)green, (Single)blue); - } - internal static unsafe void Load_Color3fv(Single* v) - { - Delegates.glColor3fv = (Delegates.Color3fv)GetExtensionDelegateStatic("glColor3fv", typeof(Delegates.Color3fv)); - Delegates.glColor3fv((Single*)v); - } - internal static void Load_Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z) - { - Delegates.glColor3fVertex3fSUN = (Delegates.Color3fVertex3fSUN)GetExtensionDelegateStatic("glColor3fVertex3fSUN", typeof(Delegates.Color3fVertex3fSUN)); - Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_Color3fVertex3fvSUN(Single* c, Single* v) - { - Delegates.glColor3fVertex3fvSUN = (Delegates.Color3fVertex3fvSUN)GetExtensionDelegateStatic("glColor3fVertex3fvSUN", typeof(Delegates.Color3fVertex3fvSUN)); - Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); - } - internal static void Load_Color3hNV(Half red, Half green, Half blue) - { - Delegates.glColor3hNV = (Delegates.Color3hNV)GetExtensionDelegateStatic("glColor3hNV", typeof(Delegates.Color3hNV)); - Delegates.glColor3hNV((Half)red, (Half)green, (Half)blue); - } - internal static unsafe void Load_Color3hvNV(Half* v) - { - Delegates.glColor3hvNV = (Delegates.Color3hvNV)GetExtensionDelegateStatic("glColor3hvNV", typeof(Delegates.Color3hvNV)); - Delegates.glColor3hvNV((Half*)v); - } - internal static void Load_Color3i(Int32 red, Int32 green, Int32 blue) - { - Delegates.glColor3i = (Delegates.Color3i)GetExtensionDelegateStatic("glColor3i", typeof(Delegates.Color3i)); - Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); - } - internal static unsafe void Load_Color3iv(Int32* v) - { - Delegates.glColor3iv = (Delegates.Color3iv)GetExtensionDelegateStatic("glColor3iv", typeof(Delegates.Color3iv)); - Delegates.glColor3iv((Int32*)v); - } - internal static void Load_Color3s(Int16 red, Int16 green, Int16 blue) - { - Delegates.glColor3s = (Delegates.Color3s)GetExtensionDelegateStatic("glColor3s", typeof(Delegates.Color3s)); - Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); - } - internal static unsafe void Load_Color3sv(Int16* v) - { - Delegates.glColor3sv = (Delegates.Color3sv)GetExtensionDelegateStatic("glColor3sv", typeof(Delegates.Color3sv)); - Delegates.glColor3sv((Int16*)v); - } - internal static void Load_Color3ub(Byte red, Byte green, Byte blue) - { - Delegates.glColor3ub = (Delegates.Color3ub)GetExtensionDelegateStatic("glColor3ub", typeof(Delegates.Color3ub)); - Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); - } - internal static unsafe void Load_Color3ubv(Byte* v) - { - Delegates.glColor3ubv = (Delegates.Color3ubv)GetExtensionDelegateStatic("glColor3ubv", typeof(Delegates.Color3ubv)); - Delegates.glColor3ubv((Byte*)v); - } - internal static void Load_Color3ui(UInt32 red, UInt32 green, UInt32 blue) - { - Delegates.glColor3ui = (Delegates.Color3ui)GetExtensionDelegateStatic("glColor3ui", typeof(Delegates.Color3ui)); - Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); - } - internal static unsafe void Load_Color3uiv(UInt32* v) - { - Delegates.glColor3uiv = (Delegates.Color3uiv)GetExtensionDelegateStatic("glColor3uiv", typeof(Delegates.Color3uiv)); - Delegates.glColor3uiv((UInt32*)v); - } - internal static void Load_Color3us(UInt16 red, UInt16 green, UInt16 blue) - { - Delegates.glColor3us = (Delegates.Color3us)GetExtensionDelegateStatic("glColor3us", typeof(Delegates.Color3us)); - Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); - } - internal static unsafe void Load_Color3usv(UInt16* v) - { - Delegates.glColor3usv = (Delegates.Color3usv)GetExtensionDelegateStatic("glColor3usv", typeof(Delegates.Color3usv)); - Delegates.glColor3usv((UInt16*)v); - } - internal static void Load_Color3xOES(int red, int green, int blue) - { - Delegates.glColor3xOES = (Delegates.Color3xOES)GetExtensionDelegateStatic("glColor3xOES", typeof(Delegates.Color3xOES)); - Delegates.glColor3xOES((int)red, (int)green, (int)blue); - } - internal static unsafe void Load_Color3xvOES(int* components) - { - Delegates.glColor3xvOES = (Delegates.Color3xvOES)GetExtensionDelegateStatic("glColor3xvOES", typeof(Delegates.Color3xvOES)); - Delegates.glColor3xvOES((int*)components); - } - internal static void Load_Color4b(SByte red, SByte green, SByte blue, SByte alpha) - { - Delegates.glColor4b = (Delegates.Color4b)GetExtensionDelegateStatic("glColor4b", typeof(Delegates.Color4b)); - Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); - } - internal static unsafe void Load_Color4bv(SByte* v) - { - Delegates.glColor4bv = (Delegates.Color4bv)GetExtensionDelegateStatic("glColor4bv", typeof(Delegates.Color4bv)); - Delegates.glColor4bv((SByte*)v); - } - internal static void Load_Color4d(Double red, Double green, Double blue, Double alpha) - { - Delegates.glColor4d = (Delegates.Color4d)GetExtensionDelegateStatic("glColor4d", typeof(Delegates.Color4d)); - Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); - } - internal static unsafe void Load_Color4dv(Double* v) - { - Delegates.glColor4dv = (Delegates.Color4dv)GetExtensionDelegateStatic("glColor4dv", typeof(Delegates.Color4dv)); - Delegates.glColor4dv((Double*)v); - } - internal static void Load_Color4f(Single red, Single green, Single blue, Single alpha) - { - Delegates.glColor4f = (Delegates.Color4f)GetExtensionDelegateStatic("glColor4f", typeof(Delegates.Color4f)); - Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glColor4fNormal3fVertex3fSUN = (Delegates.Color4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glColor4fNormal3fVertex3fSUN", typeof(Delegates.Color4fNormal3fVertex3fSUN)); - Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v) - { - Delegates.glColor4fNormal3fVertex3fvSUN = (Delegates.Color4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glColor4fNormal3fVertex3fvSUN", typeof(Delegates.Color4fNormal3fVertex3fvSUN)); - Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); - } - internal static unsafe void Load_Color4fv(Single* v) - { - Delegates.glColor4fv = (Delegates.Color4fv)GetExtensionDelegateStatic("glColor4fv", typeof(Delegates.Color4fv)); - Delegates.glColor4fv((Single*)v); - } - internal static void Load_Color4hNV(Half red, Half green, Half blue, Half alpha) - { - Delegates.glColor4hNV = (Delegates.Color4hNV)GetExtensionDelegateStatic("glColor4hNV", typeof(Delegates.Color4hNV)); - Delegates.glColor4hNV((Half)red, (Half)green, (Half)blue, (Half)alpha); - } - internal static unsafe void Load_Color4hvNV(Half* v) - { - Delegates.glColor4hvNV = (Delegates.Color4hvNV)GetExtensionDelegateStatic("glColor4hvNV", typeof(Delegates.Color4hvNV)); - Delegates.glColor4hvNV((Half*)v); - } - internal static void Load_Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha) - { - Delegates.glColor4i = (Delegates.Color4i)GetExtensionDelegateStatic("glColor4i", typeof(Delegates.Color4i)); - Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); - } - internal static unsafe void Load_Color4iv(Int32* v) - { - Delegates.glColor4iv = (Delegates.Color4iv)GetExtensionDelegateStatic("glColor4iv", typeof(Delegates.Color4iv)); - Delegates.glColor4iv((Int32*)v); - } - internal static void Load_Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha) - { - Delegates.glColor4s = (Delegates.Color4s)GetExtensionDelegateStatic("glColor4s", typeof(Delegates.Color4s)); - Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); - } - internal static unsafe void Load_Color4sv(Int16* v) - { - Delegates.glColor4sv = (Delegates.Color4sv)GetExtensionDelegateStatic("glColor4sv", typeof(Delegates.Color4sv)); - Delegates.glColor4sv((Int16*)v); - } - internal static void Load_Color4ub(Byte red, Byte green, Byte blue, Byte alpha) - { - Delegates.glColor4ub = (Delegates.Color4ub)GetExtensionDelegateStatic("glColor4ub", typeof(Delegates.Color4ub)); - Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); - } - internal static unsafe void Load_Color4ubv(Byte* v) - { - Delegates.glColor4ubv = (Delegates.Color4ubv)GetExtensionDelegateStatic("glColor4ubv", typeof(Delegates.Color4ubv)); - Delegates.glColor4ubv((Byte*)v); - } - internal static void Load_Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y) - { - Delegates.glColor4ubVertex2fSUN = (Delegates.Color4ubVertex2fSUN)GetExtensionDelegateStatic("glColor4ubVertex2fSUN", typeof(Delegates.Color4ubVertex2fSUN)); - Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y); - } - internal static unsafe void Load_Color4ubVertex2fvSUN(Byte* c, Single* v) - { - Delegates.glColor4ubVertex2fvSUN = (Delegates.Color4ubVertex2fvSUN)GetExtensionDelegateStatic("glColor4ubVertex2fvSUN", typeof(Delegates.Color4ubVertex2fvSUN)); - Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); - } - internal static void Load_Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - Delegates.glColor4ubVertex3fSUN = (Delegates.Color4ubVertex3fSUN)GetExtensionDelegateStatic("glColor4ubVertex3fSUN", typeof(Delegates.Color4ubVertex3fSUN)); - Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_Color4ubVertex3fvSUN(Byte* c, Single* v) - { - Delegates.glColor4ubVertex3fvSUN = (Delegates.Color4ubVertex3fvSUN)GetExtensionDelegateStatic("glColor4ubVertex3fvSUN", typeof(Delegates.Color4ubVertex3fvSUN)); - Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); - } - internal static void Load_Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) - { - Delegates.glColor4ui = (Delegates.Color4ui)GetExtensionDelegateStatic("glColor4ui", typeof(Delegates.Color4ui)); - Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); - } - internal static unsafe void Load_Color4uiv(UInt32* v) - { - Delegates.glColor4uiv = (Delegates.Color4uiv)GetExtensionDelegateStatic("glColor4uiv", typeof(Delegates.Color4uiv)); - Delegates.glColor4uiv((UInt32*)v); - } - internal static void Load_Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) - { - Delegates.glColor4us = (Delegates.Color4us)GetExtensionDelegateStatic("glColor4us", typeof(Delegates.Color4us)); - Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); - } - internal static unsafe void Load_Color4usv(UInt16* v) - { - Delegates.glColor4usv = (Delegates.Color4usv)GetExtensionDelegateStatic("glColor4usv", typeof(Delegates.Color4usv)); - Delegates.glColor4usv((UInt16*)v); - } - internal static void Load_Color4xOES(int red, int green, int blue, int alpha) - { - Delegates.glColor4xOES = (Delegates.Color4xOES)GetExtensionDelegateStatic("glColor4xOES", typeof(Delegates.Color4xOES)); - Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha); - } - internal static unsafe void Load_Color4xvOES(int* components) - { - Delegates.glColor4xvOES = (Delegates.Color4xvOES)GetExtensionDelegateStatic("glColor4xvOES", typeof(Delegates.Color4xvOES)); - Delegates.glColor4xvOES((int*)components); - } - internal static void Load_ColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glColorFormatNV = (Delegates.ColorFormatNV)GetExtensionDelegateStatic("glColorFormatNV", typeof(Delegates.ColorFormatNV)); - Delegates.glColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static void Load_ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) - { - Delegates.glColorFragmentOp1ATI = (Delegates.ColorFragmentOp1ATI)GetExtensionDelegateStatic("glColorFragmentOp1ATI", typeof(Delegates.ColorFragmentOp1ATI)); - Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); - } - internal static void Load_ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) - { - Delegates.glColorFragmentOp2ATI = (Delegates.ColorFragmentOp2ATI)GetExtensionDelegateStatic("glColorFragmentOp2ATI", typeof(Delegates.ColorFragmentOp2ATI)); - Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); - } - internal static void Load_ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) - { - Delegates.glColorFragmentOp3ATI = (Delegates.ColorFragmentOp3ATI)GetExtensionDelegateStatic("glColorFragmentOp3ATI", typeof(Delegates.ColorFragmentOp3ATI)); - Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); - } - internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) - { - Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - } - internal static void Load_ColorMaski(UInt32 index, bool r, bool g, bool b, bool a) - { - Delegates.glColorMaski = (Delegates.ColorMaski)GetExtensionDelegateStatic("glColorMaski", typeof(Delegates.ColorMaski)); - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - } - internal static void Load_ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a) - { - Delegates.glColorMaskIndexedEXT = (Delegates.ColorMaskIndexedEXT)GetExtensionDelegateStatic("glColorMaskIndexedEXT", typeof(Delegates.ColorMaskIndexedEXT)); - Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - } - internal static void Load_ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode) - { - Delegates.glColorMaterial = (Delegates.ColorMaterial)GetExtensionDelegateStatic("glColorMaterial", typeof(Delegates.ColorMaterial)); - Delegates.glColorMaterial((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ColorMaterialParameter)mode); - } - internal static void Load_ColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - Delegates.glColorP3ui = (Delegates.ColorP3ui)GetExtensionDelegateStatic("glColorP3ui", typeof(Delegates.ColorP3ui)); - Delegates.glColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - } - internal static unsafe void Load_ColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - Delegates.glColorP3uiv = (Delegates.ColorP3uiv)GetExtensionDelegateStatic("glColorP3uiv", typeof(Delegates.ColorP3uiv)); - Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - } - internal static void Load_ColorP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - Delegates.glColorP4ui = (Delegates.ColorP4ui)GetExtensionDelegateStatic("glColorP4ui", typeof(Delegates.ColorP4ui)); - Delegates.glColorP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - } - internal static unsafe void Load_ColorP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - Delegates.glColorP4uiv = (Delegates.ColorP4uiv)GetExtensionDelegateStatic("glColorP4uiv", typeof(Delegates.ColorP4uiv)); - Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - } - internal static void Load_ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glColorPointer = (Delegates.ColorPointer)GetExtensionDelegateStatic("glColorPointer", typeof(Delegates.ColorPointer)); - Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - Delegates.glColorPointerEXT = (Delegates.ColorPointerEXT)GetExtensionDelegateStatic("glColorPointerEXT", typeof(Delegates.ColorPointerEXT)); - Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - } - internal static void Load_ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - Delegates.glColorPointerListIBM = (Delegates.ColorPointerListIBM)GetExtensionDelegateStatic("glColorPointerListIBM", typeof(Delegates.ColorPointerListIBM)); - Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - } - internal static void Load_ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - Delegates.glColorPointervINTEL = (Delegates.ColorPointervINTEL)GetExtensionDelegateStatic("glColorPointervINTEL", typeof(Delegates.ColorPointervINTEL)); - Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); - } - internal static void Load_ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - Delegates.glColorSubTable = (Delegates.ColorSubTable)GetExtensionDelegateStatic("glColorSubTable", typeof(Delegates.ColorSubTable)); - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - } - internal static void Load_ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) - { - Delegates.glColorSubTableEXT = (Delegates.ColorSubTableEXT)GetExtensionDelegateStatic("glColorSubTableEXT", typeof(Delegates.ColorSubTableEXT)); - Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - } - internal static void Load_ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) - { - Delegates.glColorTable = (Delegates.ColorTable)GetExtensionDelegateStatic("glColorTable", typeof(Delegates.ColorTable)); - Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - } - internal static void Load_ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) - { - Delegates.glColorTableEXT = (Delegates.ColorTableEXT)GetExtensionDelegateStatic("glColorTableEXT", typeof(Delegates.ColorTableEXT)); - Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - } - internal static unsafe void Load_ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params) - { - Delegates.glColorTableParameterfv = (Delegates.ColorTableParameterfv)GetExtensionDelegateStatic("glColorTableParameterfv", typeof(Delegates.ColorTableParameterfv)); - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params) - { - Delegates.glColorTableParameterfvSGI = (Delegates.ColorTableParameterfvSGI)GetExtensionDelegateStatic("glColorTableParameterfvSGI", typeof(Delegates.ColorTableParameterfvSGI)); - Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); - } - internal static unsafe void Load_ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params) - { - Delegates.glColorTableParameteriv = (Delegates.ColorTableParameteriv)GetExtensionDelegateStatic("glColorTableParameteriv", typeof(Delegates.ColorTableParameteriv)); - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params); - } - internal static unsafe void Load_ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params) - { - Delegates.glColorTableParameterivSGI = (Delegates.ColorTableParameterivSGI)GetExtensionDelegateStatic("glColorTableParameterivSGI", typeof(Delegates.ColorTableParameterivSGI)); - Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); - } - internal static void Load_ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) - { - Delegates.glColorTableSGI = (Delegates.ColorTableSGI)GetExtensionDelegateStatic("glColorTableSGI", typeof(Delegates.ColorTableSGI)); - Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - } - internal static void Load_CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) - { - Delegates.glCombinerInputNV = (Delegates.CombinerInputNV)GetExtensionDelegateStatic("glCombinerInputNV", typeof(Delegates.CombinerInputNV)); - Delegates.glCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); - } - internal static void Load_CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) - { - Delegates.glCombinerOutputNV = (Delegates.CombinerOutputNV)GetExtensionDelegateStatic("glCombinerOutputNV", typeof(Delegates.CombinerOutputNV)); - Delegates.glCombinerOutputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)abOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)cdOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)sumOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)scale, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); - } - internal static void Load_CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param) - { - Delegates.glCombinerParameterfNV = (Delegates.CombinerParameterfNV)GetExtensionDelegateStatic("glCombinerParameterfNV", typeof(Delegates.CombinerParameterfNV)); - Delegates.glCombinerParameterfNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single)param); - } - internal static unsafe void Load_CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params) - { - Delegates.glCombinerParameterfvNV = (Delegates.CombinerParameterfvNV)GetExtensionDelegateStatic("glCombinerParameterfvNV", typeof(Delegates.CombinerParameterfvNV)); - Delegates.glCombinerParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - } - internal static void Load_CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param) - { - Delegates.glCombinerParameteriNV = (Delegates.CombinerParameteriNV)GetExtensionDelegateStatic("glCombinerParameteriNV", typeof(Delegates.CombinerParameteriNV)); - Delegates.glCombinerParameteriNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32)param); - } - internal static unsafe void Load_CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params) - { - Delegates.glCombinerParameterivNV = (Delegates.CombinerParameterivNV)GetExtensionDelegateStatic("glCombinerParameterivNV", typeof(Delegates.CombinerParameterivNV)); - Delegates.glCombinerParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - } - internal static unsafe void Load_CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params) - { - Delegates.glCombinerStageParameterfvNV = (Delegates.CombinerStageParameterfvNV)GetExtensionDelegateStatic("glCombinerStageParameterfvNV", typeof(Delegates.CombinerStageParameterfvNV)); - Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); - } - internal static void Load_CompileShader(UInt32 shader) - { - Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); - Delegates.glCompileShader((UInt32)shader); - } - internal static void Load_CompileShaderARB(UInt32 shaderObj) - { - Delegates.glCompileShaderARB = (Delegates.CompileShaderARB)GetExtensionDelegateStatic("glCompileShaderARB", typeof(Delegates.CompileShaderARB)); - Delegates.glCompileShaderARB((UInt32)shaderObj); - } - internal static unsafe void Load_CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length) - { - Delegates.glCompileShaderIncludeARB = (Delegates.CompileShaderIncludeARB)GetExtensionDelegateStatic("glCompileShaderIncludeARB", typeof(Delegates.CompileShaderIncludeARB)); - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); - } - internal static void Load_CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedMultiTexImage1DEXT = (Delegates.CompressedMultiTexImage1DEXT)GetExtensionDelegateStatic("glCompressedMultiTexImage1DEXT", typeof(Delegates.CompressedMultiTexImage1DEXT)); - Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedMultiTexImage2DEXT = (Delegates.CompressedMultiTexImage2DEXT)GetExtensionDelegateStatic("glCompressedMultiTexImage2DEXT", typeof(Delegates.CompressedMultiTexImage2DEXT)); - Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedMultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedMultiTexImage3DEXT = (Delegates.CompressedMultiTexImage3DEXT)GetExtensionDelegateStatic("glCompressedMultiTexImage3DEXT", typeof(Delegates.CompressedMultiTexImage3DEXT)); - Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedMultiTexSubImage1DEXT = (Delegates.CompressedMultiTexSubImage1DEXT)GetExtensionDelegateStatic("glCompressedMultiTexSubImage1DEXT", typeof(Delegates.CompressedMultiTexSubImage1DEXT)); - Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedMultiTexSubImage2DEXT = (Delegates.CompressedMultiTexSubImage2DEXT)GetExtensionDelegateStatic("glCompressedMultiTexSubImage2DEXT", typeof(Delegates.CompressedMultiTexSubImage2DEXT)); - Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedMultiTexSubImage3DEXT = (Delegates.CompressedMultiTexSubImage3DEXT)GetExtensionDelegateStatic("glCompressedMultiTexSubImage3DEXT", typeof(Delegates.CompressedMultiTexSubImage3DEXT)); - Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage1D = (Delegates.CompressedTexImage1D)GetExtensionDelegateStatic("glCompressedTexImage1D", typeof(Delegates.CompressedTexImage1D)); - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage1DARB = (Delegates.CompressedTexImage1DARB)GetExtensionDelegateStatic("glCompressedTexImage1DARB", typeof(Delegates.CompressedTexImage1DARB)); - Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage2DARB = (Delegates.CompressedTexImage2DARB)GetExtensionDelegateStatic("glCompressedTexImage2DARB", typeof(Delegates.CompressedTexImage2DARB)); - Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage3D = (Delegates.CompressedTexImage3D)GetExtensionDelegateStatic("glCompressedTexImage3D", typeof(Delegates.CompressedTexImage3D)); - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage3DARB = (Delegates.CompressedTexImage3DARB)GetExtensionDelegateStatic("glCompressedTexImage3DARB", typeof(Delegates.CompressedTexImage3DARB)); - Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage1D = (Delegates.CompressedTexSubImage1D)GetExtensionDelegateStatic("glCompressedTexSubImage1D", typeof(Delegates.CompressedTexSubImage1D)); - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage1DARB = (Delegates.CompressedTexSubImage1DARB)GetExtensionDelegateStatic("glCompressedTexSubImage1DARB", typeof(Delegates.CompressedTexSubImage1DARB)); - Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage2DARB = (Delegates.CompressedTexSubImage2DARB)GetExtensionDelegateStatic("glCompressedTexSubImage2DARB", typeof(Delegates.CompressedTexSubImage2DARB)); - Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage3D = (Delegates.CompressedTexSubImage3D)GetExtensionDelegateStatic("glCompressedTexSubImage3D", typeof(Delegates.CompressedTexSubImage3D)); - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage3DARB = (Delegates.CompressedTexSubImage3DARB)GetExtensionDelegateStatic("glCompressedTexSubImage3DARB", typeof(Delegates.CompressedTexSubImage3DARB)); - Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedTextureImage1DEXT = (Delegates.CompressedTextureImage1DEXT)GetExtensionDelegateStatic("glCompressedTextureImage1DEXT", typeof(Delegates.CompressedTextureImage1DEXT)); - Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedTextureImage2DEXT = (Delegates.CompressedTextureImage2DEXT)GetExtensionDelegateStatic("glCompressedTextureImage2DEXT", typeof(Delegates.CompressedTextureImage2DEXT)); - Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedTextureImage3DEXT = (Delegates.CompressedTextureImage3DEXT)GetExtensionDelegateStatic("glCompressedTextureImage3DEXT", typeof(Delegates.CompressedTextureImage3DEXT)); - Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedTextureSubImage1DEXT = (Delegates.CompressedTextureSubImage1DEXT)GetExtensionDelegateStatic("glCompressedTextureSubImage1DEXT", typeof(Delegates.CompressedTextureSubImage1DEXT)); - Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedTextureSubImage2DEXT = (Delegates.CompressedTextureSubImage2DEXT)GetExtensionDelegateStatic("glCompressedTextureSubImage2DEXT", typeof(Delegates.CompressedTextureSubImage2DEXT)); - Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) - { - Delegates.glCompressedTextureSubImage3DEXT = (Delegates.CompressedTextureSubImage3DEXT)GetExtensionDelegateStatic("glCompressedTextureSubImage3DEXT", typeof(Delegates.CompressedTextureSubImage3DEXT)); - Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); - } - internal static void Load_ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - Delegates.glConvolutionFilter1D = (Delegates.ConvolutionFilter1D)GetExtensionDelegateStatic("glConvolutionFilter1D", typeof(Delegates.ConvolutionFilter1D)); - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - } - internal static void Load_ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - Delegates.glConvolutionFilter1DEXT = (Delegates.ConvolutionFilter1DEXT)GetExtensionDelegateStatic("glConvolutionFilter1DEXT", typeof(Delegates.ConvolutionFilter1DEXT)); - Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - } - internal static void Load_ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - Delegates.glConvolutionFilter2D = (Delegates.ConvolutionFilter2D)GetExtensionDelegateStatic("glConvolutionFilter2D", typeof(Delegates.ConvolutionFilter2D)); - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - } - internal static void Load_ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) - { - Delegates.glConvolutionFilter2DEXT = (Delegates.ConvolutionFilter2DEXT)GetExtensionDelegateStatic("glConvolutionFilter2DEXT", typeof(Delegates.ConvolutionFilter2DEXT)); - Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - } - internal static void Load_ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params) - { - Delegates.glConvolutionParameterf = (Delegates.ConvolutionParameterf)GetExtensionDelegateStatic("glConvolutionParameterf", typeof(Delegates.ConvolutionParameterf)); - Delegates.glConvolutionParameterf((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single)@params); - } - internal static void Load_ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params) - { - Delegates.glConvolutionParameterfEXT = (Delegates.ConvolutionParameterfEXT)GetExtensionDelegateStatic("glConvolutionParameterfEXT", typeof(Delegates.ConvolutionParameterfEXT)); - Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single)@params); - } - internal static unsafe void Load_ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params) - { - Delegates.glConvolutionParameterfv = (Delegates.ConvolutionParameterfv)GetExtensionDelegateStatic("glConvolutionParameterfv", typeof(Delegates.ConvolutionParameterfv)); - Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single*)@params); - } - internal static unsafe void Load_ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params) - { - Delegates.glConvolutionParameterfvEXT = (Delegates.ConvolutionParameterfvEXT)GetExtensionDelegateStatic("glConvolutionParameterfvEXT", typeof(Delegates.ConvolutionParameterfvEXT)); - Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); - } - internal static void Load_ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params) - { - Delegates.glConvolutionParameteri = (Delegates.ConvolutionParameteri)GetExtensionDelegateStatic("glConvolutionParameteri", typeof(Delegates.ConvolutionParameteri)); - Delegates.glConvolutionParameteri((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32)@params); - } - internal static void Load_ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params) - { - Delegates.glConvolutionParameteriEXT = (Delegates.ConvolutionParameteriEXT)GetExtensionDelegateStatic("glConvolutionParameteriEXT", typeof(Delegates.ConvolutionParameteriEXT)); - Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32)@params); - } - internal static unsafe void Load_ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params) - { - Delegates.glConvolutionParameteriv = (Delegates.ConvolutionParameteriv)GetExtensionDelegateStatic("glConvolutionParameteriv", typeof(Delegates.ConvolutionParameteriv)); - Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params) - { - Delegates.glConvolutionParameterivEXT = (Delegates.ConvolutionParameterivEXT)GetExtensionDelegateStatic("glConvolutionParameterivEXT", typeof(Delegates.ConvolutionParameterivEXT)); - Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); - } - internal static void Load_ConvolutionParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glConvolutionParameterxOES = (Delegates.ConvolutionParameterxOES)GetExtensionDelegateStatic("glConvolutionParameterxOES", typeof(Delegates.ConvolutionParameterxOES)); - Delegates.glConvolutionParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_ConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - Delegates.glConvolutionParameterxvOES = (Delegates.ConvolutionParameterxvOES)GetExtensionDelegateStatic("glConvolutionParameterxvOES", typeof(Delegates.ConvolutionParameterxvOES)); - Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static void Load_CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - Delegates.glCopyBufferSubData = (Delegates.CopyBufferSubData)GetExtensionDelegateStatic("glCopyBufferSubData", typeof(Delegates.CopyBufferSubData)); - Delegates.glCopyBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - } - internal static void Load_CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyColorSubTable = (Delegates.CopyColorSubTable)GetExtensionDelegateStatic("glCopyColorSubTable", typeof(Delegates.CopyColorSubTable)); - Delegates.glCopyColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyColorSubTableEXT = (Delegates.CopyColorSubTableEXT)GetExtensionDelegateStatic("glCopyColorSubTableEXT", typeof(Delegates.CopyColorSubTableEXT)); - Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyColorTable = (Delegates.CopyColorTable)GetExtensionDelegateStatic("glCopyColorTable", typeof(Delegates.CopyColorTable)); - Delegates.glCopyColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyColorTableSGI = (Delegates.CopyColorTableSGI)GetExtensionDelegateStatic("glCopyColorTableSGI", typeof(Delegates.CopyColorTableSGI)); - Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyConvolutionFilter1D = (Delegates.CopyConvolutionFilter1D)GetExtensionDelegateStatic("glCopyConvolutionFilter1D", typeof(Delegates.CopyConvolutionFilter1D)); - Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyConvolutionFilter1DEXT = (Delegates.CopyConvolutionFilter1DEXT)GetExtensionDelegateStatic("glCopyConvolutionFilter1DEXT", typeof(Delegates.CopyConvolutionFilter1DEXT)); - Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyConvolutionFilter2D = (Delegates.CopyConvolutionFilter2D)GetExtensionDelegateStatic("glCopyConvolutionFilter2D", typeof(Delegates.CopyConvolutionFilter2D)); - Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyConvolutionFilter2DEXT = (Delegates.CopyConvolutionFilter2DEXT)GetExtensionDelegateStatic("glCopyConvolutionFilter2DEXT", typeof(Delegates.CopyConvolutionFilter2DEXT)); - Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) - { - Delegates.glCopyImageSubData = (Delegates.CopyImageSubData)GetExtensionDelegateStatic("glCopyImageSubData", typeof(Delegates.CopyImageSubData)); - Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); - } - internal static void Load_CopyImageSubDataNV(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth) - { - Delegates.glCopyImageSubDataNV = (Delegates.CopyImageSubDataNV)GetExtensionDelegateStatic("glCopyImageSubDataNV", typeof(Delegates.CopyImageSubDataNV)); - Delegates.glCopyImageSubDataNV((UInt32)srcName, (OpenTK.Graphics.OpenGL.NvCopyImage)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.NvCopyImage)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - Delegates.glCopyMultiTexImage1DEXT = (Delegates.CopyMultiTexImage1DEXT)GetExtensionDelegateStatic("glCopyMultiTexImage1DEXT", typeof(Delegates.CopyMultiTexImage1DEXT)); - Delegates.glCopyMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - } - internal static void Load_CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyMultiTexImage2DEXT = (Delegates.CopyMultiTexImage2DEXT)GetExtensionDelegateStatic("glCopyMultiTexImage2DEXT", typeof(Delegates.CopyMultiTexImage2DEXT)); - Delegates.glCopyMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyMultiTexSubImage1DEXT = (Delegates.CopyMultiTexSubImage1DEXT)GetExtensionDelegateStatic("glCopyMultiTexSubImage1DEXT", typeof(Delegates.CopyMultiTexSubImage1DEXT)); - Delegates.glCopyMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyMultiTexSubImage2DEXT = (Delegates.CopyMultiTexSubImage2DEXT)GetExtensionDelegateStatic("glCopyMultiTexSubImage2DEXT", typeof(Delegates.CopyMultiTexSubImage2DEXT)); - Delegates.glCopyMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyMultiTexSubImage3DEXT = (Delegates.CopyMultiTexSubImage3DEXT)GetExtensionDelegateStatic("glCopyMultiTexSubImage3DEXT", typeof(Delegates.CopyMultiTexSubImage3DEXT)); - Delegates.glCopyMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyPathNV(UInt32 resultPath, UInt32 srcPath) - { - Delegates.glCopyPathNV = (Delegates.CopyPathNV)GetExtensionDelegateStatic("glCopyPathNV", typeof(Delegates.CopyPathNV)); - Delegates.glCopyPathNV((UInt32)resultPath, (UInt32)srcPath); - } - internal static void Load_CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type) - { - Delegates.glCopyPixels = (Delegates.CopyPixels)GetExtensionDelegateStatic("glCopyPixels", typeof(Delegates.CopyPixels)); - Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelCopyType)type); - } - internal static void Load_CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - Delegates.glCopyTexImage1D = (Delegates.CopyTexImage1D)GetExtensionDelegateStatic("glCopyTexImage1D", typeof(Delegates.CopyTexImage1D)); - Delegates.glCopyTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - } - internal static void Load_CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - Delegates.glCopyTexImage1DEXT = (Delegates.CopyTexImage1DEXT)GetExtensionDelegateStatic("glCopyTexImage1DEXT", typeof(Delegates.CopyTexImage1DEXT)); - Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - } - internal static void Load_CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); - Delegates.glCopyTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyTexImage2DEXT = (Delegates.CopyTexImage2DEXT)GetExtensionDelegateStatic("glCopyTexImage2DEXT", typeof(Delegates.CopyTexImage2DEXT)); - Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyTexSubImage1D = (Delegates.CopyTexSubImage1D)GetExtensionDelegateStatic("glCopyTexSubImage1D", typeof(Delegates.CopyTexSubImage1D)); - Delegates.glCopyTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyTexSubImage1DEXT = (Delegates.CopyTexSubImage1DEXT)GetExtensionDelegateStatic("glCopyTexSubImage1DEXT", typeof(Delegates.CopyTexSubImage1DEXT)); - Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage2DEXT = (Delegates.CopyTexSubImage2DEXT)GetExtensionDelegateStatic("glCopyTexSubImage2DEXT", typeof(Delegates.CopyTexSubImage2DEXT)); - Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage3D = (Delegates.CopyTexSubImage3D)GetExtensionDelegateStatic("glCopyTexSubImage3D", typeof(Delegates.CopyTexSubImage3D)); - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage3DEXT = (Delegates.CopyTexSubImage3DEXT)GetExtensionDelegateStatic("glCopyTexSubImage3DEXT", typeof(Delegates.CopyTexSubImage3DEXT)); - Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - Delegates.glCopyTextureImage1DEXT = (Delegates.CopyTextureImage1DEXT)GetExtensionDelegateStatic("glCopyTextureImage1DEXT", typeof(Delegates.CopyTextureImage1DEXT)); - Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - } - internal static void Load_CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyTextureImage2DEXT = (Delegates.CopyTextureImage2DEXT)GetExtensionDelegateStatic("glCopyTextureImage2DEXT", typeof(Delegates.CopyTextureImage2DEXT)); - Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyTextureSubImage1DEXT = (Delegates.CopyTextureSubImage1DEXT)GetExtensionDelegateStatic("glCopyTextureSubImage1DEXT", typeof(Delegates.CopyTextureSubImage1DEXT)); - Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTextureSubImage2DEXT = (Delegates.CopyTextureSubImage2DEXT)GetExtensionDelegateStatic("glCopyTextureSubImage2DEXT", typeof(Delegates.CopyTextureSubImage2DEXT)); - Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTextureSubImage3DEXT = (Delegates.CopyTextureSubImage3DEXT)GetExtensionDelegateStatic("glCopyTextureSubImage3DEXT", typeof(Delegates.CopyTextureSubImage3DEXT)); - Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static unsafe void Load_CoverFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - Delegates.glCoverFillPathInstancedNV = (Delegates.CoverFillPathInstancedNV)GetExtensionDelegateStatic("glCoverFillPathInstancedNV", typeof(Delegates.CoverFillPathInstancedNV)); - Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - internal static void Load_CoverFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - Delegates.glCoverFillPathNV = (Delegates.CoverFillPathNV)GetExtensionDelegateStatic("glCoverFillPathNV", typeof(Delegates.CoverFillPathNV)); - Delegates.glCoverFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); - } - internal static unsafe void Load_CoverStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - Delegates.glCoverStrokePathInstancedNV = (Delegates.CoverStrokePathInstancedNV)GetExtensionDelegateStatic("glCoverStrokePathInstancedNV", typeof(Delegates.CoverStrokePathInstancedNV)); - Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - internal static void Load_CoverStrokePathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) - { - Delegates.glCoverStrokePathNV = (Delegates.CoverStrokePathNV)GetExtensionDelegateStatic("glCoverStrokePathNV", typeof(Delegates.CoverStrokePathNV)); - Delegates.glCoverStrokePathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); - } - internal static Int32 Load_CreateProgram() - { - Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); - return Delegates.glCreateProgram(); - } - internal static Int32 Load_CreateProgramObjectARB() - { - Delegates.glCreateProgramObjectARB = (Delegates.CreateProgramObjectARB)GetExtensionDelegateStatic("glCreateProgramObjectARB", typeof(Delegates.CreateProgramObjectARB)); - return Delegates.glCreateProgramObjectARB(); - } - internal static Int32 Load_CreateShader(OpenTK.Graphics.OpenGL.ShaderType type) - { - Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); - return Delegates.glCreateShader((OpenTK.Graphics.OpenGL.ShaderType)type); - } - internal static Int32 Load_CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType) - { - Delegates.glCreateShaderObjectARB = (Delegates.CreateShaderObjectARB)GetExtensionDelegateStatic("glCreateShaderObjectARB", typeof(Delegates.CreateShaderObjectARB)); - return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)shaderType); - } - internal static Int32 Load_CreateShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string) - { - Delegates.glCreateShaderProgramEXT = (Delegates.CreateShaderProgramEXT)GetExtensionDelegateStatic("glCreateShaderProgramEXT", typeof(Delegates.CreateShaderProgramEXT)); - return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (String)@string); - } - internal static Int32 Load_CreateShaderProgramv(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings) - { - Delegates.glCreateShaderProgramv = (Delegates.CreateShaderProgramv)GetExtensionDelegateStatic("glCreateShaderProgramv", typeof(Delegates.CreateShaderProgramv)); - return Delegates.glCreateShaderProgramv((OpenTK.Graphics.OpenGL.ShaderType)type, (Int32)count, (String[])strings); - } - internal static Int32 Load_CreateShaderProgramvEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 count, String[] strings) - { - Delegates.glCreateShaderProgramvEXT = (Delegates.CreateShaderProgramvEXT)GetExtensionDelegateStatic("glCreateShaderProgramvEXT", typeof(Delegates.CreateShaderProgramvEXT)); - return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (Int32)count, (String[])strings); - } - internal static unsafe IntPtr Load_CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) - { - Delegates.glCreateSyncFromCLeventARB = (Delegates.CreateSyncFromCLeventARB)GetExtensionDelegateStatic("glCreateSyncFromCLeventARB", typeof(Delegates.CreateSyncFromCLeventARB)); - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); - } - internal static void Load_CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode) - { - Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); - Delegates.glCullFace((OpenTK.Graphics.OpenGL.CullFaceMode)mode); - } - internal static unsafe void Load_CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params) - { - Delegates.glCullParameterdvEXT = (Delegates.CullParameterdvEXT)GetExtensionDelegateStatic("glCullParameterdvEXT", typeof(Delegates.CullParameterdvEXT)); - Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params); - } - internal static unsafe void Load_CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params) - { - Delegates.glCullParameterfvEXT = (Delegates.CullParameterfvEXT)GetExtensionDelegateStatic("glCullParameterfvEXT", typeof(Delegates.CullParameterfvEXT)); - Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params); - } - internal static void Load_CurrentPaletteMatrixARB(Int32 index) - { - Delegates.glCurrentPaletteMatrixARB = (Delegates.CurrentPaletteMatrixARB)GetExtensionDelegateStatic("glCurrentPaletteMatrixARB", typeof(Delegates.CurrentPaletteMatrixARB)); - Delegates.glCurrentPaletteMatrixARB((Int32)index); - } - internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - } - internal static void Load_DebugMessageCallbackAMD(DebugProcAmd callback, [OutAttribute] IntPtr userParam) - { - Delegates.glDebugMessageCallbackAMD = (Delegates.DebugMessageCallbackAMD)GetExtensionDelegateStatic("glDebugMessageCallbackAMD", typeof(Delegates.DebugMessageCallbackAMD)); - Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam); - } - internal static void Load_DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam) - { - Delegates.glDebugMessageCallbackARB = (Delegates.DebugMessageCallbackARB)GetExtensionDelegateStatic("glDebugMessageCallbackARB", typeof(Delegates.DebugMessageCallbackARB)); - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam); - } - internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) - { - Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - } - internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static unsafe void Load_DebugMessageControlARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControlARB = (Delegates.DebugMessageControlARB)GetExtensionDelegateStatic("glDebugMessageControlARB", typeof(Delegates.DebugMessageControlARB)); - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static unsafe void Load_DebugMessageEnableAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageEnableAMD = (Delegates.DebugMessageEnableAMD)GetExtensionDelegateStatic("glDebugMessageEnableAMD", typeof(Delegates.DebugMessageEnableAMD)); - Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static void Load_DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); - Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL.DebugSeverity)severity, (Int32)length, (String)buf); - } - internal static void Load_DebugMessageInsertAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf) - { - Delegates.glDebugMessageInsertAMD = (Delegates.DebugMessageInsertAMD)GetExtensionDelegateStatic("glDebugMessageInsertAMD", typeof(Delegates.DebugMessageInsertAMD)); - Delegates.glDebugMessageInsertAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf); - } - internal static void Load_DebugMessageInsertARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsertARB = (Delegates.DebugMessageInsertARB)GetExtensionDelegateStatic("glDebugMessageInsertARB", typeof(Delegates.DebugMessageInsertARB)); - Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf); - } - internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (UInt32)id, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)length, (String)buf); - } - internal static unsafe void Load_DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) - { - Delegates.glDeformationMap3dSGIX = (Delegates.DeformationMap3dSGIX)GetExtensionDelegateStatic("glDeformationMap3dSGIX", typeof(Delegates.DeformationMap3dSGIX)); - Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); - } - internal static unsafe void Load_DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) - { - Delegates.glDeformationMap3fSGIX = (Delegates.DeformationMap3fSGIX)GetExtensionDelegateStatic("glDeformationMap3fSGIX", typeof(Delegates.DeformationMap3fSGIX)); - Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); - } - internal static void Load_DeformSGIX(UInt32 mask) - { - Delegates.glDeformSGIX = (Delegates.DeformSGIX)GetExtensionDelegateStatic("glDeformSGIX", typeof(Delegates.DeformSGIX)); - Delegates.glDeformSGIX((UInt32)mask); - } - internal static void Load_DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range) - { - Delegates.glDeleteAsyncMarkersSGIX = (Delegates.DeleteAsyncMarkersSGIX)GetExtensionDelegateStatic("glDeleteAsyncMarkersSGIX", typeof(Delegates.DeleteAsyncMarkersSGIX)); - Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); - } - internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) - { - Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - } - internal static unsafe void Load_DeleteBuffersARB(Int32 n, UInt32* buffers) - { - Delegates.glDeleteBuffersARB = (Delegates.DeleteBuffersARB)GetExtensionDelegateStatic("glDeleteBuffersARB", typeof(Delegates.DeleteBuffersARB)); - Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); - } - internal static unsafe void Load_DeleteFencesAPPLE(Int32 n, UInt32* fences) - { - Delegates.glDeleteFencesAPPLE = (Delegates.DeleteFencesAPPLE)GetExtensionDelegateStatic("glDeleteFencesAPPLE", typeof(Delegates.DeleteFencesAPPLE)); - Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) - { - Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); - Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); - } - internal static void Load_DeleteFragmentShaderATI(UInt32 id) - { - Delegates.glDeleteFragmentShaderATI = (Delegates.DeleteFragmentShaderATI)GetExtensionDelegateStatic("glDeleteFragmentShaderATI", typeof(Delegates.DeleteFragmentShaderATI)); - Delegates.glDeleteFragmentShaderATI((UInt32)id); - } - internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers) - { - Delegates.glDeleteFramebuffersEXT = (Delegates.DeleteFramebuffersEXT)GetExtensionDelegateStatic("glDeleteFramebuffersEXT", typeof(Delegates.DeleteFramebuffersEXT)); - Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - } - internal static void Load_DeleteLists(UInt32 list, Int32 range) - { - Delegates.glDeleteLists = (Delegates.DeleteLists)GetExtensionDelegateStatic("glDeleteLists", typeof(Delegates.DeleteLists)); - Delegates.glDeleteLists((UInt32)list, (Int32)range); - } - internal static void Load_DeleteNamedStringARB(Int32 namelen, String name) - { - Delegates.glDeleteNamedStringARB = (Delegates.DeleteNamedStringARB)GetExtensionDelegateStatic("glDeleteNamedStringARB", typeof(Delegates.DeleteNamedStringARB)); - Delegates.glDeleteNamedStringARB((Int32)namelen, (String)name); - } - internal static unsafe void Load_DeleteNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names) - { - Delegates.glDeleteNamesAMD = (Delegates.DeleteNamesAMD)GetExtensionDelegateStatic("glDeleteNamesAMD", typeof(Delegates.DeleteNamesAMD)); - Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); - } - internal static void Load_DeleteObjectARB(UInt32 obj) - { - Delegates.glDeleteObjectARB = (Delegates.DeleteObjectARB)GetExtensionDelegateStatic("glDeleteObjectARB", typeof(Delegates.DeleteObjectARB)); - Delegates.glDeleteObjectARB((UInt32)obj); - } - internal static unsafe void Load_DeleteOcclusionQueriesNV(Int32 n, UInt32* ids) - { - Delegates.glDeleteOcclusionQueriesNV = (Delegates.DeleteOcclusionQueriesNV)GetExtensionDelegateStatic("glDeleteOcclusionQueriesNV", typeof(Delegates.DeleteOcclusionQueriesNV)); - Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); - } - internal static void Load_DeletePathsNV(UInt32 path, Int32 range) - { - Delegates.glDeletePathsNV = (Delegates.DeletePathsNV)GetExtensionDelegateStatic("glDeletePathsNV", typeof(Delegates.DeletePathsNV)); - Delegates.glDeletePathsNV((UInt32)path, (Int32)range); - } - internal static unsafe void Load_DeletePerfMonitorsAMD(Int32 n, UInt32* monitors) - { - Delegates.glDeletePerfMonitorsAMD = (Delegates.DeletePerfMonitorsAMD)GetExtensionDelegateStatic("glDeletePerfMonitorsAMD", typeof(Delegates.DeletePerfMonitorsAMD)); - Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); - } - internal static void Load_DeleteProgram(UInt32 program) - { - Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); - Delegates.glDeleteProgram((UInt32)program); - } - internal static unsafe void Load_DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - Delegates.glDeleteProgramPipelines = (Delegates.DeleteProgramPipelines)GetExtensionDelegateStatic("glDeleteProgramPipelines", typeof(Delegates.DeleteProgramPipelines)); - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines) - { - Delegates.glDeleteProgramPipelinesEXT = (Delegates.DeleteProgramPipelinesEXT)GetExtensionDelegateStatic("glDeleteProgramPipelinesEXT", typeof(Delegates.DeleteProgramPipelinesEXT)); - Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_DeleteProgramsARB(Int32 n, UInt32* programs) - { - Delegates.glDeleteProgramsARB = (Delegates.DeleteProgramsARB)GetExtensionDelegateStatic("glDeleteProgramsARB", typeof(Delegates.DeleteProgramsARB)); - Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); - } - internal static unsafe void Load_DeleteProgramsNV(Int32 n, UInt32* programs) - { - Delegates.glDeleteProgramsNV = (Delegates.DeleteProgramsNV)GetExtensionDelegateStatic("glDeleteProgramsNV", typeof(Delegates.DeleteProgramsNV)); - Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); - } - internal static unsafe void Load_DeleteQueries(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueries = (Delegates.DeleteQueries)GetExtensionDelegateStatic("glDeleteQueries", typeof(Delegates.DeleteQueries)); - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteQueriesARB(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueriesARB = (Delegates.DeleteQueriesARB)GetExtensionDelegateStatic("glDeleteQueriesARB", typeof(Delegates.DeleteQueriesARB)); - Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers) - { - Delegates.glDeleteRenderbuffersEXT = (Delegates.DeleteRenderbuffersEXT)GetExtensionDelegateStatic("glDeleteRenderbuffersEXT", typeof(Delegates.DeleteRenderbuffersEXT)); - Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_DeleteSamplers(Int32 count, UInt32* samplers) - { - Delegates.glDeleteSamplers = (Delegates.DeleteSamplers)GetExtensionDelegateStatic("glDeleteSamplers", typeof(Delegates.DeleteSamplers)); - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - } - internal static void Load_DeleteShader(UInt32 shader) - { - Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); - Delegates.glDeleteShader((UInt32)shader); - } - internal static void Load_DeleteSync(IntPtr sync) - { - Delegates.glDeleteSync = (Delegates.DeleteSync)GetExtensionDelegateStatic("glDeleteSync", typeof(Delegates.DeleteSync)); - Delegates.glDeleteSync((IntPtr)sync); - } - internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) - { - Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_DeleteTexturesEXT(Int32 n, UInt32* textures) - { - Delegates.glDeleteTexturesEXT = (Delegates.DeleteTexturesEXT)GetExtensionDelegateStatic("glDeleteTexturesEXT", typeof(Delegates.DeleteTexturesEXT)); - Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - Delegates.glDeleteTransformFeedbacks = (Delegates.DeleteTransformFeedbacks)GetExtensionDelegateStatic("glDeleteTransformFeedbacks", typeof(Delegates.DeleteTransformFeedbacks)); - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteTransformFeedbacksNV(Int32 n, UInt32* ids) - { - Delegates.glDeleteTransformFeedbacksNV = (Delegates.DeleteTransformFeedbacksNV)GetExtensionDelegateStatic("glDeleteTransformFeedbacksNV", typeof(Delegates.DeleteTransformFeedbacksNV)); - Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteVertexArrays(Int32 n, UInt32* arrays) - { - Delegates.glDeleteVertexArrays = (Delegates.DeleteVertexArrays)GetExtensionDelegateStatic("glDeleteVertexArrays", typeof(Delegates.DeleteVertexArrays)); - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays) - { - Delegates.glDeleteVertexArraysAPPLE = (Delegates.DeleteVertexArraysAPPLE)GetExtensionDelegateStatic("glDeleteVertexArraysAPPLE", typeof(Delegates.DeleteVertexArraysAPPLE)); - Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - } - internal static void Load_DeleteVertexShaderEXT(UInt32 id) - { - Delegates.glDeleteVertexShaderEXT = (Delegates.DeleteVertexShaderEXT)GetExtensionDelegateStatic("glDeleteVertexShaderEXT", typeof(Delegates.DeleteVertexShaderEXT)); - Delegates.glDeleteVertexShaderEXT((UInt32)id); - } - internal static void Load_DepthBoundsdNV(Double zmin, Double zmax) - { - Delegates.glDepthBoundsdNV = (Delegates.DepthBoundsdNV)GetExtensionDelegateStatic("glDepthBoundsdNV", typeof(Delegates.DepthBoundsdNV)); - Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax); - } - internal static void Load_DepthBoundsEXT(Double zmin, Double zmax) - { - Delegates.glDepthBoundsEXT = (Delegates.DepthBoundsEXT)GetExtensionDelegateStatic("glDepthBoundsEXT", typeof(Delegates.DepthBoundsEXT)); - Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax); - } - internal static void Load_DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func) - { - Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); - Delegates.glDepthFunc((OpenTK.Graphics.OpenGL.DepthFunction)func); - } - internal static void Load_DepthMask(bool flag) - { - Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); - Delegates.glDepthMask((bool)flag); - } - internal static void Load_DepthRange(Double near, Double far) - { - Delegates.glDepthRange = (Delegates.DepthRange)GetExtensionDelegateStatic("glDepthRange", typeof(Delegates.DepthRange)); - Delegates.glDepthRange((Double)near, (Double)far); - } - internal static unsafe void Load_DepthRangeArrayv(UInt32 first, Int32 count, Double* v) - { - Delegates.glDepthRangeArrayv = (Delegates.DepthRangeArrayv)GetExtensionDelegateStatic("glDepthRangeArrayv", typeof(Delegates.DepthRangeArrayv)); - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); - } - internal static void Load_DepthRangedNV(Double zNear, Double zFar) - { - Delegates.glDepthRangedNV = (Delegates.DepthRangedNV)GetExtensionDelegateStatic("glDepthRangedNV", typeof(Delegates.DepthRangedNV)); - Delegates.glDepthRangedNV((Double)zNear, (Double)zFar); - } - internal static void Load_DepthRangef(Single n, Single f) - { - Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); - Delegates.glDepthRangef((Single)n, (Single)f); - } - internal static void Load_DepthRangefOES(Single n, Single f) - { - Delegates.glDepthRangefOES = (Delegates.DepthRangefOES)GetExtensionDelegateStatic("glDepthRangefOES", typeof(Delegates.DepthRangefOES)); - Delegates.glDepthRangefOES((Single)n, (Single)f); - } - internal static void Load_DepthRangeIndexed(UInt32 index, Double n, Double f) - { - Delegates.glDepthRangeIndexed = (Delegates.DepthRangeIndexed)GetExtensionDelegateStatic("glDepthRangeIndexed", typeof(Delegates.DepthRangeIndexed)); - Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); - } - internal static void Load_DepthRangexOES(int n, int f) - { - Delegates.glDepthRangexOES = (Delegates.DepthRangexOES)GetExtensionDelegateStatic("glDepthRangexOES", typeof(Delegates.DepthRangexOES)); - Delegates.glDepthRangexOES((int)n, (int)f); - } - internal static void Load_DetachObjectARB(UInt32 containerObj, UInt32 attachedObj) - { - Delegates.glDetachObjectARB = (Delegates.DetachObjectARB)GetExtensionDelegateStatic("glDetachObjectARB", typeof(Delegates.DetachObjectARB)); - Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); - } - internal static void Load_DetachShader(UInt32 program, UInt32 shader) - { - Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - } - internal static unsafe void Load_DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) - { - Delegates.glDetailTexFuncSGIS = (Delegates.DetailTexFuncSGIS)GetExtensionDelegateStatic("glDetailTexFuncSGIS", typeof(Delegates.DetailTexFuncSGIS)); - Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); - } - internal static void Load_Disable(OpenTK.Graphics.OpenGL.EnableCap cap) - { - Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); - Delegates.glDisable((OpenTK.Graphics.OpenGL.EnableCap)cap); - } - internal static void Load_DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) - { - Delegates.glDisableClientState = (Delegates.DisableClientState)GetExtensionDelegateStatic("glDisableClientState", typeof(Delegates.DisableClientState)); - Delegates.glDisableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); - } - internal static void Load_DisableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - Delegates.glDisableClientStateiEXT = (Delegates.DisableClientStateiEXT)GetExtensionDelegateStatic("glDisableClientStateiEXT", typeof(Delegates.DisableClientStateiEXT)); - Delegates.glDisableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - } - internal static void Load_DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - Delegates.glDisableClientStateIndexedEXT = (Delegates.DisableClientStateIndexedEXT)GetExtensionDelegateStatic("glDisableClientStateIndexedEXT", typeof(Delegates.DisableClientStateIndexedEXT)); - Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - } - internal static void Load_Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - Delegates.glDisablei = (Delegates.Disablei)GetExtensionDelegateStatic("glDisablei", typeof(Delegates.Disablei)); - Delegates.glDisablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - } - internal static void Load_DisableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - Delegates.glDisableIndexedEXT = (Delegates.DisableIndexedEXT)GetExtensionDelegateStatic("glDisableIndexedEXT", typeof(Delegates.DisableIndexedEXT)); - Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - } - internal static void Load_DisableVariantClientStateEXT(UInt32 id) - { - Delegates.glDisableVariantClientStateEXT = (Delegates.DisableVariantClientStateEXT)GetExtensionDelegateStatic("glDisableVariantClientStateEXT", typeof(Delegates.DisableVariantClientStateEXT)); - Delegates.glDisableVariantClientStateEXT((UInt32)id); - } - internal static void Load_DisableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index) - { - Delegates.glDisableVertexArrayAttribEXT = (Delegates.DisableVertexArrayAttribEXT)GetExtensionDelegateStatic("glDisableVertexArrayAttribEXT", typeof(Delegates.DisableVertexArrayAttribEXT)); - Delegates.glDisableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); - } - internal static void Load_DisableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - Delegates.glDisableVertexArrayEXT = (Delegates.DisableVertexArrayEXT)GetExtensionDelegateStatic("glDisableVertexArrayEXT", typeof(Delegates.DisableVertexArrayEXT)); - Delegates.glDisableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); - } - internal static void Load_DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - Delegates.glDisableVertexAttribAPPLE = (Delegates.DisableVertexAttribAPPLE)GetExtensionDelegateStatic("glDisableVertexAttribAPPLE", typeof(Delegates.DisableVertexAttribAPPLE)); - Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - } - internal static void Load_DisableVertexAttribArray(UInt32 index) - { - Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); - Delegates.glDisableVertexAttribArray((UInt32)index); - } - internal static void Load_DisableVertexAttribArrayARB(UInt32 index) - { - Delegates.glDisableVertexAttribArrayARB = (Delegates.DisableVertexAttribArrayARB)GetExtensionDelegateStatic("glDisableVertexAttribArrayARB", typeof(Delegates.DisableVertexAttribArrayARB)); - Delegates.glDisableVertexAttribArrayARB((UInt32)index); - } - internal static void Load_DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) - { - Delegates.glDispatchCompute = (Delegates.DispatchCompute)GetExtensionDelegateStatic("glDispatchCompute", typeof(Delegates.DispatchCompute)); - Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); - } - internal static void Load_DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z) - { - Delegates.glDispatchComputeGroupSizeARB = (Delegates.DispatchComputeGroupSizeARB)GetExtensionDelegateStatic("glDispatchComputeGroupSizeARB", typeof(Delegates.DispatchComputeGroupSizeARB)); - Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); - } - internal static void Load_DispatchComputeIndirect(IntPtr indirect) - { - Delegates.glDispatchComputeIndirect = (Delegates.DispatchComputeIndirect)GetExtensionDelegateStatic("glDispatchComputeIndirect", typeof(Delegates.DispatchComputeIndirect)); - Delegates.glDispatchComputeIndirect((IntPtr)indirect); - } - internal static void Load_DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); - Delegates.glDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - } - internal static void Load_DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - Delegates.glDrawArraysEXT = (Delegates.DrawArraysEXT)GetExtensionDelegateStatic("glDrawArraysEXT", typeof(Delegates.DrawArraysEXT)); - Delegates.glDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - } - internal static void Load_DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect) - { - Delegates.glDrawArraysIndirect = (Delegates.DrawArraysIndirect)GetExtensionDelegateStatic("glDrawArraysIndirect", typeof(Delegates.DrawArraysIndirect)); - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect); - } - internal static void Load_DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - Delegates.glDrawArraysInstanced = (Delegates.DrawArraysInstanced)GetExtensionDelegateStatic("glDrawArraysInstanced", typeof(Delegates.DrawArraysInstanced)); - Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - } - internal static void Load_DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedARB = (Delegates.DrawArraysInstancedARB)GetExtensionDelegateStatic("glDrawArraysInstancedARB", typeof(Delegates.DrawArraysInstancedARB)); - Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); - } - internal static void Load_DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) - { - Delegates.glDrawArraysInstancedBaseInstance = (Delegates.DrawArraysInstancedBaseInstance)GetExtensionDelegateStatic("glDrawArraysInstancedBaseInstance", typeof(Delegates.DrawArraysInstancedBaseInstance)); - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); - } - internal static void Load_DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) - { - Delegates.glDrawArraysInstancedEXT = (Delegates.DrawArraysInstancedEXT)GetExtensionDelegateStatic("glDrawArraysInstancedEXT", typeof(Delegates.DrawArraysInstancedEXT)); - Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); - } - internal static void Load_DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - Delegates.glDrawBuffer = (Delegates.DrawBuffer)GetExtensionDelegateStatic("glDrawBuffer", typeof(Delegates.DrawBuffer)); - Delegates.glDrawBuffer((OpenTK.Graphics.OpenGL.DrawBufferMode)mode); - } - internal static unsafe void Load_DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs) - { - Delegates.glDrawBuffers = (Delegates.DrawBuffers)GetExtensionDelegateStatic("glDrawBuffers", typeof(Delegates.DrawBuffers)); - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs); - } - internal static unsafe void Load_DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs) - { - Delegates.glDrawBuffersARB = (Delegates.DrawBuffersARB)GetExtensionDelegateStatic("glDrawBuffersARB", typeof(Delegates.DrawBuffersARB)); - Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs); - } - internal static unsafe void Load_DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs) - { - Delegates.glDrawBuffersATI = (Delegates.DrawBuffersATI)GetExtensionDelegateStatic("glDrawBuffersATI", typeof(Delegates.DrawBuffersATI)); - Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs); - } - internal static void Load_DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) - { - Delegates.glDrawElementArrayAPPLE = (Delegates.DrawElementArrayAPPLE)GetExtensionDelegateStatic("glDrawElementArrayAPPLE", typeof(Delegates.DrawElementArrayAPPLE)); - Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); - } - internal static void Load_DrawElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count) - { - Delegates.glDrawElementArrayATI = (Delegates.DrawElementArrayATI)GetExtensionDelegateStatic("glDrawElementArrayATI", typeof(Delegates.DrawElementArrayATI)); - Delegates.glDrawElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count); - } - internal static void Load_DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); - Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - Delegates.glDrawElementsBaseVertex = (Delegates.DrawElementsBaseVertex)GetExtensionDelegateStatic("glDrawElementsBaseVertex", typeof(Delegates.DrawElementsBaseVertex)); - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - } - internal static void Load_DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect) - { - Delegates.glDrawElementsIndirect = (Delegates.DrawElementsIndirect)GetExtensionDelegateStatic("glDrawElementsIndirect", typeof(Delegates.DrawElementsIndirect)); - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect); - } - internal static void Load_DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount) - { - Delegates.glDrawElementsInstanced = (Delegates.DrawElementsInstanced)GetExtensionDelegateStatic("glDrawElementsInstanced", typeof(Delegates.DrawElementsInstanced)); - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - } - internal static void Load_DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedARB = (Delegates.DrawElementsInstancedARB)GetExtensionDelegateStatic("glDrawElementsInstancedARB", typeof(Delegates.DrawElementsInstancedARB)); - Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) - { - Delegates.glDrawElementsInstancedBaseInstance = (Delegates.DrawElementsInstancedBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseInstance", typeof(Delegates.DrawElementsInstancedBaseInstance)); - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); - } - internal static void Load_DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) - { - Delegates.glDrawElementsInstancedBaseVertex = (Delegates.DrawElementsInstancedBaseVertex)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertex", typeof(Delegates.DrawElementsInstancedBaseVertex)); - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); - } - internal static void Load_DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance = (Delegates.DrawElementsInstancedBaseVertexBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertexBaseInstance", typeof(Delegates.DrawElementsInstancedBaseVertexBaseInstance)); - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - internal static void Load_DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glDrawElementsInstancedEXT = (Delegates.DrawElementsInstancedEXT)GetExtensionDelegateStatic("glDrawElementsInstancedEXT", typeof(Delegates.DrawElementsInstancedEXT)); - Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width) - { - Delegates.glDrawMeshArraysSUN = (Delegates.DrawMeshArraysSUN)GetExtensionDelegateStatic("glDrawMeshArraysSUN", typeof(Delegates.DrawMeshArraysSUN)); - Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)width); - } - internal static void Load_DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glDrawPixels = (Delegates.DrawPixels)GetExtensionDelegateStatic("glDrawPixels", typeof(Delegates.DrawPixels)); - Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 first, Int32 count) - { - Delegates.glDrawRangeElementArrayAPPLE = (Delegates.DrawRangeElementArrayAPPLE)GetExtensionDelegateStatic("glDrawRangeElementArrayAPPLE", typeof(Delegates.DrawRangeElementArrayAPPLE)); - Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); - } - internal static void Load_DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count) - { - Delegates.glDrawRangeElementArrayATI = (Delegates.DrawRangeElementArrayATI)GetExtensionDelegateStatic("glDrawRangeElementArrayATI", typeof(Delegates.DrawRangeElementArrayATI)); - Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); - } - internal static void Load_DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawRangeElements = (Delegates.DrawRangeElements)GetExtensionDelegateStatic("glDrawRangeElements", typeof(Delegates.DrawRangeElements)); - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - Delegates.glDrawRangeElementsBaseVertex = (Delegates.DrawRangeElementsBaseVertex)GetExtensionDelegateStatic("glDrawRangeElementsBaseVertex", typeof(Delegates.DrawRangeElementsBaseVertex)); - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - } - internal static void Load_DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawRangeElementsEXT = (Delegates.DrawRangeElementsEXT)GetExtensionDelegateStatic("glDrawRangeElementsEXT", typeof(Delegates.DrawRangeElementsEXT)); - Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_DrawTextureNV(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1) - { - Delegates.glDrawTextureNV = (Delegates.DrawTextureNV)GetExtensionDelegateStatic("glDrawTextureNV", typeof(Delegates.DrawTextureNV)); - Delegates.glDrawTextureNV((UInt32)texture, (UInt32)sampler, (Single)x0, (Single)y0, (Single)x1, (Single)y1, (Single)z, (Single)s0, (Single)t0, (Single)s1, (Single)t1); - } - internal static void Load_DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) - { - Delegates.glDrawTransformFeedback = (Delegates.DrawTransformFeedback)GetExtensionDelegateStatic("glDrawTransformFeedback", typeof(Delegates.DrawTransformFeedback)); - Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - } - internal static void Load_DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, Int32 instancecount) - { - Delegates.glDrawTransformFeedbackInstanced = (Delegates.DrawTransformFeedbackInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackInstanced", typeof(Delegates.DrawTransformFeedbackInstanced)); - Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); - } - internal static void Load_DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) - { - Delegates.glDrawTransformFeedbackNV = (Delegates.DrawTransformFeedbackNV)GetExtensionDelegateStatic("glDrawTransformFeedbackNV", typeof(Delegates.DrawTransformFeedbackNV)); - Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); - } - internal static void Load_DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream) - { - Delegates.glDrawTransformFeedbackStream = (Delegates.DrawTransformFeedbackStream)GetExtensionDelegateStatic("glDrawTransformFeedbackStream", typeof(Delegates.DrawTransformFeedbackStream)); - Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream); - } - internal static void Load_DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) - { - Delegates.glDrawTransformFeedbackStreamInstanced = (Delegates.DrawTransformFeedbackStreamInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackStreamInstanced", typeof(Delegates.DrawTransformFeedbackStreamInstanced)); - Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); - } - internal static void Load_EdgeFlag(bool flag) - { - Delegates.glEdgeFlag = (Delegates.EdgeFlag)GetExtensionDelegateStatic("glEdgeFlag", typeof(Delegates.EdgeFlag)); - Delegates.glEdgeFlag((bool)flag); - } - internal static void Load_EdgeFlagFormatNV(Int32 stride) - { - Delegates.glEdgeFlagFormatNV = (Delegates.EdgeFlagFormatNV)GetExtensionDelegateStatic("glEdgeFlagFormatNV", typeof(Delegates.EdgeFlagFormatNV)); - Delegates.glEdgeFlagFormatNV((Int32)stride); - } - internal static void Load_EdgeFlagPointer(Int32 stride, IntPtr pointer) - { - Delegates.glEdgeFlagPointer = (Delegates.EdgeFlagPointer)GetExtensionDelegateStatic("glEdgeFlagPointer", typeof(Delegates.EdgeFlagPointer)); - Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); - } - internal static unsafe void Load_EdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer) - { - Delegates.glEdgeFlagPointerEXT = (Delegates.EdgeFlagPointerEXT)GetExtensionDelegateStatic("glEdgeFlagPointerEXT", typeof(Delegates.EdgeFlagPointerEXT)); - Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); - } - internal static unsafe void Load_EdgeFlagPointerListIBM(Int32 stride, bool** pointer, Int32 ptrstride) - { - Delegates.glEdgeFlagPointerListIBM = (Delegates.EdgeFlagPointerListIBM)GetExtensionDelegateStatic("glEdgeFlagPointerListIBM", typeof(Delegates.EdgeFlagPointerListIBM)); - Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool**)pointer, (Int32)ptrstride); - } - internal static unsafe void Load_EdgeFlagv(bool* flag) - { - Delegates.glEdgeFlagv = (Delegates.EdgeFlagv)GetExtensionDelegateStatic("glEdgeFlagv", typeof(Delegates.EdgeFlagv)); - Delegates.glEdgeFlagv((bool*)flag); - } - internal static void Load_ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer) - { - Delegates.glElementPointerAPPLE = (Delegates.ElementPointerAPPLE)GetExtensionDelegateStatic("glElementPointerAPPLE", typeof(Delegates.ElementPointerAPPLE)); - Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer); - } - internal static void Load_ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer) - { - Delegates.glElementPointerATI = (Delegates.ElementPointerATI)GetExtensionDelegateStatic("glElementPointerATI", typeof(Delegates.ElementPointerATI)); - Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer); - } - internal static void Load_Enable(OpenTK.Graphics.OpenGL.EnableCap cap) - { - Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); - Delegates.glEnable((OpenTK.Graphics.OpenGL.EnableCap)cap); - } - internal static void Load_EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) - { - Delegates.glEnableClientState = (Delegates.EnableClientState)GetExtensionDelegateStatic("glEnableClientState", typeof(Delegates.EnableClientState)); - Delegates.glEnableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); - } - internal static void Load_EnableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - Delegates.glEnableClientStateiEXT = (Delegates.EnableClientStateiEXT)GetExtensionDelegateStatic("glEnableClientStateiEXT", typeof(Delegates.EnableClientStateiEXT)); - Delegates.glEnableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - } - internal static void Load_EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) - { - Delegates.glEnableClientStateIndexedEXT = (Delegates.EnableClientStateIndexedEXT)GetExtensionDelegateStatic("glEnableClientStateIndexedEXT", typeof(Delegates.EnableClientStateIndexedEXT)); - Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); - } - internal static void Load_Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - Delegates.glEnablei = (Delegates.Enablei)GetExtensionDelegateStatic("glEnablei", typeof(Delegates.Enablei)); - Delegates.glEnablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - } - internal static void Load_EnableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - Delegates.glEnableIndexedEXT = (Delegates.EnableIndexedEXT)GetExtensionDelegateStatic("glEnableIndexedEXT", typeof(Delegates.EnableIndexedEXT)); - Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - } - internal static void Load_EnableVariantClientStateEXT(UInt32 id) - { - Delegates.glEnableVariantClientStateEXT = (Delegates.EnableVariantClientStateEXT)GetExtensionDelegateStatic("glEnableVariantClientStateEXT", typeof(Delegates.EnableVariantClientStateEXT)); - Delegates.glEnableVariantClientStateEXT((UInt32)id); - } - internal static void Load_EnableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index) - { - Delegates.glEnableVertexArrayAttribEXT = (Delegates.EnableVertexArrayAttribEXT)GetExtensionDelegateStatic("glEnableVertexArrayAttribEXT", typeof(Delegates.EnableVertexArrayAttribEXT)); - Delegates.glEnableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); - } - internal static void Load_EnableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) - { - Delegates.glEnableVertexArrayEXT = (Delegates.EnableVertexArrayEXT)GetExtensionDelegateStatic("glEnableVertexArrayEXT", typeof(Delegates.EnableVertexArrayEXT)); - Delegates.glEnableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); - } - internal static void Load_EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - Delegates.glEnableVertexAttribAPPLE = (Delegates.EnableVertexAttribAPPLE)GetExtensionDelegateStatic("glEnableVertexAttribAPPLE", typeof(Delegates.EnableVertexAttribAPPLE)); - Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - } - internal static void Load_EnableVertexAttribArray(UInt32 index) - { - Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); - Delegates.glEnableVertexAttribArray((UInt32)index); - } - internal static void Load_EnableVertexAttribArrayARB(UInt32 index) - { - Delegates.glEnableVertexAttribArrayARB = (Delegates.EnableVertexAttribArrayARB)GetExtensionDelegateStatic("glEnableVertexAttribArrayARB", typeof(Delegates.EnableVertexAttribArrayARB)); - Delegates.glEnableVertexAttribArrayARB((UInt32)index); - } - internal static void Load_End() - { - Delegates.glEnd = (Delegates.End)GetExtensionDelegateStatic("glEnd", typeof(Delegates.End)); - Delegates.glEnd(); - } - internal static void Load_EndConditionalRender() - { - Delegates.glEndConditionalRender = (Delegates.EndConditionalRender)GetExtensionDelegateStatic("glEndConditionalRender", typeof(Delegates.EndConditionalRender)); - Delegates.glEndConditionalRender(); - } - internal static void Load_EndConditionalRenderNV() - { - Delegates.glEndConditionalRenderNV = (Delegates.EndConditionalRenderNV)GetExtensionDelegateStatic("glEndConditionalRenderNV", typeof(Delegates.EndConditionalRenderNV)); - Delegates.glEndConditionalRenderNV(); - } - internal static void Load_EndConditionalRenderNVX() - { - Delegates.glEndConditionalRenderNVX = (Delegates.EndConditionalRenderNVX)GetExtensionDelegateStatic("glEndConditionalRenderNVX", typeof(Delegates.EndConditionalRenderNVX)); - Delegates.glEndConditionalRenderNVX(); - } - internal static void Load_EndFragmentShaderATI() - { - Delegates.glEndFragmentShaderATI = (Delegates.EndFragmentShaderATI)GetExtensionDelegateStatic("glEndFragmentShaderATI", typeof(Delegates.EndFragmentShaderATI)); - Delegates.glEndFragmentShaderATI(); - } - internal static void Load_EndList() - { - Delegates.glEndList = (Delegates.EndList)GetExtensionDelegateStatic("glEndList", typeof(Delegates.EndList)); - Delegates.glEndList(); - } - internal static void Load_EndOcclusionQueryNV() - { - Delegates.glEndOcclusionQueryNV = (Delegates.EndOcclusionQueryNV)GetExtensionDelegateStatic("glEndOcclusionQueryNV", typeof(Delegates.EndOcclusionQueryNV)); - Delegates.glEndOcclusionQueryNV(); - } - internal static void Load_EndPerfMonitorAMD(UInt32 monitor) - { - Delegates.glEndPerfMonitorAMD = (Delegates.EndPerfMonitorAMD)GetExtensionDelegateStatic("glEndPerfMonitorAMD", typeof(Delegates.EndPerfMonitorAMD)); - Delegates.glEndPerfMonitorAMD((UInt32)monitor); - } - internal static void Load_EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target) - { - Delegates.glEndQuery = (Delegates.EndQuery)GetExtensionDelegateStatic("glEndQuery", typeof(Delegates.EndQuery)); - Delegates.glEndQuery((OpenTK.Graphics.OpenGL.QueryTarget)target); - } - internal static void Load_EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target) - { - Delegates.glEndQueryARB = (Delegates.EndQueryARB)GetExtensionDelegateStatic("glEndQueryARB", typeof(Delegates.EndQueryARB)); - Delegates.glEndQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target); - } - internal static void Load_EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index) - { - Delegates.glEndQueryIndexed = (Delegates.EndQueryIndexed)GetExtensionDelegateStatic("glEndQueryIndexed", typeof(Delegates.EndQueryIndexed)); - Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index); - } - internal static void Load_EndTransformFeedback() - { - Delegates.glEndTransformFeedback = (Delegates.EndTransformFeedback)GetExtensionDelegateStatic("glEndTransformFeedback", typeof(Delegates.EndTransformFeedback)); - Delegates.glEndTransformFeedback(); - } - internal static void Load_EndTransformFeedbackEXT() - { - Delegates.glEndTransformFeedbackEXT = (Delegates.EndTransformFeedbackEXT)GetExtensionDelegateStatic("glEndTransformFeedbackEXT", typeof(Delegates.EndTransformFeedbackEXT)); - Delegates.glEndTransformFeedbackEXT(); - } - internal static void Load_EndTransformFeedbackNV() - { - Delegates.glEndTransformFeedbackNV = (Delegates.EndTransformFeedbackNV)GetExtensionDelegateStatic("glEndTransformFeedbackNV", typeof(Delegates.EndTransformFeedbackNV)); - Delegates.glEndTransformFeedbackNV(); - } - internal static void Load_EndVertexShaderEXT() - { - Delegates.glEndVertexShaderEXT = (Delegates.EndVertexShaderEXT)GetExtensionDelegateStatic("glEndVertexShaderEXT", typeof(Delegates.EndVertexShaderEXT)); - Delegates.glEndVertexShaderEXT(); - } - internal static void Load_EndVideoCaptureNV(UInt32 video_capture_slot) - { - Delegates.glEndVideoCaptureNV = (Delegates.EndVideoCaptureNV)GetExtensionDelegateStatic("glEndVideoCaptureNV", typeof(Delegates.EndVideoCaptureNV)); - Delegates.glEndVideoCaptureNV((UInt32)video_capture_slot); - } - internal static void Load_EvalCoord1d(Double u) - { - Delegates.glEvalCoord1d = (Delegates.EvalCoord1d)GetExtensionDelegateStatic("glEvalCoord1d", typeof(Delegates.EvalCoord1d)); - Delegates.glEvalCoord1d((Double)u); - } - internal static unsafe void Load_EvalCoord1dv(Double* u) - { - Delegates.glEvalCoord1dv = (Delegates.EvalCoord1dv)GetExtensionDelegateStatic("glEvalCoord1dv", typeof(Delegates.EvalCoord1dv)); - Delegates.glEvalCoord1dv((Double*)u); - } - internal static void Load_EvalCoord1f(Single u) - { - Delegates.glEvalCoord1f = (Delegates.EvalCoord1f)GetExtensionDelegateStatic("glEvalCoord1f", typeof(Delegates.EvalCoord1f)); - Delegates.glEvalCoord1f((Single)u); - } - internal static unsafe void Load_EvalCoord1fv(Single* u) - { - Delegates.glEvalCoord1fv = (Delegates.EvalCoord1fv)GetExtensionDelegateStatic("glEvalCoord1fv", typeof(Delegates.EvalCoord1fv)); - Delegates.glEvalCoord1fv((Single*)u); - } - internal static void Load_EvalCoord1xOES(int u) - { - Delegates.glEvalCoord1xOES = (Delegates.EvalCoord1xOES)GetExtensionDelegateStatic("glEvalCoord1xOES", typeof(Delegates.EvalCoord1xOES)); - Delegates.glEvalCoord1xOES((int)u); - } - internal static unsafe void Load_EvalCoord1xvOES(int* coords) - { - Delegates.glEvalCoord1xvOES = (Delegates.EvalCoord1xvOES)GetExtensionDelegateStatic("glEvalCoord1xvOES", typeof(Delegates.EvalCoord1xvOES)); - Delegates.glEvalCoord1xvOES((int*)coords); - } - internal static void Load_EvalCoord2d(Double u, Double v) - { - Delegates.glEvalCoord2d = (Delegates.EvalCoord2d)GetExtensionDelegateStatic("glEvalCoord2d", typeof(Delegates.EvalCoord2d)); - Delegates.glEvalCoord2d((Double)u, (Double)v); - } - internal static unsafe void Load_EvalCoord2dv(Double* u) - { - Delegates.glEvalCoord2dv = (Delegates.EvalCoord2dv)GetExtensionDelegateStatic("glEvalCoord2dv", typeof(Delegates.EvalCoord2dv)); - Delegates.glEvalCoord2dv((Double*)u); - } - internal static void Load_EvalCoord2f(Single u, Single v) - { - Delegates.glEvalCoord2f = (Delegates.EvalCoord2f)GetExtensionDelegateStatic("glEvalCoord2f", typeof(Delegates.EvalCoord2f)); - Delegates.glEvalCoord2f((Single)u, (Single)v); - } - internal static unsafe void Load_EvalCoord2fv(Single* u) - { - Delegates.glEvalCoord2fv = (Delegates.EvalCoord2fv)GetExtensionDelegateStatic("glEvalCoord2fv", typeof(Delegates.EvalCoord2fv)); - Delegates.glEvalCoord2fv((Single*)u); - } - internal static void Load_EvalCoord2xOES(int u, int v) - { - Delegates.glEvalCoord2xOES = (Delegates.EvalCoord2xOES)GetExtensionDelegateStatic("glEvalCoord2xOES", typeof(Delegates.EvalCoord2xOES)); - Delegates.glEvalCoord2xOES((int)u, (int)v); - } - internal static unsafe void Load_EvalCoord2xvOES(int* coords) - { - Delegates.glEvalCoord2xvOES = (Delegates.EvalCoord2xvOES)GetExtensionDelegateStatic("glEvalCoord2xvOES", typeof(Delegates.EvalCoord2xvOES)); - Delegates.glEvalCoord2xvOES((int*)coords); - } - internal static void Load_EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode) - { - Delegates.glEvalMapsNV = (Delegates.EvalMapsNV)GetExtensionDelegateStatic("glEvalMapsNV", typeof(Delegates.EvalMapsNV)); - Delegates.glEvalMapsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)mode); - } - internal static void Load_EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2) - { - Delegates.glEvalMesh1 = (Delegates.EvalMesh1)GetExtensionDelegateStatic("glEvalMesh1", typeof(Delegates.EvalMesh1)); - Delegates.glEvalMesh1((OpenTK.Graphics.OpenGL.MeshMode1)mode, (Int32)i1, (Int32)i2); - } - internal static void Load_EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) - { - Delegates.glEvalMesh2 = (Delegates.EvalMesh2)GetExtensionDelegateStatic("glEvalMesh2", typeof(Delegates.EvalMesh2)); - Delegates.glEvalMesh2((OpenTK.Graphics.OpenGL.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); - } - internal static void Load_EvalPoint1(Int32 i) - { - Delegates.glEvalPoint1 = (Delegates.EvalPoint1)GetExtensionDelegateStatic("glEvalPoint1", typeof(Delegates.EvalPoint1)); - Delegates.glEvalPoint1((Int32)i); - } - internal static void Load_EvalPoint2(Int32 i, Int32 j) - { - Delegates.glEvalPoint2 = (Delegates.EvalPoint2)GetExtensionDelegateStatic("glEvalPoint2", typeof(Delegates.EvalPoint2)); - Delegates.glEvalPoint2((Int32)i, (Int32)j); - } - internal static unsafe void Load_ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params) - { - Delegates.glExecuteProgramNV = (Delegates.ExecuteProgramNV)GetExtensionDelegateStatic("glExecuteProgramNV", typeof(Delegates.ExecuteProgramNV)); - Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); - } - internal static void Load_ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num) - { - Delegates.glExtractComponentEXT = (Delegates.ExtractComponentEXT)GetExtensionDelegateStatic("glExtractComponentEXT", typeof(Delegates.ExtractComponentEXT)); - Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - } - internal static unsafe void Load_FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer) - { - Delegates.glFeedbackBuffer = (Delegates.FeedbackBuffer)GetExtensionDelegateStatic("glFeedbackBuffer", typeof(Delegates.FeedbackBuffer)); - Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer); - } - internal static unsafe void Load_FeedbackBufferxOES(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int* buffer) - { - Delegates.glFeedbackBufferxOES = (Delegates.FeedbackBufferxOES)GetExtensionDelegateStatic("glFeedbackBufferxOES", typeof(Delegates.FeedbackBufferxOES)); - Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (int*)buffer); - } - internal static IntPtr Load_FenceSync(OpenTK.Graphics.OpenGL.SyncCondition condition, OpenTK.Graphics.OpenGL.WaitSyncFlags flags) - { - Delegates.glFenceSync = (Delegates.FenceSync)GetExtensionDelegateStatic("glFenceSync", typeof(Delegates.FenceSync)); - return Delegates.glFenceSync((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags); - } - internal static void Load_FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) - { - Delegates.glFinalCombinerInputNV = (Delegates.FinalCombinerInputNV)GetExtensionDelegateStatic("glFinalCombinerInputNV", typeof(Delegates.FinalCombinerInputNV)); - Delegates.glFinalCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); - } - internal static void Load_Finish() - { - Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); - Delegates.glFinish(); - } - internal static unsafe Int32 Load_FinishAsyncSGIX([OutAttribute] UInt32* markerp) - { - Delegates.glFinishAsyncSGIX = (Delegates.FinishAsyncSGIX)GetExtensionDelegateStatic("glFinishAsyncSGIX", typeof(Delegates.FinishAsyncSGIX)); - return Delegates.glFinishAsyncSGIX((UInt32*)markerp); - } - internal static void Load_FinishFenceAPPLE(UInt32 fence) - { - Delegates.glFinishFenceAPPLE = (Delegates.FinishFenceAPPLE)GetExtensionDelegateStatic("glFinishFenceAPPLE", typeof(Delegates.FinishFenceAPPLE)); - Delegates.glFinishFenceAPPLE((UInt32)fence); - } - internal static void Load_FinishFenceNV(UInt32 fence) - { - Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); - Delegates.glFinishFenceNV((UInt32)fence); - } - internal static void Load_FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) - { - Delegates.glFinishObjectAPPLE = (Delegates.FinishObjectAPPLE)GetExtensionDelegateStatic("glFinishObjectAPPLE", typeof(Delegates.FinishObjectAPPLE)); - Delegates.glFinishObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (Int32)name); - } - internal static void Load_FinishTextureSUNX() - { - Delegates.glFinishTextureSUNX = (Delegates.FinishTextureSUNX)GetExtensionDelegateStatic("glFinishTextureSUNX", typeof(Delegates.FinishTextureSUNX)); - Delegates.glFinishTextureSUNX(); - } - internal static void Load_Flush() - { - Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); - Delegates.glFlush(); - } - internal static void Load_FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length) - { - Delegates.glFlushMappedBufferRange = (Delegates.FlushMappedBufferRange)GetExtensionDelegateStatic("glFlushMappedBufferRange", typeof(Delegates.FlushMappedBufferRange)); - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - } - internal static void Load_FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size) - { - Delegates.glFlushMappedBufferRangeAPPLE = (Delegates.FlushMappedBufferRangeAPPLE)GetExtensionDelegateStatic("glFlushMappedBufferRangeAPPLE", typeof(Delegates.FlushMappedBufferRangeAPPLE)); - Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size); - } - internal static void Load_FlushMappedNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length) - { - Delegates.glFlushMappedNamedBufferRangeEXT = (Delegates.FlushMappedNamedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedNamedBufferRangeEXT", typeof(Delegates.FlushMappedNamedBufferRangeEXT)); - Delegates.glFlushMappedNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - } - internal static void Load_FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target) - { - Delegates.glFlushPixelDataRangeNV = (Delegates.FlushPixelDataRangeNV)GetExtensionDelegateStatic("glFlushPixelDataRangeNV", typeof(Delegates.FlushPixelDataRangeNV)); - Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target); - } - internal static void Load_FlushRasterSGIX() - { - Delegates.glFlushRasterSGIX = (Delegates.FlushRasterSGIX)GetExtensionDelegateStatic("glFlushRasterSGIX", typeof(Delegates.FlushRasterSGIX)); - Delegates.glFlushRasterSGIX(); - } - internal static void Load_FlushStaticDataIBM(OpenTK.Graphics.OpenGL.IbmStaticData target) - { - Delegates.glFlushStaticDataIBM = (Delegates.FlushStaticDataIBM)GetExtensionDelegateStatic("glFlushStaticDataIBM", typeof(Delegates.FlushStaticDataIBM)); - Delegates.glFlushStaticDataIBM((OpenTK.Graphics.OpenGL.IbmStaticData)target); - } - internal static void Load_FlushVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer) - { - Delegates.glFlushVertexArrayRangeAPPLE = (Delegates.FlushVertexArrayRangeAPPLE)GetExtensionDelegateStatic("glFlushVertexArrayRangeAPPLE", typeof(Delegates.FlushVertexArrayRangeAPPLE)); - Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); - } - internal static void Load_FlushVertexArrayRangeNV() - { - Delegates.glFlushVertexArrayRangeNV = (Delegates.FlushVertexArrayRangeNV)GetExtensionDelegateStatic("glFlushVertexArrayRangeNV", typeof(Delegates.FlushVertexArrayRangeNV)); - Delegates.glFlushVertexArrayRangeNV(); - } - internal static void Load_FogCoordd(Double coord) - { - Delegates.glFogCoordd = (Delegates.FogCoordd)GetExtensionDelegateStatic("glFogCoordd", typeof(Delegates.FogCoordd)); - Delegates.glFogCoordd((Double)coord); - } - internal static void Load_FogCoorddEXT(Double coord) - { - Delegates.glFogCoorddEXT = (Delegates.FogCoorddEXT)GetExtensionDelegateStatic("glFogCoorddEXT", typeof(Delegates.FogCoorddEXT)); - Delegates.glFogCoorddEXT((Double)coord); - } - internal static unsafe void Load_FogCoorddv(Double* coord) - { - Delegates.glFogCoorddv = (Delegates.FogCoorddv)GetExtensionDelegateStatic("glFogCoorddv", typeof(Delegates.FogCoorddv)); - Delegates.glFogCoorddv((Double*)coord); - } - internal static unsafe void Load_FogCoorddvEXT(Double* coord) - { - Delegates.glFogCoorddvEXT = (Delegates.FogCoorddvEXT)GetExtensionDelegateStatic("glFogCoorddvEXT", typeof(Delegates.FogCoorddvEXT)); - Delegates.glFogCoorddvEXT((Double*)coord); - } - internal static void Load_FogCoordf(Single coord) - { - Delegates.glFogCoordf = (Delegates.FogCoordf)GetExtensionDelegateStatic("glFogCoordf", typeof(Delegates.FogCoordf)); - Delegates.glFogCoordf((Single)coord); - } - internal static void Load_FogCoordfEXT(Single coord) - { - Delegates.glFogCoordfEXT = (Delegates.FogCoordfEXT)GetExtensionDelegateStatic("glFogCoordfEXT", typeof(Delegates.FogCoordfEXT)); - Delegates.glFogCoordfEXT((Single)coord); - } - internal static void Load_FogCoordFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glFogCoordFormatNV = (Delegates.FogCoordFormatNV)GetExtensionDelegateStatic("glFogCoordFormatNV", typeof(Delegates.FogCoordFormatNV)); - Delegates.glFogCoordFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static unsafe void Load_FogCoordfv(Single* coord) - { - Delegates.glFogCoordfv = (Delegates.FogCoordfv)GetExtensionDelegateStatic("glFogCoordfv", typeof(Delegates.FogCoordfv)); - Delegates.glFogCoordfv((Single*)coord); - } - internal static unsafe void Load_FogCoordfvEXT(Single* coord) - { - Delegates.glFogCoordfvEXT = (Delegates.FogCoordfvEXT)GetExtensionDelegateStatic("glFogCoordfvEXT", typeof(Delegates.FogCoordfvEXT)); - Delegates.glFogCoordfvEXT((Single*)coord); - } - internal static void Load_FogCoordhNV(Half fog) - { - Delegates.glFogCoordhNV = (Delegates.FogCoordhNV)GetExtensionDelegateStatic("glFogCoordhNV", typeof(Delegates.FogCoordhNV)); - Delegates.glFogCoordhNV((Half)fog); - } - internal static unsafe void Load_FogCoordhvNV(Half* fog) - { - Delegates.glFogCoordhvNV = (Delegates.FogCoordhvNV)GetExtensionDelegateStatic("glFogCoordhvNV", typeof(Delegates.FogCoordhvNV)); - Delegates.glFogCoordhvNV((Half*)fog); - } - internal static void Load_FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glFogCoordPointer = (Delegates.FogCoordPointer)GetExtensionDelegateStatic("glFogCoordPointer", typeof(Delegates.FogCoordPointer)); - Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer) - { - Delegates.glFogCoordPointerEXT = (Delegates.FogCoordPointerEXT)GetExtensionDelegateStatic("glFogCoordPointerEXT", typeof(Delegates.FogCoordPointerEXT)); - Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - Delegates.glFogCoordPointerListIBM = (Delegates.FogCoordPointerListIBM)GetExtensionDelegateStatic("glFogCoordPointerListIBM", typeof(Delegates.FogCoordPointerListIBM)); - Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - } - internal static void Load_Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param) - { - Delegates.glFogf = (Delegates.Fogf)GetExtensionDelegateStatic("glFogf", typeof(Delegates.Fogf)); - Delegates.glFogf((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single)param); - } - internal static unsafe void Load_FogFuncSGIS(Int32 n, Single* points) - { - Delegates.glFogFuncSGIS = (Delegates.FogFuncSGIS)GetExtensionDelegateStatic("glFogFuncSGIS", typeof(Delegates.FogFuncSGIS)); - Delegates.glFogFuncSGIS((Int32)n, (Single*)points); - } - internal static unsafe void Load_Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params) - { - Delegates.glFogfv = (Delegates.Fogfv)GetExtensionDelegateStatic("glFogfv", typeof(Delegates.Fogfv)); - Delegates.glFogfv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single*)@params); - } - internal static void Load_Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param) - { - Delegates.glFogi = (Delegates.Fogi)GetExtensionDelegateStatic("glFogi", typeof(Delegates.Fogi)); - Delegates.glFogi((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32)param); - } - internal static unsafe void Load_Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params) - { - Delegates.glFogiv = (Delegates.Fogiv)GetExtensionDelegateStatic("glFogiv", typeof(Delegates.Fogiv)); - Delegates.glFogiv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32*)@params); - } - internal static void Load_FogxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glFogxOES = (Delegates.FogxOES)GetExtensionDelegateStatic("glFogxOES", typeof(Delegates.FogxOES)); - Delegates.glFogxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_FogxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - Delegates.glFogxvOES = (Delegates.FogxvOES)GetExtensionDelegateStatic("glFogxvOES", typeof(Delegates.FogxvOES)); - Delegates.glFogxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); - } - internal static void Load_FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) - { - Delegates.glFragmentColorMaterialSGIX = (Delegates.FragmentColorMaterialSGIX)GetExtensionDelegateStatic("glFragmentColorMaterialSGIX", typeof(Delegates.FragmentColorMaterialSGIX)); - Delegates.glFragmentColorMaterialSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); - } - internal static void Load_FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) - { - Delegates.glFragmentLightfSGIX = (Delegates.FragmentLightfSGIX)GetExtensionDelegateStatic("glFragmentLightfSGIX", typeof(Delegates.FragmentLightfSGIX)); - Delegates.glFragmentLightfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); - } - internal static unsafe void Load_FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) - { - Delegates.glFragmentLightfvSGIX = (Delegates.FragmentLightfvSGIX)GetExtensionDelegateStatic("glFragmentLightfvSGIX", typeof(Delegates.FragmentLightfvSGIX)); - Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); - } - internal static void Load_FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - Delegates.glFragmentLightiSGIX = (Delegates.FragmentLightiSGIX)GetExtensionDelegateStatic("glFragmentLightiSGIX", typeof(Delegates.FragmentLightiSGIX)); - Delegates.glFragmentLightiSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); - } - internal static unsafe void Load_FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) - { - Delegates.glFragmentLightivSGIX = (Delegates.FragmentLightivSGIX)GetExtensionDelegateStatic("glFragmentLightivSGIX", typeof(Delegates.FragmentLightivSGIX)); - Delegates.glFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); - } - internal static void Load_FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) - { - Delegates.glFragmentLightModelfSGIX = (Delegates.FragmentLightModelfSGIX)GetExtensionDelegateStatic("glFragmentLightModelfSGIX", typeof(Delegates.FragmentLightModelfSGIX)); - Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); - } - internal static unsafe void Load_FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) - { - Delegates.glFragmentLightModelfvSGIX = (Delegates.FragmentLightModelfvSGIX)GetExtensionDelegateStatic("glFragmentLightModelfvSGIX", typeof(Delegates.FragmentLightModelfvSGIX)); - Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); - } - internal static void Load_FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - Delegates.glFragmentLightModeliSGIX = (Delegates.FragmentLightModeliSGIX)GetExtensionDelegateStatic("glFragmentLightModeliSGIX", typeof(Delegates.FragmentLightModeliSGIX)); - Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); - } - internal static unsafe void Load_FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) - { - Delegates.glFragmentLightModelivSGIX = (Delegates.FragmentLightModelivSGIX)GetExtensionDelegateStatic("glFragmentLightModelivSGIX", typeof(Delegates.FragmentLightModelivSGIX)); - Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); - } - internal static void Load_FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) - { - Delegates.glFragmentMaterialfSGIX = (Delegates.FragmentMaterialfSGIX)GetExtensionDelegateStatic("glFragmentMaterialfSGIX", typeof(Delegates.FragmentMaterialfSGIX)); - Delegates.glFragmentMaterialfSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); - } - internal static unsafe void Load_FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) - { - Delegates.glFragmentMaterialfvSGIX = (Delegates.FragmentMaterialfvSGIX)GetExtensionDelegateStatic("glFragmentMaterialfvSGIX", typeof(Delegates.FragmentMaterialfvSGIX)); - Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - } - internal static void Load_FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) - { - Delegates.glFragmentMaterialiSGIX = (Delegates.FragmentMaterialiSGIX)GetExtensionDelegateStatic("glFragmentMaterialiSGIX", typeof(Delegates.FragmentMaterialiSGIX)); - Delegates.glFragmentMaterialiSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); - } - internal static unsafe void Load_FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) - { - Delegates.glFragmentMaterialivSGIX = (Delegates.FragmentMaterialivSGIX)GetExtensionDelegateStatic("glFragmentMaterialivSGIX", typeof(Delegates.FragmentMaterialivSGIX)); - Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - } - internal static void Load_FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) - { - Delegates.glFramebufferDrawBufferEXT = (Delegates.FramebufferDrawBufferEXT)GetExtensionDelegateStatic("glFramebufferDrawBufferEXT", typeof(Delegates.FramebufferDrawBufferEXT)); - Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode); - } - internal static unsafe void Load_FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) - { - Delegates.glFramebufferDrawBuffersEXT = (Delegates.FramebufferDrawBuffersEXT)GetExtensionDelegateStatic("glFramebufferDrawBuffersEXT", typeof(Delegates.FramebufferDrawBuffersEXT)); - Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs); - } - internal static void Load_FramebufferParameteri(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, Int32 param) - { - Delegates.glFramebufferParameteri = (Delegates.FramebufferParameteri)GetExtensionDelegateStatic("glFramebufferParameteri", typeof(Delegates.FramebufferParameteri)); - Delegates.glFramebufferParameteri((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32)param); - } - internal static void Load_FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - Delegates.glFramebufferReadBufferEXT = (Delegates.FramebufferReadBufferEXT)GetExtensionDelegateStatic("glFramebufferReadBufferEXT", typeof(Delegates.FramebufferReadBufferEXT)); - Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode); - } - internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - } - internal static void Load_FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - Delegates.glFramebufferRenderbufferEXT = (Delegates.FramebufferRenderbufferEXT)GetExtensionDelegateStatic("glFramebufferRenderbufferEXT", typeof(Delegates.FramebufferRenderbufferEXT)); - Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - } - internal static void Load_FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture = (Delegates.FramebufferTexture)GetExtensionDelegateStatic("glFramebufferTexture", typeof(Delegates.FramebufferTexture)); - Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture1D = (Delegates.FramebufferTexture1D)GetExtensionDelegateStatic("glFramebufferTexture1D", typeof(Delegates.FramebufferTexture1D)); - Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture1DEXT = (Delegates.FramebufferTexture1DEXT)GetExtensionDelegateStatic("glFramebufferTexture1DEXT", typeof(Delegates.FramebufferTexture1DEXT)); - Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); - Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture2DEXT = (Delegates.FramebufferTexture2DEXT)GetExtensionDelegateStatic("glFramebufferTexture2DEXT", typeof(Delegates.FramebufferTexture2DEXT)); - Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - Delegates.glFramebufferTexture3D = (Delegates.FramebufferTexture3D)GetExtensionDelegateStatic("glFramebufferTexture3D", typeof(Delegates.FramebufferTexture3D)); - Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - } - internal static void Load_FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - Delegates.glFramebufferTexture3DEXT = (Delegates.FramebufferTexture3DEXT)GetExtensionDelegateStatic("glFramebufferTexture3DEXT", typeof(Delegates.FramebufferTexture3DEXT)); - Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - } - internal static void Load_FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTextureARB = (Delegates.FramebufferTextureARB)GetExtensionDelegateStatic("glFramebufferTextureARB", typeof(Delegates.FramebufferTextureARB)); - Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTextureEXT = (Delegates.FramebufferTextureEXT)GetExtensionDelegateStatic("glFramebufferTextureEXT", typeof(Delegates.FramebufferTextureEXT)); - Delegates.glFramebufferTextureEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - Delegates.glFramebufferTextureFaceARB = (Delegates.FramebufferTextureFaceARB)GetExtensionDelegateStatic("glFramebufferTextureFaceARB", typeof(Delegates.FramebufferTextureFaceARB)); - Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - } - internal static void Load_FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - Delegates.glFramebufferTextureFaceEXT = (Delegates.FramebufferTextureFaceEXT)GetExtensionDelegateStatic("glFramebufferTextureFaceEXT", typeof(Delegates.FramebufferTextureFaceEXT)); - Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - } - internal static void Load_FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - Delegates.glFramebufferTextureLayer = (Delegates.FramebufferTextureLayer)GetExtensionDelegateStatic("glFramebufferTextureLayer", typeof(Delegates.FramebufferTextureLayer)); - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - } - internal static void Load_FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - Delegates.glFramebufferTextureLayerARB = (Delegates.FramebufferTextureLayerARB)GetExtensionDelegateStatic("glFramebufferTextureLayerARB", typeof(Delegates.FramebufferTextureLayerARB)); - Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - } - internal static void Load_FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - Delegates.glFramebufferTextureLayerEXT = (Delegates.FramebufferTextureLayerEXT)GetExtensionDelegateStatic("glFramebufferTextureLayerEXT", typeof(Delegates.FramebufferTextureLayerEXT)); - Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - } - internal static void Load_FrameTerminatorGREMEDY() - { - Delegates.glFrameTerminatorGREMEDY = (Delegates.FrameTerminatorGREMEDY)GetExtensionDelegateStatic("glFrameTerminatorGREMEDY", typeof(Delegates.FrameTerminatorGREMEDY)); - Delegates.glFrameTerminatorGREMEDY(); - } - internal static void Load_FrameZoomSGIX(Int32 factor) - { - Delegates.glFrameZoomSGIX = (Delegates.FrameZoomSGIX)GetExtensionDelegateStatic("glFrameZoomSGIX", typeof(Delegates.FrameZoomSGIX)); - Delegates.glFrameZoomSGIX((Int32)factor); - } - internal static void Load_FreeObjectBufferATI(UInt32 buffer) - { - Delegates.glFreeObjectBufferATI = (Delegates.FreeObjectBufferATI)GetExtensionDelegateStatic("glFreeObjectBufferATI", typeof(Delegates.FreeObjectBufferATI)); - Delegates.glFreeObjectBufferATI((UInt32)buffer); - } - internal static void Load_FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode) - { - Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); - Delegates.glFrontFace((OpenTK.Graphics.OpenGL.FrontFaceDirection)mode); - } - internal static void Load_Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - Delegates.glFrustum = (Delegates.Frustum)GetExtensionDelegateStatic("glFrustum", typeof(Delegates.Frustum)); - Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - } - internal static void Load_FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f) - { - Delegates.glFrustumfOES = (Delegates.FrustumfOES)GetExtensionDelegateStatic("glFrustumfOES", typeof(Delegates.FrustumfOES)); - Delegates.glFrustumfOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - } - internal static void Load_FrustumxOES(int l, int r, int b, int t, int n, int f) - { - Delegates.glFrustumxOES = (Delegates.FrustumxOES)GetExtensionDelegateStatic("glFrustumxOES", typeof(Delegates.FrustumxOES)); - Delegates.glFrustumxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - } - internal static Int32 Load_GenAsyncMarkersSGIX(Int32 range) - { - Delegates.glGenAsyncMarkersSGIX = (Delegates.GenAsyncMarkersSGIX)GetExtensionDelegateStatic("glGenAsyncMarkersSGIX", typeof(Delegates.GenAsyncMarkersSGIX)); - return Delegates.glGenAsyncMarkersSGIX((Int32)range); - } - internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } - internal static unsafe void Load_GenBuffersARB(Int32 n, [OutAttribute] UInt32* buffers) - { - Delegates.glGenBuffersARB = (Delegates.GenBuffersARB)GetExtensionDelegateStatic("glGenBuffersARB", typeof(Delegates.GenBuffersARB)); - Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); - } - internal static void Load_GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) - { - Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); - Delegates.glGenerateMipmap((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); - } - internal static void Load_GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) - { - Delegates.glGenerateMipmapEXT = (Delegates.GenerateMipmapEXT)GetExtensionDelegateStatic("glGenerateMipmapEXT", typeof(Delegates.GenerateMipmapEXT)); - Delegates.glGenerateMipmapEXT((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); - } - internal static void Load_GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target) - { - Delegates.glGenerateMultiTexMipmapEXT = (Delegates.GenerateMultiTexMipmapEXT)GetExtensionDelegateStatic("glGenerateMultiTexMipmapEXT", typeof(Delegates.GenerateMultiTexMipmapEXT)); - Delegates.glGenerateMultiTexMipmapEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target); - } - internal static void Load_GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) - { - Delegates.glGenerateTextureMipmapEXT = (Delegates.GenerateTextureMipmapEXT)GetExtensionDelegateStatic("glGenerateTextureMipmapEXT", typeof(Delegates.GenerateTextureMipmapEXT)); - Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target); - } - internal static unsafe void Load_GenFencesAPPLE(Int32 n, [OutAttribute] UInt32* fences) - { - Delegates.glGenFencesAPPLE = (Delegates.GenFencesAPPLE)GetExtensionDelegateStatic("glGenFencesAPPLE", typeof(Delegates.GenFencesAPPLE)); - Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); - } - internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) - { - Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); - Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); - } - internal static Int32 Load_GenFragmentShadersATI(UInt32 range) - { - Delegates.glGenFragmentShadersATI = (Delegates.GenFragmentShadersATI)GetExtensionDelegateStatic("glGenFragmentShadersATI", typeof(Delegates.GenFragmentShadersATI)); - return Delegates.glGenFragmentShadersATI((UInt32)range); - } - internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_GenFramebuffersEXT(Int32 n, [OutAttribute] UInt32* framebuffers) - { - Delegates.glGenFramebuffersEXT = (Delegates.GenFramebuffersEXT)GetExtensionDelegateStatic("glGenFramebuffersEXT", typeof(Delegates.GenFramebuffersEXT)); - Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); - } - internal static Int32 Load_GenLists(Int32 range) - { - Delegates.glGenLists = (Delegates.GenLists)GetExtensionDelegateStatic("glGenLists", typeof(Delegates.GenLists)); - return Delegates.glGenLists((Int32)range); - } - internal static unsafe void Load_GenNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names) - { - Delegates.glGenNamesAMD = (Delegates.GenNamesAMD)GetExtensionDelegateStatic("glGenNamesAMD", typeof(Delegates.GenNamesAMD)); - Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); - } - internal static unsafe void Load_GenOcclusionQueriesNV(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenOcclusionQueriesNV = (Delegates.GenOcclusionQueriesNV)GetExtensionDelegateStatic("glGenOcclusionQueriesNV", typeof(Delegates.GenOcclusionQueriesNV)); - Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); - } - internal static Int32 Load_GenPathsNV(Int32 range) - { - Delegates.glGenPathsNV = (Delegates.GenPathsNV)GetExtensionDelegateStatic("glGenPathsNV", typeof(Delegates.GenPathsNV)); - return Delegates.glGenPathsNV((Int32)range); - } - internal static unsafe void Load_GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors) - { - Delegates.glGenPerfMonitorsAMD = (Delegates.GenPerfMonitorsAMD)GetExtensionDelegateStatic("glGenPerfMonitorsAMD", typeof(Delegates.GenPerfMonitorsAMD)); - Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); - } - internal static unsafe void Load_GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - Delegates.glGenProgramPipelines = (Delegates.GenProgramPipelines)GetExtensionDelegateStatic("glGenProgramPipelines", typeof(Delegates.GenProgramPipelines)); - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines) - { - Delegates.glGenProgramPipelinesEXT = (Delegates.GenProgramPipelinesEXT)GetExtensionDelegateStatic("glGenProgramPipelinesEXT", typeof(Delegates.GenProgramPipelinesEXT)); - Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_GenProgramsARB(Int32 n, [OutAttribute] UInt32* programs) - { - Delegates.glGenProgramsARB = (Delegates.GenProgramsARB)GetExtensionDelegateStatic("glGenProgramsARB", typeof(Delegates.GenProgramsARB)); - Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); - } - internal static unsafe void Load_GenProgramsNV(Int32 n, [OutAttribute] UInt32* programs) - { - Delegates.glGenProgramsNV = (Delegates.GenProgramsNV)GetExtensionDelegateStatic("glGenProgramsNV", typeof(Delegates.GenProgramsNV)); - Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); - } - internal static unsafe void Load_GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenQueries = (Delegates.GenQueries)GetExtensionDelegateStatic("glGenQueries", typeof(Delegates.GenQueries)); - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenQueriesARB(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenQueriesARB = (Delegates.GenQueriesARB)GetExtensionDelegateStatic("glGenQueriesARB", typeof(Delegates.GenQueriesARB)); - Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_GenRenderbuffersEXT(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - Delegates.glGenRenderbuffersEXT = (Delegates.GenRenderbuffersEXT)GetExtensionDelegateStatic("glGenRenderbuffersEXT", typeof(Delegates.GenRenderbuffersEXT)); - Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - Delegates.glGenSamplers = (Delegates.GenSamplers)GetExtensionDelegateStatic("glGenSamplers", typeof(Delegates.GenSamplers)); - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - } - internal static Int32 Load_GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components) - { - Delegates.glGenSymbolsEXT = (Delegates.GenSymbolsEXT)GetExtensionDelegateStatic("glGenSymbolsEXT", typeof(Delegates.GenSymbolsEXT)); - return Delegates.glGenSymbolsEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components); - } - internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_GenTexturesEXT(Int32 n, [OutAttribute] UInt32* textures) - { - Delegates.glGenTexturesEXT = (Delegates.GenTexturesEXT)GetExtensionDelegateStatic("glGenTexturesEXT", typeof(Delegates.GenTexturesEXT)); - Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenTransformFeedbacks = (Delegates.GenTransformFeedbacks)GetExtensionDelegateStatic("glGenTransformFeedbacks", typeof(Delegates.GenTransformFeedbacks)); - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenTransformFeedbacksNV(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenTransformFeedbacksNV = (Delegates.GenTransformFeedbacksNV)GetExtensionDelegateStatic("glGenTransformFeedbacksNV", typeof(Delegates.GenTransformFeedbacksNV)); - Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - Delegates.glGenVertexArrays = (Delegates.GenVertexArrays)GetExtensionDelegateStatic("glGenVertexArrays", typeof(Delegates.GenVertexArrays)); - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_GenVertexArraysAPPLE(Int32 n, [OutAttribute] UInt32* arrays) - { - Delegates.glGenVertexArraysAPPLE = (Delegates.GenVertexArraysAPPLE)GetExtensionDelegateStatic("glGenVertexArraysAPPLE", typeof(Delegates.GenVertexArraysAPPLE)); - Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); - } - internal static Int32 Load_GenVertexShadersEXT(UInt32 range) - { - Delegates.glGenVertexShadersEXT = (Delegates.GenVertexShadersEXT)GetExtensionDelegateStatic("glGenVertexShadersEXT", typeof(Delegates.GenVertexShadersEXT)); - return Delegates.glGenVertexShadersEXT((UInt32)range); - } - internal static unsafe void Load_GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveAtomicCounterBufferiv = (Delegates.GetActiveAtomicCounterBufferiv)GetExtensionDelegateStatic("glGetActiveAtomicCounterBufferiv", typeof(Delegates.GetActiveAtomicCounterBufferiv)); - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveAttribARB = (Delegates.GetActiveAttribARB)GetExtensionDelegateStatic("glGetActiveAttribARB", typeof(Delegates.GetActiveAttribARB)); - Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveSubroutineName = (Delegates.GetActiveSubroutineName)GetExtensionDelegateStatic("glGetActiveSubroutineName", typeof(Delegates.GetActiveSubroutineName)); - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) - { - Delegates.glGetActiveSubroutineUniformiv = (Delegates.GetActiveSubroutineUniformiv)GetExtensionDelegateStatic("glGetActiveSubroutineUniformiv", typeof(Delegates.GetActiveSubroutineUniformiv)); - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values); - } - internal static unsafe void Load_GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveSubroutineUniformName = (Delegates.GetActiveSubroutineUniformName)GetExtensionDelegateStatic("glGetActiveSubroutineUniformName", typeof(Delegates.GetActiveSubroutineUniformName)); - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveUniformARB = (Delegates.GetActiveUniformARB)GetExtensionDelegateStatic("glGetActiveUniformARB", typeof(Delegates.GetActiveUniformARB)); - Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveUniformBlockiv = (Delegates.GetActiveUniformBlockiv)GetExtensionDelegateStatic("glGetActiveUniformBlockiv", typeof(Delegates.GetActiveUniformBlockiv)); - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - Delegates.glGetActiveUniformBlockName = (Delegates.GetActiveUniformBlockName)GetExtensionDelegateStatic("glGetActiveUniformBlockName", typeof(Delegates.GetActiveUniformBlockName)); - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - } - internal static unsafe void Load_GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - Delegates.glGetActiveUniformName = (Delegates.GetActiveUniformName)GetExtensionDelegateStatic("glGetActiveUniformName", typeof(Delegates.GetActiveUniformName)); - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); - } - internal static unsafe void Load_GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveUniformsiv = (Delegates.GetActiveUniformsiv)GetExtensionDelegateStatic("glGetActiveUniformsiv", typeof(Delegates.GetActiveUniformsiv)); - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveVaryingNV = (Delegates.GetActiveVaryingNV)GetExtensionDelegateStatic("glGetActiveVaryingNV", typeof(Delegates.GetActiveVaryingNV)); - Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - Delegates.glGetArrayObjectfvATI = (Delegates.GetArrayObjectfvATI)GetExtensionDelegateStatic("glGetArrayObjectfvATI", typeof(Delegates.GetArrayObjectfvATI)); - Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - } - internal static unsafe void Load_GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - Delegates.glGetArrayObjectivATI = (Delegates.GetArrayObjectivATI)GetExtensionDelegateStatic("glGetArrayObjectivATI", typeof(Delegates.GetArrayObjectivATI)); - Delegates.glGetArrayObjectivATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - } - internal static unsafe void Load_GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj) - { - Delegates.glGetAttachedObjectsARB = (Delegates.GetAttachedObjectsARB)GetExtensionDelegateStatic("glGetAttachedObjectsARB", typeof(Delegates.GetAttachedObjectsARB)); - Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); - } - internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - } - internal static Int32 Load_GetAttribLocation(UInt32 program, String name) - { - Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - } - internal static Int32 Load_GetAttribLocationARB(UInt32 programObj, String name) - { - Delegates.glGetAttribLocationARB = (Delegates.GetAttribLocationARB)GetExtensionDelegateStatic("glGetAttribLocationARB", typeof(Delegates.GetAttribLocationARB)); - return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); - } - internal static unsafe void Load_GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) - { - Delegates.glGetBooleani_v = (Delegates.GetBooleani_v)GetExtensionDelegateStatic("glGetBooleani_v", typeof(Delegates.GetBooleani_v)); - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data); - } - internal static unsafe void Load_GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool* data) - { - Delegates.glGetBooleanIndexedvEXT = (Delegates.GetBooleanIndexedvEXT)GetExtensionDelegateStatic("glGetBooleanIndexedvEXT", typeof(Delegates.GetBooleanIndexedvEXT)); - Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); - } - internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* data) - { - Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data); - } - internal static unsafe void Load_GetBufferParameteri64v(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params) - { - Delegates.glGetBufferParameteri64v = (Delegates.GetBufferParameteri64v)GetExtensionDelegateStatic("glGetBufferParameteri64v", typeof(Delegates.GetBufferParameteri64v)); - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params); - } - internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) - { - Delegates.glGetBufferParameterivARB = (Delegates.GetBufferParameterivARB)GetExtensionDelegateStatic("glGetBufferParameterivARB", typeof(Delegates.GetBufferParameterivARB)); - Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); - } - internal static unsafe void Load_GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetBufferParameterui64vNV = (Delegates.GetBufferParameterui64vNV)GetExtensionDelegateStatic("glGetBufferParameterui64vNV", typeof(Delegates.GetBufferParameterui64vNV)); - Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); - } - internal static void Load_GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetBufferPointerv = (Delegates.GetBufferPointerv)GetExtensionDelegateStatic("glGetBufferPointerv", typeof(Delegates.GetBufferPointerv)); - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params); - } - internal static void Load_GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetBufferPointervARB = (Delegates.GetBufferPointervARB)GetExtensionDelegateStatic("glGetBufferPointervARB", typeof(Delegates.GetBufferPointervARB)); - Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); - } - internal static void Load_GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - Delegates.glGetBufferSubData = (Delegates.GetBufferSubData)GetExtensionDelegateStatic("glGetBufferSubData", typeof(Delegates.GetBufferSubData)); - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static void Load_GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - Delegates.glGetBufferSubDataARB = (Delegates.GetBufferSubDataARB)GetExtensionDelegateStatic("glGetBufferSubDataARB", typeof(Delegates.GetBufferSubDataARB)); - Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static unsafe void Load_GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation) - { - Delegates.glGetClipPlane = (Delegates.GetClipPlane)GetExtensionDelegateStatic("glGetClipPlane", typeof(Delegates.GetClipPlane)); - Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); - } - internal static unsafe void Load_GetClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single* equation) - { - Delegates.glGetClipPlanefOES = (Delegates.GetClipPlanefOES)GetExtensionDelegateStatic("glGetClipPlanefOES", typeof(Delegates.GetClipPlanefOES)); - Delegates.glGetClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation); - } - internal static unsafe void Load_GetClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int* equation) - { - Delegates.glGetClipPlanexOES = (Delegates.GetClipPlanexOES)GetExtensionDelegateStatic("glGetClipPlanexOES", typeof(Delegates.GetClipPlanexOES)); - Delegates.glGetClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation); - } - internal static void Load_GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) - { - Delegates.glGetColorTable = (Delegates.GetColorTable)GetExtensionDelegateStatic("glGetColorTable", typeof(Delegates.GetColorTable)); - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - } - internal static void Load_GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data) - { - Delegates.glGetColorTableEXT = (Delegates.GetColorTableEXT)GetExtensionDelegateStatic("glGetColorTableEXT", typeof(Delegates.GetColorTableEXT)); - Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); - } - internal static unsafe void Load_GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetColorTableParameterfv = (Delegates.GetColorTableParameterfv)GetExtensionDelegateStatic("glGetColorTableParameterfv", typeof(Delegates.GetColorTableParameterfv)); - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetColorTableParameterfvEXT = (Delegates.GetColorTableParameterfvEXT)GetExtensionDelegateStatic("glGetColorTableParameterfvEXT", typeof(Delegates.GetColorTableParameterfvEXT)); - Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params) - { - Delegates.glGetColorTableParameterfvSGI = (Delegates.GetColorTableParameterfvSGI)GetExtensionDelegateStatic("glGetColorTableParameterfvSGI", typeof(Delegates.GetColorTableParameterfvSGI)); - Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); - } - internal static unsafe void Load_GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetColorTableParameteriv = (Delegates.GetColorTableParameteriv)GetExtensionDelegateStatic("glGetColorTableParameteriv", typeof(Delegates.GetColorTableParameteriv)); - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetColorTableParameterivEXT = (Delegates.GetColorTableParameterivEXT)GetExtensionDelegateStatic("glGetColorTableParameterivEXT", typeof(Delegates.GetColorTableParameterivEXT)); - Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params) - { - Delegates.glGetColorTableParameterivSGI = (Delegates.GetColorTableParameterivSGI)GetExtensionDelegateStatic("glGetColorTableParameterivSGI", typeof(Delegates.GetColorTableParameterivSGI)); - Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); - } - internal static void Load_GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) - { - Delegates.glGetColorTableSGI = (Delegates.GetColorTableSGI)GetExtensionDelegateStatic("glGetColorTableSGI", typeof(Delegates.GetColorTableSGI)); - Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); - } - internal static unsafe void Load_GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) - { - Delegates.glGetCombinerInputParameterfvNV = (Delegates.GetCombinerInputParameterfvNV)GetExtensionDelegateStatic("glGetCombinerInputParameterfvNV", typeof(Delegates.GetCombinerInputParameterfvNV)); - Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - } - internal static unsafe void Load_GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) - { - Delegates.glGetCombinerInputParameterivNV = (Delegates.GetCombinerInputParameterivNV)GetExtensionDelegateStatic("glGetCombinerInputParameterivNV", typeof(Delegates.GetCombinerInputParameterivNV)); - Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - } - internal static unsafe void Load_GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) - { - Delegates.glGetCombinerOutputParameterfvNV = (Delegates.GetCombinerOutputParameterfvNV)GetExtensionDelegateStatic("glGetCombinerOutputParameterfvNV", typeof(Delegates.GetCombinerOutputParameterfvNV)); - Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - } - internal static unsafe void Load_GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) - { - Delegates.glGetCombinerOutputParameterivNV = (Delegates.GetCombinerOutputParameterivNV)GetExtensionDelegateStatic("glGetCombinerOutputParameterivNV", typeof(Delegates.GetCombinerOutputParameterivNV)); - Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - } - internal static unsafe void Load_GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params) - { - Delegates.glGetCombinerStageParameterfvNV = (Delegates.GetCombinerStageParameterfvNV)GetExtensionDelegateStatic("glGetCombinerStageParameterfvNV", typeof(Delegates.GetCombinerStageParameterfvNV)); - Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); - } - internal static void Load_GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) - { - Delegates.glGetCompressedMultiTexImageEXT = (Delegates.GetCompressedMultiTexImageEXT)GetExtensionDelegateStatic("glGetCompressedMultiTexImageEXT", typeof(Delegates.GetCompressedMultiTexImageEXT)); - Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); - } - internal static void Load_GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - Delegates.glGetCompressedTexImage = (Delegates.GetCompressedTexImage)GetExtensionDelegateStatic("glGetCompressedTexImage", typeof(Delegates.GetCompressedTexImage)); - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); - } - internal static void Load_GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - Delegates.glGetCompressedTexImageARB = (Delegates.GetCompressedTexImageARB)GetExtensionDelegateStatic("glGetCompressedTexImageARB", typeof(Delegates.GetCompressedTexImageARB)); - Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); - } - internal static void Load_GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) - { - Delegates.glGetCompressedTextureImageEXT = (Delegates.GetCompressedTextureImageEXT)GetExtensionDelegateStatic("glGetCompressedTextureImageEXT", typeof(Delegates.GetCompressedTextureImageEXT)); - Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); - } - internal static void Load_GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) - { - Delegates.glGetConvolutionFilter = (Delegates.GetConvolutionFilter)GetExtensionDelegateStatic("glGetConvolutionFilter", typeof(Delegates.GetConvolutionFilter)); - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - } - internal static void Load_GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) - { - Delegates.glGetConvolutionFilterEXT = (Delegates.GetConvolutionFilterEXT)GetExtensionDelegateStatic("glGetConvolutionFilterEXT", typeof(Delegates.GetConvolutionFilterEXT)); - Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); - } - internal static unsafe void Load_GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetConvolutionParameterfv = (Delegates.GetConvolutionParameterfv)GetExtensionDelegateStatic("glGetConvolutionParameterfv", typeof(Delegates.GetConvolutionParameterfv)); - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params) - { - Delegates.glGetConvolutionParameterfvEXT = (Delegates.GetConvolutionParameterfvEXT)GetExtensionDelegateStatic("glGetConvolutionParameterfvEXT", typeof(Delegates.GetConvolutionParameterfvEXT)); - Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); - } - internal static unsafe void Load_GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetConvolutionParameteriv = (Delegates.GetConvolutionParameteriv)GetExtensionDelegateStatic("glGetConvolutionParameteriv", typeof(Delegates.GetConvolutionParameteriv)); - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params) - { - Delegates.glGetConvolutionParameterivEXT = (Delegates.GetConvolutionParameterivEXT)GetExtensionDelegateStatic("glGetConvolutionParameterivEXT", typeof(Delegates.GetConvolutionParameterivEXT)); - Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); - } - internal static unsafe void Load_GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetConvolutionParameterxvOES = (Delegates.GetConvolutionParameterxvOES)GetExtensionDelegateStatic("glGetConvolutionParameterxvOES", typeof(Delegates.GetConvolutionParameterxvOES)); - Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe Int32 Load_GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message) - { - Delegates.glGetDebugMessageLogAMD = (Delegates.GetDebugMessageLogAMD)GetExtensionDelegateStatic("glGetDebugMessageLogAMD", typeof(Delegates.GetDebugMessageLogAMD)); - return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories, (UInt32*)severities, (UInt32*)ids, (Int32*)lengths, (StringBuilder)message); - } - internal static unsafe Int32 Load_GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLogARB = (Delegates.GetDebugMessageLogARB)GetExtensionDelegateStatic("glGetDebugMessageLogARB", typeof(Delegates.GetDebugMessageLogARB)); - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources, (OpenTK.Graphics.OpenGL.KhrDebug*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.KhrDebug*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe void Load_GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) - { - Delegates.glGetDetailTexFuncSGIS = (Delegates.GetDetailTexFuncSGIS)GetExtensionDelegateStatic("glGetDetailTexFuncSGIS", typeof(Delegates.GetDetailTexFuncSGIS)); - Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); - } - internal static unsafe void Load_GetDoublei_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) - { - Delegates.glGetDoublei_v = (Delegates.GetDoublei_v)GetExtensionDelegateStatic("glGetDoublei_v", typeof(Delegates.GetDoublei_v)); - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data); - } - internal static unsafe void Load_GetDoublei_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double* @params) - { - Delegates.glGetDoublei_vEXT = (Delegates.GetDoublei_vEXT)GetExtensionDelegateStatic("glGetDoublei_vEXT", typeof(Delegates.GetDoublei_vEXT)); - Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params); - } - internal static unsafe void Load_GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data) - { - Delegates.glGetDoubleIndexedvEXT = (Delegates.GetDoubleIndexedvEXT)GetExtensionDelegateStatic("glGetDoubleIndexedvEXT", typeof(Delegates.GetDoubleIndexedvEXT)); - Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); - } - internal static unsafe void Load_GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* data) - { - Delegates.glGetDoublev = (Delegates.GetDoublev)GetExtensionDelegateStatic("glGetDoublev", typeof(Delegates.GetDoublev)); - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data); - } - internal static OpenTK.Graphics.OpenGL.ErrorCode Load_GetError() - { - Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); - return Delegates.glGetError(); - } - internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); - Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) - { - Delegates.glGetFinalCombinerInputParameterfvNV = (Delegates.GetFinalCombinerInputParameterfvNV)GetExtensionDelegateStatic("glGetFinalCombinerInputParameterfvNV", typeof(Delegates.GetFinalCombinerInputParameterfvNV)); - Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); - } - internal static unsafe void Load_GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFinalCombinerInputParameterivNV = (Delegates.GetFinalCombinerInputParameterivNV)GetExtensionDelegateStatic("glGetFinalCombinerInputParameterivNV", typeof(Delegates.GetFinalCombinerInputParameterivNV)); - Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFixedvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetFixedvOES = (Delegates.GetFixedvOES)GetExtensionDelegateStatic("glGetFixedvOES", typeof(Delegates.GetFixedvOES)); - Delegates.glGetFixedvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static unsafe void Load_GetFloati_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) - { - Delegates.glGetFloati_v = (Delegates.GetFloati_v)GetExtensionDelegateStatic("glGetFloati_v", typeof(Delegates.GetFloati_v)); - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data); - } - internal static unsafe void Load_GetFloati_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single* @params) - { - Delegates.glGetFloati_vEXT = (Delegates.GetFloati_vEXT)GetExtensionDelegateStatic("glGetFloati_vEXT", typeof(Delegates.GetFloati_vEXT)); - Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params); - } - internal static unsafe void Load_GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data) - { - Delegates.glGetFloatIndexedvEXT = (Delegates.GetFloatIndexedvEXT)GetExtensionDelegateStatic("glGetFloatIndexedvEXT", typeof(Delegates.GetFloatIndexedvEXT)); - Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); - } - internal static unsafe void Load_GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* data) - { - Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data); - } - internal static unsafe void Load_GetFogFuncSGIS([OutAttribute] Single* points) - { - Delegates.glGetFogFuncSGIS = (Delegates.GetFogFuncSGIS)GetExtensionDelegateStatic("glGetFogFuncSGIS", typeof(Delegates.GetFogFuncSGIS)); - Delegates.glGetFogFuncSGIS((Single*)points); - } - internal static Int32 Load_GetFragDataIndex(UInt32 program, String name) - { - Delegates.glGetFragDataIndex = (Delegates.GetFragDataIndex)GetExtensionDelegateStatic("glGetFragDataIndex", typeof(Delegates.GetFragDataIndex)); - return Delegates.glGetFragDataIndex((UInt32)program, (String)name); - } - internal static Int32 Load_GetFragDataLocation(UInt32 program, String name) - { - Delegates.glGetFragDataLocation = (Delegates.GetFragDataLocation)GetExtensionDelegateStatic("glGetFragDataLocation", typeof(Delegates.GetFragDataLocation)); - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - } - internal static Int32 Load_GetFragDataLocationEXT(UInt32 program, String name) - { - Delegates.glGetFragDataLocationEXT = (Delegates.GetFragDataLocationEXT)GetExtensionDelegateStatic("glGetFragDataLocationEXT", typeof(Delegates.GetFragDataLocationEXT)); - return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); - } - internal static unsafe void Load_GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params) - { - Delegates.glGetFragmentLightfvSGIX = (Delegates.GetFragmentLightfvSGIX)GetExtensionDelegateStatic("glGetFragmentLightfvSGIX", typeof(Delegates.GetFragmentLightfvSGIX)); - Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); - } - internal static unsafe void Load_GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFragmentLightivSGIX = (Delegates.GetFragmentLightivSGIX)GetExtensionDelegateStatic("glGetFragmentLightivSGIX", typeof(Delegates.GetFragmentLightivSGIX)); - Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetFragmentMaterialfvSGIX = (Delegates.GetFragmentMaterialfvSGIX)GetExtensionDelegateStatic("glGetFragmentMaterialfvSGIX", typeof(Delegates.GetFragmentMaterialfvSGIX)); - Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFragmentMaterialivSGIX = (Delegates.GetFragmentMaterialivSGIX)GetExtensionDelegateStatic("glGetFragmentMaterialivSGIX", typeof(Delegates.GetFragmentMaterialivSGIX)); - Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferAttachmentParameterivEXT = (Delegates.GetFramebufferAttachmentParameterivEXT)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameterivEXT", typeof(Delegates.GetFramebufferAttachmentParameterivEXT)); - Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFramebufferParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferParameteriv = (Delegates.GetFramebufferParameteriv)GetExtensionDelegateStatic("glGetFramebufferParameteriv", typeof(Delegates.GetFramebufferParameteriv)); - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferParameterivEXT = (Delegates.GetFramebufferParameterivEXT)GetExtensionDelegateStatic("glGetFramebufferParameterivEXT", typeof(Delegates.GetFramebufferParameterivEXT)); - Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - } - internal static OpenTK.Graphics.OpenGL.ArbRobustness Load_GetGraphicsResetStatusARB() - { - Delegates.glGetGraphicsResetStatusARB = (Delegates.GetGraphicsResetStatusARB)GetExtensionDelegateStatic("glGetGraphicsResetStatusARB", typeof(Delegates.GetGraphicsResetStatusARB)); - return Delegates.glGetGraphicsResetStatusARB(); - } - internal static Int32 Load_GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname) - { - Delegates.glGetHandleARB = (Delegates.GetHandleARB)GetExtensionDelegateStatic("glGetHandleARB", typeof(Delegates.GetHandleARB)); - return Delegates.glGetHandleARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)pname); - } - internal static void Load_GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - Delegates.glGetHistogram = (Delegates.GetHistogram)GetExtensionDelegateStatic("glGetHistogram", typeof(Delegates.GetHistogram)); - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - } - internal static void Load_GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - Delegates.glGetHistogramEXT = (Delegates.GetHistogramEXT)GetExtensionDelegateStatic("glGetHistogramEXT", typeof(Delegates.GetHistogramEXT)); - Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - } - internal static unsafe void Load_GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetHistogramParameterfv = (Delegates.GetHistogramParameterfv)GetExtensionDelegateStatic("glGetHistogramParameterfv", typeof(Delegates.GetHistogramParameterfv)); - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) - { - Delegates.glGetHistogramParameterfvEXT = (Delegates.GetHistogramParameterfvEXT)GetExtensionDelegateStatic("glGetHistogramParameterfvEXT", typeof(Delegates.GetHistogramParameterfvEXT)); - Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); - } - internal static unsafe void Load_GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetHistogramParameteriv = (Delegates.GetHistogramParameteriv)GetExtensionDelegateStatic("glGetHistogramParameteriv", typeof(Delegates.GetHistogramParameteriv)); - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) - { - Delegates.glGetHistogramParameterivEXT = (Delegates.GetHistogramParameterivEXT)GetExtensionDelegateStatic("glGetHistogramParameterivEXT", typeof(Delegates.GetHistogramParameterivEXT)); - Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); - } - internal static unsafe void Load_GetHistogramParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetHistogramParameterxvOES = (Delegates.GetHistogramParameterxvOES)GetExtensionDelegateStatic("glGetHistogramParameterxvOES", typeof(Delegates.GetHistogramParameterxvOES)); - Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static Int64 Load_GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format) - { - Delegates.glGetImageHandleARB = (Delegates.GetImageHandleARB)GetExtensionDelegateStatic("glGetImageHandleARB", typeof(Delegates.GetImageHandleARB)); - return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)format); - } - internal static Int64 Load_GetImageHandleNV(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format) - { - Delegates.glGetImageHandleNV = (Delegates.GetImageHandleNV)GetExtensionDelegateStatic("glGetImageHandleNV", typeof(Delegates.GetImageHandleNV)); - return Delegates.glGetImageHandleNV((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.NvBindlessTexture)format); - } - internal static unsafe void Load_GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params) - { - Delegates.glGetImageTransformParameterfvHP = (Delegates.GetImageTransformParameterfvHP)GetExtensionDelegateStatic("glGetImageTransformParameterfvHP", typeof(Delegates.GetImageTransformParameterfvHP)); - Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); - } - internal static unsafe void Load_GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params) - { - Delegates.glGetImageTransformParameterivHP = (Delegates.GetImageTransformParameterivHP)GetExtensionDelegateStatic("glGetImageTransformParameterivHP", typeof(Delegates.GetImageTransformParameterivHP)); - Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); - } - internal static unsafe void Load_GetInfoLogARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetInfoLogARB = (Delegates.GetInfoLogARB)GetExtensionDelegateStatic("glGetInfoLogARB", typeof(Delegates.GetInfoLogARB)); - Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog); - } - internal static Int32 Load_GetInstrumentsSGIX() - { - Delegates.glGetInstrumentsSGIX = (Delegates.GetInstrumentsSGIX)GetExtensionDelegateStatic("glGetInstrumentsSGIX", typeof(Delegates.GetInstrumentsSGIX)); - return Delegates.glGetInstrumentsSGIX(); - } - internal static unsafe void Load_GetInteger64i_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - Delegates.glGetInteger64i_v = (Delegates.GetInteger64i_v)GetExtensionDelegateStatic("glGetInteger64i_v", typeof(Delegates.GetInteger64i_v)); - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); - } - internal static unsafe void Load_GetInteger64v(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64* data) - { - Delegates.glGetInteger64v = (Delegates.GetInteger64v)GetExtensionDelegateStatic("glGetInteger64v", typeof(Delegates.GetInteger64v)); - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data); - } - internal static unsafe void Load_GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - Delegates.glGetIntegeri_v = (Delegates.GetIntegeri_v)GetExtensionDelegateStatic("glGetIntegeri_v", typeof(Delegates.GetIntegeri_v)); - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - } - internal static unsafe void Load_GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - Delegates.glGetIntegerIndexedvEXT = (Delegates.GetIntegerIndexedvEXT)GetExtensionDelegateStatic("glGetIntegerIndexedvEXT", typeof(Delegates.GetIntegerIndexedvEXT)); - Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); - } - internal static unsafe void Load_GetIntegerui64i_vNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result) - { - Delegates.glGetIntegerui64i_vNV = (Delegates.GetIntegerui64i_vNV)GetExtensionDelegateStatic("glGetIntegerui64i_vNV", typeof(Delegates.GetIntegerui64i_vNV)); - Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result); - } - internal static unsafe void Load_GetIntegerui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result) - { - Delegates.glGetIntegerui64vNV = (Delegates.GetIntegerui64vNV)GetExtensionDelegateStatic("glGetIntegerui64vNV", typeof(Delegates.GetIntegerui64vNV)); - Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result); - } - internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data) - { - Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data); - } - internal static unsafe void Load_GetInternalformati64v(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) - { - Delegates.glGetInternalformati64v = (Delegates.GetInternalformati64v)GetExtensionDelegateStatic("glGetInternalformati64v", typeof(Delegates.GetInternalformati64v)); - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params); - } - internal static unsafe void Load_GetInternalformativ(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetInternalformativ = (Delegates.GetInternalformativ)GetExtensionDelegateStatic("glGetInternalformativ", typeof(Delegates.GetInternalformativ)); - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); - } - internal static unsafe void Load_GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - Delegates.glGetInvariantBooleanvEXT = (Delegates.GetInvariantBooleanvEXT)GetExtensionDelegateStatic("glGetInvariantBooleanvEXT", typeof(Delegates.GetInvariantBooleanvEXT)); - Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - } - internal static unsafe void Load_GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - Delegates.glGetInvariantFloatvEXT = (Delegates.GetInvariantFloatvEXT)GetExtensionDelegateStatic("glGetInvariantFloatvEXT", typeof(Delegates.GetInvariantFloatvEXT)); - Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - } - internal static unsafe void Load_GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - Delegates.glGetInvariantIntegervEXT = (Delegates.GetInvariantIntegervEXT)GetExtensionDelegateStatic("glGetInvariantIntegervEXT", typeof(Delegates.GetInvariantIntegervEXT)); - Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - } - internal static unsafe void Load_GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetLightfv = (Delegates.GetLightfv)GetExtensionDelegateStatic("glGetLightfv", typeof(Delegates.GetLightfv)); - Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetLightiv = (Delegates.GetLightiv)GetExtensionDelegateStatic("glGetLightiv", typeof(Delegates.GetLightiv)); - Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetLightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetLightxOES = (Delegates.GetLightxOES)GetExtensionDelegateStatic("glGetLightxOES", typeof(Delegates.GetLightxOES)); - Delegates.glGetLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static unsafe void Load_GetLightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetLightxvOES = (Delegates.GetLightxvOES)GetExtensionDelegateStatic("glGetLightxvOES", typeof(Delegates.GetLightxvOES)); - Delegates.glGetLightxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static unsafe void Load_GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) - { - Delegates.glGetListParameterfvSGIX = (Delegates.GetListParameterfvSGIX)GetExtensionDelegateStatic("glGetListParameterfvSGIX", typeof(Delegates.GetListParameterfvSGIX)); - Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); - } - internal static unsafe void Load_GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetListParameterivSGIX = (Delegates.GetListParameterivSGIX)GetExtensionDelegateStatic("glGetListParameterivSGIX", typeof(Delegates.GetListParameterivSGIX)); - Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - Delegates.glGetLocalConstantBooleanvEXT = (Delegates.GetLocalConstantBooleanvEXT)GetExtensionDelegateStatic("glGetLocalConstantBooleanvEXT", typeof(Delegates.GetLocalConstantBooleanvEXT)); - Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - } - internal static unsafe void Load_GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - Delegates.glGetLocalConstantFloatvEXT = (Delegates.GetLocalConstantFloatvEXT)GetExtensionDelegateStatic("glGetLocalConstantFloatvEXT", typeof(Delegates.GetLocalConstantFloatvEXT)); - Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - } - internal static unsafe void Load_GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - Delegates.glGetLocalConstantIntegervEXT = (Delegates.GetLocalConstantIntegervEXT)GetExtensionDelegateStatic("glGetLocalConstantIntegervEXT", typeof(Delegates.GetLocalConstantIntegervEXT)); - Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - } - internal static unsafe void Load_GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) - { - Delegates.glGetMapAttribParameterfvNV = (Delegates.GetMapAttribParameterfvNV)GetExtensionDelegateStatic("glGetMapAttribParameterfvNV", typeof(Delegates.GetMapAttribParameterfvNV)); - Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); - } - internal static unsafe void Load_GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMapAttribParameterivNV = (Delegates.GetMapAttribParameterivNV)GetExtensionDelegateStatic("glGetMapAttribParameterivNV", typeof(Delegates.GetMapAttribParameterivNV)); - Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); - } - internal static void Load_GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points) - { - Delegates.glGetMapControlPointsNV = (Delegates.GetMapControlPointsNV)GetExtensionDelegateStatic("glGetMapControlPointsNV", typeof(Delegates.GetMapControlPointsNV)); - Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); - } - internal static unsafe void Load_GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v) - { - Delegates.glGetMapdv = (Delegates.GetMapdv)GetExtensionDelegateStatic("glGetMapdv", typeof(Delegates.GetMapdv)); - Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v); - } - internal static unsafe void Load_GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v) - { - Delegates.glGetMapfv = (Delegates.GetMapfv)GetExtensionDelegateStatic("glGetMapfv", typeof(Delegates.GetMapfv)); - Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v); - } - internal static unsafe void Load_GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v) - { - Delegates.glGetMapiv = (Delegates.GetMapiv)GetExtensionDelegateStatic("glGetMapiv", typeof(Delegates.GetMapiv)); - Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v); - } - internal static unsafe void Load_GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) - { - Delegates.glGetMapParameterfvNV = (Delegates.GetMapParameterfvNV)GetExtensionDelegateStatic("glGetMapParameterfvNV", typeof(Delegates.GetMapParameterfvNV)); - Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); - } - internal static unsafe void Load_GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMapParameterivNV = (Delegates.GetMapParameterivNV)GetExtensionDelegateStatic("glGetMapParameterivNV", typeof(Delegates.GetMapParameterivNV)); - Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); - } - internal static unsafe void Load_GetMapxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int* v) - { - Delegates.glGetMapxvOES = (Delegates.GetMapxvOES)GetExtensionDelegateStatic("glGetMapxvOES", typeof(Delegates.GetMapxvOES)); - Delegates.glGetMapxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (int*)v); - } - internal static unsafe void Load_GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetMaterialfv = (Delegates.GetMaterialfv)GetExtensionDelegateStatic("glGetMaterialfv", typeof(Delegates.GetMaterialfv)); - Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMaterialiv = (Delegates.GetMaterialiv)GetExtensionDelegateStatic("glGetMaterialiv", typeof(Delegates.GetMaterialiv)); - Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - } - internal static void Load_GetMaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glGetMaterialxOES = (Delegates.GetMaterialxOES)GetExtensionDelegateStatic("glGetMaterialxOES", typeof(Delegates.GetMaterialxOES)); - Delegates.glGetMaterialxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_GetMaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetMaterialxvOES = (Delegates.GetMaterialxvOES)GetExtensionDelegateStatic("glGetMaterialxvOES", typeof(Delegates.GetMaterialxvOES)); - Delegates.glGetMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static void Load_GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - Delegates.glGetMinmax = (Delegates.GetMinmax)GetExtensionDelegateStatic("glGetMinmax", typeof(Delegates.GetMinmax)); - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - } - internal static void Load_GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) - { - Delegates.glGetMinmaxEXT = (Delegates.GetMinmaxEXT)GetExtensionDelegateStatic("glGetMinmaxEXT", typeof(Delegates.GetMinmaxEXT)); - Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); - } - internal static unsafe void Load_GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetMinmaxParameterfv = (Delegates.GetMinmaxParameterfv)GetExtensionDelegateStatic("glGetMinmaxParameterfv", typeof(Delegates.GetMinmaxParameterfv)); - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) - { - Delegates.glGetMinmaxParameterfvEXT = (Delegates.GetMinmaxParameterfvEXT)GetExtensionDelegateStatic("glGetMinmaxParameterfvEXT", typeof(Delegates.GetMinmaxParameterfvEXT)); - Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); - } - internal static unsafe void Load_GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMinmaxParameteriv = (Delegates.GetMinmaxParameteriv)GetExtensionDelegateStatic("glGetMinmaxParameteriv", typeof(Delegates.GetMinmaxParameteriv)); - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMinmaxParameterivEXT = (Delegates.GetMinmaxParameterivEXT)GetExtensionDelegateStatic("glGetMinmaxParameterivEXT", typeof(Delegates.GetMinmaxParameterivEXT)); - Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); - } - internal static unsafe void Load_GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) - { - Delegates.glGetMultisamplefv = (Delegates.GetMultisamplefv)GetExtensionDelegateStatic("glGetMultisamplefv", typeof(Delegates.GetMultisamplefv)); - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val); - } - internal static unsafe void Load_GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val) - { - Delegates.glGetMultisamplefvNV = (Delegates.GetMultisamplefvNV)GetExtensionDelegateStatic("glGetMultisamplefvNV", typeof(Delegates.GetMultisamplefvNV)); - Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); - } - internal static unsafe void Load_GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetMultiTexEnvfvEXT = (Delegates.GetMultiTexEnvfvEXT)GetExtensionDelegateStatic("glGetMultiTexEnvfvEXT", typeof(Delegates.GetMultiTexEnvfvEXT)); - Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMultiTexEnvivEXT = (Delegates.GetMultiTexEnvivEXT)GetExtensionDelegateStatic("glGetMultiTexEnvivEXT", typeof(Delegates.GetMultiTexEnvivEXT)); - Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) - { - Delegates.glGetMultiTexGendvEXT = (Delegates.GetMultiTexGendvEXT)GetExtensionDelegateStatic("glGetMultiTexGendvEXT", typeof(Delegates.GetMultiTexGendvEXT)); - Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - } - internal static unsafe void Load_GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetMultiTexGenfvEXT = (Delegates.GetMultiTexGenfvEXT)GetExtensionDelegateStatic("glGetMultiTexGenfvEXT", typeof(Delegates.GetMultiTexGenfvEXT)); - Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMultiTexGenivEXT = (Delegates.GetMultiTexGenivEXT)GetExtensionDelegateStatic("glGetMultiTexGenivEXT", typeof(Delegates.GetMultiTexGenivEXT)); - Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - } - internal static void Load_GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glGetMultiTexImageEXT = (Delegates.GetMultiTexImageEXT)GetExtensionDelegateStatic("glGetMultiTexImageEXT", typeof(Delegates.GetMultiTexImageEXT)); - Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static unsafe void Load_GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetMultiTexLevelParameterfvEXT = (Delegates.GetMultiTexLevelParameterfvEXT)GetExtensionDelegateStatic("glGetMultiTexLevelParameterfvEXT", typeof(Delegates.GetMultiTexLevelParameterfvEXT)); - Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMultiTexLevelParameterivEXT = (Delegates.GetMultiTexLevelParameterivEXT)GetExtensionDelegateStatic("glGetMultiTexLevelParameterivEXT", typeof(Delegates.GetMultiTexLevelParameterivEXT)); - Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetMultiTexParameterfvEXT = (Delegates.GetMultiTexParameterfvEXT)GetExtensionDelegateStatic("glGetMultiTexParameterfvEXT", typeof(Delegates.GetMultiTexParameterfvEXT)); - Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMultiTexParameterIivEXT = (Delegates.GetMultiTexParameterIivEXT)GetExtensionDelegateStatic("glGetMultiTexParameterIivEXT", typeof(Delegates.GetMultiTexParameterIivEXT)); - Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetMultiTexParameterIuivEXT = (Delegates.GetMultiTexParameterIuivEXT)GetExtensionDelegateStatic("glGetMultiTexParameterIuivEXT", typeof(Delegates.GetMultiTexParameterIuivEXT)); - Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMultiTexParameterivEXT = (Delegates.GetMultiTexParameterivEXT)GetExtensionDelegateStatic("glGetMultiTexParameterivEXT", typeof(Delegates.GetMultiTexParameterivEXT)); - Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedBufferParameterivEXT = (Delegates.GetNamedBufferParameterivEXT)GetExtensionDelegateStatic("glGetNamedBufferParameterivEXT", typeof(Delegates.GetNamedBufferParameterivEXT)); - Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - } - internal static unsafe void Load_GetNamedBufferParameterui64vNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetNamedBufferParameterui64vNV = (Delegates.GetNamedBufferParameterui64vNV)GetExtensionDelegateStatic("glGetNamedBufferParameterui64vNV", typeof(Delegates.GetNamedBufferParameterui64vNV)); - Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); - } - internal static void Load_GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetNamedBufferPointervEXT = (Delegates.GetNamedBufferPointervEXT)GetExtensionDelegateStatic("glGetNamedBufferPointervEXT", typeof(Delegates.GetNamedBufferPointervEXT)); - Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params); - } - internal static void Load_GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - Delegates.glGetNamedBufferSubDataEXT = (Delegates.GetNamedBufferSubDataEXT)GetExtensionDelegateStatic("glGetNamedBufferSubDataEXT", typeof(Delegates.GetNamedBufferSubDataEXT)); - Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static unsafe void Load_GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedFramebufferAttachmentParameterivEXT = (Delegates.GetNamedFramebufferAttachmentParameterivEXT)GetExtensionDelegateStatic("glGetNamedFramebufferAttachmentParameterivEXT", typeof(Delegates.GetNamedFramebufferAttachmentParameterivEXT)); - Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - } - internal static unsafe void Load_GetNamedFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedFramebufferParameterivEXT = (Delegates.GetNamedFramebufferParameterivEXT)GetExtensionDelegateStatic("glGetNamedFramebufferParameterivEXT", typeof(Delegates.GetNamedFramebufferParameterivEXT)); - Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); - } - internal static unsafe void Load_GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedProgramivEXT = (Delegates.GetNamedProgramivEXT)GetExtensionDelegateStatic("glGetNamedProgramivEXT", typeof(Delegates.GetNamedProgramivEXT)); - Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); - } - internal static unsafe void Load_GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params) - { - Delegates.glGetNamedProgramLocalParameterdvEXT = (Delegates.GetNamedProgramLocalParameterdvEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterdvEXT", typeof(Delegates.GetNamedProgramLocalParameterdvEXT)); - Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - } - internal static unsafe void Load_GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params) - { - Delegates.glGetNamedProgramLocalParameterfvEXT = (Delegates.GetNamedProgramLocalParameterfvEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterfvEXT", typeof(Delegates.GetNamedProgramLocalParameterfvEXT)); - Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - } - internal static unsafe void Load_GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedProgramLocalParameterIivEXT = (Delegates.GetNamedProgramLocalParameterIivEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterIivEXT", typeof(Delegates.GetNamedProgramLocalParameterIivEXT)); - Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - } - internal static unsafe void Load_GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params) - { - Delegates.glGetNamedProgramLocalParameterIuivEXT = (Delegates.GetNamedProgramLocalParameterIuivEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterIuivEXT", typeof(Delegates.GetNamedProgramLocalParameterIuivEXT)); - Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - } - internal static void Load_GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string) - { - Delegates.glGetNamedProgramStringEXT = (Delegates.GetNamedProgramStringEXT)GetExtensionDelegateStatic("glGetNamedProgramStringEXT", typeof(Delegates.GetNamedProgramStringEXT)); - Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string); - } - internal static unsafe void Load_GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedRenderbufferParameterivEXT = (Delegates.GetNamedRenderbufferParameterivEXT)GetExtensionDelegateStatic("glGetNamedRenderbufferParameterivEXT", typeof(Delegates.GetNamedRenderbufferParameterivEXT)); - Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) - { - Delegates.glGetNamedStringARB = (Delegates.GetNamedStringARB)GetExtensionDelegateStatic("glGetNamedStringARB", typeof(Delegates.GetNamedStringARB)); - Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen, (StringBuilder)@string); - } - internal static unsafe void Load_GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedStringivARB = (Delegates.GetNamedStringivARB)GetExtensionDelegateStatic("glGetNamedStringivARB", typeof(Delegates.GetNamedStringivARB)); - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params); - } - internal static void Load_GetnColorTableARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table) - { - Delegates.glGetnColorTableARB = (Delegates.GetnColorTableARB)GetExtensionDelegateStatic("glGetnColorTableARB", typeof(Delegates.GetnColorTableARB)); - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table); - } - internal static void Load_GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) - { - Delegates.glGetnCompressedTexImageARB = (Delegates.GetnCompressedTexImageARB)GetExtensionDelegateStatic("glGetnCompressedTexImageARB", typeof(Delegates.GetnCompressedTexImageARB)); - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img); - } - internal static void Load_GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image) - { - Delegates.glGetnConvolutionFilterARB = (Delegates.GetnConvolutionFilterARB)GetExtensionDelegateStatic("glGetnConvolutionFilterARB", typeof(Delegates.GetnConvolutionFilterARB)); - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image); - } - internal static void Load_GetnHistogramARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) - { - Delegates.glGetnHistogramARB = (Delegates.GetnHistogramARB)GetExtensionDelegateStatic("glGetnHistogramARB", typeof(Delegates.GetnHistogramARB)); - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); - } - internal static unsafe void Load_GetnMapdvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v) - { - Delegates.glGetnMapdvARB = (Delegates.GetnMapdvARB)GetExtensionDelegateStatic("glGetnMapdvARB", typeof(Delegates.GetnMapdvARB)); - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v); - } - internal static unsafe void Load_GetnMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v) - { - Delegates.glGetnMapfvARB = (Delegates.GetnMapfvARB)GetExtensionDelegateStatic("glGetnMapfvARB", typeof(Delegates.GetnMapfvARB)); - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v); - } - internal static unsafe void Load_GetnMapivARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v) - { - Delegates.glGetnMapivARB = (Delegates.GetnMapivARB)GetExtensionDelegateStatic("glGetnMapivARB", typeof(Delegates.GetnMapivARB)); - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v); - } - internal static void Load_GetnMinmaxARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) - { - Delegates.glGetnMinmaxARB = (Delegates.GetnMinmaxARB)GetExtensionDelegateStatic("glGetnMinmaxARB", typeof(Delegates.GetnMinmaxARB)); - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); - } - internal static unsafe void Load_GetnPixelMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values) - { - Delegates.glGetnPixelMapfvARB = (Delegates.GetnPixelMapfvARB)GetExtensionDelegateStatic("glGetnPixelMapfvARB", typeof(Delegates.GetnPixelMapfvARB)); - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values); - } - internal static unsafe void Load_GetnPixelMapuivARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values) - { - Delegates.glGetnPixelMapuivARB = (Delegates.GetnPixelMapuivARB)GetExtensionDelegateStatic("glGetnPixelMapuivARB", typeof(Delegates.GetnPixelMapuivARB)); - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values); - } - internal static unsafe void Load_GetnPixelMapusvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values) - { - Delegates.glGetnPixelMapusvARB = (Delegates.GetnPixelMapusvARB)GetExtensionDelegateStatic("glGetnPixelMapusvARB", typeof(Delegates.GetnPixelMapusvARB)); - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values); - } - internal static unsafe void Load_GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern) - { - Delegates.glGetnPolygonStippleARB = (Delegates.GetnPolygonStippleARB)GetExtensionDelegateStatic("glGetnPolygonStippleARB", typeof(Delegates.GetnPolygonStippleARB)); - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern); - } - internal static void Load_GetnSeparableFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - Delegates.glGetnSeparableFilterARB = (Delegates.GetnSeparableFilterARB)GetExtensionDelegateStatic("glGetnSeparableFilterARB", typeof(Delegates.GetnSeparableFilterARB)); - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span); - } - internal static void Load_GetnTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img) - { - Delegates.glGetnTexImageARB = (Delegates.GetnTexImageARB)GetExtensionDelegateStatic("glGetnTexImageARB", typeof(Delegates.GetnTexImageARB)); - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img); - } - internal static unsafe void Load_GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - Delegates.glGetnUniformdvARB = (Delegates.GetnUniformdvARB)GetExtensionDelegateStatic("glGetnUniformdvARB", typeof(Delegates.GetnUniformdvARB)); - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); - } - internal static unsafe void Load_GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - Delegates.glGetnUniformfvARB = (Delegates.GetnUniformfvARB)GetExtensionDelegateStatic("glGetnUniformfvARB", typeof(Delegates.GetnUniformfvARB)); - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - } - internal static unsafe void Load_GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetnUniformivARB = (Delegates.GetnUniformivARB)GetExtensionDelegateStatic("glGetnUniformivARB", typeof(Delegates.GetnUniformivARB)); - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - } - internal static unsafe void Load_GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) - { - Delegates.glGetnUniformuivARB = (Delegates.GetnUniformuivARB)GetExtensionDelegateStatic("glGetnUniformuivARB", typeof(Delegates.GetnUniformuivARB)); - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params); - } - internal static unsafe void Load_GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - Delegates.glGetObjectBufferfvATI = (Delegates.GetObjectBufferfvATI)GetExtensionDelegateStatic("glGetObjectBufferfvATI", typeof(Delegates.GetObjectBufferfvATI)); - Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - } - internal static unsafe void Load_GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - Delegates.glGetObjectBufferivATI = (Delegates.GetObjectBufferivATI)GetExtensionDelegateStatic("glGetObjectBufferivATI", typeof(Delegates.GetObjectBufferivATI)); - Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - } - internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectLabelEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabelEXT = (Delegates.GetObjectLabelEXT)GetExtensionDelegateStatic("glGetObjectLabelEXT", typeof(Delegates.GetObjectLabelEXT)); - Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) - { - Delegates.glGetObjectParameterfvARB = (Delegates.GetObjectParameterfvARB)GetExtensionDelegateStatic("glGetObjectParameterfvARB", typeof(Delegates.GetObjectParameterfvARB)); - Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params); - } - internal static unsafe void Load_GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params) - { - Delegates.glGetObjectParameterivAPPLE = (Delegates.GetObjectParameterivAPPLE)GetExtensionDelegateStatic("glGetObjectParameterivAPPLE", typeof(Delegates.GetObjectParameterivAPPLE)); - Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params); - } - internal static unsafe void Load_GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) - { - Delegates.glGetObjectParameterivARB = (Delegates.GetObjectParameterivARB)GetExtensionDelegateStatic("glGetObjectParameterivARB", typeof(Delegates.GetObjectParameterivARB)); - Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params); - } - internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) - { - Delegates.glGetOcclusionQueryivNV = (Delegates.GetOcclusionQueryivNV)GetExtensionDelegateStatic("glGetOcclusionQueryivNV", typeof(Delegates.GetOcclusionQueryivNV)); - Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params); - } - internal static unsafe void Load_GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetOcclusionQueryuivNV = (Delegates.GetOcclusionQueryuivNV)GetExtensionDelegateStatic("glGetOcclusionQueryuivNV", typeof(Delegates.GetOcclusionQueryuivNV)); - Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetPathColorGenfvNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - Delegates.glGetPathColorGenfvNV = (Delegates.GetPathColorGenfvNV)GetExtensionDelegateStatic("glGetPathColorGenfvNV", typeof(Delegates.GetPathColorGenfvNV)); - Delegates.glGetPathColorGenfvNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - } - internal static unsafe void Load_GetPathColorGenivNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - Delegates.glGetPathColorGenivNV = (Delegates.GetPathColorGenivNV)GetExtensionDelegateStatic("glGetPathColorGenivNV", typeof(Delegates.GetPathColorGenivNV)); - Delegates.glGetPathColorGenivNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - } - internal static unsafe void Load_GetPathCommandsNV(UInt32 path, [OutAttribute] Byte* commands) - { - Delegates.glGetPathCommandsNV = (Delegates.GetPathCommandsNV)GetExtensionDelegateStatic("glGetPathCommandsNV", typeof(Delegates.GetPathCommandsNV)); - Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands); - } - internal static unsafe void Load_GetPathCoordsNV(UInt32 path, [OutAttribute] Single* coords) - { - Delegates.glGetPathCoordsNV = (Delegates.GetPathCoordsNV)GetExtensionDelegateStatic("glGetPathCoordsNV", typeof(Delegates.GetPathCoordsNV)); - Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords); - } - internal static unsafe void Load_GetPathDashArrayNV(UInt32 path, [OutAttribute] Single* dashArray) - { - Delegates.glGetPathDashArrayNV = (Delegates.GetPathDashArrayNV)GetExtensionDelegateStatic("glGetPathDashArrayNV", typeof(Delegates.GetPathDashArrayNV)); - Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray); - } - internal static Single Load_GetPathLengthNV(UInt32 path, Int32 startSegment, Int32 numSegments) - { - Delegates.glGetPathLengthNV = (Delegates.GetPathLengthNV)GetExtensionDelegateStatic("glGetPathLengthNV", typeof(Delegates.GetPathLengthNV)); - return Delegates.glGetPathLengthNV((UInt32)path, (Int32)startSegment, (Int32)numSegments); - } - internal static unsafe void Load_GetPathMetricRangeNV(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics) - { - Delegates.glGetPathMetricRangeNV = (Delegates.GetPathMetricRangeNV)GetExtensionDelegateStatic("glGetPathMetricRangeNV", typeof(Delegates.GetPathMetricRangeNV)); - Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics); - } - internal static unsafe void Load_GetPathMetricsNV(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) - { - Delegates.glGetPathMetricsNV = (Delegates.GetPathMetricsNV)GetExtensionDelegateStatic("glGetPathMetricsNV", typeof(Delegates.GetPathMetricsNV)); - Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics); - } - internal static unsafe void Load_GetPathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - Delegates.glGetPathParameterfvNV = (Delegates.GetPathParameterfvNV)GetExtensionDelegateStatic("glGetPathParameterfvNV", typeof(Delegates.GetPathParameterfvNV)); - Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - } - internal static unsafe void Load_GetPathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - Delegates.glGetPathParameterivNV = (Delegates.GetPathParameterivNV)GetExtensionDelegateStatic("glGetPathParameterivNV", typeof(Delegates.GetPathParameterivNV)); - Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - } - internal static unsafe void Load_GetPathSpacingNV(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) - { - Delegates.glGetPathSpacingNV = (Delegates.GetPathSpacingNV)GetExtensionDelegateStatic("glGetPathSpacingNV", typeof(Delegates.GetPathSpacingNV)); - Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); - } - internal static unsafe void Load_GetPathTexGenfvNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) - { - Delegates.glGetPathTexGenfvNV = (Delegates.GetPathTexGenfvNV)GetExtensionDelegateStatic("glGetPathTexGenfvNV", typeof(Delegates.GetPathTexGenfvNV)); - Delegates.glGetPathTexGenfvNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - } - internal static unsafe void Load_GetPathTexGenivNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) - { - Delegates.glGetPathTexGenivNV = (Delegates.GetPathTexGenivNV)GetExtensionDelegateStatic("glGetPathTexGenivNV", typeof(Delegates.GetPathTexGenivNV)); - Delegates.glGetPathTexGenivNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - } - internal static unsafe void Load_GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) - { - Delegates.glGetPerfMonitorCounterDataAMD = (Delegates.GetPerfMonitorCounterDataAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterDataAMD", typeof(Delegates.GetPerfMonitorCounterDataAMD)); - Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); - } - internal static void Load_GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) - { - Delegates.glGetPerfMonitorCounterInfoAMD = (Delegates.GetPerfMonitorCounterInfoAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterInfoAMD", typeof(Delegates.GetPerfMonitorCounterInfoAMD)); - Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data); - } - internal static unsafe void Load_GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) - { - Delegates.glGetPerfMonitorCountersAMD = (Delegates.GetPerfMonitorCountersAMD)GetExtensionDelegateStatic("glGetPerfMonitorCountersAMD", typeof(Delegates.GetPerfMonitorCountersAMD)); - Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); - } - internal static unsafe void Load_GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) - { - Delegates.glGetPerfMonitorCounterStringAMD = (Delegates.GetPerfMonitorCounterStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterStringAMD", typeof(Delegates.GetPerfMonitorCounterStringAMD)); - Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); - } - internal static unsafe void Load_GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) - { - Delegates.glGetPerfMonitorGroupsAMD = (Delegates.GetPerfMonitorGroupsAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupsAMD", typeof(Delegates.GetPerfMonitorGroupsAMD)); - Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); - } - internal static unsafe void Load_GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) - { - Delegates.glGetPerfMonitorGroupStringAMD = (Delegates.GetPerfMonitorGroupStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupStringAMD", typeof(Delegates.GetPerfMonitorGroupStringAMD)); - Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); - } - internal static unsafe void Load_GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values) - { - Delegates.glGetPixelMapfv = (Delegates.GetPixelMapfv)GetExtensionDelegateStatic("glGetPixelMapfv", typeof(Delegates.GetPixelMapfv)); - Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values); - } - internal static unsafe void Load_GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values) - { - Delegates.glGetPixelMapuiv = (Delegates.GetPixelMapuiv)GetExtensionDelegateStatic("glGetPixelMapuiv", typeof(Delegates.GetPixelMapuiv)); - Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values); - } - internal static unsafe void Load_GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values) - { - Delegates.glGetPixelMapusv = (Delegates.GetPixelMapusv)GetExtensionDelegateStatic("glGetPixelMapusv", typeof(Delegates.GetPixelMapusv)); - Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values); - } - internal static unsafe void Load_GetPixelMapxv(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values) - { - Delegates.glGetPixelMapxv = (Delegates.GetPixelMapxv)GetExtensionDelegateStatic("glGetPixelMapxv", typeof(Delegates.GetPixelMapxv)); - Delegates.glGetPixelMapxv((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values); - } - internal static unsafe void Load_GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params) - { - Delegates.glGetPixelTexGenParameterfvSGIS = (Delegates.GetPixelTexGenParameterfvSGIS)GetExtensionDelegateStatic("glGetPixelTexGenParameterfvSGIS", typeof(Delegates.GetPixelTexGenParameterfvSGIS)); - Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); - } - internal static unsafe void Load_GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params) - { - Delegates.glGetPixelTexGenParameterivSGIS = (Delegates.GetPixelTexGenParameterivSGIS)GetExtensionDelegateStatic("glGetPixelTexGenParameterivSGIS", typeof(Delegates.GetPixelTexGenParameterivSGIS)); - Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); - } - internal static unsafe void Load_GetPixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params) - { - Delegates.glGetPixelTransformParameterfvEXT = (Delegates.GetPixelTransformParameterfvEXT)GetExtensionDelegateStatic("glGetPixelTransformParameterfvEXT", typeof(Delegates.GetPixelTransformParameterfvEXT)); - Delegates.glGetPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params); - } - internal static unsafe void Load_GetPixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32* @params) - { - Delegates.glGetPixelTransformParameterivEXT = (Delegates.GetPixelTransformParameterivEXT)GetExtensionDelegateStatic("glGetPixelTransformParameterivEXT", typeof(Delegates.GetPixelTransformParameterivEXT)); - Delegates.glGetPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params); - } - internal static void Load_GetPointeri_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointeri_vEXT = (Delegates.GetPointeri_vEXT)GetExtensionDelegateStatic("glGetPointeri_vEXT", typeof(Delegates.GetPointeri_vEXT)); - Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params); - } - internal static void Load_GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data) - { - Delegates.glGetPointerIndexedvEXT = (Delegates.GetPointerIndexedvEXT)GetExtensionDelegateStatic("glGetPointerIndexedvEXT", typeof(Delegates.GetPointerIndexedvEXT)); - Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); - } - internal static void Load_GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); - } - internal static void Load_GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointervEXT = (Delegates.GetPointervEXT)GetExtensionDelegateStatic("glGetPointervEXT", typeof(Delegates.GetPointervEXT)); - Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); - } - internal static void Load_GetPointervKHR(OpenTK.Graphics.OpenGL.KhrDebug pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params); - } - internal static unsafe void Load_GetPolygonStipple([OutAttribute] Byte* mask) - { - Delegates.glGetPolygonStipple = (Delegates.GetPolygonStipple)GetExtensionDelegateStatic("glGetPolygonStipple", typeof(Delegates.GetPolygonStipple)); - Delegates.glGetPolygonStipple((Byte*)mask); - } - internal static unsafe void Load_GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) - { - Delegates.glGetProgramBinary = (Delegates.GetProgramBinary)GetExtensionDelegateStatic("glGetProgramBinary", typeof(Delegates.GetProgramBinary)); - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary); - } - internal static unsafe void Load_GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) - { - Delegates.glGetProgramEnvParameterdvARB = (Delegates.GetProgramEnvParameterdvARB)GetExtensionDelegateStatic("glGetProgramEnvParameterdvARB", typeof(Delegates.GetProgramEnvParameterdvARB)); - Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - } - internal static unsafe void Load_GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) - { - Delegates.glGetProgramEnvParameterfvARB = (Delegates.GetProgramEnvParameterfvARB)GetExtensionDelegateStatic("glGetProgramEnvParameterfvARB", typeof(Delegates.GetProgramEnvParameterfvARB)); - Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - } - internal static unsafe void Load_GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramEnvParameterIivNV = (Delegates.GetProgramEnvParameterIivNV)GetExtensionDelegateStatic("glGetProgramEnvParameterIivNV", typeof(Delegates.GetProgramEnvParameterIivNV)); - Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - } - internal static unsafe void Load_GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) - { - Delegates.glGetProgramEnvParameterIuivNV = (Delegates.GetProgramEnvParameterIuivNV)GetExtensionDelegateStatic("glGetProgramEnvParameterIuivNV", typeof(Delegates.GetProgramEnvParameterIuivNV)); - Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - } - internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramInterfaceiv = (Delegates.GetProgramInterfaceiv)GetExtensionDelegateStatic("glGetProgramInterfaceiv", typeof(Delegates.GetProgramInterfaceiv)); - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramivARB = (Delegates.GetProgramivARB)GetExtensionDelegateStatic("glGetProgramivARB", typeof(Delegates.GetProgramivARB)); - Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramivNV = (Delegates.GetProgramivNV)GetExtensionDelegateStatic("glGetProgramivNV", typeof(Delegates.GetProgramivNV)); - Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) - { - Delegates.glGetProgramLocalParameterdvARB = (Delegates.GetProgramLocalParameterdvARB)GetExtensionDelegateStatic("glGetProgramLocalParameterdvARB", typeof(Delegates.GetProgramLocalParameterdvARB)); - Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); - } - internal static unsafe void Load_GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) - { - Delegates.glGetProgramLocalParameterfvARB = (Delegates.GetProgramLocalParameterfvARB)GetExtensionDelegateStatic("glGetProgramLocalParameterfvARB", typeof(Delegates.GetProgramLocalParameterfvARB)); - Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); - } - internal static unsafe void Load_GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramLocalParameterIivNV = (Delegates.GetProgramLocalParameterIivNV)GetExtensionDelegateStatic("glGetProgramLocalParameterIivNV", typeof(Delegates.GetProgramLocalParameterIivNV)); - Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - } - internal static unsafe void Load_GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) - { - Delegates.glGetProgramLocalParameterIuivNV = (Delegates.GetProgramLocalParameterIuivNV)GetExtensionDelegateStatic("glGetProgramLocalParameterIuivNV", typeof(Delegates.GetProgramLocalParameterIuivNV)); - Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - } - internal static unsafe void Load_GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) - { - Delegates.glGetProgramNamedParameterdvNV = (Delegates.GetProgramNamedParameterdvNV)GetExtensionDelegateStatic("glGetProgramNamedParameterdvNV", typeof(Delegates.GetProgramNamedParameterdvNV)); - Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); - } - internal static unsafe void Load_GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) - { - Delegates.glGetProgramNamedParameterfvNV = (Delegates.GetProgramNamedParameterfvNV)GetExtensionDelegateStatic("glGetProgramNamedParameterfvNV", typeof(Delegates.GetProgramNamedParameterfvNV)); - Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); - } - internal static unsafe void Load_GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params) - { - Delegates.glGetProgramParameterdvNV = (Delegates.GetProgramParameterdvNV)GetExtensionDelegateStatic("glGetProgramParameterdvNV", typeof(Delegates.GetProgramParameterdvNV)); - Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params); - } - internal static unsafe void Load_GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params) - { - Delegates.glGetProgramParameterfvNV = (Delegates.GetProgramParameterfvNV)GetExtensionDelegateStatic("glGetProgramParameterfvNV", typeof(Delegates.GetProgramParameterfvNV)); - Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params); - } - internal static unsafe void Load_GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramPipelineInfoLog = (Delegates.GetProgramPipelineInfoLog)GetExtensionDelegateStatic("glGetProgramPipelineInfoLog", typeof(Delegates.GetProgramPipelineInfoLog)); - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramPipelineInfoLogEXT = (Delegates.GetProgramPipelineInfoLogEXT)GetExtensionDelegateStatic("glGetProgramPipelineInfoLogEXT", typeof(Delegates.GetProgramPipelineInfoLogEXT)); - Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramPipelineiv = (Delegates.GetProgramPipelineiv)GetExtensionDelegateStatic("glGetProgramPipelineiv", typeof(Delegates.GetProgramPipelineiv)); - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramPipelineivEXT = (Delegates.GetProgramPipelineivEXT)GetExtensionDelegateStatic("glGetProgramPipelineivEXT", typeof(Delegates.GetProgramPipelineivEXT)); - Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params); - } - internal static Int32 Load_GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - Delegates.glGetProgramResourceIndex = (Delegates.GetProgramResourceIndex)GetExtensionDelegateStatic("glGetProgramResourceIndex", typeof(Delegates.GetProgramResourceIndex)); - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - } - internal static unsafe void Load_GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramResourceiv = (Delegates.GetProgramResourceiv)GetExtensionDelegateStatic("glGetProgramResourceiv", typeof(Delegates.GetProgramResourceiv)); - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); - } - internal static Int32 Load_GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - Delegates.glGetProgramResourceLocation = (Delegates.GetProgramResourceLocation)GetExtensionDelegateStatic("glGetProgramResourceLocation", typeof(Delegates.GetProgramResourceLocation)); - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - } - internal static Int32 Load_GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) - { - Delegates.glGetProgramResourceLocationIndex = (Delegates.GetProgramResourceLocationIndex)GetExtensionDelegateStatic("glGetProgramResourceLocationIndex", typeof(Delegates.GetProgramResourceLocationIndex)); - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); - } - internal static unsafe void Load_GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - Delegates.glGetProgramResourceName = (Delegates.GetProgramResourceName)GetExtensionDelegateStatic("glGetProgramResourceName", typeof(Delegates.GetProgramResourceName)); - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); - } - internal static unsafe void Load_GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values) - { - Delegates.glGetProgramStageiv = (Delegates.GetProgramStageiv)GetExtensionDelegateStatic("glGetProgramStageiv", typeof(Delegates.GetProgramStageiv)); - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values); - } - internal static void Load_GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string) - { - Delegates.glGetProgramStringARB = (Delegates.GetProgramStringARB)GetExtensionDelegateStatic("glGetProgramStringARB", typeof(Delegates.GetProgramStringARB)); - Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string); - } - internal static unsafe void Load_GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) - { - Delegates.glGetProgramStringNV = (Delegates.GetProgramStringNV)GetExtensionDelegateStatic("glGetProgramStringNV", typeof(Delegates.GetProgramStringNV)); - Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program); - } - internal static unsafe void Load_GetProgramSubroutineParameteruivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param) - { - Delegates.glGetProgramSubroutineParameteruivNV = (Delegates.GetProgramSubroutineParameteruivNV)GetExtensionDelegateStatic("glGetProgramSubroutineParameteruivNV", typeof(Delegates.GetProgramSubroutineParameteruivNV)); - Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param); - } - internal static unsafe void Load_GetQueryIndexediv(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryIndexediv = (Delegates.GetQueryIndexediv)GetExtensionDelegateStatic("glGetQueryIndexediv", typeof(Delegates.GetQueryIndexediv)); - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryiv = (Delegates.GetQueryiv)GetExtensionDelegateStatic("glGetQueryiv", typeof(Delegates.GetQueryiv)); - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryivARB = (Delegates.GetQueryivARB)GetExtensionDelegateStatic("glGetQueryivARB", typeof(Delegates.GetQueryivARB)); - Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - Delegates.glGetQueryObjecti64v = (Delegates.GetQueryObjecti64v)GetExtensionDelegateStatic("glGetQueryObjecti64v", typeof(Delegates.GetQueryObjecti64v)); - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params); - } - internal static unsafe void Load_GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) - { - Delegates.glGetQueryObjecti64vEXT = (Delegates.GetQueryObjecti64vEXT)GetExtensionDelegateStatic("glGetQueryObjecti64vEXT", typeof(Delegates.GetQueryObjecti64vEXT)); - Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); - } - internal static unsafe void Load_GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryObjectiv = (Delegates.GetQueryObjectiv)GetExtensionDelegateStatic("glGetQueryObjectiv", typeof(Delegates.GetQueryObjectiv)); - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryObjectivARB = (Delegates.GetQueryObjectivARB)GetExtensionDelegateStatic("glGetQueryObjectivARB", typeof(Delegates.GetQueryObjectivARB)); - Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetQueryObjectui64v = (Delegates.GetQueryObjectui64v)GetExtensionDelegateStatic("glGetQueryObjectui64v", typeof(Delegates.GetQueryObjectui64v)); - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params); - } - internal static unsafe void Load_GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetQueryObjectui64vEXT = (Delegates.GetQueryObjectui64vEXT)GetExtensionDelegateStatic("glGetQueryObjectui64vEXT", typeof(Delegates.GetQueryObjectui64vEXT)); - Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params); - } - internal static unsafe void Load_GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetQueryObjectuiv = (Delegates.GetQueryObjectuiv)GetExtensionDelegateStatic("glGetQueryObjectuiv", typeof(Delegates.GetQueryObjectuiv)); - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetQueryObjectuivARB = (Delegates.GetQueryObjectuivARB)GetExtensionDelegateStatic("glGetQueryObjectuivARB", typeof(Delegates.GetQueryObjectuivARB)); - Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetRenderbufferParameterivEXT = (Delegates.GetRenderbufferParameterivEXT)GetExtensionDelegateStatic("glGetRenderbufferParameterivEXT", typeof(Delegates.GetRenderbufferParameterivEXT)); - Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params) - { - Delegates.glGetSamplerParameterfv = (Delegates.GetSamplerParameterfv)GetExtensionDelegateStatic("glGetSamplerParameterfv", typeof(Delegates.GetSamplerParameterfv)); - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params); - } - internal static unsafe void Load_GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetSamplerParameterIiv = (Delegates.GetSamplerParameterIiv)GetExtensionDelegateStatic("glGetSamplerParameterIiv", typeof(Delegates.GetSamplerParameterIiv)); - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetSamplerParameterIuiv = (Delegates.GetSamplerParameterIuiv)GetExtensionDelegateStatic("glGetSamplerParameterIuiv", typeof(Delegates.GetSamplerParameterIuiv)); - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetSamplerParameteriv = (Delegates.GetSamplerParameteriv)GetExtensionDelegateStatic("glGetSamplerParameteriv", typeof(Delegates.GetSamplerParameteriv)); - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params); - } - internal static void Load_GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - Delegates.glGetSeparableFilter = (Delegates.GetSeparableFilter)GetExtensionDelegateStatic("glGetSeparableFilter", typeof(Delegates.GetSeparableFilter)); - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - } - internal static void Load_GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - Delegates.glGetSeparableFilterEXT = (Delegates.GetSeparableFilterEXT)GetExtensionDelegateStatic("glGetSeparableFilterEXT", typeof(Delegates.GetSeparableFilterEXT)); - Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - } - internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - } - internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - } - internal static unsafe void Load_GetShaderSourceARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - Delegates.glGetShaderSourceARB = (Delegates.GetShaderSourceARB)GetExtensionDelegateStatic("glGetShaderSourceARB", typeof(Delegates.GetShaderSourceARB)); - Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source); - } - internal static unsafe void Load_GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) - { - Delegates.glGetSharpenTexFuncSGIS = (Delegates.GetSharpenTexFuncSGIS)GetExtensionDelegateStatic("glGetSharpenTexFuncSGIS", typeof(Delegates.GetSharpenTexFuncSGIS)); - Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); - } - internal static IntPtr Load_GetString(OpenTK.Graphics.OpenGL.StringName name) - { - Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); - return Delegates.glGetString((OpenTK.Graphics.OpenGL.StringName)name); - } - internal static IntPtr Load_GetStringi(OpenTK.Graphics.OpenGL.StringNameIndexed name, UInt32 index) - { - Delegates.glGetStringi = (Delegates.GetStringi)GetExtensionDelegateStatic("glGetStringi", typeof(Delegates.GetStringi)); - return Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index); - } - internal static Int32 Load_GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - Delegates.glGetSubroutineIndex = (Delegates.GetSubroutineIndex)GetExtensionDelegateStatic("glGetSubroutineIndex", typeof(Delegates.GetSubroutineIndex)); - return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); - } - internal static Int32 Load_GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) - { - Delegates.glGetSubroutineUniformLocation = (Delegates.GetSubroutineUniformLocation)GetExtensionDelegateStatic("glGetSubroutineUniformLocation", typeof(Delegates.GetSubroutineUniformLocation)); - return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); - } - internal static unsafe void Load_GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - Delegates.glGetSynciv = (Delegates.GetSynciv)GetExtensionDelegateStatic("glGetSynciv", typeof(Delegates.GetSynciv)); - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - } - internal static unsafe void Load_GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param) - { - Delegates.glGetTexBumpParameterfvATI = (Delegates.GetTexBumpParameterfvATI)GetExtensionDelegateStatic("glGetTexBumpParameterfvATI", typeof(Delegates.GetTexBumpParameterfvATI)); - Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); - } - internal static unsafe void Load_GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param) - { - Delegates.glGetTexBumpParameterivATI = (Delegates.GetTexBumpParameterivATI)GetExtensionDelegateStatic("glGetTexBumpParameterivATI", typeof(Delegates.GetTexBumpParameterivATI)); - Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); - } - internal static unsafe void Load_GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexEnvfv = (Delegates.GetTexEnvfv)GetExtensionDelegateStatic("glGetTexEnvfv", typeof(Delegates.GetTexEnvfv)); - Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexEnviv = (Delegates.GetTexEnviv)GetExtensionDelegateStatic("glGetTexEnviv", typeof(Delegates.GetTexEnviv)); - Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetTexEnvxvOES = (Delegates.GetTexEnvxvOES)GetExtensionDelegateStatic("glGetTexEnvxvOES", typeof(Delegates.GetTexEnvxvOES)); - Delegates.glGetTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static unsafe void Load_GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights) - { - Delegates.glGetTexFilterFuncSGIS = (Delegates.GetTexFilterFuncSGIS)GetExtensionDelegateStatic("glGetTexFilterFuncSGIS", typeof(Delegates.GetTexFilterFuncSGIS)); - Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights); - } - internal static unsafe void Load_GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) - { - Delegates.glGetTexGendv = (Delegates.GetTexGendv)GetExtensionDelegateStatic("glGetTexGendv", typeof(Delegates.GetTexGendv)); - Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - } - internal static unsafe void Load_GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexGenfv = (Delegates.GetTexGenfv)GetExtensionDelegateStatic("glGetTexGenfv", typeof(Delegates.GetTexGenfv)); - Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexGeniv = (Delegates.GetTexGeniv)GetExtensionDelegateStatic("glGetTexGeniv", typeof(Delegates.GetTexGeniv)); - Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetTexGenxvOES = (Delegates.GetTexGenxvOES)GetExtensionDelegateStatic("glGetTexGenxvOES", typeof(Delegates.GetTexGenxvOES)); - Delegates.glGetTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static void Load_GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glGetTexImage = (Delegates.GetTexImage)GetExtensionDelegateStatic("glGetTexImage", typeof(Delegates.GetTexImage)); - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static unsafe void Load_GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexLevelParameterfv = (Delegates.GetTexLevelParameterfv)GetExtensionDelegateStatic("glGetTexLevelParameterfv", typeof(Delegates.GetTexLevelParameterfv)); - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexLevelParameteriv = (Delegates.GetTexLevelParameteriv)GetExtensionDelegateStatic("glGetTexLevelParameteriv", typeof(Delegates.GetTexLevelParameteriv)); - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexLevelParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetTexLevelParameterxvOES = (Delegates.GetTexLevelParameterxvOES)GetExtensionDelegateStatic("glGetTexLevelParameterxvOES", typeof(Delegates.GetTexLevelParameterxvOES)); - Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameterIiv = (Delegates.GetTexParameterIiv)GetExtensionDelegateStatic("glGetTexParameterIiv", typeof(Delegates.GetTexParameterIiv)); - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameterIivEXT = (Delegates.GetTexParameterIivEXT)GetExtensionDelegateStatic("glGetTexParameterIivEXT", typeof(Delegates.GetTexParameterIivEXT)); - Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetTexParameterIuiv = (Delegates.GetTexParameterIuiv)GetExtensionDelegateStatic("glGetTexParameterIuiv", typeof(Delegates.GetTexParameterIuiv)); - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetTexParameterIuivEXT = (Delegates.GetTexParameterIuivEXT)GetExtensionDelegateStatic("glGetTexParameterIuivEXT", typeof(Delegates.GetTexParameterIuivEXT)); - Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static void Load_GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetTexParameterPointervAPPLE = (Delegates.GetTexParameterPointervAPPLE)GetExtensionDelegateStatic("glGetTexParameterPointervAPPLE", typeof(Delegates.GetTexParameterPointervAPPLE)); - Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params); - } - internal static unsafe void Load_GetTexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) - { - Delegates.glGetTexParameterxvOES = (Delegates.GetTexParameterxvOES)GetExtensionDelegateStatic("glGetTexParameterxvOES", typeof(Delegates.GetTexParameterxvOES)); - Delegates.glGetTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static Int64 Load_GetTextureHandleARB(UInt32 texture) - { - Delegates.glGetTextureHandleARB = (Delegates.GetTextureHandleARB)GetExtensionDelegateStatic("glGetTextureHandleARB", typeof(Delegates.GetTextureHandleARB)); - return Delegates.glGetTextureHandleARB((UInt32)texture); - } - internal static Int64 Load_GetTextureHandleNV(UInt32 texture) - { - Delegates.glGetTextureHandleNV = (Delegates.GetTextureHandleNV)GetExtensionDelegateStatic("glGetTextureHandleNV", typeof(Delegates.GetTextureHandleNV)); - return Delegates.glGetTextureHandleNV((UInt32)texture); - } - internal static void Load_GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glGetTextureImageEXT = (Delegates.GetTextureImageEXT)GetExtensionDelegateStatic("glGetTextureImageEXT", typeof(Delegates.GetTextureImageEXT)); - Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static unsafe void Load_GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTextureLevelParameterfvEXT = (Delegates.GetTextureLevelParameterfvEXT)GetExtensionDelegateStatic("glGetTextureLevelParameterfvEXT", typeof(Delegates.GetTextureLevelParameterfvEXT)); - Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTextureLevelParameterivEXT = (Delegates.GetTextureLevelParameterivEXT)GetExtensionDelegateStatic("glGetTextureLevelParameterivEXT", typeof(Delegates.GetTextureLevelParameterivEXT)); - Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTextureParameterfvEXT = (Delegates.GetTextureParameterfvEXT)GetExtensionDelegateStatic("glGetTextureParameterfvEXT", typeof(Delegates.GetTextureParameterfvEXT)); - Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTextureParameterIivEXT = (Delegates.GetTextureParameterIivEXT)GetExtensionDelegateStatic("glGetTextureParameterIivEXT", typeof(Delegates.GetTextureParameterIivEXT)); - Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetTextureParameterIuivEXT = (Delegates.GetTextureParameterIuivEXT)GetExtensionDelegateStatic("glGetTextureParameterIuivEXT", typeof(Delegates.GetTextureParameterIuivEXT)); - Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTextureParameterivEXT = (Delegates.GetTextureParameterivEXT)GetExtensionDelegateStatic("glGetTextureParameterivEXT", typeof(Delegates.GetTextureParameterivEXT)); - Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); - } - internal static Int64 Load_GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler) - { - Delegates.glGetTextureSamplerHandleARB = (Delegates.GetTextureSamplerHandleARB)GetExtensionDelegateStatic("glGetTextureSamplerHandleARB", typeof(Delegates.GetTextureSamplerHandleARB)); - return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); - } - internal static Int64 Load_GetTextureSamplerHandleNV(UInt32 texture, UInt32 sampler) - { - Delegates.glGetTextureSamplerHandleNV = (Delegates.GetTextureSamplerHandleNV)GetExtensionDelegateStatic("glGetTextureSamplerHandleNV", typeof(Delegates.GetTextureSamplerHandleNV)); - return Delegates.glGetTextureSamplerHandleNV((UInt32)texture, (UInt32)sampler); - } - internal static unsafe void Load_GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTrackMatrixivNV = (Delegates.GetTrackMatrixivNV)GetExtensionDelegateStatic("glGetTrackMatrixivNV", typeof(Delegates.GetTrackMatrixivNV)); - Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetTransformFeedbackVarying = (Delegates.GetTransformFeedbackVarying)GetExtensionDelegateStatic("glGetTransformFeedbackVarying", typeof(Delegates.GetTransformFeedbackVarying)); - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetTransformFeedbackVaryingEXT = (Delegates.GetTransformFeedbackVaryingEXT)GetExtensionDelegateStatic("glGetTransformFeedbackVaryingEXT", typeof(Delegates.GetTransformFeedbackVaryingEXT)); - Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [OutAttribute] Int32* location) - { - Delegates.glGetTransformFeedbackVaryingNV = (Delegates.GetTransformFeedbackVaryingNV)GetExtensionDelegateStatic("glGetTransformFeedbackVaryingNV", typeof(Delegates.GetTransformFeedbackVaryingNV)); - Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); - } - internal static Int32 Load_GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - Delegates.glGetUniformBlockIndex = (Delegates.GetUniformBlockIndex)GetExtensionDelegateStatic("glGetUniformBlockIndex", typeof(Delegates.GetUniformBlockIndex)); - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - } - internal static Int32 Load_GetUniformBufferSizeEXT(UInt32 program, Int32 location) - { - Delegates.glGetUniformBufferSizeEXT = (Delegates.GetUniformBufferSizeEXT)GetExtensionDelegateStatic("glGetUniformBufferSizeEXT", typeof(Delegates.GetUniformBufferSizeEXT)); - return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); - } - internal static unsafe void Load_GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params) - { - Delegates.glGetUniformdv = (Delegates.GetUniformdv)GetExtensionDelegateStatic("glGetUniformdv", typeof(Delegates.GetUniformdv)); - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); - } - internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - } - internal static unsafe void Load_GetUniformfvARB(UInt32 programObj, Int32 location, [OutAttribute] Single* @params) - { - Delegates.glGetUniformfvARB = (Delegates.GetUniformfvARB)GetExtensionDelegateStatic("glGetUniformfvARB", typeof(Delegates.GetUniformfvARB)); - Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); - } - internal static unsafe void Load_GetUniformi64vNV(UInt32 program, Int32 location, [OutAttribute] Int64* @params) - { - Delegates.glGetUniformi64vNV = (Delegates.GetUniformi64vNV)GetExtensionDelegateStatic("glGetUniformi64vNV", typeof(Delegates.GetUniformi64vNV)); - Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params); - } - internal static unsafe void Load_GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - Delegates.glGetUniformIndices = (Delegates.GetUniformIndices)GetExtensionDelegateStatic("glGetUniformIndices", typeof(Delegates.GetUniformIndices)); - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - } - internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - } - internal static unsafe void Load_GetUniformivARB(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params) - { - Delegates.glGetUniformivARB = (Delegates.GetUniformivARB)GetExtensionDelegateStatic("glGetUniformivARB", typeof(Delegates.GetUniformivARB)); - Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); - } - internal static Int32 Load_GetUniformLocation(UInt32 program, String name) - { - Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - } - internal static Int32 Load_GetUniformLocationARB(UInt32 programObj, String name) - { - Delegates.glGetUniformLocationARB = (Delegates.GetUniformLocationARB)GetExtensionDelegateStatic("glGetUniformLocationARB", typeof(Delegates.GetUniformLocationARB)); - return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); - } - internal static IntPtr Load_GetUniformOffsetEXT(UInt32 program, Int32 location) - { - Delegates.glGetUniformOffsetEXT = (Delegates.GetUniformOffsetEXT)GetExtensionDelegateStatic("glGetUniformOffsetEXT", typeof(Delegates.GetUniformOffsetEXT)); - return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); - } - internal static unsafe void Load_GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) - { - Delegates.glGetUniformSubroutineuiv = (Delegates.GetUniformSubroutineuiv)GetExtensionDelegateStatic("glGetUniformSubroutineuiv", typeof(Delegates.GetUniformSubroutineuiv)); - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params); - } - internal static unsafe void Load_GetUniformui64vNV(UInt32 program, Int32 location, [OutAttribute] UInt64* @params) - { - Delegates.glGetUniformui64vNV = (Delegates.GetUniformui64vNV)GetExtensionDelegateStatic("glGetUniformui64vNV", typeof(Delegates.GetUniformui64vNV)); - Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params); - } - internal static unsafe void Load_GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - Delegates.glGetUniformuiv = (Delegates.GetUniformuiv)GetExtensionDelegateStatic("glGetUniformuiv", typeof(Delegates.GetUniformuiv)); - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - } - internal static unsafe void Load_GetUniformuivEXT(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - Delegates.glGetUniformuivEXT = (Delegates.GetUniformuivEXT)GetExtensionDelegateStatic("glGetUniformuivEXT", typeof(Delegates.GetUniformuivEXT)); - Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); - } - internal static unsafe void Load_GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) - { - Delegates.glGetVariantArrayObjectfvATI = (Delegates.GetVariantArrayObjectfvATI)GetExtensionDelegateStatic("glGetVariantArrayObjectfvATI", typeof(Delegates.GetVariantArrayObjectfvATI)); - Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); - } - internal static unsafe void Load_GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVariantArrayObjectivATI = (Delegates.GetVariantArrayObjectivATI)GetExtensionDelegateStatic("glGetVariantArrayObjectivATI", typeof(Delegates.GetVariantArrayObjectivATI)); - Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) - { - Delegates.glGetVariantBooleanvEXT = (Delegates.GetVariantBooleanvEXT)GetExtensionDelegateStatic("glGetVariantBooleanvEXT", typeof(Delegates.GetVariantBooleanvEXT)); - Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); - } - internal static unsafe void Load_GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) - { - Delegates.glGetVariantFloatvEXT = (Delegates.GetVariantFloatvEXT)GetExtensionDelegateStatic("glGetVariantFloatvEXT", typeof(Delegates.GetVariantFloatvEXT)); - Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); - } - internal static unsafe void Load_GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) - { - Delegates.glGetVariantIntegervEXT = (Delegates.GetVariantIntegervEXT)GetExtensionDelegateStatic("glGetVariantIntegervEXT", typeof(Delegates.GetVariantIntegervEXT)); - Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); - } - internal static void Load_GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) - { - Delegates.glGetVariantPointervEXT = (Delegates.GetVariantPointervEXT)GetExtensionDelegateStatic("glGetVariantPointervEXT", typeof(Delegates.GetVariantPointervEXT)); - Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data); - } - internal static Int32 Load_GetVaryingLocationNV(UInt32 program, String name) - { - Delegates.glGetVaryingLocationNV = (Delegates.GetVaryingLocationNV)GetExtensionDelegateStatic("glGetVaryingLocationNV", typeof(Delegates.GetVaryingLocationNV)); - return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); - } - internal static unsafe void Load_GetVertexArrayIntegeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - Delegates.glGetVertexArrayIntegeri_vEXT = (Delegates.GetVertexArrayIntegeri_vEXT)GetExtensionDelegateStatic("glGetVertexArrayIntegeri_vEXT", typeof(Delegates.GetVertexArrayIntegeri_vEXT)); - Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); - } - internal static unsafe void Load_GetVertexArrayIntegervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) - { - Delegates.glGetVertexArrayIntegervEXT = (Delegates.GetVertexArrayIntegervEXT)GetExtensionDelegateStatic("glGetVertexArrayIntegervEXT", typeof(Delegates.GetVertexArrayIntegervEXT)); - Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); - } - internal static void Load_GetVertexArrayPointeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - Delegates.glGetVertexArrayPointeri_vEXT = (Delegates.GetVertexArrayPointeri_vEXT)GetExtensionDelegateStatic("glGetVertexArrayPointeri_vEXT", typeof(Delegates.GetVertexArrayPointeri_vEXT)); - Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); - } - internal static void Load_GetVertexArrayPointervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) - { - Delegates.glGetVertexArrayPointervEXT = (Delegates.GetVertexArrayPointervEXT)GetExtensionDelegateStatic("glGetVertexArrayPointervEXT", typeof(Delegates.GetVertexArrayPointervEXT)); - Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); - } - internal static unsafe void Load_GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) - { - Delegates.glGetVertexAttribArrayObjectfvATI = (Delegates.GetVertexAttribArrayObjectfvATI)GetExtensionDelegateStatic("glGetVertexAttribArrayObjectfvATI", typeof(Delegates.GetVertexAttribArrayObjectfvATI)); - Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params); - } - internal static unsafe void Load_GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribArrayObjectivATI = (Delegates.GetVertexAttribArrayObjectivATI)GetExtensionDelegateStatic("glGetVertexAttribArrayObjectivATI", typeof(Delegates.GetVertexAttribArrayObjectivATI)); - Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - Delegates.glGetVertexAttribdv = (Delegates.GetVertexAttribdv)GetExtensionDelegateStatic("glGetVertexAttribdv", typeof(Delegates.GetVertexAttribdv)); - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); - } - internal static unsafe void Load_GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) - { - Delegates.glGetVertexAttribdvARB = (Delegates.GetVertexAttribdvARB)GetExtensionDelegateStatic("glGetVertexAttribdvARB", typeof(Delegates.GetVertexAttribdvARB)); - Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params); - } - internal static unsafe void Load_GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) - { - Delegates.glGetVertexAttribdvNV = (Delegates.GetVertexAttribdvNV)GetExtensionDelegateStatic("glGetVertexAttribdvNV", typeof(Delegates.GetVertexAttribdvNV)); - Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params); - } - internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) - { - Delegates.glGetVertexAttribfvARB = (Delegates.GetVertexAttribfvARB)GetExtensionDelegateStatic("glGetVertexAttribfvARB", typeof(Delegates.GetVertexAttribfvARB)); - Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params); - } - internal static unsafe void Load_GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) - { - Delegates.glGetVertexAttribfvNV = (Delegates.GetVertexAttribfvNV)GetExtensionDelegateStatic("glGetVertexAttribfvNV", typeof(Delegates.GetVertexAttribfvNV)); - Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params); - } - internal static unsafe void Load_GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribIiv = (Delegates.GetVertexAttribIiv)GetExtensionDelegateStatic("glGetVertexAttribIiv", typeof(Delegates.GetVertexAttribIiv)); - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribIivEXT = (Delegates.GetVertexAttribIivEXT)GetExtensionDelegateStatic("glGetVertexAttribIivEXT", typeof(Delegates.GetVertexAttribIivEXT)); - Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetVertexAttribIuiv = (Delegates.GetVertexAttribIuiv)GetExtensionDelegateStatic("glGetVertexAttribIuiv", typeof(Delegates.GetVertexAttribIuiv)); - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetVertexAttribIuivEXT = (Delegates.GetVertexAttribIuivEXT)GetExtensionDelegateStatic("glGetVertexAttribIuivEXT", typeof(Delegates.GetVertexAttribIuivEXT)); - Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribivARB = (Delegates.GetVertexAttribivARB)GetExtensionDelegateStatic("glGetVertexAttribivARB", typeof(Delegates.GetVertexAttribivARB)); - Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribivNV = (Delegates.GetVertexAttribivNV)GetExtensionDelegateStatic("glGetVertexAttribivNV", typeof(Delegates.GetVertexAttribivNV)); - Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - Delegates.glGetVertexAttribLdv = (Delegates.GetVertexAttribLdv)GetExtensionDelegateStatic("glGetVertexAttribLdv", typeof(Delegates.GetVertexAttribLdv)); - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); - } - internal static unsafe void Load_GetVertexAttribLdvEXT(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) - { - Delegates.glGetVertexAttribLdvEXT = (Delegates.GetVertexAttribLdvEXT)GetExtensionDelegateStatic("glGetVertexAttribLdvEXT", typeof(Delegates.GetVertexAttribLdvEXT)); - Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params); - } - internal static unsafe void Load_GetVertexAttribLi64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) - { - Delegates.glGetVertexAttribLi64vNV = (Delegates.GetVertexAttribLi64vNV)GetExtensionDelegateStatic("glGetVertexAttribLi64vNV", typeof(Delegates.GetVertexAttribLi64vNV)); - Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params); - } - internal static unsafe void Load_GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetVertexAttribLui64vARB = (Delegates.GetVertexAttribLui64vARB)GetExtensionDelegateStatic("glGetVertexAttribLui64vARB", typeof(Delegates.GetVertexAttribLui64vARB)); - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params); - } - internal static unsafe void Load_GetVertexAttribLui64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetVertexAttribLui64vNV = (Delegates.GetVertexAttribLui64vNV)GetExtensionDelegateStatic("glGetVertexAttribLui64vNV", typeof(Delegates.GetVertexAttribLui64vNV)); - Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params); - } - internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer); - } - internal static void Load_GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) - { - Delegates.glGetVertexAttribPointervARB = (Delegates.GetVertexAttribPointervARB)GetExtensionDelegateStatic("glGetVertexAttribPointervARB", typeof(Delegates.GetVertexAttribPointervARB)); - Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); - } - internal static void Load_GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) - { - Delegates.glGetVertexAttribPointervNV = (Delegates.GetVertexAttribPointervNV)GetExtensionDelegateStatic("glGetVertexAttribPointervNV", typeof(Delegates.GetVertexAttribPointervNV)); - Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer); - } - internal static unsafe void Load_GetVideoCaptureivNV(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVideoCaptureivNV = (Delegates.GetVideoCaptureivNV)GetExtensionDelegateStatic("glGetVideoCaptureivNV", typeof(Delegates.GetVideoCaptureivNV)); - Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVideoCaptureStreamdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params) - { - Delegates.glGetVideoCaptureStreamdvNV = (Delegates.GetVideoCaptureStreamdvNV)GetExtensionDelegateStatic("glGetVideoCaptureStreamdvNV", typeof(Delegates.GetVideoCaptureStreamdvNV)); - Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); - } - internal static unsafe void Load_GetVideoCaptureStreamfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params) - { - Delegates.glGetVideoCaptureStreamfvNV = (Delegates.GetVideoCaptureStreamfvNV)GetExtensionDelegateStatic("glGetVideoCaptureStreamfvNV", typeof(Delegates.GetVideoCaptureStreamfvNV)); - Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); - } - internal static unsafe void Load_GetVideoCaptureStreamivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVideoCaptureStreamivNV = (Delegates.GetVideoCaptureStreamivNV)GetExtensionDelegateStatic("glGetVideoCaptureStreamivNV", typeof(Delegates.GetVideoCaptureStreamivNV)); - Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) - { - Delegates.glGetVideoi64vNV = (Delegates.GetVideoi64vNV)GetExtensionDelegateStatic("glGetVideoi64vNV", typeof(Delegates.GetVideoi64vNV)); - Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); - } - internal static unsafe void Load_GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVideoivNV = (Delegates.GetVideoivNV)GetExtensionDelegateStatic("glGetVideoivNV", typeof(Delegates.GetVideoivNV)); - Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetVideoui64vNV = (Delegates.GetVideoui64vNV)GetExtensionDelegateStatic("glGetVideoui64vNV", typeof(Delegates.GetVideoui64vNV)); - Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params); - } - internal static unsafe void Load_GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetVideouivNV = (Delegates.GetVideouivNV)GetExtensionDelegateStatic("glGetVideouivNV", typeof(Delegates.GetVideouivNV)); - Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params); - } - internal static void Load_GlobalAlphaFactorbSUN(SByte factor) - { - Delegates.glGlobalAlphaFactorbSUN = (Delegates.GlobalAlphaFactorbSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorbSUN", typeof(Delegates.GlobalAlphaFactorbSUN)); - Delegates.glGlobalAlphaFactorbSUN((SByte)factor); - } - internal static void Load_GlobalAlphaFactordSUN(Double factor) - { - Delegates.glGlobalAlphaFactordSUN = (Delegates.GlobalAlphaFactordSUN)GetExtensionDelegateStatic("glGlobalAlphaFactordSUN", typeof(Delegates.GlobalAlphaFactordSUN)); - Delegates.glGlobalAlphaFactordSUN((Double)factor); - } - internal static void Load_GlobalAlphaFactorfSUN(Single factor) - { - Delegates.glGlobalAlphaFactorfSUN = (Delegates.GlobalAlphaFactorfSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorfSUN", typeof(Delegates.GlobalAlphaFactorfSUN)); - Delegates.glGlobalAlphaFactorfSUN((Single)factor); - } - internal static void Load_GlobalAlphaFactoriSUN(Int32 factor) - { - Delegates.glGlobalAlphaFactoriSUN = (Delegates.GlobalAlphaFactoriSUN)GetExtensionDelegateStatic("glGlobalAlphaFactoriSUN", typeof(Delegates.GlobalAlphaFactoriSUN)); - Delegates.glGlobalAlphaFactoriSUN((Int32)factor); - } - internal static void Load_GlobalAlphaFactorsSUN(Int16 factor) - { - Delegates.glGlobalAlphaFactorsSUN = (Delegates.GlobalAlphaFactorsSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorsSUN", typeof(Delegates.GlobalAlphaFactorsSUN)); - Delegates.glGlobalAlphaFactorsSUN((Int16)factor); - } - internal static void Load_GlobalAlphaFactorubSUN(Byte factor) - { - Delegates.glGlobalAlphaFactorubSUN = (Delegates.GlobalAlphaFactorubSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorubSUN", typeof(Delegates.GlobalAlphaFactorubSUN)); - Delegates.glGlobalAlphaFactorubSUN((Byte)factor); - } - internal static void Load_GlobalAlphaFactoruiSUN(UInt32 factor) - { - Delegates.glGlobalAlphaFactoruiSUN = (Delegates.GlobalAlphaFactoruiSUN)GetExtensionDelegateStatic("glGlobalAlphaFactoruiSUN", typeof(Delegates.GlobalAlphaFactoruiSUN)); - Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor); - } - internal static void Load_GlobalAlphaFactorusSUN(UInt16 factor) - { - Delegates.glGlobalAlphaFactorusSUN = (Delegates.GlobalAlphaFactorusSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorusSUN", typeof(Delegates.GlobalAlphaFactorusSUN)); - Delegates.glGlobalAlphaFactorusSUN((UInt16)factor); - } - internal static void Load_Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode) - { - Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); - Delegates.glHint((OpenTK.Graphics.OpenGL.HintTarget)target, (OpenTK.Graphics.OpenGL.HintMode)mode); - } - internal static void Load_HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode) - { - Delegates.glHintPGI = (Delegates.HintPGI)GetExtensionDelegateStatic("glHintPGI", typeof(Delegates.HintPGI)); - Delegates.glHintPGI((OpenTK.Graphics.OpenGL.PgiMiscHints)target, (Int32)mode); - } - internal static void Load_Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - Delegates.glHistogram = (Delegates.Histogram)GetExtensionDelegateStatic("glHistogram", typeof(Delegates.Histogram)); - Delegates.glHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - } - internal static void Load_HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - Delegates.glHistogramEXT = (Delegates.HistogramEXT)GetExtensionDelegateStatic("glHistogramEXT", typeof(Delegates.HistogramEXT)); - Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - } - internal static void Load_IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params) - { - Delegates.glIglooInterfaceSGIX = (Delegates.IglooInterfaceSGIX)GetExtensionDelegateStatic("glIglooInterfaceSGIX", typeof(Delegates.IglooInterfaceSGIX)); - Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params); - } - internal static void Load_ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param) - { - Delegates.glImageTransformParameterfHP = (Delegates.ImageTransformParameterfHP)GetExtensionDelegateStatic("glImageTransformParameterfHP", typeof(Delegates.ImageTransformParameterfHP)); - Delegates.glImageTransformParameterfHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single)param); - } - internal static unsafe void Load_ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params) - { - Delegates.glImageTransformParameterfvHP = (Delegates.ImageTransformParameterfvHP)GetExtensionDelegateStatic("glImageTransformParameterfvHP", typeof(Delegates.ImageTransformParameterfvHP)); - Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); - } - internal static void Load_ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param) - { - Delegates.glImageTransformParameteriHP = (Delegates.ImageTransformParameteriHP)GetExtensionDelegateStatic("glImageTransformParameteriHP", typeof(Delegates.ImageTransformParameteriHP)); - Delegates.glImageTransformParameteriHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32)param); - } - internal static unsafe void Load_ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params) - { - Delegates.glImageTransformParameterivHP = (Delegates.ImageTransformParameterivHP)GetExtensionDelegateStatic("glImageTransformParameterivHP", typeof(Delegates.ImageTransformParameterivHP)); - Delegates.glImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); - } - internal static IntPtr Load_ImportSyncEXT(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags) - { - Delegates.glImportSyncEXT = (Delegates.ImportSyncEXT)GetExtensionDelegateStatic("glImportSyncEXT", typeof(Delegates.ImportSyncEXT)); - return Delegates.glImportSyncEXT((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags); - } - internal static void Load_Indexd(Double c) - { - Delegates.glIndexd = (Delegates.Indexd)GetExtensionDelegateStatic("glIndexd", typeof(Delegates.Indexd)); - Delegates.glIndexd((Double)c); - } - internal static unsafe void Load_Indexdv(Double* c) - { - Delegates.glIndexdv = (Delegates.Indexdv)GetExtensionDelegateStatic("glIndexdv", typeof(Delegates.Indexdv)); - Delegates.glIndexdv((Double*)c); - } - internal static void Load_Indexf(Single c) - { - Delegates.glIndexf = (Delegates.Indexf)GetExtensionDelegateStatic("glIndexf", typeof(Delegates.Indexf)); - Delegates.glIndexf((Single)c); - } - internal static void Load_IndexFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glIndexFormatNV = (Delegates.IndexFormatNV)GetExtensionDelegateStatic("glIndexFormatNV", typeof(Delegates.IndexFormatNV)); - Delegates.glIndexFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static void Load_IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref) - { - Delegates.glIndexFuncEXT = (Delegates.IndexFuncEXT)GetExtensionDelegateStatic("glIndexFuncEXT", typeof(Delegates.IndexFuncEXT)); - Delegates.glIndexFuncEXT((OpenTK.Graphics.OpenGL.ExtIndexFunc)func, (Single)@ref); - } - internal static unsafe void Load_Indexfv(Single* c) - { - Delegates.glIndexfv = (Delegates.Indexfv)GetExtensionDelegateStatic("glIndexfv", typeof(Delegates.Indexfv)); - Delegates.glIndexfv((Single*)c); - } - internal static void Load_Indexi(Int32 c) - { - Delegates.glIndexi = (Delegates.Indexi)GetExtensionDelegateStatic("glIndexi", typeof(Delegates.Indexi)); - Delegates.glIndexi((Int32)c); - } - internal static unsafe void Load_Indexiv(Int32* c) - { - Delegates.glIndexiv = (Delegates.Indexiv)GetExtensionDelegateStatic("glIndexiv", typeof(Delegates.Indexiv)); - Delegates.glIndexiv((Int32*)c); - } - internal static void Load_IndexMask(UInt32 mask) - { - Delegates.glIndexMask = (Delegates.IndexMask)GetExtensionDelegateStatic("glIndexMask", typeof(Delegates.IndexMask)); - Delegates.glIndexMask((UInt32)mask); - } - internal static void Load_IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode) - { - Delegates.glIndexMaterialEXT = (Delegates.IndexMaterialEXT)GetExtensionDelegateStatic("glIndexMaterialEXT", typeof(Delegates.IndexMaterialEXT)); - Delegates.glIndexMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ExtIndexMaterial)mode); - } - internal static void Load_IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glIndexPointer = (Delegates.IndexPointer)GetExtensionDelegateStatic("glIndexPointer", typeof(Delegates.IndexPointer)); - Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - Delegates.glIndexPointerEXT = (Delegates.IndexPointerEXT)GetExtensionDelegateStatic("glIndexPointerEXT", typeof(Delegates.IndexPointerEXT)); - Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - } - internal static void Load_IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - Delegates.glIndexPointerListIBM = (Delegates.IndexPointerListIBM)GetExtensionDelegateStatic("glIndexPointerListIBM", typeof(Delegates.IndexPointerListIBM)); - Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - } - internal static void Load_Indexs(Int16 c) - { - Delegates.glIndexs = (Delegates.Indexs)GetExtensionDelegateStatic("glIndexs", typeof(Delegates.Indexs)); - Delegates.glIndexs((Int16)c); - } - internal static unsafe void Load_Indexsv(Int16* c) - { - Delegates.glIndexsv = (Delegates.Indexsv)GetExtensionDelegateStatic("glIndexsv", typeof(Delegates.Indexsv)); - Delegates.glIndexsv((Int16*)c); - } - internal static void Load_Indexub(Byte c) - { - Delegates.glIndexub = (Delegates.Indexub)GetExtensionDelegateStatic("glIndexub", typeof(Delegates.Indexub)); - Delegates.glIndexub((Byte)c); - } - internal static unsafe void Load_Indexubv(Byte* c) - { - Delegates.glIndexubv = (Delegates.Indexubv)GetExtensionDelegateStatic("glIndexubv", typeof(Delegates.Indexubv)); - Delegates.glIndexubv((Byte*)c); - } - internal static void Load_IndexxOES(int component) - { - Delegates.glIndexxOES = (Delegates.IndexxOES)GetExtensionDelegateStatic("glIndexxOES", typeof(Delegates.IndexxOES)); - Delegates.glIndexxOES((int)component); - } - internal static unsafe void Load_IndexxvOES(int* component) - { - Delegates.glIndexxvOES = (Delegates.IndexxvOES)GetExtensionDelegateStatic("glIndexxvOES", typeof(Delegates.IndexxvOES)); - Delegates.glIndexxvOES((int*)component); - } - internal static void Load_InitNames() - { - Delegates.glInitNames = (Delegates.InitNames)GetExtensionDelegateStatic("glInitNames", typeof(Delegates.InitNames)); - Delegates.glInitNames(); - } - internal static void Load_InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num) - { - Delegates.glInsertComponentEXT = (Delegates.InsertComponentEXT)GetExtensionDelegateStatic("glInsertComponentEXT", typeof(Delegates.InsertComponentEXT)); - Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); - } - internal static void Load_InsertEventMarkerEXT(Int32 length, String marker) - { - Delegates.glInsertEventMarkerEXT = (Delegates.InsertEventMarkerEXT)GetExtensionDelegateStatic("glInsertEventMarkerEXT", typeof(Delegates.InsertEventMarkerEXT)); - Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); - } - internal static unsafe void Load_InstrumentsBufferSGIX(Int32 size, [OutAttribute] Int32* buffer) - { - Delegates.glInstrumentsBufferSGIX = (Delegates.InstrumentsBufferSGIX)GetExtensionDelegateStatic("glInstrumentsBufferSGIX", typeof(Delegates.InstrumentsBufferSGIX)); - Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); - } - internal static void Load_InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) - { - Delegates.glInterleavedArrays = (Delegates.InterleavedArrays)GetExtensionDelegateStatic("glInterleavedArrays", typeof(Delegates.InterleavedArrays)); - Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_InterpolatePathsNV(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight) - { - Delegates.glInterpolatePathsNV = (Delegates.InterpolatePathsNV)GetExtensionDelegateStatic("glInterpolatePathsNV", typeof(Delegates.InterpolatePathsNV)); - Delegates.glInterpolatePathsNV((UInt32)resultPath, (UInt32)pathA, (UInt32)pathB, (Single)weight); - } - internal static void Load_InvalidateBufferData(UInt32 buffer) - { - Delegates.glInvalidateBufferData = (Delegates.InvalidateBufferData)GetExtensionDelegateStatic("glInvalidateBufferData", typeof(Delegates.InvalidateBufferData)); - Delegates.glInvalidateBufferData((UInt32)buffer); - } - internal static void Load_InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) - { - Delegates.glInvalidateBufferSubData = (Delegates.InvalidateBufferSubData)GetExtensionDelegateStatic("glInvalidateBufferSubData", typeof(Delegates.InvalidateBufferSubData)); - Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - } - internal static unsafe void Load_InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments) - { - Delegates.glInvalidateFramebuffer = (Delegates.InvalidateFramebuffer)GetExtensionDelegateStatic("glInvalidateFramebuffer", typeof(Delegates.InvalidateFramebuffer)); - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments); - } - internal static unsafe void Load_InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glInvalidateSubFramebuffer = (Delegates.InvalidateSubFramebuffer)GetExtensionDelegateStatic("glInvalidateSubFramebuffer", typeof(Delegates.InvalidateSubFramebuffer)); - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_InvalidateTexImage(UInt32 texture, Int32 level) - { - Delegates.glInvalidateTexImage = (Delegates.InvalidateTexImage)GetExtensionDelegateStatic("glInvalidateTexImage", typeof(Delegates.InvalidateTexImage)); - Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); - } - internal static void Load_InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) - { - Delegates.glInvalidateTexSubImage = (Delegates.InvalidateTexSubImage)GetExtensionDelegateStatic("glInvalidateTexSubImage", typeof(Delegates.InvalidateTexSubImage)); - Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); - } - internal static bool Load_IsAsyncMarkerSGIX(UInt32 marker) - { - Delegates.glIsAsyncMarkerSGIX = (Delegates.IsAsyncMarkerSGIX)GetExtensionDelegateStatic("glIsAsyncMarkerSGIX", typeof(Delegates.IsAsyncMarkerSGIX)); - return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); - } - internal static bool Load_IsBuffer(UInt32 buffer) - { - Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); - return Delegates.glIsBuffer((UInt32)buffer); - } - internal static bool Load_IsBufferARB(UInt32 buffer) - { - Delegates.glIsBufferARB = (Delegates.IsBufferARB)GetExtensionDelegateStatic("glIsBufferARB", typeof(Delegates.IsBufferARB)); - return Delegates.glIsBufferARB((UInt32)buffer); - } - internal static bool Load_IsBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) - { - Delegates.glIsBufferResidentNV = (Delegates.IsBufferResidentNV)GetExtensionDelegateStatic("glIsBufferResidentNV", typeof(Delegates.IsBufferResidentNV)); - return Delegates.glIsBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); - } - internal static bool Load_IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap) - { - Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); - return Delegates.glIsEnabled((OpenTK.Graphics.OpenGL.EnableCap)cap); - } - internal static bool Load_IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - Delegates.glIsEnabledi = (Delegates.IsEnabledi)GetExtensionDelegateStatic("glIsEnabledi", typeof(Delegates.IsEnabledi)); - return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - } - internal static bool Load_IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) - { - Delegates.glIsEnabledIndexedEXT = (Delegates.IsEnabledIndexedEXT)GetExtensionDelegateStatic("glIsEnabledIndexedEXT", typeof(Delegates.IsEnabledIndexedEXT)); - return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); - } - internal static bool Load_IsFenceAPPLE(UInt32 fence) - { - Delegates.glIsFenceAPPLE = (Delegates.IsFenceAPPLE)GetExtensionDelegateStatic("glIsFenceAPPLE", typeof(Delegates.IsFenceAPPLE)); - return Delegates.glIsFenceAPPLE((UInt32)fence); - } - internal static bool Load_IsFenceNV(UInt32 fence) - { - Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); - return Delegates.glIsFenceNV((UInt32)fence); - } - internal static bool Load_IsFramebuffer(UInt32 framebuffer) - { - Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); - return Delegates.glIsFramebuffer((UInt32)framebuffer); - } - internal static bool Load_IsFramebufferEXT(UInt32 framebuffer) - { - Delegates.glIsFramebufferEXT = (Delegates.IsFramebufferEXT)GetExtensionDelegateStatic("glIsFramebufferEXT", typeof(Delegates.IsFramebufferEXT)); - return Delegates.glIsFramebufferEXT((UInt32)framebuffer); - } - internal static bool Load_IsImageHandleResidentARB(UInt64 handle) - { - Delegates.glIsImageHandleResidentARB = (Delegates.IsImageHandleResidentARB)GetExtensionDelegateStatic("glIsImageHandleResidentARB", typeof(Delegates.IsImageHandleResidentARB)); - return Delegates.glIsImageHandleResidentARB((UInt64)handle); - } - internal static bool Load_IsImageHandleResidentNV(UInt64 handle) - { - Delegates.glIsImageHandleResidentNV = (Delegates.IsImageHandleResidentNV)GetExtensionDelegateStatic("glIsImageHandleResidentNV", typeof(Delegates.IsImageHandleResidentNV)); - return Delegates.glIsImageHandleResidentNV((UInt64)handle); - } - internal static bool Load_IsList(UInt32 list) - { - Delegates.glIsList = (Delegates.IsList)GetExtensionDelegateStatic("glIsList", typeof(Delegates.IsList)); - return Delegates.glIsList((UInt32)list); - } - internal static bool Load_IsNameAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name) - { - Delegates.glIsNameAMD = (Delegates.IsNameAMD)GetExtensionDelegateStatic("glIsNameAMD", typeof(Delegates.IsNameAMD)); - return Delegates.glIsNameAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name); - } - internal static bool Load_IsNamedBufferResidentNV(UInt32 buffer) - { - Delegates.glIsNamedBufferResidentNV = (Delegates.IsNamedBufferResidentNV)GetExtensionDelegateStatic("glIsNamedBufferResidentNV", typeof(Delegates.IsNamedBufferResidentNV)); - return Delegates.glIsNamedBufferResidentNV((UInt32)buffer); - } - internal static bool Load_IsNamedStringARB(Int32 namelen, String name) - { - Delegates.glIsNamedStringARB = (Delegates.IsNamedStringARB)GetExtensionDelegateStatic("glIsNamedStringARB", typeof(Delegates.IsNamedStringARB)); - return Delegates.glIsNamedStringARB((Int32)namelen, (String)name); - } - internal static bool Load_IsObjectBufferATI(UInt32 buffer) - { - Delegates.glIsObjectBufferATI = (Delegates.IsObjectBufferATI)GetExtensionDelegateStatic("glIsObjectBufferATI", typeof(Delegates.IsObjectBufferATI)); - return Delegates.glIsObjectBufferATI((UInt32)buffer); - } - internal static bool Load_IsOcclusionQueryNV(UInt32 id) - { - Delegates.glIsOcclusionQueryNV = (Delegates.IsOcclusionQueryNV)GetExtensionDelegateStatic("glIsOcclusionQueryNV", typeof(Delegates.IsOcclusionQueryNV)); - return Delegates.glIsOcclusionQueryNV((UInt32)id); - } - internal static bool Load_IsPathNV(UInt32 path) - { - Delegates.glIsPathNV = (Delegates.IsPathNV)GetExtensionDelegateStatic("glIsPathNV", typeof(Delegates.IsPathNV)); - return Delegates.glIsPathNV((UInt32)path); - } - internal static bool Load_IsPointInFillPathNV(UInt32 path, UInt32 mask, Single x, Single y) - { - Delegates.glIsPointInFillPathNV = (Delegates.IsPointInFillPathNV)GetExtensionDelegateStatic("glIsPointInFillPathNV", typeof(Delegates.IsPointInFillPathNV)); - return Delegates.glIsPointInFillPathNV((UInt32)path, (UInt32)mask, (Single)x, (Single)y); - } - internal static bool Load_IsPointInStrokePathNV(UInt32 path, Single x, Single y) - { - Delegates.glIsPointInStrokePathNV = (Delegates.IsPointInStrokePathNV)GetExtensionDelegateStatic("glIsPointInStrokePathNV", typeof(Delegates.IsPointInStrokePathNV)); - return Delegates.glIsPointInStrokePathNV((UInt32)path, (Single)x, (Single)y); - } - internal static bool Load_IsProgram(UInt32 program) - { - Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); - return Delegates.glIsProgram((UInt32)program); - } - internal static bool Load_IsProgramARB(UInt32 program) - { - Delegates.glIsProgramARB = (Delegates.IsProgramARB)GetExtensionDelegateStatic("glIsProgramARB", typeof(Delegates.IsProgramARB)); - return Delegates.glIsProgramARB((UInt32)program); - } - internal static bool Load_IsProgramNV(UInt32 id) - { - Delegates.glIsProgramNV = (Delegates.IsProgramNV)GetExtensionDelegateStatic("glIsProgramNV", typeof(Delegates.IsProgramNV)); - return Delegates.glIsProgramNV((UInt32)id); - } - internal static bool Load_IsProgramPipeline(UInt32 pipeline) - { - Delegates.glIsProgramPipeline = (Delegates.IsProgramPipeline)GetExtensionDelegateStatic("glIsProgramPipeline", typeof(Delegates.IsProgramPipeline)); - return Delegates.glIsProgramPipeline((UInt32)pipeline); - } - internal static bool Load_IsProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glIsProgramPipelineEXT = (Delegates.IsProgramPipelineEXT)GetExtensionDelegateStatic("glIsProgramPipelineEXT", typeof(Delegates.IsProgramPipelineEXT)); - return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); - } - internal static bool Load_IsQuery(UInt32 id) - { - Delegates.glIsQuery = (Delegates.IsQuery)GetExtensionDelegateStatic("glIsQuery", typeof(Delegates.IsQuery)); - return Delegates.glIsQuery((UInt32)id); - } - internal static bool Load_IsQueryARB(UInt32 id) - { - Delegates.glIsQueryARB = (Delegates.IsQueryARB)GetExtensionDelegateStatic("glIsQueryARB", typeof(Delegates.IsQueryARB)); - return Delegates.glIsQueryARB((UInt32)id); - } - internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) - { - Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - } - internal static bool Load_IsRenderbufferEXT(UInt32 renderbuffer) - { - Delegates.glIsRenderbufferEXT = (Delegates.IsRenderbufferEXT)GetExtensionDelegateStatic("glIsRenderbufferEXT", typeof(Delegates.IsRenderbufferEXT)); - return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); - } - internal static bool Load_IsSampler(UInt32 sampler) - { - Delegates.glIsSampler = (Delegates.IsSampler)GetExtensionDelegateStatic("glIsSampler", typeof(Delegates.IsSampler)); - return Delegates.glIsSampler((UInt32)sampler); - } - internal static bool Load_IsShader(UInt32 shader) - { - Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); - return Delegates.glIsShader((UInt32)shader); - } - internal static bool Load_IsSync(IntPtr sync) - { - Delegates.glIsSync = (Delegates.IsSync)GetExtensionDelegateStatic("glIsSync", typeof(Delegates.IsSync)); - return Delegates.glIsSync((IntPtr)sync); - } - internal static bool Load_IsTexture(UInt32 texture) - { - Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); - return Delegates.glIsTexture((UInt32)texture); - } - internal static bool Load_IsTextureEXT(UInt32 texture) - { - Delegates.glIsTextureEXT = (Delegates.IsTextureEXT)GetExtensionDelegateStatic("glIsTextureEXT", typeof(Delegates.IsTextureEXT)); - return Delegates.glIsTextureEXT((UInt32)texture); - } - internal static bool Load_IsTextureHandleResidentARB(UInt64 handle) - { - Delegates.glIsTextureHandleResidentARB = (Delegates.IsTextureHandleResidentARB)GetExtensionDelegateStatic("glIsTextureHandleResidentARB", typeof(Delegates.IsTextureHandleResidentARB)); - return Delegates.glIsTextureHandleResidentARB((UInt64)handle); - } - internal static bool Load_IsTextureHandleResidentNV(UInt64 handle) - { - Delegates.glIsTextureHandleResidentNV = (Delegates.IsTextureHandleResidentNV)GetExtensionDelegateStatic("glIsTextureHandleResidentNV", typeof(Delegates.IsTextureHandleResidentNV)); - return Delegates.glIsTextureHandleResidentNV((UInt64)handle); - } - internal static bool Load_IsTransformFeedback(UInt32 id) - { - Delegates.glIsTransformFeedback = (Delegates.IsTransformFeedback)GetExtensionDelegateStatic("glIsTransformFeedback", typeof(Delegates.IsTransformFeedback)); - return Delegates.glIsTransformFeedback((UInt32)id); - } - internal static bool Load_IsTransformFeedbackNV(UInt32 id) - { - Delegates.glIsTransformFeedbackNV = (Delegates.IsTransformFeedbackNV)GetExtensionDelegateStatic("glIsTransformFeedbackNV", typeof(Delegates.IsTransformFeedbackNV)); - return Delegates.glIsTransformFeedbackNV((UInt32)id); - } - internal static bool Load_IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) - { - Delegates.glIsVariantEnabledEXT = (Delegates.IsVariantEnabledEXT)GetExtensionDelegateStatic("glIsVariantEnabledEXT", typeof(Delegates.IsVariantEnabledEXT)); - return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap); - } - internal static bool Load_IsVertexArray(UInt32 array) - { - Delegates.glIsVertexArray = (Delegates.IsVertexArray)GetExtensionDelegateStatic("glIsVertexArray", typeof(Delegates.IsVertexArray)); - return Delegates.glIsVertexArray((UInt32)array); - } - internal static bool Load_IsVertexArrayAPPLE(UInt32 array) - { - Delegates.glIsVertexArrayAPPLE = (Delegates.IsVertexArrayAPPLE)GetExtensionDelegateStatic("glIsVertexArrayAPPLE", typeof(Delegates.IsVertexArrayAPPLE)); - return Delegates.glIsVertexArrayAPPLE((UInt32)array); - } - internal static bool Load_IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) - { - Delegates.glIsVertexAttribEnabledAPPLE = (Delegates.IsVertexAttribEnabledAPPLE)GetExtensionDelegateStatic("glIsVertexAttribEnabledAPPLE", typeof(Delegates.IsVertexAttribEnabledAPPLE)); - return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); - } - internal static void Load_LabelObjectEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label) - { - Delegates.glLabelObjectEXT = (Delegates.LabelObjectEXT)GetExtensionDelegateStatic("glLabelObjectEXT", typeof(Delegates.LabelObjectEXT)); - Delegates.glLabelObjectEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)length, (String)label); - } - internal static void Load_LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) - { - Delegates.glLightEnviSGIX = (Delegates.LightEnviSGIX)GetExtensionDelegateStatic("glLightEnviSGIX", typeof(Delegates.LightEnviSGIX)); - Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); - } - internal static void Load_Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param) - { - Delegates.glLightf = (Delegates.Lightf)GetExtensionDelegateStatic("glLightf", typeof(Delegates.Lightf)); - Delegates.glLightf((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single)param); - } - internal static unsafe void Load_Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params) - { - Delegates.glLightfv = (Delegates.Lightfv)GetExtensionDelegateStatic("glLightfv", typeof(Delegates.Lightfv)); - Delegates.glLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); - } - internal static void Load_Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param) - { - Delegates.glLighti = (Delegates.Lighti)GetExtensionDelegateStatic("glLighti", typeof(Delegates.Lighti)); - Delegates.glLighti((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32)param); - } - internal static unsafe void Load_Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params) - { - Delegates.glLightiv = (Delegates.Lightiv)GetExtensionDelegateStatic("glLightiv", typeof(Delegates.Lightiv)); - Delegates.glLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); - } - internal static void Load_LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param) - { - Delegates.glLightModelf = (Delegates.LightModelf)GetExtensionDelegateStatic("glLightModelf", typeof(Delegates.LightModelf)); - Delegates.glLightModelf((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single)param); - } - internal static unsafe void Load_LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params) - { - Delegates.glLightModelfv = (Delegates.LightModelfv)GetExtensionDelegateStatic("glLightModelfv", typeof(Delegates.LightModelfv)); - Delegates.glLightModelfv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single*)@params); - } - internal static void Load_LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param) - { - Delegates.glLightModeli = (Delegates.LightModeli)GetExtensionDelegateStatic("glLightModeli", typeof(Delegates.LightModeli)); - Delegates.glLightModeli((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32)param); - } - internal static unsafe void Load_LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params) - { - Delegates.glLightModeliv = (Delegates.LightModeliv)GetExtensionDelegateStatic("glLightModeliv", typeof(Delegates.LightModeliv)); - Delegates.glLightModeliv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32*)@params); - } - internal static void Load_LightModelxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glLightModelxOES = (Delegates.LightModelxOES)GetExtensionDelegateStatic("glLightModelxOES", typeof(Delegates.LightModelxOES)); - Delegates.glLightModelxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_LightModelxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - Delegates.glLightModelxvOES = (Delegates.LightModelxvOES)GetExtensionDelegateStatic("glLightModelxvOES", typeof(Delegates.LightModelxvOES)); - Delegates.glLightModelxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); - } - internal static void Load_LightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glLightxOES = (Delegates.LightxOES)GetExtensionDelegateStatic("glLightxOES", typeof(Delegates.LightxOES)); - Delegates.glLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_LightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - Delegates.glLightxvOES = (Delegates.LightxvOES)GetExtensionDelegateStatic("glLightxvOES", typeof(Delegates.LightxvOES)); - Delegates.glLightxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static void Load_LineStipple(Int32 factor, UInt16 pattern) - { - Delegates.glLineStipple = (Delegates.LineStipple)GetExtensionDelegateStatic("glLineStipple", typeof(Delegates.LineStipple)); - Delegates.glLineStipple((Int32)factor, (UInt16)pattern); - } - internal static void Load_LineWidth(Single width) - { - Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); - Delegates.glLineWidth((Single)width); - } - internal static void Load_LineWidthxOES(int width) - { - Delegates.glLineWidthxOES = (Delegates.LineWidthxOES)GetExtensionDelegateStatic("glLineWidthxOES", typeof(Delegates.LineWidthxOES)); - Delegates.glLineWidthxOES((int)width); - } - internal static void Load_LinkProgram(UInt32 program) - { - Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); - Delegates.glLinkProgram((UInt32)program); - } - internal static void Load_LinkProgramARB(UInt32 programObj) - { - Delegates.glLinkProgramARB = (Delegates.LinkProgramARB)GetExtensionDelegateStatic("glLinkProgramARB", typeof(Delegates.LinkProgramARB)); - Delegates.glLinkProgramARB((UInt32)programObj); - } - internal static void Load_ListBase(UInt32 @base) - { - Delegates.glListBase = (Delegates.ListBase)GetExtensionDelegateStatic("glListBase", typeof(Delegates.ListBase)); - Delegates.glListBase((UInt32)@base); - } - internal static void Load_ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) - { - Delegates.glListParameterfSGIX = (Delegates.ListParameterfSGIX)GetExtensionDelegateStatic("glListParameterfSGIX", typeof(Delegates.ListParameterfSGIX)); - Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param); - } - internal static unsafe void Load_ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) - { - Delegates.glListParameterfvSGIX = (Delegates.ListParameterfvSGIX)GetExtensionDelegateStatic("glListParameterfvSGIX", typeof(Delegates.ListParameterfvSGIX)); - Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); - } - internal static void Load_ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) - { - Delegates.glListParameteriSGIX = (Delegates.ListParameteriSGIX)GetExtensionDelegateStatic("glListParameteriSGIX", typeof(Delegates.ListParameteriSGIX)); - Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param); - } - internal static unsafe void Load_ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) - { - Delegates.glListParameterivSGIX = (Delegates.ListParameterivSGIX)GetExtensionDelegateStatic("glListParameterivSGIX", typeof(Delegates.ListParameterivSGIX)); - Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); - } - internal static void Load_LoadIdentity() - { - Delegates.glLoadIdentity = (Delegates.LoadIdentity)GetExtensionDelegateStatic("glLoadIdentity", typeof(Delegates.LoadIdentity)); - Delegates.glLoadIdentity(); - } - internal static void Load_LoadIdentityDeformationMapSGIX(UInt32 mask) - { - Delegates.glLoadIdentityDeformationMapSGIX = (Delegates.LoadIdentityDeformationMapSGIX)GetExtensionDelegateStatic("glLoadIdentityDeformationMapSGIX", typeof(Delegates.LoadIdentityDeformationMapSGIX)); - Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); - } - internal static unsafe void Load_LoadMatrixd(Double* m) - { - Delegates.glLoadMatrixd = (Delegates.LoadMatrixd)GetExtensionDelegateStatic("glLoadMatrixd", typeof(Delegates.LoadMatrixd)); - Delegates.glLoadMatrixd((Double*)m); - } - internal static unsafe void Load_LoadMatrixf(Single* m) - { - Delegates.glLoadMatrixf = (Delegates.LoadMatrixf)GetExtensionDelegateStatic("glLoadMatrixf", typeof(Delegates.LoadMatrixf)); - Delegates.glLoadMatrixf((Single*)m); - } - internal static unsafe void Load_LoadMatrixxOES(int* m) - { - Delegates.glLoadMatrixxOES = (Delegates.LoadMatrixxOES)GetExtensionDelegateStatic("glLoadMatrixxOES", typeof(Delegates.LoadMatrixxOES)); - Delegates.glLoadMatrixxOES((int*)m); - } - internal static void Load_LoadName(UInt32 name) - { - Delegates.glLoadName = (Delegates.LoadName)GetExtensionDelegateStatic("glLoadName", typeof(Delegates.LoadName)); - Delegates.glLoadName((UInt32)name); - } - internal static unsafe void Load_LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program) - { - Delegates.glLoadProgramNV = (Delegates.LoadProgramNV)GetExtensionDelegateStatic("glLoadProgramNV", typeof(Delegates.LoadProgramNV)); - Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); - } - internal static unsafe void Load_LoadTransposeMatrixd(Double* m) - { - Delegates.glLoadTransposeMatrixd = (Delegates.LoadTransposeMatrixd)GetExtensionDelegateStatic("glLoadTransposeMatrixd", typeof(Delegates.LoadTransposeMatrixd)); - Delegates.glLoadTransposeMatrixd((Double*)m); - } - internal static unsafe void Load_LoadTransposeMatrixdARB(Double* m) - { - Delegates.glLoadTransposeMatrixdARB = (Delegates.LoadTransposeMatrixdARB)GetExtensionDelegateStatic("glLoadTransposeMatrixdARB", typeof(Delegates.LoadTransposeMatrixdARB)); - Delegates.glLoadTransposeMatrixdARB((Double*)m); - } - internal static unsafe void Load_LoadTransposeMatrixf(Single* m) - { - Delegates.glLoadTransposeMatrixf = (Delegates.LoadTransposeMatrixf)GetExtensionDelegateStatic("glLoadTransposeMatrixf", typeof(Delegates.LoadTransposeMatrixf)); - Delegates.glLoadTransposeMatrixf((Single*)m); - } - internal static unsafe void Load_LoadTransposeMatrixfARB(Single* m) - { - Delegates.glLoadTransposeMatrixfARB = (Delegates.LoadTransposeMatrixfARB)GetExtensionDelegateStatic("glLoadTransposeMatrixfARB", typeof(Delegates.LoadTransposeMatrixfARB)); - Delegates.glLoadTransposeMatrixfARB((Single*)m); - } - internal static unsafe void Load_LoadTransposeMatrixxOES(int* m) - { - Delegates.glLoadTransposeMatrixxOES = (Delegates.LoadTransposeMatrixxOES)GetExtensionDelegateStatic("glLoadTransposeMatrixxOES", typeof(Delegates.LoadTransposeMatrixxOES)); - Delegates.glLoadTransposeMatrixxOES((int*)m); - } - internal static void Load_LockArraysEXT(Int32 first, Int32 count) - { - Delegates.glLockArraysEXT = (Delegates.LockArraysEXT)GetExtensionDelegateStatic("glLockArraysEXT", typeof(Delegates.LockArraysEXT)); - Delegates.glLockArraysEXT((Int32)first, (Int32)count); - } - internal static void Load_LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode) - { - Delegates.glLogicOp = (Delegates.LogicOp)GetExtensionDelegateStatic("glLogicOp", typeof(Delegates.LogicOp)); - Delegates.glLogicOp((OpenTK.Graphics.OpenGL.LogicOp)opcode); - } - internal static void Load_MakeBufferNonResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) - { - Delegates.glMakeBufferNonResidentNV = (Delegates.MakeBufferNonResidentNV)GetExtensionDelegateStatic("glMakeBufferNonResidentNV", typeof(Delegates.MakeBufferNonResidentNV)); - Delegates.glMakeBufferNonResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); - } - internal static void Load_MakeBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - Delegates.glMakeBufferResidentNV = (Delegates.MakeBufferResidentNV)GetExtensionDelegateStatic("glMakeBufferResidentNV", typeof(Delegates.MakeBufferResidentNV)); - Delegates.glMakeBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); - } - internal static void Load_MakeImageHandleNonResidentARB(UInt64 handle) - { - Delegates.glMakeImageHandleNonResidentARB = (Delegates.MakeImageHandleNonResidentARB)GetExtensionDelegateStatic("glMakeImageHandleNonResidentARB", typeof(Delegates.MakeImageHandleNonResidentARB)); - Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); - } - internal static void Load_MakeImageHandleNonResidentNV(UInt64 handle) - { - Delegates.glMakeImageHandleNonResidentNV = (Delegates.MakeImageHandleNonResidentNV)GetExtensionDelegateStatic("glMakeImageHandleNonResidentNV", typeof(Delegates.MakeImageHandleNonResidentNV)); - Delegates.glMakeImageHandleNonResidentNV((UInt64)handle); - } - internal static void Load_MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access) - { - Delegates.glMakeImageHandleResidentARB = (Delegates.MakeImageHandleResidentARB)GetExtensionDelegateStatic("glMakeImageHandleResidentARB", typeof(Delegates.MakeImageHandleResidentARB)); - Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)access); - } - internal static void Load_MakeImageHandleResidentNV(UInt64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access) - { - Delegates.glMakeImageHandleResidentNV = (Delegates.MakeImageHandleResidentNV)GetExtensionDelegateStatic("glMakeImageHandleResidentNV", typeof(Delegates.MakeImageHandleResidentNV)); - Delegates.glMakeImageHandleResidentNV((UInt64)handle, (OpenTK.Graphics.OpenGL.NvBindlessTexture)access); - } - internal static void Load_MakeNamedBufferNonResidentNV(UInt32 buffer) - { - Delegates.glMakeNamedBufferNonResidentNV = (Delegates.MakeNamedBufferNonResidentNV)GetExtensionDelegateStatic("glMakeNamedBufferNonResidentNV", typeof(Delegates.MakeNamedBufferNonResidentNV)); - Delegates.glMakeNamedBufferNonResidentNV((UInt32)buffer); - } - internal static void Load_MakeNamedBufferResidentNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) - { - Delegates.glMakeNamedBufferResidentNV = (Delegates.MakeNamedBufferResidentNV)GetExtensionDelegateStatic("glMakeNamedBufferResidentNV", typeof(Delegates.MakeNamedBufferResidentNV)); - Delegates.glMakeNamedBufferResidentNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); - } - internal static void Load_MakeTextureHandleNonResidentARB(UInt64 handle) - { - Delegates.glMakeTextureHandleNonResidentARB = (Delegates.MakeTextureHandleNonResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleNonResidentARB", typeof(Delegates.MakeTextureHandleNonResidentARB)); - Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); - } - internal static void Load_MakeTextureHandleNonResidentNV(UInt64 handle) - { - Delegates.glMakeTextureHandleNonResidentNV = (Delegates.MakeTextureHandleNonResidentNV)GetExtensionDelegateStatic("glMakeTextureHandleNonResidentNV", typeof(Delegates.MakeTextureHandleNonResidentNV)); - Delegates.glMakeTextureHandleNonResidentNV((UInt64)handle); - } - internal static void Load_MakeTextureHandleResidentARB(UInt64 handle) - { - Delegates.glMakeTextureHandleResidentARB = (Delegates.MakeTextureHandleResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleResidentARB", typeof(Delegates.MakeTextureHandleResidentARB)); - Delegates.glMakeTextureHandleResidentARB((UInt64)handle); - } - internal static void Load_MakeTextureHandleResidentNV(UInt64 handle) - { - Delegates.glMakeTextureHandleResidentNV = (Delegates.MakeTextureHandleResidentNV)GetExtensionDelegateStatic("glMakeTextureHandleResidentNV", typeof(Delegates.MakeTextureHandleResidentNV)); - Delegates.glMakeTextureHandleResidentNV((UInt64)handle); - } - internal static unsafe void Load_Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - Delegates.glMap1d = (Delegates.Map1d)GetExtensionDelegateStatic("glMap1d", typeof(Delegates.Map1d)); - Delegates.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - } - internal static unsafe void Load_Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - Delegates.glMap1f = (Delegates.Map1f)GetExtensionDelegateStatic("glMap1f", typeof(Delegates.Map1f)); - Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - } - internal static void Load_Map1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points) - { - Delegates.glMap1xOES = (Delegates.Map1xOES)GetExtensionDelegateStatic("glMap1xOES", typeof(Delegates.Map1xOES)); - Delegates.glMap1xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points); - } - internal static unsafe void Load_Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) - { - Delegates.glMap2d = (Delegates.Map2d)GetExtensionDelegateStatic("glMap2d", typeof(Delegates.Map2d)); - Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); - } - internal static unsafe void Load_Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - Delegates.glMap2f = (Delegates.Map2f)GetExtensionDelegateStatic("glMap2f", typeof(Delegates.Map2f)); - Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - } - internal static void Load_Map2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points) - { - Delegates.glMap2xOES = (Delegates.Map2xOES)GetExtensionDelegateStatic("glMap2xOES", typeof(Delegates.Map2xOES)); - Delegates.glMap2xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points); - } - internal static IntPtr Load_MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access) - { - Delegates.glMapBuffer = (Delegates.MapBuffer)GetExtensionDelegateStatic("glMapBuffer", typeof(Delegates.MapBuffer)); - return Delegates.glMapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferAccess)access); - } - internal static IntPtr Load_MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access) - { - Delegates.glMapBufferARB = (Delegates.MapBufferARB)GetExtensionDelegateStatic("glMapBufferARB", typeof(Delegates.MapBufferARB)); - return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexBufferObject)access); - } - internal static IntPtr Load_MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) - { - Delegates.glMapBufferRange = (Delegates.MapBufferRange)GetExtensionDelegateStatic("glMapBufferRange", typeof(Delegates.MapBufferRange)); - return Delegates.glMapBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); - } - internal static void Load_MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) - { - Delegates.glMapControlPointsNV = (Delegates.MapControlPointsNV)GetExtensionDelegateStatic("glMapControlPointsNV", typeof(Delegates.MapControlPointsNV)); - Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); - } - internal static void Load_MapGrid1d(Int32 un, Double u1, Double u2) - { - Delegates.glMapGrid1d = (Delegates.MapGrid1d)GetExtensionDelegateStatic("glMapGrid1d", typeof(Delegates.MapGrid1d)); - Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2); - } - internal static void Load_MapGrid1f(Int32 un, Single u1, Single u2) - { - Delegates.glMapGrid1f = (Delegates.MapGrid1f)GetExtensionDelegateStatic("glMapGrid1f", typeof(Delegates.MapGrid1f)); - Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2); - } - internal static void Load_MapGrid1xOES(Int32 n, int u1, int u2) - { - Delegates.glMapGrid1xOES = (Delegates.MapGrid1xOES)GetExtensionDelegateStatic("glMapGrid1xOES", typeof(Delegates.MapGrid1xOES)); - Delegates.glMapGrid1xOES((Int32)n, (int)u1, (int)u2); - } - internal static void Load_MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) - { - Delegates.glMapGrid2d = (Delegates.MapGrid2d)GetExtensionDelegateStatic("glMapGrid2d", typeof(Delegates.MapGrid2d)); - Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2); - } - internal static void Load_MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) - { - Delegates.glMapGrid2f = (Delegates.MapGrid2f)GetExtensionDelegateStatic("glMapGrid2f", typeof(Delegates.MapGrid2f)); - Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2); - } - internal static void Load_MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2) - { - Delegates.glMapGrid2xOES = (Delegates.MapGrid2xOES)GetExtensionDelegateStatic("glMapGrid2xOES", typeof(Delegates.MapGrid2xOES)); - Delegates.glMapGrid2xOES((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2); - } - internal static IntPtr Load_MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) - { - Delegates.glMapNamedBufferEXT = (Delegates.MapNamedBufferEXT)GetExtensionDelegateStatic("glMapNamedBufferEXT", typeof(Delegates.MapNamedBufferEXT)); - return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access); - } - internal static IntPtr Load_MapNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) - { - Delegates.glMapNamedBufferRangeEXT = (Delegates.MapNamedBufferRangeEXT)GetExtensionDelegateStatic("glMapNamedBufferRangeEXT", typeof(Delegates.MapNamedBufferRangeEXT)); - return Delegates.glMapNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); - } - internal static IntPtr Load_MapObjectBufferATI(UInt32 buffer) - { - Delegates.glMapObjectBufferATI = (Delegates.MapObjectBufferATI)GetExtensionDelegateStatic("glMapObjectBufferATI", typeof(Delegates.MapObjectBufferATI)); - return Delegates.glMapObjectBufferATI((UInt32)buffer); - } - internal static unsafe void Load_MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params) - { - Delegates.glMapParameterfvNV = (Delegates.MapParameterfvNV)GetExtensionDelegateStatic("glMapParameterfvNV", typeof(Delegates.MapParameterfvNV)); - Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); - } - internal static unsafe void Load_MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params) - { - Delegates.glMapParameterivNV = (Delegates.MapParameterivNV)GetExtensionDelegateStatic("glMapParameterivNV", typeof(Delegates.MapParameterivNV)); - Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); - } - internal static unsafe IntPtr Load_MapTexture2DINTEL(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout) - { - Delegates.glMapTexture2DINTEL = (Delegates.MapTexture2DINTEL)GetExtensionDelegateStatic("glMapTexture2DINTEL", typeof(Delegates.MapTexture2DINTEL)); - return Delegates.glMapTexture2DINTEL((UInt32)texture, (Int32)level, (UInt32)access, (Int32*)stride, (OpenTK.Graphics.OpenGL.IntelMapTexture*)layout); - } - internal static unsafe void Load_MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) - { - Delegates.glMapVertexAttrib1dAPPLE = (Delegates.MapVertexAttrib1dAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib1dAPPLE", typeof(Delegates.MapVertexAttrib1dAPPLE)); - Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); - } - internal static unsafe void Load_MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) - { - Delegates.glMapVertexAttrib1fAPPLE = (Delegates.MapVertexAttrib1fAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib1fAPPLE", typeof(Delegates.MapVertexAttrib1fAPPLE)); - Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); - } - internal static unsafe void Load_MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) - { - Delegates.glMapVertexAttrib2dAPPLE = (Delegates.MapVertexAttrib2dAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib2dAPPLE", typeof(Delegates.MapVertexAttrib2dAPPLE)); - Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); - } - internal static unsafe void Load_MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) - { - Delegates.glMapVertexAttrib2fAPPLE = (Delegates.MapVertexAttrib2fAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib2fAPPLE", typeof(Delegates.MapVertexAttrib2fAPPLE)); - Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); - } - internal static void Load_Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) - { - Delegates.glMaterialf = (Delegates.Materialf)GetExtensionDelegateStatic("glMaterialf", typeof(Delegates.Materialf)); - Delegates.glMaterialf((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); - } - internal static unsafe void Load_Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) - { - Delegates.glMaterialfv = (Delegates.Materialfv)GetExtensionDelegateStatic("glMaterialfv", typeof(Delegates.Materialfv)); - Delegates.glMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); - } - internal static void Load_Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) - { - Delegates.glMateriali = (Delegates.Materiali)GetExtensionDelegateStatic("glMateriali", typeof(Delegates.Materiali)); - Delegates.glMateriali((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); - } - internal static unsafe void Load_Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) - { - Delegates.glMaterialiv = (Delegates.Materialiv)GetExtensionDelegateStatic("glMaterialiv", typeof(Delegates.Materialiv)); - Delegates.glMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); - } - internal static void Load_MaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glMaterialxOES = (Delegates.MaterialxOES)GetExtensionDelegateStatic("glMaterialxOES", typeof(Delegates.MaterialxOES)); - Delegates.glMaterialxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_MaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) - { - Delegates.glMaterialxvOES = (Delegates.MaterialxvOES)GetExtensionDelegateStatic("glMaterialxvOES", typeof(Delegates.MaterialxvOES)); - Delegates.glMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); - } - internal static void Load_MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - Delegates.glMatrixFrustumEXT = (Delegates.MatrixFrustumEXT)GetExtensionDelegateStatic("glMatrixFrustumEXT", typeof(Delegates.MatrixFrustumEXT)); - Delegates.glMatrixFrustumEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - } - internal static void Load_MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer) - { - Delegates.glMatrixIndexPointerARB = (Delegates.MatrixIndexPointerARB)GetExtensionDelegateStatic("glMatrixIndexPointerARB", typeof(Delegates.MatrixIndexPointerARB)); - Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); - } - internal static unsafe void Load_MatrixIndexubvARB(Int32 size, Byte* indices) - { - Delegates.glMatrixIndexubvARB = (Delegates.MatrixIndexubvARB)GetExtensionDelegateStatic("glMatrixIndexubvARB", typeof(Delegates.MatrixIndexubvARB)); - Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); - } - internal static unsafe void Load_MatrixIndexuivARB(Int32 size, UInt32* indices) - { - Delegates.glMatrixIndexuivARB = (Delegates.MatrixIndexuivARB)GetExtensionDelegateStatic("glMatrixIndexuivARB", typeof(Delegates.MatrixIndexuivARB)); - Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); - } - internal static unsafe void Load_MatrixIndexusvARB(Int32 size, UInt16* indices) - { - Delegates.glMatrixIndexusvARB = (Delegates.MatrixIndexusvARB)GetExtensionDelegateStatic("glMatrixIndexusvARB", typeof(Delegates.MatrixIndexusvARB)); - Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); - } - internal static unsafe void Load_MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - Delegates.glMatrixLoaddEXT = (Delegates.MatrixLoaddEXT)GetExtensionDelegateStatic("glMatrixLoaddEXT", typeof(Delegates.MatrixLoaddEXT)); - Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - } - internal static unsafe void Load_MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - Delegates.glMatrixLoadfEXT = (Delegates.MatrixLoadfEXT)GetExtensionDelegateStatic("glMatrixLoadfEXT", typeof(Delegates.MatrixLoadfEXT)); - Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - } - internal static void Load_MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - Delegates.glMatrixLoadIdentityEXT = (Delegates.MatrixLoadIdentityEXT)GetExtensionDelegateStatic("glMatrixLoadIdentityEXT", typeof(Delegates.MatrixLoadIdentityEXT)); - Delegates.glMatrixLoadIdentityEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); - } - internal static unsafe void Load_MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - Delegates.glMatrixLoadTransposedEXT = (Delegates.MatrixLoadTransposedEXT)GetExtensionDelegateStatic("glMatrixLoadTransposedEXT", typeof(Delegates.MatrixLoadTransposedEXT)); - Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - } - internal static unsafe void Load_MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - Delegates.glMatrixLoadTransposefEXT = (Delegates.MatrixLoadTransposefEXT)GetExtensionDelegateStatic("glMatrixLoadTransposefEXT", typeof(Delegates.MatrixLoadTransposefEXT)); - Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - } - internal static void Load_MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - Delegates.glMatrixMode = (Delegates.MatrixMode)GetExtensionDelegateStatic("glMatrixMode", typeof(Delegates.MatrixMode)); - Delegates.glMatrixMode((OpenTK.Graphics.OpenGL.MatrixMode)mode); - } - internal static unsafe void Load_MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - Delegates.glMatrixMultdEXT = (Delegates.MatrixMultdEXT)GetExtensionDelegateStatic("glMatrixMultdEXT", typeof(Delegates.MatrixMultdEXT)); - Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - } - internal static unsafe void Load_MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - Delegates.glMatrixMultfEXT = (Delegates.MatrixMultfEXT)GetExtensionDelegateStatic("glMatrixMultfEXT", typeof(Delegates.MatrixMultfEXT)); - Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - } - internal static unsafe void Load_MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) - { - Delegates.glMatrixMultTransposedEXT = (Delegates.MatrixMultTransposedEXT)GetExtensionDelegateStatic("glMatrixMultTransposedEXT", typeof(Delegates.MatrixMultTransposedEXT)); - Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); - } - internal static unsafe void Load_MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) - { - Delegates.glMatrixMultTransposefEXT = (Delegates.MatrixMultTransposefEXT)GetExtensionDelegateStatic("glMatrixMultTransposefEXT", typeof(Delegates.MatrixMultTransposefEXT)); - Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); - } - internal static void Load_MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - Delegates.glMatrixOrthoEXT = (Delegates.MatrixOrthoEXT)GetExtensionDelegateStatic("glMatrixOrthoEXT", typeof(Delegates.MatrixOrthoEXT)); - Delegates.glMatrixOrthoEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - } - internal static void Load_MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - Delegates.glMatrixPopEXT = (Delegates.MatrixPopEXT)GetExtensionDelegateStatic("glMatrixPopEXT", typeof(Delegates.MatrixPopEXT)); - Delegates.glMatrixPopEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); - } - internal static void Load_MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode) - { - Delegates.glMatrixPushEXT = (Delegates.MatrixPushEXT)GetExtensionDelegateStatic("glMatrixPushEXT", typeof(Delegates.MatrixPushEXT)); - Delegates.glMatrixPushEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); - } - internal static void Load_MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z) - { - Delegates.glMatrixRotatedEXT = (Delegates.MatrixRotatedEXT)GetExtensionDelegateStatic("glMatrixRotatedEXT", typeof(Delegates.MatrixRotatedEXT)); - Delegates.glMatrixRotatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); - } - internal static void Load_MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z) - { - Delegates.glMatrixRotatefEXT = (Delegates.MatrixRotatefEXT)GetExtensionDelegateStatic("glMatrixRotatefEXT", typeof(Delegates.MatrixRotatefEXT)); - Delegates.glMatrixRotatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); - } - internal static void Load_MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) - { - Delegates.glMatrixScaledEXT = (Delegates.MatrixScaledEXT)GetExtensionDelegateStatic("glMatrixScaledEXT", typeof(Delegates.MatrixScaledEXT)); - Delegates.glMatrixScaledEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); - } - internal static void Load_MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) - { - Delegates.glMatrixScalefEXT = (Delegates.MatrixScalefEXT)GetExtensionDelegateStatic("glMatrixScalefEXT", typeof(Delegates.MatrixScalefEXT)); - Delegates.glMatrixScalefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); - } - internal static void Load_MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) - { - Delegates.glMatrixTranslatedEXT = (Delegates.MatrixTranslatedEXT)GetExtensionDelegateStatic("glMatrixTranslatedEXT", typeof(Delegates.MatrixTranslatedEXT)); - Delegates.glMatrixTranslatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); - } - internal static void Load_MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) - { - Delegates.glMatrixTranslatefEXT = (Delegates.MatrixTranslatefEXT)GetExtensionDelegateStatic("glMatrixTranslatefEXT", typeof(Delegates.MatrixTranslatefEXT)); - Delegates.glMatrixTranslatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); - } - internal static void Load_MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers) - { - Delegates.glMemoryBarrier = (Delegates.MemoryBarrier)GetExtensionDelegateStatic("glMemoryBarrier", typeof(Delegates.MemoryBarrier)); - Delegates.glMemoryBarrier((OpenTK.Graphics.OpenGL.MemoryBarrierFlags)barriers); - } - internal static void Load_MemoryBarrierEXT(UInt32 barriers) - { - Delegates.glMemoryBarrierEXT = (Delegates.MemoryBarrierEXT)GetExtensionDelegateStatic("glMemoryBarrierEXT", typeof(Delegates.MemoryBarrierEXT)); - Delegates.glMemoryBarrierEXT((UInt32)barriers); - } - internal static void Load_Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - Delegates.glMinmax = (Delegates.Minmax)GetExtensionDelegateStatic("glMinmax", typeof(Delegates.Minmax)); - Delegates.glMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - } - internal static void Load_MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) - { - Delegates.glMinmaxEXT = (Delegates.MinmaxEXT)GetExtensionDelegateStatic("glMinmaxEXT", typeof(Delegates.MinmaxEXT)); - Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); - } - internal static void Load_MinSampleShading(Single value) - { - Delegates.glMinSampleShading = (Delegates.MinSampleShading)GetExtensionDelegateStatic("glMinSampleShading", typeof(Delegates.MinSampleShading)); - Delegates.glMinSampleShading((Single)value); - } - internal static void Load_MinSampleShadingARB(Single value) - { - Delegates.glMinSampleShadingARB = (Delegates.MinSampleShadingARB)GetExtensionDelegateStatic("glMinSampleShadingARB", typeof(Delegates.MinSampleShadingARB)); - Delegates.glMinSampleShadingARB((Single)value); - } - internal static unsafe void Load_MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) - { - Delegates.glMultiDrawArrays = (Delegates.MultiDrawArrays)GetExtensionDelegateStatic("glMultiDrawArrays", typeof(Delegates.MultiDrawArrays)); - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount); - } - internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); - Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - } - internal static void Load_MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) - { - Delegates.glMultiDrawArraysIndirect = (Delegates.MultiDrawArraysIndirect)GetExtensionDelegateStatic("glMultiDrawArraysIndirect", typeof(Delegates.MultiDrawArraysIndirect)); - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - } - internal static void Load_MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride) - { - Delegates.glMultiDrawArraysIndirectAMD = (Delegates.MultiDrawArraysIndirectAMD)GetExtensionDelegateStatic("glMultiDrawArraysIndirectAMD", typeof(Delegates.MultiDrawArraysIndirectAMD)); - Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)primcount, (Int32)stride); - } - internal static void Load_MultiDrawArraysIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) - { - Delegates.glMultiDrawArraysIndirectBindlessNV = (Delegates.MultiDrawArraysIndirectBindlessNV)GetExtensionDelegateStatic("glMultiDrawArraysIndirectBindlessNV", typeof(Delegates.MultiDrawArraysIndirectBindlessNV)); - Delegates.glMultiDrawArraysIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - internal static void Load_MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - Delegates.glMultiDrawArraysIndirectCountARB = (Delegates.MultiDrawArraysIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawArraysIndirectCountARB", typeof(Delegates.MultiDrawArraysIndirectCountARB)); - Delegates.glMultiDrawArraysIndirectCountARB((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - } - internal static unsafe void Load_MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) - { - Delegates.glMultiDrawElementArrayAPPLE = (Delegates.MultiDrawElementArrayAPPLE)GetExtensionDelegateStatic("glMultiDrawElementArrayAPPLE", typeof(Delegates.MultiDrawElementArrayAPPLE)); - Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); - } - internal static unsafe void Load_MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - Delegates.glMultiDrawElements = (Delegates.MultiDrawElements)GetExtensionDelegateStatic("glMultiDrawElements", typeof(Delegates.MultiDrawElements)); - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - internal static unsafe void Load_MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) - { - Delegates.glMultiDrawElementsBaseVertex = (Delegates.MultiDrawElementsBaseVertex)GetExtensionDelegateStatic("glMultiDrawElementsBaseVertex", typeof(Delegates.MultiDrawElementsBaseVertex)); - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); - } - internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) - { - Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); - Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); - } - internal static void Load_MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride) - { - Delegates.glMultiDrawElementsIndirect = (Delegates.MultiDrawElementsIndirect)GetExtensionDelegateStatic("glMultiDrawElementsIndirect", typeof(Delegates.MultiDrawElementsIndirect)); - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - } - internal static void Load_MultiDrawElementsIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride) - { - Delegates.glMultiDrawElementsIndirectAMD = (Delegates.MultiDrawElementsIndirectAMD)GetExtensionDelegateStatic("glMultiDrawElementsIndirectAMD", typeof(Delegates.MultiDrawElementsIndirectAMD)); - Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect, (Int32)primcount, (Int32)stride); - } - internal static void Load_MultiDrawElementsIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) - { - Delegates.glMultiDrawElementsIndirectBindlessNV = (Delegates.MultiDrawElementsIndirectBindlessNV)GetExtensionDelegateStatic("glMultiDrawElementsIndirectBindlessNV", typeof(Delegates.MultiDrawElementsIndirectBindlessNV)); - Delegates.glMultiDrawElementsIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); - } - internal static void Load_MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, OpenTK.Graphics.OpenGL.ArbIndirectParameters type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - Delegates.glMultiDrawElementsIndirectCountARB = (Delegates.MultiDrawElementsIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawElementsIndirectCountARB", typeof(Delegates.MultiDrawElementsIndirectCountARB)); - Delegates.glMultiDrawElementsIndirectCountARB((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (OpenTK.Graphics.OpenGL.ArbIndirectParameters)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - } - internal static unsafe void Load_MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) - { - Delegates.glMultiDrawRangeElementArrayAPPLE = (Delegates.MultiDrawRangeElementArrayAPPLE)GetExtensionDelegateStatic("glMultiDrawRangeElementArrayAPPLE", typeof(Delegates.MultiDrawRangeElementArrayAPPLE)); - Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); - } - internal static unsafe void Load_MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) - { - Delegates.glMultiModeDrawArraysIBM = (Delegates.MultiModeDrawArraysIBM)GetExtensionDelegateStatic("glMultiModeDrawArraysIBM", typeof(Delegates.MultiModeDrawArraysIBM)); - Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); - } - internal static unsafe void Load_MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) - { - Delegates.glMultiModeDrawElementsIBM = (Delegates.MultiModeDrawElementsIBM)GetExtensionDelegateStatic("glMultiModeDrawElementsIBM", typeof(Delegates.MultiModeDrawElementsIBM)); - Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); - } - internal static void Load_MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) - { - Delegates.glMultiTexBufferEXT = (Delegates.MultiTexBufferEXT)GetExtensionDelegateStatic("glMultiTexBufferEXT", typeof(Delegates.MultiTexBufferEXT)); - Delegates.glMultiTexBufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); - } - internal static void Load_MultiTexCoord1bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s) - { - Delegates.glMultiTexCoord1bOES = (Delegates.MultiTexCoord1bOES)GetExtensionDelegateStatic("glMultiTexCoord1bOES", typeof(Delegates.MultiTexCoord1bOES)); - Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s); - } - internal static unsafe void Load_MultiTexCoord1bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - Delegates.glMultiTexCoord1bvOES = (Delegates.MultiTexCoord1bvOES)GetExtensionDelegateStatic("glMultiTexCoord1bvOES", typeof(Delegates.MultiTexCoord1bvOES)); - Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) - { - Delegates.glMultiTexCoord1d = (Delegates.MultiTexCoord1d)GetExtensionDelegateStatic("glMultiTexCoord1d", typeof(Delegates.MultiTexCoord1d)); - Delegates.glMultiTexCoord1d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); - } - internal static void Load_MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) - { - Delegates.glMultiTexCoord1dARB = (Delegates.MultiTexCoord1dARB)GetExtensionDelegateStatic("glMultiTexCoord1dARB", typeof(Delegates.MultiTexCoord1dARB)); - Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); - } - internal static unsafe void Load_MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord1dv = (Delegates.MultiTexCoord1dv)GetExtensionDelegateStatic("glMultiTexCoord1dv", typeof(Delegates.MultiTexCoord1dv)); - Delegates.glMultiTexCoord1dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static unsafe void Load_MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord1dvARB = (Delegates.MultiTexCoord1dvARB)GetExtensionDelegateStatic("glMultiTexCoord1dvARB", typeof(Delegates.MultiTexCoord1dvARB)); - Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static void Load_MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) - { - Delegates.glMultiTexCoord1f = (Delegates.MultiTexCoord1f)GetExtensionDelegateStatic("glMultiTexCoord1f", typeof(Delegates.MultiTexCoord1f)); - Delegates.glMultiTexCoord1f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); - } - internal static void Load_MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) - { - Delegates.glMultiTexCoord1fARB = (Delegates.MultiTexCoord1fARB)GetExtensionDelegateStatic("glMultiTexCoord1fARB", typeof(Delegates.MultiTexCoord1fARB)); - Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); - } - internal static unsafe void Load_MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord1fv = (Delegates.MultiTexCoord1fv)GetExtensionDelegateStatic("glMultiTexCoord1fv", typeof(Delegates.MultiTexCoord1fv)); - Delegates.glMultiTexCoord1fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static unsafe void Load_MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord1fvARB = (Delegates.MultiTexCoord1fvARB)GetExtensionDelegateStatic("glMultiTexCoord1fvARB", typeof(Delegates.MultiTexCoord1fvARB)); - Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static void Load_MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s) - { - Delegates.glMultiTexCoord1hNV = (Delegates.MultiTexCoord1hNV)GetExtensionDelegateStatic("glMultiTexCoord1hNV", typeof(Delegates.MultiTexCoord1hNV)); - Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s); - } - internal static unsafe void Load_MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - Delegates.glMultiTexCoord1hvNV = (Delegates.MultiTexCoord1hvNV)GetExtensionDelegateStatic("glMultiTexCoord1hvNV", typeof(Delegates.MultiTexCoord1hvNV)); - Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - } - internal static void Load_MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) - { - Delegates.glMultiTexCoord1i = (Delegates.MultiTexCoord1i)GetExtensionDelegateStatic("glMultiTexCoord1i", typeof(Delegates.MultiTexCoord1i)); - Delegates.glMultiTexCoord1i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); - } - internal static void Load_MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) - { - Delegates.glMultiTexCoord1iARB = (Delegates.MultiTexCoord1iARB)GetExtensionDelegateStatic("glMultiTexCoord1iARB", typeof(Delegates.MultiTexCoord1iARB)); - Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); - } - internal static unsafe void Load_MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord1iv = (Delegates.MultiTexCoord1iv)GetExtensionDelegateStatic("glMultiTexCoord1iv", typeof(Delegates.MultiTexCoord1iv)); - Delegates.glMultiTexCoord1iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static unsafe void Load_MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord1ivARB = (Delegates.MultiTexCoord1ivARB)GetExtensionDelegateStatic("glMultiTexCoord1ivARB", typeof(Delegates.MultiTexCoord1ivARB)); - Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static void Load_MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) - { - Delegates.glMultiTexCoord1s = (Delegates.MultiTexCoord1s)GetExtensionDelegateStatic("glMultiTexCoord1s", typeof(Delegates.MultiTexCoord1s)); - Delegates.glMultiTexCoord1s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); - } - internal static void Load_MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) - { - Delegates.glMultiTexCoord1sARB = (Delegates.MultiTexCoord1sARB)GetExtensionDelegateStatic("glMultiTexCoord1sARB", typeof(Delegates.MultiTexCoord1sARB)); - Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); - } - internal static unsafe void Load_MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord1sv = (Delegates.MultiTexCoord1sv)GetExtensionDelegateStatic("glMultiTexCoord1sv", typeof(Delegates.MultiTexCoord1sv)); - Delegates.glMultiTexCoord1sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static unsafe void Load_MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord1svARB = (Delegates.MultiTexCoord1svARB)GetExtensionDelegateStatic("glMultiTexCoord1svARB", typeof(Delegates.MultiTexCoord1svARB)); - Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static void Load_MultiTexCoord1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s) - { - Delegates.glMultiTexCoord1xOES = (Delegates.MultiTexCoord1xOES)GetExtensionDelegateStatic("glMultiTexCoord1xOES", typeof(Delegates.MultiTexCoord1xOES)); - Delegates.glMultiTexCoord1xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s); - } - internal static unsafe void Load_MultiTexCoord1xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - Delegates.glMultiTexCoord1xvOES = (Delegates.MultiTexCoord1xvOES)GetExtensionDelegateStatic("glMultiTexCoord1xvOES", typeof(Delegates.MultiTexCoord1xvOES)); - Delegates.glMultiTexCoord1xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - } - internal static void Load_MultiTexCoord2bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t) - { - Delegates.glMultiTexCoord2bOES = (Delegates.MultiTexCoord2bOES)GetExtensionDelegateStatic("glMultiTexCoord2bOES", typeof(Delegates.MultiTexCoord2bOES)); - Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t); - } - internal static unsafe void Load_MultiTexCoord2bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - Delegates.glMultiTexCoord2bvOES = (Delegates.MultiTexCoord2bvOES)GetExtensionDelegateStatic("glMultiTexCoord2bvOES", typeof(Delegates.MultiTexCoord2bvOES)); - Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) - { - Delegates.glMultiTexCoord2d = (Delegates.MultiTexCoord2d)GetExtensionDelegateStatic("glMultiTexCoord2d", typeof(Delegates.MultiTexCoord2d)); - Delegates.glMultiTexCoord2d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); - } - internal static void Load_MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) - { - Delegates.glMultiTexCoord2dARB = (Delegates.MultiTexCoord2dARB)GetExtensionDelegateStatic("glMultiTexCoord2dARB", typeof(Delegates.MultiTexCoord2dARB)); - Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); - } - internal static unsafe void Load_MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord2dv = (Delegates.MultiTexCoord2dv)GetExtensionDelegateStatic("glMultiTexCoord2dv", typeof(Delegates.MultiTexCoord2dv)); - Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static unsafe void Load_MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord2dvARB = (Delegates.MultiTexCoord2dvARB)GetExtensionDelegateStatic("glMultiTexCoord2dvARB", typeof(Delegates.MultiTexCoord2dvARB)); - Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static void Load_MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) - { - Delegates.glMultiTexCoord2f = (Delegates.MultiTexCoord2f)GetExtensionDelegateStatic("glMultiTexCoord2f", typeof(Delegates.MultiTexCoord2f)); - Delegates.glMultiTexCoord2f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); - } - internal static void Load_MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) - { - Delegates.glMultiTexCoord2fARB = (Delegates.MultiTexCoord2fARB)GetExtensionDelegateStatic("glMultiTexCoord2fARB", typeof(Delegates.MultiTexCoord2fARB)); - Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); - } - internal static unsafe void Load_MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord2fv = (Delegates.MultiTexCoord2fv)GetExtensionDelegateStatic("glMultiTexCoord2fv", typeof(Delegates.MultiTexCoord2fv)); - Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static unsafe void Load_MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord2fvARB = (Delegates.MultiTexCoord2fvARB)GetExtensionDelegateStatic("glMultiTexCoord2fvARB", typeof(Delegates.MultiTexCoord2fvARB)); - Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static void Load_MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t) - { - Delegates.glMultiTexCoord2hNV = (Delegates.MultiTexCoord2hNV)GetExtensionDelegateStatic("glMultiTexCoord2hNV", typeof(Delegates.MultiTexCoord2hNV)); - Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t); - } - internal static unsafe void Load_MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - Delegates.glMultiTexCoord2hvNV = (Delegates.MultiTexCoord2hvNV)GetExtensionDelegateStatic("glMultiTexCoord2hvNV", typeof(Delegates.MultiTexCoord2hvNV)); - Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - } - internal static void Load_MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) - { - Delegates.glMultiTexCoord2i = (Delegates.MultiTexCoord2i)GetExtensionDelegateStatic("glMultiTexCoord2i", typeof(Delegates.MultiTexCoord2i)); - Delegates.glMultiTexCoord2i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); - } - internal static void Load_MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) - { - Delegates.glMultiTexCoord2iARB = (Delegates.MultiTexCoord2iARB)GetExtensionDelegateStatic("glMultiTexCoord2iARB", typeof(Delegates.MultiTexCoord2iARB)); - Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); - } - internal static unsafe void Load_MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord2iv = (Delegates.MultiTexCoord2iv)GetExtensionDelegateStatic("glMultiTexCoord2iv", typeof(Delegates.MultiTexCoord2iv)); - Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static unsafe void Load_MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord2ivARB = (Delegates.MultiTexCoord2ivARB)GetExtensionDelegateStatic("glMultiTexCoord2ivARB", typeof(Delegates.MultiTexCoord2ivARB)); - Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static void Load_MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) - { - Delegates.glMultiTexCoord2s = (Delegates.MultiTexCoord2s)GetExtensionDelegateStatic("glMultiTexCoord2s", typeof(Delegates.MultiTexCoord2s)); - Delegates.glMultiTexCoord2s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); - } - internal static void Load_MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) - { - Delegates.glMultiTexCoord2sARB = (Delegates.MultiTexCoord2sARB)GetExtensionDelegateStatic("glMultiTexCoord2sARB", typeof(Delegates.MultiTexCoord2sARB)); - Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); - } - internal static unsafe void Load_MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord2sv = (Delegates.MultiTexCoord2sv)GetExtensionDelegateStatic("glMultiTexCoord2sv", typeof(Delegates.MultiTexCoord2sv)); - Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static unsafe void Load_MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord2svARB = (Delegates.MultiTexCoord2svARB)GetExtensionDelegateStatic("glMultiTexCoord2svARB", typeof(Delegates.MultiTexCoord2svARB)); - Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static void Load_MultiTexCoord2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t) - { - Delegates.glMultiTexCoord2xOES = (Delegates.MultiTexCoord2xOES)GetExtensionDelegateStatic("glMultiTexCoord2xOES", typeof(Delegates.MultiTexCoord2xOES)); - Delegates.glMultiTexCoord2xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t); - } - internal static unsafe void Load_MultiTexCoord2xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - Delegates.glMultiTexCoord2xvOES = (Delegates.MultiTexCoord2xvOES)GetExtensionDelegateStatic("glMultiTexCoord2xvOES", typeof(Delegates.MultiTexCoord2xvOES)); - Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - } - internal static void Load_MultiTexCoord3bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r) - { - Delegates.glMultiTexCoord3bOES = (Delegates.MultiTexCoord3bOES)GetExtensionDelegateStatic("glMultiTexCoord3bOES", typeof(Delegates.MultiTexCoord3bOES)); - Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r); - } - internal static unsafe void Load_MultiTexCoord3bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - Delegates.glMultiTexCoord3bvOES = (Delegates.MultiTexCoord3bvOES)GetExtensionDelegateStatic("glMultiTexCoord3bvOES", typeof(Delegates.MultiTexCoord3bvOES)); - Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) - { - Delegates.glMultiTexCoord3d = (Delegates.MultiTexCoord3d)GetExtensionDelegateStatic("glMultiTexCoord3d", typeof(Delegates.MultiTexCoord3d)); - Delegates.glMultiTexCoord3d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); - } - internal static void Load_MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) - { - Delegates.glMultiTexCoord3dARB = (Delegates.MultiTexCoord3dARB)GetExtensionDelegateStatic("glMultiTexCoord3dARB", typeof(Delegates.MultiTexCoord3dARB)); - Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); - } - internal static unsafe void Load_MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord3dv = (Delegates.MultiTexCoord3dv)GetExtensionDelegateStatic("glMultiTexCoord3dv", typeof(Delegates.MultiTexCoord3dv)); - Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static unsafe void Load_MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord3dvARB = (Delegates.MultiTexCoord3dvARB)GetExtensionDelegateStatic("glMultiTexCoord3dvARB", typeof(Delegates.MultiTexCoord3dvARB)); - Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static void Load_MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) - { - Delegates.glMultiTexCoord3f = (Delegates.MultiTexCoord3f)GetExtensionDelegateStatic("glMultiTexCoord3f", typeof(Delegates.MultiTexCoord3f)); - Delegates.glMultiTexCoord3f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); - } - internal static void Load_MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) - { - Delegates.glMultiTexCoord3fARB = (Delegates.MultiTexCoord3fARB)GetExtensionDelegateStatic("glMultiTexCoord3fARB", typeof(Delegates.MultiTexCoord3fARB)); - Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); - } - internal static unsafe void Load_MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord3fv = (Delegates.MultiTexCoord3fv)GetExtensionDelegateStatic("glMultiTexCoord3fv", typeof(Delegates.MultiTexCoord3fv)); - Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static unsafe void Load_MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord3fvARB = (Delegates.MultiTexCoord3fvARB)GetExtensionDelegateStatic("glMultiTexCoord3fvARB", typeof(Delegates.MultiTexCoord3fvARB)); - Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static void Load_MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r) - { - Delegates.glMultiTexCoord3hNV = (Delegates.MultiTexCoord3hNV)GetExtensionDelegateStatic("glMultiTexCoord3hNV", typeof(Delegates.MultiTexCoord3hNV)); - Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r); - } - internal static unsafe void Load_MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - Delegates.glMultiTexCoord3hvNV = (Delegates.MultiTexCoord3hvNV)GetExtensionDelegateStatic("glMultiTexCoord3hvNV", typeof(Delegates.MultiTexCoord3hvNV)); - Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - } - internal static void Load_MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - Delegates.glMultiTexCoord3i = (Delegates.MultiTexCoord3i)GetExtensionDelegateStatic("glMultiTexCoord3i", typeof(Delegates.MultiTexCoord3i)); - Delegates.glMultiTexCoord3i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); - } - internal static void Load_MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) - { - Delegates.glMultiTexCoord3iARB = (Delegates.MultiTexCoord3iARB)GetExtensionDelegateStatic("glMultiTexCoord3iARB", typeof(Delegates.MultiTexCoord3iARB)); - Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); - } - internal static unsafe void Load_MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord3iv = (Delegates.MultiTexCoord3iv)GetExtensionDelegateStatic("glMultiTexCoord3iv", typeof(Delegates.MultiTexCoord3iv)); - Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static unsafe void Load_MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord3ivARB = (Delegates.MultiTexCoord3ivARB)GetExtensionDelegateStatic("glMultiTexCoord3ivARB", typeof(Delegates.MultiTexCoord3ivARB)); - Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static void Load_MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - Delegates.glMultiTexCoord3s = (Delegates.MultiTexCoord3s)GetExtensionDelegateStatic("glMultiTexCoord3s", typeof(Delegates.MultiTexCoord3s)); - Delegates.glMultiTexCoord3s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - } - internal static void Load_MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) - { - Delegates.glMultiTexCoord3sARB = (Delegates.MultiTexCoord3sARB)GetExtensionDelegateStatic("glMultiTexCoord3sARB", typeof(Delegates.MultiTexCoord3sARB)); - Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); - } - internal static unsafe void Load_MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord3sv = (Delegates.MultiTexCoord3sv)GetExtensionDelegateStatic("glMultiTexCoord3sv", typeof(Delegates.MultiTexCoord3sv)); - Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static unsafe void Load_MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord3svARB = (Delegates.MultiTexCoord3svARB)GetExtensionDelegateStatic("glMultiTexCoord3svARB", typeof(Delegates.MultiTexCoord3svARB)); - Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static void Load_MultiTexCoord3xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r) - { - Delegates.glMultiTexCoord3xOES = (Delegates.MultiTexCoord3xOES)GetExtensionDelegateStatic("glMultiTexCoord3xOES", typeof(Delegates.MultiTexCoord3xOES)); - Delegates.glMultiTexCoord3xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r); - } - internal static unsafe void Load_MultiTexCoord3xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - Delegates.glMultiTexCoord3xvOES = (Delegates.MultiTexCoord3xvOES)GetExtensionDelegateStatic("glMultiTexCoord3xvOES", typeof(Delegates.MultiTexCoord3xvOES)); - Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - } - internal static void Load_MultiTexCoord4bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q) - { - Delegates.glMultiTexCoord4bOES = (Delegates.MultiTexCoord4bOES)GetExtensionDelegateStatic("glMultiTexCoord4bOES", typeof(Delegates.MultiTexCoord4bOES)); - Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); - } - internal static unsafe void Load_MultiTexCoord4bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) - { - Delegates.glMultiTexCoord4bvOES = (Delegates.MultiTexCoord4bvOES)GetExtensionDelegateStatic("glMultiTexCoord4bvOES", typeof(Delegates.MultiTexCoord4bvOES)); - Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); - } - internal static void Load_MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) - { - Delegates.glMultiTexCoord4d = (Delegates.MultiTexCoord4d)GetExtensionDelegateStatic("glMultiTexCoord4d", typeof(Delegates.MultiTexCoord4d)); - Delegates.glMultiTexCoord4d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - } - internal static void Load_MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) - { - Delegates.glMultiTexCoord4dARB = (Delegates.MultiTexCoord4dARB)GetExtensionDelegateStatic("glMultiTexCoord4dARB", typeof(Delegates.MultiTexCoord4dARB)); - Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); - } - internal static unsafe void Load_MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord4dv = (Delegates.MultiTexCoord4dv)GetExtensionDelegateStatic("glMultiTexCoord4dv", typeof(Delegates.MultiTexCoord4dv)); - Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static unsafe void Load_MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) - { - Delegates.glMultiTexCoord4dvARB = (Delegates.MultiTexCoord4dvARB)GetExtensionDelegateStatic("glMultiTexCoord4dvARB", typeof(Delegates.MultiTexCoord4dvARB)); - Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); - } - internal static void Load_MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) - { - Delegates.glMultiTexCoord4f = (Delegates.MultiTexCoord4f)GetExtensionDelegateStatic("glMultiTexCoord4f", typeof(Delegates.MultiTexCoord4f)); - Delegates.glMultiTexCoord4f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - } - internal static void Load_MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) - { - Delegates.glMultiTexCoord4fARB = (Delegates.MultiTexCoord4fARB)GetExtensionDelegateStatic("glMultiTexCoord4fARB", typeof(Delegates.MultiTexCoord4fARB)); - Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); - } - internal static unsafe void Load_MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord4fv = (Delegates.MultiTexCoord4fv)GetExtensionDelegateStatic("glMultiTexCoord4fv", typeof(Delegates.MultiTexCoord4fv)); - Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static unsafe void Load_MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) - { - Delegates.glMultiTexCoord4fvARB = (Delegates.MultiTexCoord4fvARB)GetExtensionDelegateStatic("glMultiTexCoord4fvARB", typeof(Delegates.MultiTexCoord4fvARB)); - Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); - } - internal static void Load_MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q) - { - Delegates.glMultiTexCoord4hNV = (Delegates.MultiTexCoord4hNV)GetExtensionDelegateStatic("glMultiTexCoord4hNV", typeof(Delegates.MultiTexCoord4hNV)); - Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r, (Half)q); - } - internal static unsafe void Load_MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) - { - Delegates.glMultiTexCoord4hvNV = (Delegates.MultiTexCoord4hvNV)GetExtensionDelegateStatic("glMultiTexCoord4hvNV", typeof(Delegates.MultiTexCoord4hvNV)); - Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); - } - internal static void Load_MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - Delegates.glMultiTexCoord4i = (Delegates.MultiTexCoord4i)GetExtensionDelegateStatic("glMultiTexCoord4i", typeof(Delegates.MultiTexCoord4i)); - Delegates.glMultiTexCoord4i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); - } - internal static void Load_MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) - { - Delegates.glMultiTexCoord4iARB = (Delegates.MultiTexCoord4iARB)GetExtensionDelegateStatic("glMultiTexCoord4iARB", typeof(Delegates.MultiTexCoord4iARB)); - Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); - } - internal static unsafe void Load_MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord4iv = (Delegates.MultiTexCoord4iv)GetExtensionDelegateStatic("glMultiTexCoord4iv", typeof(Delegates.MultiTexCoord4iv)); - Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static unsafe void Load_MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) - { - Delegates.glMultiTexCoord4ivARB = (Delegates.MultiTexCoord4ivARB)GetExtensionDelegateStatic("glMultiTexCoord4ivARB", typeof(Delegates.MultiTexCoord4ivARB)); - Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); - } - internal static void Load_MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - Delegates.glMultiTexCoord4s = (Delegates.MultiTexCoord4s)GetExtensionDelegateStatic("glMultiTexCoord4s", typeof(Delegates.MultiTexCoord4s)); - Delegates.glMultiTexCoord4s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); - } - internal static void Load_MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) - { - Delegates.glMultiTexCoord4sARB = (Delegates.MultiTexCoord4sARB)GetExtensionDelegateStatic("glMultiTexCoord4sARB", typeof(Delegates.MultiTexCoord4sARB)); - Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); - } - internal static unsafe void Load_MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord4sv = (Delegates.MultiTexCoord4sv)GetExtensionDelegateStatic("glMultiTexCoord4sv", typeof(Delegates.MultiTexCoord4sv)); - Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static unsafe void Load_MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) - { - Delegates.glMultiTexCoord4svARB = (Delegates.MultiTexCoord4svARB)GetExtensionDelegateStatic("glMultiTexCoord4svARB", typeof(Delegates.MultiTexCoord4svARB)); - Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); - } - internal static void Load_MultiTexCoord4xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r, int q) - { - Delegates.glMultiTexCoord4xOES = (Delegates.MultiTexCoord4xOES)GetExtensionDelegateStatic("glMultiTexCoord4xOES", typeof(Delegates.MultiTexCoord4xOES)); - Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r, (int)q); - } - internal static unsafe void Load_MultiTexCoord4xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) - { - Delegates.glMultiTexCoord4xvOES = (Delegates.MultiTexCoord4xvOES)GetExtensionDelegateStatic("glMultiTexCoord4xvOES", typeof(Delegates.MultiTexCoord4xvOES)); - Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); - } - internal static void Load_MultiTexCoordP1ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP1ui = (Delegates.MultiTexCoordP1ui)GetExtensionDelegateStatic("glMultiTexCoordP1ui", typeof(Delegates.MultiTexCoordP1ui)); - Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP1uiv = (Delegates.MultiTexCoordP1uiv)GetExtensionDelegateStatic("glMultiTexCoordP1uiv", typeof(Delegates.MultiTexCoordP1uiv)); - Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_MultiTexCoordP2ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP2ui = (Delegates.MultiTexCoordP2ui)GetExtensionDelegateStatic("glMultiTexCoordP2ui", typeof(Delegates.MultiTexCoordP2ui)); - Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP2uiv = (Delegates.MultiTexCoordP2uiv)GetExtensionDelegateStatic("glMultiTexCoordP2uiv", typeof(Delegates.MultiTexCoordP2uiv)); - Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_MultiTexCoordP3ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP3ui = (Delegates.MultiTexCoordP3ui)GetExtensionDelegateStatic("glMultiTexCoordP3ui", typeof(Delegates.MultiTexCoordP3ui)); - Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP3uiv = (Delegates.MultiTexCoordP3uiv)GetExtensionDelegateStatic("glMultiTexCoordP3uiv", typeof(Delegates.MultiTexCoordP3uiv)); - Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_MultiTexCoordP4ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP4ui = (Delegates.MultiTexCoordP4ui)GetExtensionDelegateStatic("glMultiTexCoordP4ui", typeof(Delegates.MultiTexCoordP4ui)); - Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP4uiv = (Delegates.MultiTexCoordP4uiv)GetExtensionDelegateStatic("glMultiTexCoordP4uiv", typeof(Delegates.MultiTexCoordP4uiv)); - Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glMultiTexCoordPointerEXT = (Delegates.MultiTexCoordPointerEXT)GetExtensionDelegateStatic("glMultiTexCoordPointerEXT", typeof(Delegates.MultiTexCoordPointerEXT)); - Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) - { - Delegates.glMultiTexEnvfEXT = (Delegates.MultiTexEnvfEXT)GetExtensionDelegateStatic("glMultiTexEnvfEXT", typeof(Delegates.MultiTexEnvfEXT)); - Delegates.glMultiTexEnvfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); - } - internal static unsafe void Load_MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) - { - Delegates.glMultiTexEnvfvEXT = (Delegates.MultiTexEnvfvEXT)GetExtensionDelegateStatic("glMultiTexEnvfvEXT", typeof(Delegates.MultiTexEnvfvEXT)); - Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - } - internal static void Load_MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) - { - Delegates.glMultiTexEnviEXT = (Delegates.MultiTexEnviEXT)GetExtensionDelegateStatic("glMultiTexEnviEXT", typeof(Delegates.MultiTexEnviEXT)); - Delegates.glMultiTexEnviEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); - } - internal static unsafe void Load_MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) - { - Delegates.glMultiTexEnvivEXT = (Delegates.MultiTexEnvivEXT)GetExtensionDelegateStatic("glMultiTexEnvivEXT", typeof(Delegates.MultiTexEnvivEXT)); - Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - } - internal static void Load_MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) - { - Delegates.glMultiTexGendEXT = (Delegates.MultiTexGendEXT)GetExtensionDelegateStatic("glMultiTexGendEXT", typeof(Delegates.MultiTexGendEXT)); - Delegates.glMultiTexGendEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); - } - internal static unsafe void Load_MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) - { - Delegates.glMultiTexGendvEXT = (Delegates.MultiTexGendvEXT)GetExtensionDelegateStatic("glMultiTexGendvEXT", typeof(Delegates.MultiTexGendvEXT)); - Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - } - internal static void Load_MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) - { - Delegates.glMultiTexGenfEXT = (Delegates.MultiTexGenfEXT)GetExtensionDelegateStatic("glMultiTexGenfEXT", typeof(Delegates.MultiTexGenfEXT)); - Delegates.glMultiTexGenfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); - } - internal static unsafe void Load_MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) - { - Delegates.glMultiTexGenfvEXT = (Delegates.MultiTexGenfvEXT)GetExtensionDelegateStatic("glMultiTexGenfvEXT", typeof(Delegates.MultiTexGenfvEXT)); - Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - } - internal static void Load_MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) - { - Delegates.glMultiTexGeniEXT = (Delegates.MultiTexGeniEXT)GetExtensionDelegateStatic("glMultiTexGeniEXT", typeof(Delegates.MultiTexGeniEXT)); - Delegates.glMultiTexGeniEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); - } - internal static unsafe void Load_MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) - { - Delegates.glMultiTexGenivEXT = (Delegates.MultiTexGenivEXT)GetExtensionDelegateStatic("glMultiTexGenivEXT", typeof(Delegates.MultiTexGenivEXT)); - Delegates.glMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - } - internal static void Load_MultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glMultiTexImage1DEXT = (Delegates.MultiTexImage1DEXT)GetExtensionDelegateStatic("glMultiTexImage1DEXT", typeof(Delegates.MultiTexImage1DEXT)); - Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_MultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glMultiTexImage2DEXT = (Delegates.MultiTexImage2DEXT)GetExtensionDelegateStatic("glMultiTexImage2DEXT", typeof(Delegates.MultiTexImage2DEXT)); - Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_MultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glMultiTexImage3DEXT = (Delegates.MultiTexImage3DEXT)GetExtensionDelegateStatic("glMultiTexImage3DEXT", typeof(Delegates.MultiTexImage3DEXT)); - Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - Delegates.glMultiTexParameterfEXT = (Delegates.MultiTexParameterfEXT)GetExtensionDelegateStatic("glMultiTexParameterfEXT", typeof(Delegates.MultiTexParameterfEXT)); - Delegates.glMultiTexParameterfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); - } - internal static unsafe void Load_MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - Delegates.glMultiTexParameterfvEXT = (Delegates.MultiTexParameterfvEXT)GetExtensionDelegateStatic("glMultiTexParameterfvEXT", typeof(Delegates.MultiTexParameterfvEXT)); - Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); - } - internal static void Load_MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - Delegates.glMultiTexParameteriEXT = (Delegates.MultiTexParameteriEXT)GetExtensionDelegateStatic("glMultiTexParameteriEXT", typeof(Delegates.MultiTexParameteriEXT)); - Delegates.glMultiTexParameteriEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); - } - internal static unsafe void Load_MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - Delegates.glMultiTexParameterIivEXT = (Delegates.MultiTexParameterIivEXT)GetExtensionDelegateStatic("glMultiTexParameterIivEXT", typeof(Delegates.MultiTexParameterIivEXT)); - Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - Delegates.glMultiTexParameterIuivEXT = (Delegates.MultiTexParameterIuivEXT)GetExtensionDelegateStatic("glMultiTexParameterIuivEXT", typeof(Delegates.MultiTexParameterIuivEXT)); - Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - } - internal static unsafe void Load_MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - Delegates.glMultiTexParameterivEXT = (Delegates.MultiTexParameterivEXT)GetExtensionDelegateStatic("glMultiTexParameterivEXT", typeof(Delegates.MultiTexParameterivEXT)); - Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - } - internal static void Load_MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - Delegates.glMultiTexRenderbufferEXT = (Delegates.MultiTexRenderbufferEXT)GetExtensionDelegateStatic("glMultiTexRenderbufferEXT", typeof(Delegates.MultiTexRenderbufferEXT)); - Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - } - internal static void Load_MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glMultiTexSubImage1DEXT = (Delegates.MultiTexSubImage1DEXT)GetExtensionDelegateStatic("glMultiTexSubImage1DEXT", typeof(Delegates.MultiTexSubImage1DEXT)); - Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glMultiTexSubImage2DEXT = (Delegates.MultiTexSubImage2DEXT)GetExtensionDelegateStatic("glMultiTexSubImage2DEXT", typeof(Delegates.MultiTexSubImage2DEXT)); - Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glMultiTexSubImage3DEXT = (Delegates.MultiTexSubImage3DEXT)GetExtensionDelegateStatic("glMultiTexSubImage3DEXT", typeof(Delegates.MultiTexSubImage3DEXT)); - Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static unsafe void Load_MultMatrixd(Double* m) - { - Delegates.glMultMatrixd = (Delegates.MultMatrixd)GetExtensionDelegateStatic("glMultMatrixd", typeof(Delegates.MultMatrixd)); - Delegates.glMultMatrixd((Double*)m); - } - internal static unsafe void Load_MultMatrixf(Single* m) - { - Delegates.glMultMatrixf = (Delegates.MultMatrixf)GetExtensionDelegateStatic("glMultMatrixf", typeof(Delegates.MultMatrixf)); - Delegates.glMultMatrixf((Single*)m); - } - internal static unsafe void Load_MultMatrixxOES(int* m) - { - Delegates.glMultMatrixxOES = (Delegates.MultMatrixxOES)GetExtensionDelegateStatic("glMultMatrixxOES", typeof(Delegates.MultMatrixxOES)); - Delegates.glMultMatrixxOES((int*)m); - } - internal static unsafe void Load_MultTransposeMatrixd(Double* m) - { - Delegates.glMultTransposeMatrixd = (Delegates.MultTransposeMatrixd)GetExtensionDelegateStatic("glMultTransposeMatrixd", typeof(Delegates.MultTransposeMatrixd)); - Delegates.glMultTransposeMatrixd((Double*)m); - } - internal static unsafe void Load_MultTransposeMatrixdARB(Double* m) - { - Delegates.glMultTransposeMatrixdARB = (Delegates.MultTransposeMatrixdARB)GetExtensionDelegateStatic("glMultTransposeMatrixdARB", typeof(Delegates.MultTransposeMatrixdARB)); - Delegates.glMultTransposeMatrixdARB((Double*)m); - } - internal static unsafe void Load_MultTransposeMatrixf(Single* m) - { - Delegates.glMultTransposeMatrixf = (Delegates.MultTransposeMatrixf)GetExtensionDelegateStatic("glMultTransposeMatrixf", typeof(Delegates.MultTransposeMatrixf)); - Delegates.glMultTransposeMatrixf((Single*)m); - } - internal static unsafe void Load_MultTransposeMatrixfARB(Single* m) - { - Delegates.glMultTransposeMatrixfARB = (Delegates.MultTransposeMatrixfARB)GetExtensionDelegateStatic("glMultTransposeMatrixfARB", typeof(Delegates.MultTransposeMatrixfARB)); - Delegates.glMultTransposeMatrixfARB((Single*)m); - } - internal static unsafe void Load_MultTransposeMatrixxOES(int* m) - { - Delegates.glMultTransposeMatrixxOES = (Delegates.MultTransposeMatrixxOES)GetExtensionDelegateStatic("glMultTransposeMatrixxOES", typeof(Delegates.MultTransposeMatrixxOES)); - Delegates.glMultTransposeMatrixxOES((int*)m); - } - internal static void Load_NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) - { - Delegates.glNamedBufferDataEXT = (Delegates.NamedBufferDataEXT)GetExtensionDelegateStatic("glNamedBufferDataEXT", typeof(Delegates.NamedBufferDataEXT)); - Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); - } - internal static void Load_NamedBufferStorageEXT(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags) - { - Delegates.glNamedBufferStorageEXT = (Delegates.NamedBufferStorageEXT)GetExtensionDelegateStatic("glNamedBufferStorageEXT", typeof(Delegates.NamedBufferStorageEXT)); - Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (UInt32)flags); - } - internal static void Load_NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glNamedBufferSubDataEXT = (Delegates.NamedBufferSubDataEXT)GetExtensionDelegateStatic("glNamedBufferSubDataEXT", typeof(Delegates.NamedBufferSubDataEXT)); - Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static void Load_NamedCopyBufferSubDataEXT(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - Delegates.glNamedCopyBufferSubDataEXT = (Delegates.NamedCopyBufferSubDataEXT)GetExtensionDelegateStatic("glNamedCopyBufferSubDataEXT", typeof(Delegates.NamedCopyBufferSubDataEXT)); - Delegates.glNamedCopyBufferSubDataEXT((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - } - internal static void Load_NamedFramebufferParameteriEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param) - { - Delegates.glNamedFramebufferParameteriEXT = (Delegates.NamedFramebufferParameteriEXT)GetExtensionDelegateStatic("glNamedFramebufferParameteriEXT", typeof(Delegates.NamedFramebufferParameteriEXT)); - Delegates.glNamedFramebufferParameteriEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32)param); - } - internal static void Load_NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - Delegates.glNamedFramebufferRenderbufferEXT = (Delegates.NamedFramebufferRenderbufferEXT)GetExtensionDelegateStatic("glNamedFramebufferRenderbufferEXT", typeof(Delegates.NamedFramebufferRenderbufferEXT)); - Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - } - internal static void Load_NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glNamedFramebufferTexture1DEXT = (Delegates.NamedFramebufferTexture1DEXT)GetExtensionDelegateStatic("glNamedFramebufferTexture1DEXT", typeof(Delegates.NamedFramebufferTexture1DEXT)); - Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glNamedFramebufferTexture2DEXT = (Delegates.NamedFramebufferTexture2DEXT)GetExtensionDelegateStatic("glNamedFramebufferTexture2DEXT", typeof(Delegates.NamedFramebufferTexture2DEXT)); - Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - Delegates.glNamedFramebufferTexture3DEXT = (Delegates.NamedFramebufferTexture3DEXT)GetExtensionDelegateStatic("glNamedFramebufferTexture3DEXT", typeof(Delegates.NamedFramebufferTexture3DEXT)); - Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - } - internal static void Load_NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - Delegates.glNamedFramebufferTextureEXT = (Delegates.NamedFramebufferTextureEXT)GetExtensionDelegateStatic("glNamedFramebufferTextureEXT", typeof(Delegates.NamedFramebufferTextureEXT)); - Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - } - internal static void Load_NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) - { - Delegates.glNamedFramebufferTextureFaceEXT = (Delegates.NamedFramebufferTextureFaceEXT)GetExtensionDelegateStatic("glNamedFramebufferTextureFaceEXT", typeof(Delegates.NamedFramebufferTextureFaceEXT)); - Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); - } - internal static void Load_NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - Delegates.glNamedFramebufferTextureLayerEXT = (Delegates.NamedFramebufferTextureLayerEXT)GetExtensionDelegateStatic("glNamedFramebufferTextureLayerEXT", typeof(Delegates.NamedFramebufferTextureLayerEXT)); - Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - } - internal static void Load_NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glNamedProgramLocalParameter4dEXT = (Delegates.NamedProgramLocalParameter4dEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4dEXT", typeof(Delegates.NamedProgramLocalParameter4dEXT)); - Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params) - { - Delegates.glNamedProgramLocalParameter4dvEXT = (Delegates.NamedProgramLocalParameter4dvEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4dvEXT", typeof(Delegates.NamedProgramLocalParameter4dvEXT)); - Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); - } - internal static void Load_NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glNamedProgramLocalParameter4fEXT = (Delegates.NamedProgramLocalParameter4fEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4fEXT", typeof(Delegates.NamedProgramLocalParameter4fEXT)); - Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params) - { - Delegates.glNamedProgramLocalParameter4fvEXT = (Delegates.NamedProgramLocalParameter4fvEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4fvEXT", typeof(Delegates.NamedProgramLocalParameter4fvEXT)); - Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); - } - internal static void Load_NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glNamedProgramLocalParameterI4iEXT = (Delegates.NamedProgramLocalParameterI4iEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4iEXT", typeof(Delegates.NamedProgramLocalParameterI4iEXT)); - Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params) - { - Delegates.glNamedProgramLocalParameterI4ivEXT = (Delegates.NamedProgramLocalParameterI4ivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4ivEXT", typeof(Delegates.NamedProgramLocalParameterI4ivEXT)); - Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); - } - internal static void Load_NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - Delegates.glNamedProgramLocalParameterI4uiEXT = (Delegates.NamedProgramLocalParameterI4uiEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4uiEXT", typeof(Delegates.NamedProgramLocalParameterI4uiEXT)); - Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - } - internal static unsafe void Load_NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params) - { - Delegates.glNamedProgramLocalParameterI4uivEXT = (Delegates.NamedProgramLocalParameterI4uivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4uivEXT", typeof(Delegates.NamedProgramLocalParameterI4uivEXT)); - Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); - } - internal static unsafe void Load_NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) - { - Delegates.glNamedProgramLocalParameters4fvEXT = (Delegates.NamedProgramLocalParameters4fvEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameters4fvEXT", typeof(Delegates.NamedProgramLocalParameters4fvEXT)); - Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); - } - internal static unsafe void Load_NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) - { - Delegates.glNamedProgramLocalParametersI4ivEXT = (Delegates.NamedProgramLocalParametersI4ivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParametersI4ivEXT", typeof(Delegates.NamedProgramLocalParametersI4ivEXT)); - Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); - } - internal static unsafe void Load_NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) - { - Delegates.glNamedProgramLocalParametersI4uivEXT = (Delegates.NamedProgramLocalParametersI4uivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParametersI4uivEXT", typeof(Delegates.NamedProgramLocalParametersI4uivEXT)); - Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); - } - internal static void Load_NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string) - { - Delegates.glNamedProgramStringEXT = (Delegates.NamedProgramStringEXT)GetExtensionDelegateStatic("glNamedProgramStringEXT", typeof(Delegates.NamedProgramStringEXT)); - Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); - } - internal static void Load_NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glNamedRenderbufferStorageEXT = (Delegates.NamedRenderbufferStorageEXT)GetExtensionDelegateStatic("glNamedRenderbufferStorageEXT", typeof(Delegates.NamedRenderbufferStorageEXT)); - Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT = (Delegates.NamedRenderbufferStorageMultisampleCoverageEXT)GetExtensionDelegateStatic("glNamedRenderbufferStorageMultisampleCoverageEXT", typeof(Delegates.NamedRenderbufferStorageMultisampleCoverageEXT)); - Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glNamedRenderbufferStorageMultisampleEXT = (Delegates.NamedRenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glNamedRenderbufferStorageMultisampleEXT", typeof(Delegates.NamedRenderbufferStorageMultisampleEXT)); - Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_NamedStringARB(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string) - { - Delegates.glNamedStringARB = (Delegates.NamedStringARB)GetExtensionDelegateStatic("glNamedStringARB", typeof(Delegates.NamedStringARB)); - Delegates.glNamedStringARB((OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string); - } - internal static void Load_NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode) - { - Delegates.glNewList = (Delegates.NewList)GetExtensionDelegateStatic("glNewList", typeof(Delegates.NewList)); - Delegates.glNewList((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode); - } - internal static Int32 Load_NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) - { - Delegates.glNewObjectBufferATI = (Delegates.NewObjectBufferATI)GetExtensionDelegateStatic("glNewObjectBufferATI", typeof(Delegates.NewObjectBufferATI)); - return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); - } - internal static void Load_Normal3b(SByte nx, SByte ny, SByte nz) - { - Delegates.glNormal3b = (Delegates.Normal3b)GetExtensionDelegateStatic("glNormal3b", typeof(Delegates.Normal3b)); - Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); - } - internal static unsafe void Load_Normal3bv(SByte* v) - { - Delegates.glNormal3bv = (Delegates.Normal3bv)GetExtensionDelegateStatic("glNormal3bv", typeof(Delegates.Normal3bv)); - Delegates.glNormal3bv((SByte*)v); - } - internal static void Load_Normal3d(Double nx, Double ny, Double nz) - { - Delegates.glNormal3d = (Delegates.Normal3d)GetExtensionDelegateStatic("glNormal3d", typeof(Delegates.Normal3d)); - Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz); - } - internal static unsafe void Load_Normal3dv(Double* v) - { - Delegates.glNormal3dv = (Delegates.Normal3dv)GetExtensionDelegateStatic("glNormal3dv", typeof(Delegates.Normal3dv)); - Delegates.glNormal3dv((Double*)v); - } - internal static void Load_Normal3f(Single nx, Single ny, Single nz) - { - Delegates.glNormal3f = (Delegates.Normal3f)GetExtensionDelegateStatic("glNormal3f", typeof(Delegates.Normal3f)); - Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); - } - internal static unsafe void Load_Normal3fv(Single* v) - { - Delegates.glNormal3fv = (Delegates.Normal3fv)GetExtensionDelegateStatic("glNormal3fv", typeof(Delegates.Normal3fv)); - Delegates.glNormal3fv((Single*)v); - } - internal static void Load_Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glNormal3fVertex3fSUN = (Delegates.Normal3fVertex3fSUN)GetExtensionDelegateStatic("glNormal3fVertex3fSUN", typeof(Delegates.Normal3fVertex3fSUN)); - Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_Normal3fVertex3fvSUN(Single* n, Single* v) - { - Delegates.glNormal3fVertex3fvSUN = (Delegates.Normal3fVertex3fvSUN)GetExtensionDelegateStatic("glNormal3fVertex3fvSUN", typeof(Delegates.Normal3fVertex3fvSUN)); - Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); - } - internal static void Load_Normal3hNV(Half nx, Half ny, Half nz) - { - Delegates.glNormal3hNV = (Delegates.Normal3hNV)GetExtensionDelegateStatic("glNormal3hNV", typeof(Delegates.Normal3hNV)); - Delegates.glNormal3hNV((Half)nx, (Half)ny, (Half)nz); - } - internal static unsafe void Load_Normal3hvNV(Half* v) - { - Delegates.glNormal3hvNV = (Delegates.Normal3hvNV)GetExtensionDelegateStatic("glNormal3hvNV", typeof(Delegates.Normal3hvNV)); - Delegates.glNormal3hvNV((Half*)v); - } - internal static void Load_Normal3i(Int32 nx, Int32 ny, Int32 nz) - { - Delegates.glNormal3i = (Delegates.Normal3i)GetExtensionDelegateStatic("glNormal3i", typeof(Delegates.Normal3i)); - Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz); - } - internal static unsafe void Load_Normal3iv(Int32* v) - { - Delegates.glNormal3iv = (Delegates.Normal3iv)GetExtensionDelegateStatic("glNormal3iv", typeof(Delegates.Normal3iv)); - Delegates.glNormal3iv((Int32*)v); - } - internal static void Load_Normal3s(Int16 nx, Int16 ny, Int16 nz) - { - Delegates.glNormal3s = (Delegates.Normal3s)GetExtensionDelegateStatic("glNormal3s", typeof(Delegates.Normal3s)); - Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz); - } - internal static unsafe void Load_Normal3sv(Int16* v) - { - Delegates.glNormal3sv = (Delegates.Normal3sv)GetExtensionDelegateStatic("glNormal3sv", typeof(Delegates.Normal3sv)); - Delegates.glNormal3sv((Int16*)v); - } - internal static void Load_Normal3xOES(int nx, int ny, int nz) - { - Delegates.glNormal3xOES = (Delegates.Normal3xOES)GetExtensionDelegateStatic("glNormal3xOES", typeof(Delegates.Normal3xOES)); - Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz); - } - internal static unsafe void Load_Normal3xvOES(int* coords) - { - Delegates.glNormal3xvOES = (Delegates.Normal3xvOES)GetExtensionDelegateStatic("glNormal3xvOES", typeof(Delegates.Normal3xvOES)); - Delegates.glNormal3xvOES((int*)coords); - } - internal static void Load_NormalFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glNormalFormatNV = (Delegates.NormalFormatNV)GetExtensionDelegateStatic("glNormalFormatNV", typeof(Delegates.NormalFormatNV)); - Delegates.glNormalFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static void Load_NormalP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glNormalP3ui = (Delegates.NormalP3ui)GetExtensionDelegateStatic("glNormalP3ui", typeof(Delegates.NormalP3ui)); - Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_NormalP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glNormalP3uiv = (Delegates.NormalP3uiv)GetExtensionDelegateStatic("glNormalP3uiv", typeof(Delegates.NormalP3uiv)); - Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glNormalPointer = (Delegates.NormalPointer)GetExtensionDelegateStatic("glNormalPointer", typeof(Delegates.NormalPointer)); - Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - Delegates.glNormalPointerEXT = (Delegates.NormalPointerEXT)GetExtensionDelegateStatic("glNormalPointerEXT", typeof(Delegates.NormalPointerEXT)); - Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - } - internal static void Load_NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - Delegates.glNormalPointerListIBM = (Delegates.NormalPointerListIBM)GetExtensionDelegateStatic("glNormalPointerListIBM", typeof(Delegates.NormalPointerListIBM)); - Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - } - internal static void Load_NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer) - { - Delegates.glNormalPointervINTEL = (Delegates.NormalPointervINTEL)GetExtensionDelegateStatic("glNormalPointervINTEL", typeof(Delegates.NormalPointervINTEL)); - Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer); - } - internal static void Load_NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) - { - Delegates.glNormalStream3bATI = (Delegates.NormalStream3bATI)GetExtensionDelegateStatic("glNormalStream3bATI", typeof(Delegates.NormalStream3bATI)); - Delegates.glNormalStream3bATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); - } - internal static unsafe void Load_NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords) - { - Delegates.glNormalStream3bvATI = (Delegates.NormalStream3bvATI)GetExtensionDelegateStatic("glNormalStream3bvATI", typeof(Delegates.NormalStream3bvATI)); - Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords); - } - internal static void Load_NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz) - { - Delegates.glNormalStream3dATI = (Delegates.NormalStream3dATI)GetExtensionDelegateStatic("glNormalStream3dATI", typeof(Delegates.NormalStream3dATI)); - Delegates.glNormalStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); - } - internal static unsafe void Load_NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - Delegates.glNormalStream3dvATI = (Delegates.NormalStream3dvATI)GetExtensionDelegateStatic("glNormalStream3dvATI", typeof(Delegates.NormalStream3dvATI)); - Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - } - internal static void Load_NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz) - { - Delegates.glNormalStream3fATI = (Delegates.NormalStream3fATI)GetExtensionDelegateStatic("glNormalStream3fATI", typeof(Delegates.NormalStream3fATI)); - Delegates.glNormalStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); - } - internal static unsafe void Load_NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - Delegates.glNormalStream3fvATI = (Delegates.NormalStream3fvATI)GetExtensionDelegateStatic("glNormalStream3fvATI", typeof(Delegates.NormalStream3fvATI)); - Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - } - internal static void Load_NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) - { - Delegates.glNormalStream3iATI = (Delegates.NormalStream3iATI)GetExtensionDelegateStatic("glNormalStream3iATI", typeof(Delegates.NormalStream3iATI)); - Delegates.glNormalStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); - } - internal static unsafe void Load_NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - Delegates.glNormalStream3ivATI = (Delegates.NormalStream3ivATI)GetExtensionDelegateStatic("glNormalStream3ivATI", typeof(Delegates.NormalStream3ivATI)); - Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - } - internal static void Load_NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) - { - Delegates.glNormalStream3sATI = (Delegates.NormalStream3sATI)GetExtensionDelegateStatic("glNormalStream3sATI", typeof(Delegates.NormalStream3sATI)); - Delegates.glNormalStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); - } - internal static unsafe void Load_NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - Delegates.glNormalStream3svATI = (Delegates.NormalStream3svATI)GetExtensionDelegateStatic("glNormalStream3svATI", typeof(Delegates.NormalStream3svATI)); - Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - } - internal static void Load_ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); - Delegates.glObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); - Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - } - internal static OpenTK.Graphics.OpenGL.AppleObjectPurgeable Load_ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) - { - Delegates.glObjectPurgeableAPPLE = (Delegates.ObjectPurgeableAPPLE)GetExtensionDelegateStatic("glObjectPurgeableAPPLE", typeof(Delegates.ObjectPurgeableAPPLE)); - return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); - } - internal static OpenTK.Graphics.OpenGL.AppleObjectPurgeable Load_ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) - { - Delegates.glObjectUnpurgeableAPPLE = (Delegates.ObjectUnpurgeableAPPLE)GetExtensionDelegateStatic("glObjectUnpurgeableAPPLE", typeof(Delegates.ObjectUnpurgeableAPPLE)); - return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); - } - internal static void Load_Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) - { - Delegates.glOrtho = (Delegates.Ortho)GetExtensionDelegateStatic("glOrtho", typeof(Delegates.Ortho)); - Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); - } - internal static void Load_OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f) - { - Delegates.glOrthofOES = (Delegates.OrthofOES)GetExtensionDelegateStatic("glOrthofOES", typeof(Delegates.OrthofOES)); - Delegates.glOrthofOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); - } - internal static void Load_OrthoxOES(int l, int r, int b, int t, int n, int f) - { - Delegates.glOrthoxOES = (Delegates.OrthoxOES)GetExtensionDelegateStatic("glOrthoxOES", typeof(Delegates.OrthoxOES)); - Delegates.glOrthoxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); - } - internal static void Load_PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - Delegates.glPassTexCoordATI = (Delegates.PassTexCoordATI)GetExtensionDelegateStatic("glPassTexCoordATI", typeof(Delegates.PassTexCoordATI)); - Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - } - internal static void Load_PassThrough(Single token) - { - Delegates.glPassThrough = (Delegates.PassThrough)GetExtensionDelegateStatic("glPassThrough", typeof(Delegates.PassThrough)); - Delegates.glPassThrough((Single)token); - } - internal static void Load_PassThroughxOES(int token) - { - Delegates.glPassThroughxOES = (Delegates.PassThroughxOES)GetExtensionDelegateStatic("glPassThroughxOES", typeof(Delegates.PassThroughxOES)); - Delegates.glPassThroughxOES((int)token); - } - internal static unsafe void Load_PatchParameterfv(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values) - { - Delegates.glPatchParameterfv = (Delegates.PatchParameterfv)GetExtensionDelegateStatic("glPatchParameterfv", typeof(Delegates.PatchParameterfv)); - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values); - } - internal static void Load_PatchParameteri(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value) - { - Delegates.glPatchParameteri = (Delegates.PatchParameteri)GetExtensionDelegateStatic("glPatchParameteri", typeof(Delegates.PatchParameteri)); - Delegates.glPatchParameteri((OpenTK.Graphics.OpenGL.PatchParameterInt)pname, (Int32)value); - } - internal static unsafe void Load_PathColorGenNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single* coeffs) - { - Delegates.glPathColorGenNV = (Delegates.PathColorGenNV)GetExtensionDelegateStatic("glPathColorGenNV", typeof(Delegates.PathColorGenNV)); - Delegates.glPathColorGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (Single*)coeffs); - } - internal static unsafe void Load_PathCommandsNV(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - Delegates.glPathCommandsNV = (Delegates.PathCommandsNV)GetExtensionDelegateStatic("glPathCommandsNV", typeof(Delegates.PathCommandsNV)); - Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - internal static void Load_PathCoordsNV(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - Delegates.glPathCoordsNV = (Delegates.PathCoordsNV)GetExtensionDelegateStatic("glPathCoordsNV", typeof(Delegates.PathCoordsNV)); - Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - internal static void Load_PathCoverDepthFuncNV(OpenTK.Graphics.OpenGL.DepthFunction func) - { - Delegates.glPathCoverDepthFuncNV = (Delegates.PathCoverDepthFuncNV)GetExtensionDelegateStatic("glPathCoverDepthFuncNV", typeof(Delegates.PathCoverDepthFuncNV)); - Delegates.glPathCoverDepthFuncNV((OpenTK.Graphics.OpenGL.DepthFunction)func); - } - internal static unsafe void Load_PathDashArrayNV(UInt32 path, Int32 dashCount, Single* dashArray) - { - Delegates.glPathDashArrayNV = (Delegates.PathDashArrayNV)GetExtensionDelegateStatic("glPathDashArrayNV", typeof(Delegates.PathDashArrayNV)); - Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray); - } - internal static void Load_PathFogGenNV(OpenTK.Graphics.OpenGL.NvPathRendering genMode) - { - Delegates.glPathFogGenNV = (Delegates.PathFogGenNV)GetExtensionDelegateStatic("glPathFogGenNV", typeof(Delegates.PathFogGenNV)); - Delegates.glPathFogGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)genMode); - } - internal static void Load_PathGlyphRangeNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) - { - Delegates.glPathGlyphRangeNV = (Delegates.PathGlyphRangeNV)GetExtensionDelegateStatic("glPathGlyphRangeNV", typeof(Delegates.PathGlyphRangeNV)); - Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - internal static void Load_PathGlyphsNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) - { - Delegates.glPathGlyphsNV = (Delegates.PathGlyphsNV)GetExtensionDelegateStatic("glPathGlyphsNV", typeof(Delegates.PathGlyphsNV)); - Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); - } - internal static void Load_PathParameterfNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value) - { - Delegates.glPathParameterfNV = (Delegates.PathParameterfNV)GetExtensionDelegateStatic("glPathParameterfNV", typeof(Delegates.PathParameterfNV)); - Delegates.glPathParameterfNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single)value); - } - internal static unsafe void Load_PathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value) - { - Delegates.glPathParameterfvNV = (Delegates.PathParameterfvNV)GetExtensionDelegateStatic("glPathParameterfvNV", typeof(Delegates.PathParameterfvNV)); - Delegates.glPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); - } - internal static void Load_PathParameteriNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value) - { - Delegates.glPathParameteriNV = (Delegates.PathParameteriNV)GetExtensionDelegateStatic("glPathParameteriNV", typeof(Delegates.PathParameteriNV)); - Delegates.glPathParameteriNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32)value); - } - internal static unsafe void Load_PathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value) - { - Delegates.glPathParameterivNV = (Delegates.PathParameterivNV)GetExtensionDelegateStatic("glPathParameterivNV", typeof(Delegates.PathParameterivNV)); - Delegates.glPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); - } - internal static void Load_PathStencilDepthOffsetNV(Single factor, Single units) - { - Delegates.glPathStencilDepthOffsetNV = (Delegates.PathStencilDepthOffsetNV)GetExtensionDelegateStatic("glPathStencilDepthOffsetNV", typeof(Delegates.PathStencilDepthOffsetNV)); - Delegates.glPathStencilDepthOffsetNV((Single)factor, (Single)units); - } - internal static void Load_PathStencilFuncNV(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glPathStencilFuncNV = (Delegates.PathStencilFuncNV)GetExtensionDelegateStatic("glPathStencilFuncNV", typeof(Delegates.PathStencilFuncNV)); - Delegates.glPathStencilFuncNV((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_PathStringNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString) - { - Delegates.glPathStringNV = (Delegates.PathStringNV)GetExtensionDelegateStatic("glPathStringNV", typeof(Delegates.PathStringNV)); - Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString); - } - internal static unsafe void Load_PathSubCommandsNV(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - Delegates.glPathSubCommandsNV = (Delegates.PathSubCommandsNV)GetExtensionDelegateStatic("glPathSubCommandsNV", typeof(Delegates.PathSubCommandsNV)); - Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - internal static void Load_PathSubCoordsNV(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) - { - Delegates.glPathSubCoordsNV = (Delegates.PathSubCoordsNV)GetExtensionDelegateStatic("glPathSubCoordsNV", typeof(Delegates.PathSubCoordsNV)); - Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); - } - internal static unsafe void Load_PathTexGenNV(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single* coeffs) - { - Delegates.glPathTexGenNV = (Delegates.PathTexGenNV)GetExtensionDelegateStatic("glPathTexGenNV", typeof(Delegates.PathTexGenNV)); - Delegates.glPathTexGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (Single*)coeffs); - } - internal static void Load_PauseTransformFeedback() - { - Delegates.glPauseTransformFeedback = (Delegates.PauseTransformFeedback)GetExtensionDelegateStatic("glPauseTransformFeedback", typeof(Delegates.PauseTransformFeedback)); - Delegates.glPauseTransformFeedback(); - } - internal static void Load_PauseTransformFeedbackNV() - { - Delegates.glPauseTransformFeedbackNV = (Delegates.PauseTransformFeedbackNV)GetExtensionDelegateStatic("glPauseTransformFeedbackNV", typeof(Delegates.PauseTransformFeedbackNV)); - Delegates.glPauseTransformFeedbackNV(); - } - internal static void Load_PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, IntPtr pointer) - { - Delegates.glPixelDataRangeNV = (Delegates.PixelDataRangeNV)GetExtensionDelegateStatic("glPixelDataRangeNV", typeof(Delegates.PixelDataRangeNV)); - Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); - } - internal static unsafe void Load_PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values) - { - Delegates.glPixelMapfv = (Delegates.PixelMapfv)GetExtensionDelegateStatic("glPixelMapfv", typeof(Delegates.PixelMapfv)); - Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values); - } - internal static unsafe void Load_PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values) - { - Delegates.glPixelMapuiv = (Delegates.PixelMapuiv)GetExtensionDelegateStatic("glPixelMapuiv", typeof(Delegates.PixelMapuiv)); - Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values); - } - internal static unsafe void Load_PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values) - { - Delegates.glPixelMapusv = (Delegates.PixelMapusv)GetExtensionDelegateStatic("glPixelMapusv", typeof(Delegates.PixelMapusv)); - Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values); - } - internal static unsafe void Load_PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int* values) - { - Delegates.glPixelMapx = (Delegates.PixelMapx)GetExtensionDelegateStatic("glPixelMapx", typeof(Delegates.PixelMapx)); - Delegates.glPixelMapx((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values); - } - internal static void Load_PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param) - { - Delegates.glPixelStoref = (Delegates.PixelStoref)GetExtensionDelegateStatic("glPixelStoref", typeof(Delegates.PixelStoref)); - Delegates.glPixelStoref((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Single)param); - } - internal static void Load_PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param) - { - Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); - Delegates.glPixelStorei((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Int32)param); - } - internal static void Load_PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glPixelStorex = (Delegates.PixelStorex)GetExtensionDelegateStatic("glPixelStorex", typeof(Delegates.PixelStorex)); - Delegates.glPixelStorex((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static void Load_PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param) - { - Delegates.glPixelTexGenParameterfSGIS = (Delegates.PixelTexGenParameterfSGIS)GetExtensionDelegateStatic("glPixelTexGenParameterfSGIS", typeof(Delegates.PixelTexGenParameterfSGIS)); - Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single)param); - } - internal static unsafe void Load_PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params) - { - Delegates.glPixelTexGenParameterfvSGIS = (Delegates.PixelTexGenParameterfvSGIS)GetExtensionDelegateStatic("glPixelTexGenParameterfvSGIS", typeof(Delegates.PixelTexGenParameterfvSGIS)); - Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); - } - internal static void Load_PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param) - { - Delegates.glPixelTexGenParameteriSGIS = (Delegates.PixelTexGenParameteriSGIS)GetExtensionDelegateStatic("glPixelTexGenParameteriSGIS", typeof(Delegates.PixelTexGenParameteriSGIS)); - Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32)param); - } - internal static unsafe void Load_PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params) - { - Delegates.glPixelTexGenParameterivSGIS = (Delegates.PixelTexGenParameterivSGIS)GetExtensionDelegateStatic("glPixelTexGenParameterivSGIS", typeof(Delegates.PixelTexGenParameterivSGIS)); - Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); - } - internal static void Load_PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode) - { - Delegates.glPixelTexGenSGIX = (Delegates.PixelTexGenSGIX)GetExtensionDelegateStatic("glPixelTexGenSGIX", typeof(Delegates.PixelTexGenSGIX)); - Delegates.glPixelTexGenSGIX((OpenTK.Graphics.OpenGL.SgixPixelTexture)mode); - } - internal static void Load_PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param) - { - Delegates.glPixelTransferf = (Delegates.PixelTransferf)GetExtensionDelegateStatic("glPixelTransferf", typeof(Delegates.PixelTransferf)); - Delegates.glPixelTransferf((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Single)param); - } - internal static void Load_PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param) - { - Delegates.glPixelTransferi = (Delegates.PixelTransferi)GetExtensionDelegateStatic("glPixelTransferi", typeof(Delegates.PixelTransferi)); - Delegates.glPixelTransferi((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Int32)param); - } - internal static void Load_PixelTransferxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glPixelTransferxOES = (Delegates.PixelTransferxOES)GetExtensionDelegateStatic("glPixelTransferxOES", typeof(Delegates.PixelTransferxOES)); - Delegates.glPixelTransferxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static void Load_PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param) - { - Delegates.glPixelTransformParameterfEXT = (Delegates.PixelTransformParameterfEXT)GetExtensionDelegateStatic("glPixelTransformParameterfEXT", typeof(Delegates.PixelTransformParameterfEXT)); - Delegates.glPixelTransformParameterfEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single)param); - } - internal static unsafe void Load_PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params) - { - Delegates.glPixelTransformParameterfvEXT = (Delegates.PixelTransformParameterfvEXT)GetExtensionDelegateStatic("glPixelTransformParameterfvEXT", typeof(Delegates.PixelTransformParameterfvEXT)); - Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params); - } - internal static void Load_PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param) - { - Delegates.glPixelTransformParameteriEXT = (Delegates.PixelTransformParameteriEXT)GetExtensionDelegateStatic("glPixelTransformParameteriEXT", typeof(Delegates.PixelTransformParameteriEXT)); - Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32)param); - } - internal static unsafe void Load_PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params) - { - Delegates.glPixelTransformParameterivEXT = (Delegates.PixelTransformParameterivEXT)GetExtensionDelegateStatic("glPixelTransformParameterivEXT", typeof(Delegates.PixelTransformParameterivEXT)); - Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params); - } - internal static void Load_PixelZoom(Single xfactor, Single yfactor) - { - Delegates.glPixelZoom = (Delegates.PixelZoom)GetExtensionDelegateStatic("glPixelZoom", typeof(Delegates.PixelZoom)); - Delegates.glPixelZoom((Single)xfactor, (Single)yfactor); - } - internal static void Load_PixelZoomxOES(int xfactor, int yfactor) - { - Delegates.glPixelZoomxOES = (Delegates.PixelZoomxOES)GetExtensionDelegateStatic("glPixelZoomxOES", typeof(Delegates.PixelZoomxOES)); - Delegates.glPixelZoomxOES((int)xfactor, (int)yfactor); - } - internal static void Load_PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param) - { - Delegates.glPNTrianglesfATI = (Delegates.PNTrianglesfATI)GetExtensionDelegateStatic("glPNTrianglesfATI", typeof(Delegates.PNTrianglesfATI)); - Delegates.glPNTrianglesfATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Single)param); - } - internal static void Load_PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param) - { - Delegates.glPNTrianglesiATI = (Delegates.PNTrianglesiATI)GetExtensionDelegateStatic("glPNTrianglesiATI", typeof(Delegates.PNTrianglesiATI)); - Delegates.glPNTrianglesiATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Int32)param); - } - internal static unsafe bool Load_PointAlongPathNV(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY) - { - Delegates.glPointAlongPathNV = (Delegates.PointAlongPathNV)GetExtensionDelegateStatic("glPointAlongPathNV", typeof(Delegates.PointAlongPathNV)); - return Delegates.glPointAlongPathNV((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (Single*)x, (Single*)y, (Single*)tangentX, (Single*)tangentY); - } - internal static void Load_PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param) - { - Delegates.glPointParameterf = (Delegates.PointParameterf)GetExtensionDelegateStatic("glPointParameterf", typeof(Delegates.PointParameterf)); - Delegates.glPointParameterf((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single)param); - } - internal static void Load_PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param) - { - Delegates.glPointParameterfARB = (Delegates.PointParameterfARB)GetExtensionDelegateStatic("glPointParameterfARB", typeof(Delegates.PointParameterfARB)); - Delegates.glPointParameterfARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single)param); - } - internal static void Load_PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param) - { - Delegates.glPointParameterfEXT = (Delegates.PointParameterfEXT)GetExtensionDelegateStatic("glPointParameterfEXT", typeof(Delegates.PointParameterfEXT)); - Delegates.glPointParameterfEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single)param); - } - internal static void Load_PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param) - { - Delegates.glPointParameterfSGIS = (Delegates.PointParameterfSGIS)GetExtensionDelegateStatic("glPointParameterfSGIS", typeof(Delegates.PointParameterfSGIS)); - Delegates.glPointParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single)param); - } - internal static unsafe void Load_PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params) - { - Delegates.glPointParameterfv = (Delegates.PointParameterfv)GetExtensionDelegateStatic("glPointParameterfv", typeof(Delegates.PointParameterfv)); - Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single*)@params); - } - internal static unsafe void Load_PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params) - { - Delegates.glPointParameterfvARB = (Delegates.PointParameterfvARB)GetExtensionDelegateStatic("glPointParameterfvARB", typeof(Delegates.PointParameterfvARB)); - Delegates.glPointParameterfvARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single*)@params); - } - internal static unsafe void Load_PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params) - { - Delegates.glPointParameterfvEXT = (Delegates.PointParameterfvEXT)GetExtensionDelegateStatic("glPointParameterfvEXT", typeof(Delegates.PointParameterfvEXT)); - Delegates.glPointParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single*)@params); - } - internal static unsafe void Load_PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params) - { - Delegates.glPointParameterfvSGIS = (Delegates.PointParameterfvSGIS)GetExtensionDelegateStatic("glPointParameterfvSGIS", typeof(Delegates.PointParameterfvSGIS)); - Delegates.glPointParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single*)@params); - } - internal static void Load_PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param) - { - Delegates.glPointParameteri = (Delegates.PointParameteri)GetExtensionDelegateStatic("glPointParameteri", typeof(Delegates.PointParameteri)); - Delegates.glPointParameteri((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32)param); - } - internal static void Load_PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param) - { - Delegates.glPointParameteriNV = (Delegates.PointParameteriNV)GetExtensionDelegateStatic("glPointParameteriNV", typeof(Delegates.PointParameteriNV)); - Delegates.glPointParameteriNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32)param); - } - internal static unsafe void Load_PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params) - { - Delegates.glPointParameteriv = (Delegates.PointParameteriv)GetExtensionDelegateStatic("glPointParameteriv", typeof(Delegates.PointParameteriv)); - Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params) - { - Delegates.glPointParameterivNV = (Delegates.PointParameterivNV)GetExtensionDelegateStatic("glPointParameterivNV", typeof(Delegates.PointParameterivNV)); - Delegates.glPointParameterivNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32*)@params); - } - internal static void Load_PointParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glPointParameterxOES = (Delegates.PointParameterxOES)GetExtensionDelegateStatic("glPointParameterxOES", typeof(Delegates.PointParameterxOES)); - Delegates.glPointParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_PointParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - Delegates.glPointParameterxvOES = (Delegates.PointParameterxvOES)GetExtensionDelegateStatic("glPointParameterxvOES", typeof(Delegates.PointParameterxvOES)); - Delegates.glPointParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static void Load_PointSize(Single size) - { - Delegates.glPointSize = (Delegates.PointSize)GetExtensionDelegateStatic("glPointSize", typeof(Delegates.PointSize)); - Delegates.glPointSize((Single)size); - } - internal static void Load_PointSizexOES(int size) - { - Delegates.glPointSizexOES = (Delegates.PointSizexOES)GetExtensionDelegateStatic("glPointSizexOES", typeof(Delegates.PointSizexOES)); - Delegates.glPointSizexOES((int)size); - } - internal static unsafe Int32 Load_PollAsyncSGIX([OutAttribute] UInt32* markerp) - { - Delegates.glPollAsyncSGIX = (Delegates.PollAsyncSGIX)GetExtensionDelegateStatic("glPollAsyncSGIX", typeof(Delegates.PollAsyncSGIX)); - return Delegates.glPollAsyncSGIX((UInt32*)markerp); - } - internal static unsafe Int32 Load_PollInstrumentsSGIX([OutAttribute] Int32* marker_p) - { - Delegates.glPollInstrumentsSGIX = (Delegates.PollInstrumentsSGIX)GetExtensionDelegateStatic("glPollInstrumentsSGIX", typeof(Delegates.PollInstrumentsSGIX)); - return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); - } - internal static void Load_PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode) - { - Delegates.glPolygonMode = (Delegates.PolygonMode)GetExtensionDelegateStatic("glPolygonMode", typeof(Delegates.PolygonMode)); - Delegates.glPolygonMode((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.PolygonMode)mode); - } - internal static void Load_PolygonOffset(Single factor, Single units) - { - Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); - Delegates.glPolygonOffset((Single)factor, (Single)units); - } - internal static void Load_PolygonOffsetEXT(Single factor, Single bias) - { - Delegates.glPolygonOffsetEXT = (Delegates.PolygonOffsetEXT)GetExtensionDelegateStatic("glPolygonOffsetEXT", typeof(Delegates.PolygonOffsetEXT)); - Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); - } - internal static void Load_PolygonOffsetxOES(int factor, int units) - { - Delegates.glPolygonOffsetxOES = (Delegates.PolygonOffsetxOES)GetExtensionDelegateStatic("glPolygonOffsetxOES", typeof(Delegates.PolygonOffsetxOES)); - Delegates.glPolygonOffsetxOES((int)factor, (int)units); - } - internal static unsafe void Load_PolygonStipple(Byte* mask) - { - Delegates.glPolygonStipple = (Delegates.PolygonStipple)GetExtensionDelegateStatic("glPolygonStipple", typeof(Delegates.PolygonStipple)); - Delegates.glPolygonStipple((Byte*)mask); - } - internal static void Load_PopAttrib() - { - Delegates.glPopAttrib = (Delegates.PopAttrib)GetExtensionDelegateStatic("glPopAttrib", typeof(Delegates.PopAttrib)); - Delegates.glPopAttrib(); - } - internal static void Load_PopClientAttrib() - { - Delegates.glPopClientAttrib = (Delegates.PopClientAttrib)GetExtensionDelegateStatic("glPopClientAttrib", typeof(Delegates.PopClientAttrib)); - Delegates.glPopClientAttrib(); - } - internal static void Load_PopDebugGroup() - { - Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); - Delegates.glPopDebugGroup(); - } - internal static void Load_PopDebugGroupKHR() - { - Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); - Delegates.glPopDebugGroupKHR(); - } - internal static void Load_PopGroupMarkerEXT() - { - Delegates.glPopGroupMarkerEXT = (Delegates.PopGroupMarkerEXT)GetExtensionDelegateStatic("glPopGroupMarkerEXT", typeof(Delegates.PopGroupMarkerEXT)); - Delegates.glPopGroupMarkerEXT(); - } - internal static void Load_PopMatrix() - { - Delegates.glPopMatrix = (Delegates.PopMatrix)GetExtensionDelegateStatic("glPopMatrix", typeof(Delegates.PopMatrix)); - Delegates.glPopMatrix(); - } - internal static void Load_PopName() - { - Delegates.glPopName = (Delegates.PopName)GetExtensionDelegateStatic("glPopName", typeof(Delegates.PopName)); - Delegates.glPopName(); - } - internal static void Load_PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3) - { - Delegates.glPresentFrameDualFillNV = (Delegates.PresentFrameDualFillNV)GetExtensionDelegateStatic("glPresentFrameDualFillNV", typeof(Delegates.PresentFrameDualFillNV)); - Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.OpenGL.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.OpenGL.NvPresentVideo)target3, (UInt32)fill3); - } - internal static void Load_PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1) - { - Delegates.glPresentFrameKeyedNV = (Delegates.PresentFrameKeyedNV)GetExtensionDelegateStatic("glPresentFrameKeyedNV", typeof(Delegates.PresentFrameKeyedNV)); - Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); - } - internal static void Load_PrimitiveRestartIndex(UInt32 index) - { - Delegates.glPrimitiveRestartIndex = (Delegates.PrimitiveRestartIndex)GetExtensionDelegateStatic("glPrimitiveRestartIndex", typeof(Delegates.PrimitiveRestartIndex)); - Delegates.glPrimitiveRestartIndex((UInt32)index); - } - internal static void Load_PrimitiveRestartIndexNV(UInt32 index) - { - Delegates.glPrimitiveRestartIndexNV = (Delegates.PrimitiveRestartIndexNV)GetExtensionDelegateStatic("glPrimitiveRestartIndexNV", typeof(Delegates.PrimitiveRestartIndexNV)); - Delegates.glPrimitiveRestartIndexNV((UInt32)index); - } - internal static void Load_PrimitiveRestartNV() - { - Delegates.glPrimitiveRestartNV = (Delegates.PrimitiveRestartNV)GetExtensionDelegateStatic("glPrimitiveRestartNV", typeof(Delegates.PrimitiveRestartNV)); - Delegates.glPrimitiveRestartNV(); - } - internal static unsafe void Load_PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) - { - Delegates.glPrioritizeTextures = (Delegates.PrioritizeTextures)GetExtensionDelegateStatic("glPrioritizeTextures", typeof(Delegates.PrioritizeTextures)); - Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); - } - internal static unsafe void Load_PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities) - { - Delegates.glPrioritizeTexturesEXT = (Delegates.PrioritizeTexturesEXT)GetExtensionDelegateStatic("glPrioritizeTexturesEXT", typeof(Delegates.PrioritizeTexturesEXT)); - Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); - } - internal static unsafe void Load_PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities) - { - Delegates.glPrioritizeTexturesxOES = (Delegates.PrioritizeTexturesxOES)GetExtensionDelegateStatic("glPrioritizeTexturesxOES", typeof(Delegates.PrioritizeTexturesxOES)); - Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); - } - internal static void Load_ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - Delegates.glProgramBinary = (Delegates.ProgramBinary)GetExtensionDelegateStatic("glProgramBinary", typeof(Delegates.ProgramBinary)); - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); - } - internal static unsafe void Load_ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params) - { - Delegates.glProgramBufferParametersfvNV = (Delegates.ProgramBufferParametersfvNV)GetExtensionDelegateStatic("glProgramBufferParametersfvNV", typeof(Delegates.ProgramBufferParametersfvNV)); - Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params); - } - internal static unsafe void Load_ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params) - { - Delegates.glProgramBufferParametersIivNV = (Delegates.ProgramBufferParametersIivNV)GetExtensionDelegateStatic("glProgramBufferParametersIivNV", typeof(Delegates.ProgramBufferParametersIivNV)); - Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params); - } - internal static unsafe void Load_ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params) - { - Delegates.glProgramBufferParametersIuivNV = (Delegates.ProgramBufferParametersIuivNV)GetExtensionDelegateStatic("glProgramBufferParametersIuivNV", typeof(Delegates.ProgramBufferParametersIuivNV)); - Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (UInt32*)@params); - } - internal static void Load_ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glProgramEnvParameter4dARB = (Delegates.ProgramEnvParameter4dARB)GetExtensionDelegateStatic("glProgramEnvParameter4dARB", typeof(Delegates.ProgramEnvParameter4dARB)); - Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - Delegates.glProgramEnvParameter4dvARB = (Delegates.ProgramEnvParameter4dvARB)GetExtensionDelegateStatic("glProgramEnvParameter4dvARB", typeof(Delegates.ProgramEnvParameter4dvARB)); - Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - } - internal static void Load_ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glProgramEnvParameter4fARB = (Delegates.ProgramEnvParameter4fARB)GetExtensionDelegateStatic("glProgramEnvParameter4fARB", typeof(Delegates.ProgramEnvParameter4fARB)); - Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - Delegates.glProgramEnvParameter4fvARB = (Delegates.ProgramEnvParameter4fvARB)GetExtensionDelegateStatic("glProgramEnvParameter4fvARB", typeof(Delegates.ProgramEnvParameter4fvARB)); - Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - } - internal static void Load_ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glProgramEnvParameterI4iNV = (Delegates.ProgramEnvParameterI4iNV)GetExtensionDelegateStatic("glProgramEnvParameterI4iNV", typeof(Delegates.ProgramEnvParameterI4iNV)); - Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - Delegates.glProgramEnvParameterI4ivNV = (Delegates.ProgramEnvParameterI4ivNV)GetExtensionDelegateStatic("glProgramEnvParameterI4ivNV", typeof(Delegates.ProgramEnvParameterI4ivNV)); - Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - } - internal static void Load_ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - Delegates.glProgramEnvParameterI4uiNV = (Delegates.ProgramEnvParameterI4uiNV)GetExtensionDelegateStatic("glProgramEnvParameterI4uiNV", typeof(Delegates.ProgramEnvParameterI4uiNV)); - Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - } - internal static unsafe void Load_ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - Delegates.glProgramEnvParameterI4uivNV = (Delegates.ProgramEnvParameterI4uivNV)GetExtensionDelegateStatic("glProgramEnvParameterI4uivNV", typeof(Delegates.ProgramEnvParameterI4uivNV)); - Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - } - internal static unsafe void Load_ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - Delegates.glProgramEnvParameters4fvEXT = (Delegates.ProgramEnvParameters4fvEXT)GetExtensionDelegateStatic("glProgramEnvParameters4fvEXT", typeof(Delegates.ProgramEnvParameters4fvEXT)); - Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - } - internal static unsafe void Load_ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - Delegates.glProgramEnvParametersI4ivNV = (Delegates.ProgramEnvParametersI4ivNV)GetExtensionDelegateStatic("glProgramEnvParametersI4ivNV", typeof(Delegates.ProgramEnvParametersI4ivNV)); - Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - } - internal static unsafe void Load_ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - Delegates.glProgramEnvParametersI4uivNV = (Delegates.ProgramEnvParametersI4uivNV)GetExtensionDelegateStatic("glProgramEnvParametersI4uivNV", typeof(Delegates.ProgramEnvParametersI4uivNV)); - Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - } - internal static void Load_ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glProgramLocalParameter4dARB = (Delegates.ProgramLocalParameter4dARB)GetExtensionDelegateStatic("glProgramLocalParameter4dARB", typeof(Delegates.ProgramLocalParameter4dARB)); - Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) - { - Delegates.glProgramLocalParameter4dvARB = (Delegates.ProgramLocalParameter4dvARB)GetExtensionDelegateStatic("glProgramLocalParameter4dvARB", typeof(Delegates.ProgramLocalParameter4dvARB)); - Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); - } - internal static void Load_ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glProgramLocalParameter4fARB = (Delegates.ProgramLocalParameter4fARB)GetExtensionDelegateStatic("glProgramLocalParameter4fARB", typeof(Delegates.ProgramLocalParameter4fARB)); - Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) - { - Delegates.glProgramLocalParameter4fvARB = (Delegates.ProgramLocalParameter4fvARB)GetExtensionDelegateStatic("glProgramLocalParameter4fvARB", typeof(Delegates.ProgramLocalParameter4fvARB)); - Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); - } - internal static void Load_ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glProgramLocalParameterI4iNV = (Delegates.ProgramLocalParameterI4iNV)GetExtensionDelegateStatic("glProgramLocalParameterI4iNV", typeof(Delegates.ProgramLocalParameterI4iNV)); - Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) - { - Delegates.glProgramLocalParameterI4ivNV = (Delegates.ProgramLocalParameterI4ivNV)GetExtensionDelegateStatic("glProgramLocalParameterI4ivNV", typeof(Delegates.ProgramLocalParameterI4ivNV)); - Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); - } - internal static void Load_ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - Delegates.glProgramLocalParameterI4uiNV = (Delegates.ProgramLocalParameterI4uiNV)GetExtensionDelegateStatic("glProgramLocalParameterI4uiNV", typeof(Delegates.ProgramLocalParameterI4uiNV)); - Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - } - internal static unsafe void Load_ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) - { - Delegates.glProgramLocalParameterI4uivNV = (Delegates.ProgramLocalParameterI4uivNV)GetExtensionDelegateStatic("glProgramLocalParameterI4uivNV", typeof(Delegates.ProgramLocalParameterI4uivNV)); - Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); - } - internal static unsafe void Load_ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) - { - Delegates.glProgramLocalParameters4fvEXT = (Delegates.ProgramLocalParameters4fvEXT)GetExtensionDelegateStatic("glProgramLocalParameters4fvEXT", typeof(Delegates.ProgramLocalParameters4fvEXT)); - Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); - } - internal static unsafe void Load_ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) - { - Delegates.glProgramLocalParametersI4ivNV = (Delegates.ProgramLocalParametersI4ivNV)GetExtensionDelegateStatic("glProgramLocalParametersI4ivNV", typeof(Delegates.ProgramLocalParametersI4ivNV)); - Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); - } - internal static unsafe void Load_ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) - { - Delegates.glProgramLocalParametersI4uivNV = (Delegates.ProgramLocalParametersI4uivNV)GetExtensionDelegateStatic("glProgramLocalParametersI4uivNV", typeof(Delegates.ProgramLocalParametersI4uivNV)); - Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); - } - internal static unsafe void Load_ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) - { - Delegates.glProgramNamedParameter4dNV = (Delegates.ProgramNamedParameter4dNV)GetExtensionDelegateStatic("glProgramNamedParameter4dNV", typeof(Delegates.ProgramNamedParameter4dNV)); - Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v) - { - Delegates.glProgramNamedParameter4dvNV = (Delegates.ProgramNamedParameter4dvNV)GetExtensionDelegateStatic("glProgramNamedParameter4dvNV", typeof(Delegates.ProgramNamedParameter4dvNV)); - Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); - } - internal static unsafe void Load_ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) - { - Delegates.glProgramNamedParameter4fNV = (Delegates.ProgramNamedParameter4fNV)GetExtensionDelegateStatic("glProgramNamedParameter4fNV", typeof(Delegates.ProgramNamedParameter4fNV)); - Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v) - { - Delegates.glProgramNamedParameter4fvNV = (Delegates.ProgramNamedParameter4fvNV)GetExtensionDelegateStatic("glProgramNamedParameter4fvNV", typeof(Delegates.ProgramNamedParameter4fvNV)); - Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); - } - internal static void Load_ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glProgramParameter4dNV = (Delegates.ProgramParameter4dNV)GetExtensionDelegateStatic("glProgramParameter4dNV", typeof(Delegates.ProgramParameter4dNV)); - Delegates.glProgramParameter4dNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v) - { - Delegates.glProgramParameter4dvNV = (Delegates.ProgramParameter4dvNV)GetExtensionDelegateStatic("glProgramParameter4dvNV", typeof(Delegates.ProgramParameter4dvNV)); - Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); - } - internal static void Load_ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glProgramParameter4fNV = (Delegates.ProgramParameter4fNV)GetExtensionDelegateStatic("glProgramParameter4fNV", typeof(Delegates.ProgramParameter4fNV)); - Delegates.glProgramParameter4fNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v) - { - Delegates.glProgramParameter4fvNV = (Delegates.ProgramParameter4fvNV)GetExtensionDelegateStatic("glProgramParameter4fvNV", typeof(Delegates.ProgramParameter4fvNV)); - Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); - } - internal static void Load_ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value) - { - Delegates.glProgramParameteri = (Delegates.ProgramParameteri)GetExtensionDelegateStatic("glProgramParameteri", typeof(Delegates.ProgramParameteri)); - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value); - } - internal static void Load_ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - Delegates.glProgramParameteriARB = (Delegates.ProgramParameteriARB)GetExtensionDelegateStatic("glProgramParameteriARB", typeof(Delegates.ProgramParameteriARB)); - Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - } - internal static void Load_ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) - { - Delegates.glProgramParameteriEXT = (Delegates.ProgramParameteriEXT)GetExtensionDelegateStatic("glProgramParameteriEXT", typeof(Delegates.ProgramParameteriEXT)); - Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); - } - internal static unsafe void Load_ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v) - { - Delegates.glProgramParameters4dvNV = (Delegates.ProgramParameters4dvNV)GetExtensionDelegateStatic("glProgramParameters4dvNV", typeof(Delegates.ProgramParameters4dvNV)); - Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); - } - internal static unsafe void Load_ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v) - { - Delegates.glProgramParameters4fvNV = (Delegates.ProgramParameters4fvNV)GetExtensionDelegateStatic("glProgramParameters4fvNV", typeof(Delegates.ProgramParameters4fvNV)); - Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); - } - internal static void Load_ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, IntPtr @string) - { - Delegates.glProgramStringARB = (Delegates.ProgramStringARB)GetExtensionDelegateStatic("glProgramStringARB", typeof(Delegates.ProgramStringARB)); - Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string); - } - internal static unsafe void Load_ProgramSubroutineParametersuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params) - { - Delegates.glProgramSubroutineParametersuivNV = (Delegates.ProgramSubroutineParametersuivNV)GetExtensionDelegateStatic("glProgramSubroutineParametersuivNV", typeof(Delegates.ProgramSubroutineParametersuivNV)); - Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params); - } - internal static void Load_ProgramUniform1d(UInt32 program, Int32 location, Double v0) - { - Delegates.glProgramUniform1d = (Delegates.ProgramUniform1d)GetExtensionDelegateStatic("glProgramUniform1d", typeof(Delegates.ProgramUniform1d)); - Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); - } - internal static void Load_ProgramUniform1dEXT(UInt32 program, Int32 location, Double x) - { - Delegates.glProgramUniform1dEXT = (Delegates.ProgramUniform1dEXT)GetExtensionDelegateStatic("glProgramUniform1dEXT", typeof(Delegates.ProgramUniform1dEXT)); - Delegates.glProgramUniform1dEXT((UInt32)program, (Int32)location, (Double)x); - } - internal static unsafe void Load_ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform1dv = (Delegates.ProgramUniform1dv)GetExtensionDelegateStatic("glProgramUniform1dv", typeof(Delegates.ProgramUniform1dv)); - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static unsafe void Load_ProgramUniform1dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform1dvEXT = (Delegates.ProgramUniform1dvEXT)GetExtensionDelegateStatic("glProgramUniform1dvEXT", typeof(Delegates.ProgramUniform1dvEXT)); - Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform1f(UInt32 program, Int32 location, Single v0) - { - Delegates.glProgramUniform1f = (Delegates.ProgramUniform1f)GetExtensionDelegateStatic("glProgramUniform1f", typeof(Delegates.ProgramUniform1f)); - Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); - } - internal static void Load_ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0) - { - Delegates.glProgramUniform1fEXT = (Delegates.ProgramUniform1fEXT)GetExtensionDelegateStatic("glProgramUniform1fEXT", typeof(Delegates.ProgramUniform1fEXT)); - Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); - } - internal static unsafe void Load_ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform1fv = (Delegates.ProgramUniform1fv)GetExtensionDelegateStatic("glProgramUniform1fv", typeof(Delegates.ProgramUniform1fv)); - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform1fvEXT = (Delegates.ProgramUniform1fvEXT)GetExtensionDelegateStatic("glProgramUniform1fvEXT", typeof(Delegates.ProgramUniform1fvEXT)); - Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform1i(UInt32 program, Int32 location, Int32 v0) - { - Delegates.glProgramUniform1i = (Delegates.ProgramUniform1i)GetExtensionDelegateStatic("glProgramUniform1i", typeof(Delegates.ProgramUniform1i)); - Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); - } - internal static void Load_ProgramUniform1i64NV(UInt32 program, Int32 location, Int64 x) - { - Delegates.glProgramUniform1i64NV = (Delegates.ProgramUniform1i64NV)GetExtensionDelegateStatic("glProgramUniform1i64NV", typeof(Delegates.ProgramUniform1i64NV)); - Delegates.glProgramUniform1i64NV((UInt32)program, (Int32)location, (Int64)x); - } - internal static unsafe void Load_ProgramUniform1i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) - { - Delegates.glProgramUniform1i64vNV = (Delegates.ProgramUniform1i64vNV)GetExtensionDelegateStatic("glProgramUniform1i64vNV", typeof(Delegates.ProgramUniform1i64vNV)); - Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0) - { - Delegates.glProgramUniform1iEXT = (Delegates.ProgramUniform1iEXT)GetExtensionDelegateStatic("glProgramUniform1iEXT", typeof(Delegates.ProgramUniform1iEXT)); - Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); - } - internal static unsafe void Load_ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform1iv = (Delegates.ProgramUniform1iv)GetExtensionDelegateStatic("glProgramUniform1iv", typeof(Delegates.ProgramUniform1iv)); - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform1ivEXT = (Delegates.ProgramUniform1ivEXT)GetExtensionDelegateStatic("glProgramUniform1ivEXT", typeof(Delegates.ProgramUniform1ivEXT)); - Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0) - { - Delegates.glProgramUniform1ui = (Delegates.ProgramUniform1ui)GetExtensionDelegateStatic("glProgramUniform1ui", typeof(Delegates.ProgramUniform1ui)); - Delegates.glProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); - } - internal static void Load_ProgramUniform1ui64NV(UInt32 program, Int32 location, UInt64 x) - { - Delegates.glProgramUniform1ui64NV = (Delegates.ProgramUniform1ui64NV)GetExtensionDelegateStatic("glProgramUniform1ui64NV", typeof(Delegates.ProgramUniform1ui64NV)); - Delegates.glProgramUniform1ui64NV((UInt32)program, (Int32)location, (UInt64)x); - } - internal static unsafe void Load_ProgramUniform1ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - Delegates.glProgramUniform1ui64vNV = (Delegates.ProgramUniform1ui64vNV)GetExtensionDelegateStatic("glProgramUniform1ui64vNV", typeof(Delegates.ProgramUniform1ui64vNV)); - Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0) - { - Delegates.glProgramUniform1uiEXT = (Delegates.ProgramUniform1uiEXT)GetExtensionDelegateStatic("glProgramUniform1uiEXT", typeof(Delegates.ProgramUniform1uiEXT)); - Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); - } - internal static unsafe void Load_ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform1uiv = (Delegates.ProgramUniform1uiv)GetExtensionDelegateStatic("glProgramUniform1uiv", typeof(Delegates.ProgramUniform1uiv)); - Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform1uivEXT = (Delegates.ProgramUniform1uivEXT)GetExtensionDelegateStatic("glProgramUniform1uivEXT", typeof(Delegates.ProgramUniform1uivEXT)); - Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1) - { - Delegates.glProgramUniform2d = (Delegates.ProgramUniform2d)GetExtensionDelegateStatic("glProgramUniform2d", typeof(Delegates.ProgramUniform2d)); - Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); - } - internal static void Load_ProgramUniform2dEXT(UInt32 program, Int32 location, Double x, Double y) - { - Delegates.glProgramUniform2dEXT = (Delegates.ProgramUniform2dEXT)GetExtensionDelegateStatic("glProgramUniform2dEXT", typeof(Delegates.ProgramUniform2dEXT)); - Delegates.glProgramUniform2dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y); - } - internal static unsafe void Load_ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform2dv = (Delegates.ProgramUniform2dv)GetExtensionDelegateStatic("glProgramUniform2dv", typeof(Delegates.ProgramUniform2dv)); - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static unsafe void Load_ProgramUniform2dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform2dvEXT = (Delegates.ProgramUniform2dvEXT)GetExtensionDelegateStatic("glProgramUniform2dvEXT", typeof(Delegates.ProgramUniform2dvEXT)); - Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1) - { - Delegates.glProgramUniform2f = (Delegates.ProgramUniform2f)GetExtensionDelegateStatic("glProgramUniform2f", typeof(Delegates.ProgramUniform2f)); - Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - } - internal static void Load_ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1) - { - Delegates.glProgramUniform2fEXT = (Delegates.ProgramUniform2fEXT)GetExtensionDelegateStatic("glProgramUniform2fEXT", typeof(Delegates.ProgramUniform2fEXT)); - Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform2fv = (Delegates.ProgramUniform2fv)GetExtensionDelegateStatic("glProgramUniform2fv", typeof(Delegates.ProgramUniform2fv)); - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform2fvEXT = (Delegates.ProgramUniform2fvEXT)GetExtensionDelegateStatic("glProgramUniform2fvEXT", typeof(Delegates.ProgramUniform2fvEXT)); - Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - Delegates.glProgramUniform2i = (Delegates.ProgramUniform2i)GetExtensionDelegateStatic("glProgramUniform2i", typeof(Delegates.ProgramUniform2i)); - Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - } - internal static void Load_ProgramUniform2i64NV(UInt32 program, Int32 location, Int64 x, Int64 y) - { - Delegates.glProgramUniform2i64NV = (Delegates.ProgramUniform2i64NV)GetExtensionDelegateStatic("glProgramUniform2i64NV", typeof(Delegates.ProgramUniform2i64NV)); - Delegates.glProgramUniform2i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y); - } - internal static unsafe void Load_ProgramUniform2i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) - { - Delegates.glProgramUniform2i64vNV = (Delegates.ProgramUniform2i64vNV)GetExtensionDelegateStatic("glProgramUniform2i64vNV", typeof(Delegates.ProgramUniform2i64vNV)); - Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - Delegates.glProgramUniform2iEXT = (Delegates.ProgramUniform2iEXT)GetExtensionDelegateStatic("glProgramUniform2iEXT", typeof(Delegates.ProgramUniform2iEXT)); - Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform2iv = (Delegates.ProgramUniform2iv)GetExtensionDelegateStatic("glProgramUniform2iv", typeof(Delegates.ProgramUniform2iv)); - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform2ivEXT = (Delegates.ProgramUniform2ivEXT)GetExtensionDelegateStatic("glProgramUniform2ivEXT", typeof(Delegates.ProgramUniform2ivEXT)); - Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glProgramUniform2ui = (Delegates.ProgramUniform2ui)GetExtensionDelegateStatic("glProgramUniform2ui", typeof(Delegates.ProgramUniform2ui)); - Delegates.glProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static void Load_ProgramUniform2ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y) - { - Delegates.glProgramUniform2ui64NV = (Delegates.ProgramUniform2ui64NV)GetExtensionDelegateStatic("glProgramUniform2ui64NV", typeof(Delegates.ProgramUniform2ui64NV)); - Delegates.glProgramUniform2ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y); - } - internal static unsafe void Load_ProgramUniform2ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - Delegates.glProgramUniform2ui64vNV = (Delegates.ProgramUniform2ui64vNV)GetExtensionDelegateStatic("glProgramUniform2ui64vNV", typeof(Delegates.ProgramUniform2ui64vNV)); - Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glProgramUniform2uiEXT = (Delegates.ProgramUniform2uiEXT)GetExtensionDelegateStatic("glProgramUniform2uiEXT", typeof(Delegates.ProgramUniform2uiEXT)); - Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static unsafe void Load_ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform2uiv = (Delegates.ProgramUniform2uiv)GetExtensionDelegateStatic("glProgramUniform2uiv", typeof(Delegates.ProgramUniform2uiv)); - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform2uivEXT = (Delegates.ProgramUniform2uivEXT)GetExtensionDelegateStatic("glProgramUniform2uivEXT", typeof(Delegates.ProgramUniform2uivEXT)); - Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2) - { - Delegates.glProgramUniform3d = (Delegates.ProgramUniform3d)GetExtensionDelegateStatic("glProgramUniform3d", typeof(Delegates.ProgramUniform3d)); - Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); - } - internal static void Load_ProgramUniform3dEXT(UInt32 program, Int32 location, Double x, Double y, Double z) - { - Delegates.glProgramUniform3dEXT = (Delegates.ProgramUniform3dEXT)GetExtensionDelegateStatic("glProgramUniform3dEXT", typeof(Delegates.ProgramUniform3dEXT)); - Delegates.glProgramUniform3dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform3dv = (Delegates.ProgramUniform3dv)GetExtensionDelegateStatic("glProgramUniform3dv", typeof(Delegates.ProgramUniform3dv)); - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static unsafe void Load_ProgramUniform3dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform3dvEXT = (Delegates.ProgramUniform3dvEXT)GetExtensionDelegateStatic("glProgramUniform3dvEXT", typeof(Delegates.ProgramUniform3dvEXT)); - Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glProgramUniform3f = (Delegates.ProgramUniform3f)GetExtensionDelegateStatic("glProgramUniform3f", typeof(Delegates.ProgramUniform3f)); - Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static void Load_ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glProgramUniform3fEXT = (Delegates.ProgramUniform3fEXT)GetExtensionDelegateStatic("glProgramUniform3fEXT", typeof(Delegates.ProgramUniform3fEXT)); - Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform3fv = (Delegates.ProgramUniform3fv)GetExtensionDelegateStatic("glProgramUniform3fv", typeof(Delegates.ProgramUniform3fv)); - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform3fvEXT = (Delegates.ProgramUniform3fvEXT)GetExtensionDelegateStatic("glProgramUniform3fvEXT", typeof(Delegates.ProgramUniform3fvEXT)); - Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glProgramUniform3i = (Delegates.ProgramUniform3i)GetExtensionDelegateStatic("glProgramUniform3i", typeof(Delegates.ProgramUniform3i)); - Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static void Load_ProgramUniform3i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z) - { - Delegates.glProgramUniform3i64NV = (Delegates.ProgramUniform3i64NV)GetExtensionDelegateStatic("glProgramUniform3i64NV", typeof(Delegates.ProgramUniform3i64NV)); - Delegates.glProgramUniform3i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z); - } - internal static unsafe void Load_ProgramUniform3i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) - { - Delegates.glProgramUniform3i64vNV = (Delegates.ProgramUniform3i64vNV)GetExtensionDelegateStatic("glProgramUniform3i64vNV", typeof(Delegates.ProgramUniform3i64vNV)); - Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glProgramUniform3iEXT = (Delegates.ProgramUniform3iEXT)GetExtensionDelegateStatic("glProgramUniform3iEXT", typeof(Delegates.ProgramUniform3iEXT)); - Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform3iv = (Delegates.ProgramUniform3iv)GetExtensionDelegateStatic("glProgramUniform3iv", typeof(Delegates.ProgramUniform3iv)); - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform3ivEXT = (Delegates.ProgramUniform3ivEXT)GetExtensionDelegateStatic("glProgramUniform3ivEXT", typeof(Delegates.ProgramUniform3ivEXT)); - Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glProgramUniform3ui = (Delegates.ProgramUniform3ui)GetExtensionDelegateStatic("glProgramUniform3ui", typeof(Delegates.ProgramUniform3ui)); - Delegates.glProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static void Load_ProgramUniform3ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z) - { - Delegates.glProgramUniform3ui64NV = (Delegates.ProgramUniform3ui64NV)GetExtensionDelegateStatic("glProgramUniform3ui64NV", typeof(Delegates.ProgramUniform3ui64NV)); - Delegates.glProgramUniform3ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); - } - internal static unsafe void Load_ProgramUniform3ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - Delegates.glProgramUniform3ui64vNV = (Delegates.ProgramUniform3ui64vNV)GetExtensionDelegateStatic("glProgramUniform3ui64vNV", typeof(Delegates.ProgramUniform3ui64vNV)); - Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glProgramUniform3uiEXT = (Delegates.ProgramUniform3uiEXT)GetExtensionDelegateStatic("glProgramUniform3uiEXT", typeof(Delegates.ProgramUniform3uiEXT)); - Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static unsafe void Load_ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform3uiv = (Delegates.ProgramUniform3uiv)GetExtensionDelegateStatic("glProgramUniform3uiv", typeof(Delegates.ProgramUniform3uiv)); - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform3uivEXT = (Delegates.ProgramUniform3uivEXT)GetExtensionDelegateStatic("glProgramUniform3uivEXT", typeof(Delegates.ProgramUniform3uivEXT)); - Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - Delegates.glProgramUniform4d = (Delegates.ProgramUniform4d)GetExtensionDelegateStatic("glProgramUniform4d", typeof(Delegates.ProgramUniform4d)); - Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); - } - internal static void Load_ProgramUniform4dEXT(UInt32 program, Int32 location, Double x, Double y, Double z, Double w) - { - Delegates.glProgramUniform4dEXT = (Delegates.ProgramUniform4dEXT)GetExtensionDelegateStatic("glProgramUniform4dEXT", typeof(Delegates.ProgramUniform4dEXT)); - Delegates.glProgramUniform4dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform4dv = (Delegates.ProgramUniform4dv)GetExtensionDelegateStatic("glProgramUniform4dv", typeof(Delegates.ProgramUniform4dv)); - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static unsafe void Load_ProgramUniform4dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform4dvEXT = (Delegates.ProgramUniform4dvEXT)GetExtensionDelegateStatic("glProgramUniform4dvEXT", typeof(Delegates.ProgramUniform4dvEXT)); - Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glProgramUniform4f = (Delegates.ProgramUniform4f)GetExtensionDelegateStatic("glProgramUniform4f", typeof(Delegates.ProgramUniform4f)); - Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static void Load_ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glProgramUniform4fEXT = (Delegates.ProgramUniform4fEXT)GetExtensionDelegateStatic("glProgramUniform4fEXT", typeof(Delegates.ProgramUniform4fEXT)); - Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform4fv = (Delegates.ProgramUniform4fv)GetExtensionDelegateStatic("glProgramUniform4fv", typeof(Delegates.ProgramUniform4fv)); - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform4fvEXT = (Delegates.ProgramUniform4fvEXT)GetExtensionDelegateStatic("glProgramUniform4fvEXT", typeof(Delegates.ProgramUniform4fvEXT)); - Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glProgramUniform4i = (Delegates.ProgramUniform4i)GetExtensionDelegateStatic("glProgramUniform4i", typeof(Delegates.ProgramUniform4i)); - Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static void Load_ProgramUniform4i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - Delegates.glProgramUniform4i64NV = (Delegates.ProgramUniform4i64NV)GetExtensionDelegateStatic("glProgramUniform4i64NV", typeof(Delegates.ProgramUniform4i64NV)); - Delegates.glProgramUniform4i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - } - internal static unsafe void Load_ProgramUniform4i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) - { - Delegates.glProgramUniform4i64vNV = (Delegates.ProgramUniform4i64vNV)GetExtensionDelegateStatic("glProgramUniform4i64vNV", typeof(Delegates.ProgramUniform4i64vNV)); - Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glProgramUniform4iEXT = (Delegates.ProgramUniform4iEXT)GetExtensionDelegateStatic("glProgramUniform4iEXT", typeof(Delegates.ProgramUniform4iEXT)); - Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform4iv = (Delegates.ProgramUniform4iv)GetExtensionDelegateStatic("glProgramUniform4iv", typeof(Delegates.ProgramUniform4iv)); - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform4ivEXT = (Delegates.ProgramUniform4ivEXT)GetExtensionDelegateStatic("glProgramUniform4ivEXT", typeof(Delegates.ProgramUniform4ivEXT)); - Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glProgramUniform4ui = (Delegates.ProgramUniform4ui)GetExtensionDelegateStatic("glProgramUniform4ui", typeof(Delegates.ProgramUniform4ui)); - Delegates.glProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static void Load_ProgramUniform4ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - Delegates.glProgramUniform4ui64NV = (Delegates.ProgramUniform4ui64NV)GetExtensionDelegateStatic("glProgramUniform4ui64NV", typeof(Delegates.ProgramUniform4ui64NV)); - Delegates.glProgramUniform4ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); - } - internal static unsafe void Load_ProgramUniform4ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - Delegates.glProgramUniform4ui64vNV = (Delegates.ProgramUniform4ui64vNV)GetExtensionDelegateStatic("glProgramUniform4ui64vNV", typeof(Delegates.ProgramUniform4ui64vNV)); - Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glProgramUniform4uiEXT = (Delegates.ProgramUniform4uiEXT)GetExtensionDelegateStatic("glProgramUniform4uiEXT", typeof(Delegates.ProgramUniform4uiEXT)); - Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static unsafe void Load_ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform4uiv = (Delegates.ProgramUniform4uiv)GetExtensionDelegateStatic("glProgramUniform4uiv", typeof(Delegates.ProgramUniform4uiv)); - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform4uivEXT = (Delegates.ProgramUniform4uivEXT)GetExtensionDelegateStatic("glProgramUniform4uivEXT", typeof(Delegates.ProgramUniform4uivEXT)); - Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value) - { - Delegates.glProgramUniformHandleui64ARB = (Delegates.ProgramUniformHandleui64ARB)GetExtensionDelegateStatic("glProgramUniformHandleui64ARB", typeof(Delegates.ProgramUniformHandleui64ARB)); - Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); - } - internal static void Load_ProgramUniformHandleui64NV(UInt32 program, Int32 location, UInt64 value) - { - Delegates.glProgramUniformHandleui64NV = (Delegates.ProgramUniformHandleui64NV)GetExtensionDelegateStatic("glProgramUniformHandleui64NV", typeof(Delegates.ProgramUniformHandleui64NV)); - Delegates.glProgramUniformHandleui64NV((UInt32)program, (Int32)location, (UInt64)value); - } - internal static unsafe void Load_ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - Delegates.glProgramUniformHandleui64vARB = (Delegates.ProgramUniformHandleui64vARB)GetExtensionDelegateStatic("glProgramUniformHandleui64vARB", typeof(Delegates.ProgramUniformHandleui64vARB)); - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - } - internal static unsafe void Load_ProgramUniformHandleui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - Delegates.glProgramUniformHandleui64vNV = (Delegates.ProgramUniformHandleui64vNV)GetExtensionDelegateStatic("glProgramUniformHandleui64vNV", typeof(Delegates.ProgramUniformHandleui64vNV)); - Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - } - internal static unsafe void Load_ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2dv = (Delegates.ProgramUniformMatrix2dv)GetExtensionDelegateStatic("glProgramUniformMatrix2dv", typeof(Delegates.ProgramUniformMatrix2dv)); - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2dvEXT = (Delegates.ProgramUniformMatrix2dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2dvEXT", typeof(Delegates.ProgramUniformMatrix2dvEXT)); - Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2fv = (Delegates.ProgramUniformMatrix2fv)GetExtensionDelegateStatic("glProgramUniformMatrix2fv", typeof(Delegates.ProgramUniformMatrix2fv)); - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2fvEXT = (Delegates.ProgramUniformMatrix2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2fvEXT", typeof(Delegates.ProgramUniformMatrix2fvEXT)); - Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2x3dv = (Delegates.ProgramUniformMatrix2x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3dv", typeof(Delegates.ProgramUniformMatrix2x3dv)); - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2x3dvEXT = (Delegates.ProgramUniformMatrix2x3dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3dvEXT", typeof(Delegates.ProgramUniformMatrix2x3dvEXT)); - Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x3fv = (Delegates.ProgramUniformMatrix2x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fv", typeof(Delegates.ProgramUniformMatrix2x3fv)); - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x3fvEXT = (Delegates.ProgramUniformMatrix2x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fvEXT", typeof(Delegates.ProgramUniformMatrix2x3fvEXT)); - Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2x4dv = (Delegates.ProgramUniformMatrix2x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4dv", typeof(Delegates.ProgramUniformMatrix2x4dv)); - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2x4dvEXT = (Delegates.ProgramUniformMatrix2x4dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4dvEXT", typeof(Delegates.ProgramUniformMatrix2x4dvEXT)); - Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x4fv = (Delegates.ProgramUniformMatrix2x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fv", typeof(Delegates.ProgramUniformMatrix2x4fv)); - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x4fvEXT = (Delegates.ProgramUniformMatrix2x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fvEXT", typeof(Delegates.ProgramUniformMatrix2x4fvEXT)); - Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3dv = (Delegates.ProgramUniformMatrix3dv)GetExtensionDelegateStatic("glProgramUniformMatrix3dv", typeof(Delegates.ProgramUniformMatrix3dv)); - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3dvEXT = (Delegates.ProgramUniformMatrix3dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3dvEXT", typeof(Delegates.ProgramUniformMatrix3dvEXT)); - Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3fv = (Delegates.ProgramUniformMatrix3fv)GetExtensionDelegateStatic("glProgramUniformMatrix3fv", typeof(Delegates.ProgramUniformMatrix3fv)); - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3fvEXT = (Delegates.ProgramUniformMatrix3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3fvEXT", typeof(Delegates.ProgramUniformMatrix3fvEXT)); - Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3x2dv = (Delegates.ProgramUniformMatrix3x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2dv", typeof(Delegates.ProgramUniformMatrix3x2dv)); - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3x2dvEXT = (Delegates.ProgramUniformMatrix3x2dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2dvEXT", typeof(Delegates.ProgramUniformMatrix3x2dvEXT)); - Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x2fv = (Delegates.ProgramUniformMatrix3x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fv", typeof(Delegates.ProgramUniformMatrix3x2fv)); - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x2fvEXT = (Delegates.ProgramUniformMatrix3x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fvEXT", typeof(Delegates.ProgramUniformMatrix3x2fvEXT)); - Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3x4dv = (Delegates.ProgramUniformMatrix3x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4dv", typeof(Delegates.ProgramUniformMatrix3x4dv)); - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3x4dvEXT = (Delegates.ProgramUniformMatrix3x4dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4dvEXT", typeof(Delegates.ProgramUniformMatrix3x4dvEXT)); - Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x4fv = (Delegates.ProgramUniformMatrix3x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fv", typeof(Delegates.ProgramUniformMatrix3x4fv)); - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x4fvEXT = (Delegates.ProgramUniformMatrix3x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fvEXT", typeof(Delegates.ProgramUniformMatrix3x4fvEXT)); - Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4dv = (Delegates.ProgramUniformMatrix4dv)GetExtensionDelegateStatic("glProgramUniformMatrix4dv", typeof(Delegates.ProgramUniformMatrix4dv)); - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4dvEXT = (Delegates.ProgramUniformMatrix4dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4dvEXT", typeof(Delegates.ProgramUniformMatrix4dvEXT)); - Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4fv = (Delegates.ProgramUniformMatrix4fv)GetExtensionDelegateStatic("glProgramUniformMatrix4fv", typeof(Delegates.ProgramUniformMatrix4fv)); - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4fvEXT = (Delegates.ProgramUniformMatrix4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4fvEXT", typeof(Delegates.ProgramUniformMatrix4fvEXT)); - Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4x2dv = (Delegates.ProgramUniformMatrix4x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2dv", typeof(Delegates.ProgramUniformMatrix4x2dv)); - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4x2dvEXT = (Delegates.ProgramUniformMatrix4x2dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2dvEXT", typeof(Delegates.ProgramUniformMatrix4x2dvEXT)); - Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x2fv = (Delegates.ProgramUniformMatrix4x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fv", typeof(Delegates.ProgramUniformMatrix4x2fv)); - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x2fvEXT = (Delegates.ProgramUniformMatrix4x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fvEXT", typeof(Delegates.ProgramUniformMatrix4x2fvEXT)); - Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4x3dv = (Delegates.ProgramUniformMatrix4x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3dv", typeof(Delegates.ProgramUniformMatrix4x3dv)); - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4x3dvEXT = (Delegates.ProgramUniformMatrix4x3dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3dvEXT", typeof(Delegates.ProgramUniformMatrix4x3dvEXT)); - Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x3fv = (Delegates.ProgramUniformMatrix4x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fv", typeof(Delegates.ProgramUniformMatrix4x3fv)); - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x3fvEXT = (Delegates.ProgramUniformMatrix4x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fvEXT", typeof(Delegates.ProgramUniformMatrix4x3fvEXT)); - Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static void Load_ProgramUniformui64NV(UInt32 program, Int32 location, UInt64 value) - { - Delegates.glProgramUniformui64NV = (Delegates.ProgramUniformui64NV)GetExtensionDelegateStatic("glProgramUniformui64NV", typeof(Delegates.ProgramUniformui64NV)); - Delegates.glProgramUniformui64NV((UInt32)program, (Int32)location, (UInt64)value); - } - internal static unsafe void Load_ProgramUniformui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) - { - Delegates.glProgramUniformui64vNV = (Delegates.ProgramUniformui64vNV)GetExtensionDelegateStatic("glProgramUniformui64vNV", typeof(Delegates.ProgramUniformui64vNV)); - Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit) - { - Delegates.glProgramVertexLimitNV = (Delegates.ProgramVertexLimitNV)GetExtensionDelegateStatic("glProgramVertexLimitNV", typeof(Delegates.ProgramVertexLimitNV)); - Delegates.glProgramVertexLimitNV((OpenTK.Graphics.OpenGL.NvGeometryProgram4)target, (Int32)limit); - } - internal static void Load_ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode) - { - Delegates.glProvokingVertex = (Delegates.ProvokingVertex)GetExtensionDelegateStatic("glProvokingVertex", typeof(Delegates.ProvokingVertex)); - Delegates.glProvokingVertex((OpenTK.Graphics.OpenGL.ProvokingVertexMode)mode); - } - internal static void Load_ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode) - { - Delegates.glProvokingVertexEXT = (Delegates.ProvokingVertexEXT)GetExtensionDelegateStatic("glProvokingVertexEXT", typeof(Delegates.ProvokingVertexEXT)); - Delegates.glProvokingVertexEXT((OpenTK.Graphics.OpenGL.ExtProvokingVertex)mode); - } - internal static void Load_PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask) - { - Delegates.glPushAttrib = (Delegates.PushAttrib)GetExtensionDelegateStatic("glPushAttrib", typeof(Delegates.PushAttrib)); - Delegates.glPushAttrib((OpenTK.Graphics.OpenGL.AttribMask)mask); - } - internal static void Load_PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - Delegates.glPushClientAttrib = (Delegates.PushClientAttrib)GetExtensionDelegateStatic("glPushClientAttrib", typeof(Delegates.PushClientAttrib)); - Delegates.glPushClientAttrib((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); - } - internal static void Load_PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask) - { - Delegates.glPushClientAttribDefaultEXT = (Delegates.PushClientAttribDefaultEXT)GetExtensionDelegateStatic("glPushClientAttribDefaultEXT", typeof(Delegates.PushClientAttribDefaultEXT)); - Delegates.glPushClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); - } - internal static void Load_PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); - Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.OpenGL.KhrDebug source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_PushGroupMarkerEXT(Int32 length, String marker) - { - Delegates.glPushGroupMarkerEXT = (Delegates.PushGroupMarkerEXT)GetExtensionDelegateStatic("glPushGroupMarkerEXT", typeof(Delegates.PushGroupMarkerEXT)); - Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); - } - internal static void Load_PushMatrix() - { - Delegates.glPushMatrix = (Delegates.PushMatrix)GetExtensionDelegateStatic("glPushMatrix", typeof(Delegates.PushMatrix)); - Delegates.glPushMatrix(); - } - internal static void Load_PushName(UInt32 name) - { - Delegates.glPushName = (Delegates.PushName)GetExtensionDelegateStatic("glPushName", typeof(Delegates.PushName)); - Delegates.glPushName((UInt32)name); - } - internal static void Load_QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) - { - Delegates.glQueryCounter = (Delegates.QueryCounter)GetExtensionDelegateStatic("glQueryCounter", typeof(Delegates.QueryCounter)); - Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target); - } - internal static unsafe Int32 Load_QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) - { - Delegates.glQueryMatrixxOES = (Delegates.QueryMatrixxOES)GetExtensionDelegateStatic("glQueryMatrixxOES", typeof(Delegates.QueryMatrixxOES)); - return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent); - } - internal static void Load_RasterPos2d(Double x, Double y) - { - Delegates.glRasterPos2d = (Delegates.RasterPos2d)GetExtensionDelegateStatic("glRasterPos2d", typeof(Delegates.RasterPos2d)); - Delegates.glRasterPos2d((Double)x, (Double)y); - } - internal static unsafe void Load_RasterPos2dv(Double* v) - { - Delegates.glRasterPos2dv = (Delegates.RasterPos2dv)GetExtensionDelegateStatic("glRasterPos2dv", typeof(Delegates.RasterPos2dv)); - Delegates.glRasterPos2dv((Double*)v); - } - internal static void Load_RasterPos2f(Single x, Single y) - { - Delegates.glRasterPos2f = (Delegates.RasterPos2f)GetExtensionDelegateStatic("glRasterPos2f", typeof(Delegates.RasterPos2f)); - Delegates.glRasterPos2f((Single)x, (Single)y); - } - internal static unsafe void Load_RasterPos2fv(Single* v) - { - Delegates.glRasterPos2fv = (Delegates.RasterPos2fv)GetExtensionDelegateStatic("glRasterPos2fv", typeof(Delegates.RasterPos2fv)); - Delegates.glRasterPos2fv((Single*)v); - } - internal static void Load_RasterPos2i(Int32 x, Int32 y) - { - Delegates.glRasterPos2i = (Delegates.RasterPos2i)GetExtensionDelegateStatic("glRasterPos2i", typeof(Delegates.RasterPos2i)); - Delegates.glRasterPos2i((Int32)x, (Int32)y); - } - internal static unsafe void Load_RasterPos2iv(Int32* v) - { - Delegates.glRasterPos2iv = (Delegates.RasterPos2iv)GetExtensionDelegateStatic("glRasterPos2iv", typeof(Delegates.RasterPos2iv)); - Delegates.glRasterPos2iv((Int32*)v); - } - internal static void Load_RasterPos2s(Int16 x, Int16 y) - { - Delegates.glRasterPos2s = (Delegates.RasterPos2s)GetExtensionDelegateStatic("glRasterPos2s", typeof(Delegates.RasterPos2s)); - Delegates.glRasterPos2s((Int16)x, (Int16)y); - } - internal static unsafe void Load_RasterPos2sv(Int16* v) - { - Delegates.glRasterPos2sv = (Delegates.RasterPos2sv)GetExtensionDelegateStatic("glRasterPos2sv", typeof(Delegates.RasterPos2sv)); - Delegates.glRasterPos2sv((Int16*)v); - } - internal static void Load_RasterPos2xOES(int x, int y) - { - Delegates.glRasterPos2xOES = (Delegates.RasterPos2xOES)GetExtensionDelegateStatic("glRasterPos2xOES", typeof(Delegates.RasterPos2xOES)); - Delegates.glRasterPos2xOES((int)x, (int)y); - } - internal static unsafe void Load_RasterPos2xvOES(int* coords) - { - Delegates.glRasterPos2xvOES = (Delegates.RasterPos2xvOES)GetExtensionDelegateStatic("glRasterPos2xvOES", typeof(Delegates.RasterPos2xvOES)); - Delegates.glRasterPos2xvOES((int*)coords); - } - internal static void Load_RasterPos3d(Double x, Double y, Double z) - { - Delegates.glRasterPos3d = (Delegates.RasterPos3d)GetExtensionDelegateStatic("glRasterPos3d", typeof(Delegates.RasterPos3d)); - Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_RasterPos3dv(Double* v) - { - Delegates.glRasterPos3dv = (Delegates.RasterPos3dv)GetExtensionDelegateStatic("glRasterPos3dv", typeof(Delegates.RasterPos3dv)); - Delegates.glRasterPos3dv((Double*)v); - } - internal static void Load_RasterPos3f(Single x, Single y, Single z) - { - Delegates.glRasterPos3f = (Delegates.RasterPos3f)GetExtensionDelegateStatic("glRasterPos3f", typeof(Delegates.RasterPos3f)); - Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_RasterPos3fv(Single* v) - { - Delegates.glRasterPos3fv = (Delegates.RasterPos3fv)GetExtensionDelegateStatic("glRasterPos3fv", typeof(Delegates.RasterPos3fv)); - Delegates.glRasterPos3fv((Single*)v); - } - internal static void Load_RasterPos3i(Int32 x, Int32 y, Int32 z) - { - Delegates.glRasterPos3i = (Delegates.RasterPos3i)GetExtensionDelegateStatic("glRasterPos3i", typeof(Delegates.RasterPos3i)); - Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z); - } - internal static unsafe void Load_RasterPos3iv(Int32* v) - { - Delegates.glRasterPos3iv = (Delegates.RasterPos3iv)GetExtensionDelegateStatic("glRasterPos3iv", typeof(Delegates.RasterPos3iv)); - Delegates.glRasterPos3iv((Int32*)v); - } - internal static void Load_RasterPos3s(Int16 x, Int16 y, Int16 z) - { - Delegates.glRasterPos3s = (Delegates.RasterPos3s)GetExtensionDelegateStatic("glRasterPos3s", typeof(Delegates.RasterPos3s)); - Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z); - } - internal static unsafe void Load_RasterPos3sv(Int16* v) - { - Delegates.glRasterPos3sv = (Delegates.RasterPos3sv)GetExtensionDelegateStatic("glRasterPos3sv", typeof(Delegates.RasterPos3sv)); - Delegates.glRasterPos3sv((Int16*)v); - } - internal static void Load_RasterPos3xOES(int x, int y, int z) - { - Delegates.glRasterPos3xOES = (Delegates.RasterPos3xOES)GetExtensionDelegateStatic("glRasterPos3xOES", typeof(Delegates.RasterPos3xOES)); - Delegates.glRasterPos3xOES((int)x, (int)y, (int)z); - } - internal static unsafe void Load_RasterPos3xvOES(int* coords) - { - Delegates.glRasterPos3xvOES = (Delegates.RasterPos3xvOES)GetExtensionDelegateStatic("glRasterPos3xvOES", typeof(Delegates.RasterPos3xvOES)); - Delegates.glRasterPos3xvOES((int*)coords); - } - internal static void Load_RasterPos4d(Double x, Double y, Double z, Double w) - { - Delegates.glRasterPos4d = (Delegates.RasterPos4d)GetExtensionDelegateStatic("glRasterPos4d", typeof(Delegates.RasterPos4d)); - Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_RasterPos4dv(Double* v) - { - Delegates.glRasterPos4dv = (Delegates.RasterPos4dv)GetExtensionDelegateStatic("glRasterPos4dv", typeof(Delegates.RasterPos4dv)); - Delegates.glRasterPos4dv((Double*)v); - } - internal static void Load_RasterPos4f(Single x, Single y, Single z, Single w) - { - Delegates.glRasterPos4f = (Delegates.RasterPos4f)GetExtensionDelegateStatic("glRasterPos4f", typeof(Delegates.RasterPos4f)); - Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_RasterPos4fv(Single* v) - { - Delegates.glRasterPos4fv = (Delegates.RasterPos4fv)GetExtensionDelegateStatic("glRasterPos4fv", typeof(Delegates.RasterPos4fv)); - Delegates.glRasterPos4fv((Single*)v); - } - internal static void Load_RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glRasterPos4i = (Delegates.RasterPos4i)GetExtensionDelegateStatic("glRasterPos4i", typeof(Delegates.RasterPos4i)); - Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_RasterPos4iv(Int32* v) - { - Delegates.glRasterPos4iv = (Delegates.RasterPos4iv)GetExtensionDelegateStatic("glRasterPos4iv", typeof(Delegates.RasterPos4iv)); - Delegates.glRasterPos4iv((Int32*)v); - } - internal static void Load_RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glRasterPos4s = (Delegates.RasterPos4s)GetExtensionDelegateStatic("glRasterPos4s", typeof(Delegates.RasterPos4s)); - Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static unsafe void Load_RasterPos4sv(Int16* v) - { - Delegates.glRasterPos4sv = (Delegates.RasterPos4sv)GetExtensionDelegateStatic("glRasterPos4sv", typeof(Delegates.RasterPos4sv)); - Delegates.glRasterPos4sv((Int16*)v); - } - internal static void Load_RasterPos4xOES(int x, int y, int z, int w) - { - Delegates.glRasterPos4xOES = (Delegates.RasterPos4xOES)GetExtensionDelegateStatic("glRasterPos4xOES", typeof(Delegates.RasterPos4xOES)); - Delegates.glRasterPos4xOES((int)x, (int)y, (int)z, (int)w); - } - internal static unsafe void Load_RasterPos4xvOES(int* coords) - { - Delegates.glRasterPos4xvOES = (Delegates.RasterPos4xvOES)GetExtensionDelegateStatic("glRasterPos4xvOES", typeof(Delegates.RasterPos4xvOES)); - Delegates.glRasterPos4xvOES((int*)coords); - } - internal static void Load_ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode) - { - Delegates.glReadBuffer = (Delegates.ReadBuffer)GetExtensionDelegateStatic("glReadBuffer", typeof(Delegates.ReadBuffer)); - Delegates.glReadBuffer((OpenTK.Graphics.OpenGL.ReadBufferMode)mode); - } - internal static void Load_ReadInstrumentsSGIX(Int32 marker) - { - Delegates.glReadInstrumentsSGIX = (Delegates.ReadInstrumentsSGIX)GetExtensionDelegateStatic("glReadInstrumentsSGIX", typeof(Delegates.ReadInstrumentsSGIX)); - Delegates.glReadInstrumentsSGIX((Int32)marker); - } - internal static void Load_ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data) - { - Delegates.glReadnPixelsARB = (Delegates.ReadnPixelsARB)GetExtensionDelegateStatic("glReadnPixelsARB", typeof(Delegates.ReadnPixelsARB)); - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data); - } - internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_Rectd(Double x1, Double y1, Double x2, Double y2) - { - Delegates.glRectd = (Delegates.Rectd)GetExtensionDelegateStatic("glRectd", typeof(Delegates.Rectd)); - Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2); - } - internal static unsafe void Load_Rectdv(Double* v1, Double* v2) - { - Delegates.glRectdv = (Delegates.Rectdv)GetExtensionDelegateStatic("glRectdv", typeof(Delegates.Rectdv)); - Delegates.glRectdv((Double*)v1, (Double*)v2); - } - internal static void Load_Rectf(Single x1, Single y1, Single x2, Single y2) - { - Delegates.glRectf = (Delegates.Rectf)GetExtensionDelegateStatic("glRectf", typeof(Delegates.Rectf)); - Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2); - } - internal static unsafe void Load_Rectfv(Single* v1, Single* v2) - { - Delegates.glRectfv = (Delegates.Rectfv)GetExtensionDelegateStatic("glRectfv", typeof(Delegates.Rectfv)); - Delegates.glRectfv((Single*)v1, (Single*)v2); - } - internal static void Load_Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2) - { - Delegates.glRecti = (Delegates.Recti)GetExtensionDelegateStatic("glRecti", typeof(Delegates.Recti)); - Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2); - } - internal static unsafe void Load_Rectiv(Int32* v1, Int32* v2) - { - Delegates.glRectiv = (Delegates.Rectiv)GetExtensionDelegateStatic("glRectiv", typeof(Delegates.Rectiv)); - Delegates.glRectiv((Int32*)v1, (Int32*)v2); - } - internal static void Load_Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2) - { - Delegates.glRects = (Delegates.Rects)GetExtensionDelegateStatic("glRects", typeof(Delegates.Rects)); - Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2); - } - internal static unsafe void Load_Rectsv(Int16* v1, Int16* v2) - { - Delegates.glRectsv = (Delegates.Rectsv)GetExtensionDelegateStatic("glRectsv", typeof(Delegates.Rectsv)); - Delegates.glRectsv((Int16*)v1, (Int16*)v2); - } - internal static void Load_RectxOES(int x1, int y1, int x2, int y2) - { - Delegates.glRectxOES = (Delegates.RectxOES)GetExtensionDelegateStatic("glRectxOES", typeof(Delegates.RectxOES)); - Delegates.glRectxOES((int)x1, (int)y1, (int)x2, (int)y2); - } - internal static unsafe void Load_RectxvOES(int* v1, int* v2) - { - Delegates.glRectxvOES = (Delegates.RectxvOES)GetExtensionDelegateStatic("glRectxvOES", typeof(Delegates.RectxvOES)); - Delegates.glRectxvOES((int*)v1, (int*)v2); - } - internal static unsafe void Load_ReferencePlaneSGIX(Double* equation) - { - Delegates.glReferencePlaneSGIX = (Delegates.ReferencePlaneSGIX)GetExtensionDelegateStatic("glReferencePlaneSGIX", typeof(Delegates.ReferencePlaneSGIX)); - Delegates.glReferencePlaneSGIX((Double*)equation); - } - internal static void Load_ReleaseShaderCompiler() - { - Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); - Delegates.glReleaseShaderCompiler(); - } - internal static void Load_RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); - Delegates.glRenderbufferStorage((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageEXT = (Delegates.RenderbufferStorageEXT)GetExtensionDelegateStatic("glRenderbufferStorageEXT", typeof(Delegates.RenderbufferStorageEXT)); - Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisample = (Delegates.RenderbufferStorageMultisample)GetExtensionDelegateStatic("glRenderbufferStorageMultisample", typeof(Delegates.RenderbufferStorageMultisample)); - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleCoverageNV = (Delegates.RenderbufferStorageMultisampleCoverageNV)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleCoverageNV", typeof(Delegates.RenderbufferStorageMultisampleCoverageNV)); - Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); - Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - } - internal static Int32 Load_RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode) - { - Delegates.glRenderMode = (Delegates.RenderMode)GetExtensionDelegateStatic("glRenderMode", typeof(Delegates.RenderMode)); - return Delegates.glRenderMode((OpenTK.Graphics.OpenGL.RenderingMode)mode); - } - internal static void Load_ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer) - { - Delegates.glReplacementCodePointerSUN = (Delegates.ReplacementCodePointerSUN)GetExtensionDelegateStatic("glReplacementCodePointerSUN", typeof(Delegates.ReplacementCodePointerSUN)); - Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_ReplacementCodeubSUN(Byte code) - { - Delegates.glReplacementCodeubSUN = (Delegates.ReplacementCodeubSUN)GetExtensionDelegateStatic("glReplacementCodeubSUN", typeof(Delegates.ReplacementCodeubSUN)); - Delegates.glReplacementCodeubSUN((Byte)code); - } - internal static unsafe void Load_ReplacementCodeubvSUN(Byte* code) - { - Delegates.glReplacementCodeubvSUN = (Delegates.ReplacementCodeubvSUN)GetExtensionDelegateStatic("glReplacementCodeubvSUN", typeof(Delegates.ReplacementCodeubvSUN)); - Delegates.glReplacementCodeubvSUN((Byte*)code); - } - internal static void Load_ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiColor3fVertex3fSUN = (Delegates.ReplacementCodeuiColor3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiColor3fVertex3fSUN)); - Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v) - { - Delegates.glReplacementCodeuiColor3fVertex3fvSUN = (Delegates.ReplacementCodeuiColor3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiColor3fVertex3fvSUN)); - Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); - } - internal static void Load_ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiColor4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4fNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiColor4fNormal3fVertex3fSUN)); - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v) - { - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiColor4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4fNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiColor4fNormal3fVertex3fvSUN)); - Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); - } - internal static void Load_ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiColor4ubVertex3fSUN = (Delegates.ReplacementCodeuiColor4ubVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4ubVertex3fSUN", typeof(Delegates.ReplacementCodeuiColor4ubVertex3fSUN)); - Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v) - { - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN = (Delegates.ReplacementCodeuiColor4ubVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4ubVertex3fvSUN", typeof(Delegates.ReplacementCodeuiColor4ubVertex3fvSUN)); - Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); - } - internal static void Load_ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiNormal3fVertex3fSUN)); - Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v) - { - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiNormal3fVertex3fvSUN)); - Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); - } - internal static void Load_ReplacementCodeuiSUN(UInt32 code) - { - Delegates.glReplacementCodeuiSUN = (Delegates.ReplacementCodeuiSUN)GetExtensionDelegateStatic("glReplacementCodeuiSUN", typeof(Delegates.ReplacementCodeuiSUN)); - Delegates.glReplacementCodeuiSUN((UInt32)code); - } - internal static void Load_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)); - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)); - Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } - internal static void Load_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)); - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)); - Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); - } - internal static void Load_ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN = (Delegates.ReplacementCodeuiTexCoord2fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fVertex3fSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fVertex3fSUN)); - Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v) - { - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN = (Delegates.ReplacementCodeuiTexCoord2fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fVertex3fvSUN)); - Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); - } - internal static void Load_ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z) - { - Delegates.glReplacementCodeuiVertex3fSUN = (Delegates.ReplacementCodeuiVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiVertex3fSUN", typeof(Delegates.ReplacementCodeuiVertex3fSUN)); - Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v) - { - Delegates.glReplacementCodeuiVertex3fvSUN = (Delegates.ReplacementCodeuiVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiVertex3fvSUN", typeof(Delegates.ReplacementCodeuiVertex3fvSUN)); - Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); - } - internal static unsafe void Load_ReplacementCodeuivSUN(UInt32* code) - { - Delegates.glReplacementCodeuivSUN = (Delegates.ReplacementCodeuivSUN)GetExtensionDelegateStatic("glReplacementCodeuivSUN", typeof(Delegates.ReplacementCodeuivSUN)); - Delegates.glReplacementCodeuivSUN((UInt32*)code); - } - internal static void Load_ReplacementCodeusSUN(UInt16 code) - { - Delegates.glReplacementCodeusSUN = (Delegates.ReplacementCodeusSUN)GetExtensionDelegateStatic("glReplacementCodeusSUN", typeof(Delegates.ReplacementCodeusSUN)); - Delegates.glReplacementCodeusSUN((UInt16)code); - } - internal static unsafe void Load_ReplacementCodeusvSUN(UInt16* code) - { - Delegates.glReplacementCodeusvSUN = (Delegates.ReplacementCodeusvSUN)GetExtensionDelegateStatic("glReplacementCodeusvSUN", typeof(Delegates.ReplacementCodeusvSUN)); - Delegates.glReplacementCodeusvSUN((UInt16*)code); - } - internal static unsafe void Load_RequestResidentProgramsNV(Int32 n, UInt32* programs) - { - Delegates.glRequestResidentProgramsNV = (Delegates.RequestResidentProgramsNV)GetExtensionDelegateStatic("glRequestResidentProgramsNV", typeof(Delegates.RequestResidentProgramsNV)); - Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); - } - internal static void Load_ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target) - { - Delegates.glResetHistogram = (Delegates.ResetHistogram)GetExtensionDelegateStatic("glResetHistogram", typeof(Delegates.ResetHistogram)); - Delegates.glResetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target); - } - internal static void Load_ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target) - { - Delegates.glResetHistogramEXT = (Delegates.ResetHistogramEXT)GetExtensionDelegateStatic("glResetHistogramEXT", typeof(Delegates.ResetHistogramEXT)); - Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); - } - internal static void Load_ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target) - { - Delegates.glResetMinmax = (Delegates.ResetMinmax)GetExtensionDelegateStatic("glResetMinmax", typeof(Delegates.ResetMinmax)); - Delegates.glResetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target); - } - internal static void Load_ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target) - { - Delegates.glResetMinmaxEXT = (Delegates.ResetMinmaxEXT)GetExtensionDelegateStatic("glResetMinmaxEXT", typeof(Delegates.ResetMinmaxEXT)); - Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); - } - internal static void Load_ResizeBuffersMESA() - { - Delegates.glResizeBuffersMESA = (Delegates.ResizeBuffersMESA)GetExtensionDelegateStatic("glResizeBuffersMESA", typeof(Delegates.ResizeBuffersMESA)); - Delegates.glResizeBuffersMESA(); - } - internal static void Load_ResumeTransformFeedback() - { - Delegates.glResumeTransformFeedback = (Delegates.ResumeTransformFeedback)GetExtensionDelegateStatic("glResumeTransformFeedback", typeof(Delegates.ResumeTransformFeedback)); - Delegates.glResumeTransformFeedback(); - } - internal static void Load_ResumeTransformFeedbackNV() - { - Delegates.glResumeTransformFeedbackNV = (Delegates.ResumeTransformFeedbackNV)GetExtensionDelegateStatic("glResumeTransformFeedbackNV", typeof(Delegates.ResumeTransformFeedbackNV)); - Delegates.glResumeTransformFeedbackNV(); - } - internal static void Load_Rotated(Double angle, Double x, Double y, Double z) - { - Delegates.glRotated = (Delegates.Rotated)GetExtensionDelegateStatic("glRotated", typeof(Delegates.Rotated)); - Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z); - } - internal static void Load_Rotatef(Single angle, Single x, Single y, Single z) - { - Delegates.glRotatef = (Delegates.Rotatef)GetExtensionDelegateStatic("glRotatef", typeof(Delegates.Rotatef)); - Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); - } - internal static void Load_RotatexOES(int angle, int x, int y, int z) - { - Delegates.glRotatexOES = (Delegates.RotatexOES)GetExtensionDelegateStatic("glRotatexOES", typeof(Delegates.RotatexOES)); - Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z); - } - internal static void Load_SampleCoverage(Single value, bool invert) - { - Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); - Delegates.glSampleCoverage((Single)value, (bool)invert); - } - internal static void Load_SampleCoverageARB(Single value, bool invert) - { - Delegates.glSampleCoverageARB = (Delegates.SampleCoverageARB)GetExtensionDelegateStatic("glSampleCoverageARB", typeof(Delegates.SampleCoverageARB)); - Delegates.glSampleCoverageARB((Single)value, (bool)invert); - } - internal static void Load_SampleCoverageOES(int value, bool invert) - { - Delegates.glSampleCoverageOES = (Delegates.SampleCoverageOES)GetExtensionDelegateStatic("glSampleCoverageOES", typeof(Delegates.SampleCoverageOES)); - Delegates.glSampleCoverageOES((int)value, (bool)invert); - } - internal static void Load_SampleCoveragexOES(int value, bool invert) - { - Delegates.glSampleCoveragexOES = (Delegates.SampleCoveragexOES)GetExtensionDelegateStatic("glSampleCoveragexOES", typeof(Delegates.SampleCoveragexOES)); - Delegates.glSampleCoveragexOES((int)value, (bool)invert); - } - internal static void Load_SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) - { - Delegates.glSampleMapATI = (Delegates.SampleMapATI)GetExtensionDelegateStatic("glSampleMapATI", typeof(Delegates.SampleMapATI)); - Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); - } - internal static void Load_SampleMaskEXT(Single value, bool invert) - { - Delegates.glSampleMaskEXT = (Delegates.SampleMaskEXT)GetExtensionDelegateStatic("glSampleMaskEXT", typeof(Delegates.SampleMaskEXT)); - Delegates.glSampleMaskEXT((Single)value, (bool)invert); - } - internal static void Load_SampleMaski(UInt32 index, UInt32 mask) - { - Delegates.glSampleMaski = (Delegates.SampleMaski)GetExtensionDelegateStatic("glSampleMaski", typeof(Delegates.SampleMaski)); - Delegates.glSampleMaski((UInt32)index, (UInt32)mask); - } - internal static void Load_SampleMaskIndexedNV(UInt32 index, UInt32 mask) - { - Delegates.glSampleMaskIndexedNV = (Delegates.SampleMaskIndexedNV)GetExtensionDelegateStatic("glSampleMaskIndexedNV", typeof(Delegates.SampleMaskIndexedNV)); - Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); - } - internal static void Load_SampleMaskSGIS(Single value, bool invert) - { - Delegates.glSampleMaskSGIS = (Delegates.SampleMaskSGIS)GetExtensionDelegateStatic("glSampleMaskSGIS", typeof(Delegates.SampleMaskSGIS)); - Delegates.glSampleMaskSGIS((Single)value, (bool)invert); - } - internal static void Load_SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern) - { - Delegates.glSamplePatternEXT = (Delegates.SamplePatternEXT)GetExtensionDelegateStatic("glSamplePatternEXT", typeof(Delegates.SamplePatternEXT)); - Delegates.glSamplePatternEXT((OpenTK.Graphics.OpenGL.ExtMultisample)pattern); - } - internal static void Load_SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern) - { - Delegates.glSamplePatternSGIS = (Delegates.SamplePatternSGIS)GetExtensionDelegateStatic("glSamplePatternSGIS", typeof(Delegates.SamplePatternSGIS)); - Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SgisMultisample)pattern); - } - internal static void Load_SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param) - { - Delegates.glSamplerParameterf = (Delegates.SamplerParameterf)GetExtensionDelegateStatic("glSamplerParameterf", typeof(Delegates.SamplerParameterf)); - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single)param); - } - internal static unsafe void Load_SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param) - { - Delegates.glSamplerParameterfv = (Delegates.SamplerParameterfv)GetExtensionDelegateStatic("glSamplerParameterfv", typeof(Delegates.SamplerParameterfv)); - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)param); - } - internal static void Load_SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param) - { - Delegates.glSamplerParameteri = (Delegates.SamplerParameteri)GetExtensionDelegateStatic("glSamplerParameteri", typeof(Delegates.SamplerParameteri)); - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32)param); - } - internal static unsafe void Load_SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - Delegates.glSamplerParameterIiv = (Delegates.SamplerParameterIiv)GetExtensionDelegateStatic("glSamplerParameterIiv", typeof(Delegates.SamplerParameterIiv)); - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); - } - internal static unsafe void Load_SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32* param) - { - Delegates.glSamplerParameterIuiv = (Delegates.SamplerParameterIuiv)GetExtensionDelegateStatic("glSamplerParameterIuiv", typeof(Delegates.SamplerParameterIuiv)); - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (UInt32*)param); - } - internal static unsafe void Load_SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) - { - Delegates.glSamplerParameteriv = (Delegates.SamplerParameteriv)GetExtensionDelegateStatic("glSamplerParameteriv", typeof(Delegates.SamplerParameteriv)); - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); - } - internal static void Load_Scaled(Double x, Double y, Double z) - { - Delegates.glScaled = (Delegates.Scaled)GetExtensionDelegateStatic("glScaled", typeof(Delegates.Scaled)); - Delegates.glScaled((Double)x, (Double)y, (Double)z); - } - internal static void Load_Scalef(Single x, Single y, Single z) - { - Delegates.glScalef = (Delegates.Scalef)GetExtensionDelegateStatic("glScalef", typeof(Delegates.Scalef)); - Delegates.glScalef((Single)x, (Single)y, (Single)z); - } - internal static void Load_ScalexOES(int x, int y, int z) - { - Delegates.glScalexOES = (Delegates.ScalexOES)GetExtensionDelegateStatic("glScalexOES", typeof(Delegates.ScalexOES)); - Delegates.glScalexOES((int)x, (int)y, (int)z); - } - internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static unsafe void Load_ScissorArrayv(UInt32 first, Int32 count, Int32* v) - { - Delegates.glScissorArrayv = (Delegates.ScissorArrayv)GetExtensionDelegateStatic("glScissorArrayv", typeof(Delegates.ScissorArrayv)); - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); - } - internal static void Load_ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - Delegates.glScissorIndexed = (Delegates.ScissorIndexed)GetExtensionDelegateStatic("glScissorIndexed", typeof(Delegates.ScissorIndexed)); - Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); - } - internal static unsafe void Load_ScissorIndexedv(UInt32 index, Int32* v) - { - Delegates.glScissorIndexedv = (Delegates.ScissorIndexedv)GetExtensionDelegateStatic("glScissorIndexedv", typeof(Delegates.ScissorIndexedv)); - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); - } - internal static void Load_SecondaryColor3b(SByte red, SByte green, SByte blue) - { - Delegates.glSecondaryColor3b = (Delegates.SecondaryColor3b)GetExtensionDelegateStatic("glSecondaryColor3b", typeof(Delegates.SecondaryColor3b)); - Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); - } - internal static void Load_SecondaryColor3bEXT(SByte red, SByte green, SByte blue) - { - Delegates.glSecondaryColor3bEXT = (Delegates.SecondaryColor3bEXT)GetExtensionDelegateStatic("glSecondaryColor3bEXT", typeof(Delegates.SecondaryColor3bEXT)); - Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); - } - internal static unsafe void Load_SecondaryColor3bv(SByte* v) - { - Delegates.glSecondaryColor3bv = (Delegates.SecondaryColor3bv)GetExtensionDelegateStatic("glSecondaryColor3bv", typeof(Delegates.SecondaryColor3bv)); - Delegates.glSecondaryColor3bv((SByte*)v); - } - internal static unsafe void Load_SecondaryColor3bvEXT(SByte* v) - { - Delegates.glSecondaryColor3bvEXT = (Delegates.SecondaryColor3bvEXT)GetExtensionDelegateStatic("glSecondaryColor3bvEXT", typeof(Delegates.SecondaryColor3bvEXT)); - Delegates.glSecondaryColor3bvEXT((SByte*)v); - } - internal static void Load_SecondaryColor3d(Double red, Double green, Double blue) - { - Delegates.glSecondaryColor3d = (Delegates.SecondaryColor3d)GetExtensionDelegateStatic("glSecondaryColor3d", typeof(Delegates.SecondaryColor3d)); - Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); - } - internal static void Load_SecondaryColor3dEXT(Double red, Double green, Double blue) - { - Delegates.glSecondaryColor3dEXT = (Delegates.SecondaryColor3dEXT)GetExtensionDelegateStatic("glSecondaryColor3dEXT", typeof(Delegates.SecondaryColor3dEXT)); - Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue); - } - internal static unsafe void Load_SecondaryColor3dv(Double* v) - { - Delegates.glSecondaryColor3dv = (Delegates.SecondaryColor3dv)GetExtensionDelegateStatic("glSecondaryColor3dv", typeof(Delegates.SecondaryColor3dv)); - Delegates.glSecondaryColor3dv((Double*)v); - } - internal static unsafe void Load_SecondaryColor3dvEXT(Double* v) - { - Delegates.glSecondaryColor3dvEXT = (Delegates.SecondaryColor3dvEXT)GetExtensionDelegateStatic("glSecondaryColor3dvEXT", typeof(Delegates.SecondaryColor3dvEXT)); - Delegates.glSecondaryColor3dvEXT((Double*)v); - } - internal static void Load_SecondaryColor3f(Single red, Single green, Single blue) - { - Delegates.glSecondaryColor3f = (Delegates.SecondaryColor3f)GetExtensionDelegateStatic("glSecondaryColor3f", typeof(Delegates.SecondaryColor3f)); - Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); - } - internal static void Load_SecondaryColor3fEXT(Single red, Single green, Single blue) - { - Delegates.glSecondaryColor3fEXT = (Delegates.SecondaryColor3fEXT)GetExtensionDelegateStatic("glSecondaryColor3fEXT", typeof(Delegates.SecondaryColor3fEXT)); - Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue); - } - internal static unsafe void Load_SecondaryColor3fv(Single* v) - { - Delegates.glSecondaryColor3fv = (Delegates.SecondaryColor3fv)GetExtensionDelegateStatic("glSecondaryColor3fv", typeof(Delegates.SecondaryColor3fv)); - Delegates.glSecondaryColor3fv((Single*)v); - } - internal static unsafe void Load_SecondaryColor3fvEXT(Single* v) - { - Delegates.glSecondaryColor3fvEXT = (Delegates.SecondaryColor3fvEXT)GetExtensionDelegateStatic("glSecondaryColor3fvEXT", typeof(Delegates.SecondaryColor3fvEXT)); - Delegates.glSecondaryColor3fvEXT((Single*)v); - } - internal static void Load_SecondaryColor3hNV(Half red, Half green, Half blue) - { - Delegates.glSecondaryColor3hNV = (Delegates.SecondaryColor3hNV)GetExtensionDelegateStatic("glSecondaryColor3hNV", typeof(Delegates.SecondaryColor3hNV)); - Delegates.glSecondaryColor3hNV((Half)red, (Half)green, (Half)blue); - } - internal static unsafe void Load_SecondaryColor3hvNV(Half* v) - { - Delegates.glSecondaryColor3hvNV = (Delegates.SecondaryColor3hvNV)GetExtensionDelegateStatic("glSecondaryColor3hvNV", typeof(Delegates.SecondaryColor3hvNV)); - Delegates.glSecondaryColor3hvNV((Half*)v); - } - internal static void Load_SecondaryColor3i(Int32 red, Int32 green, Int32 blue) - { - Delegates.glSecondaryColor3i = (Delegates.SecondaryColor3i)GetExtensionDelegateStatic("glSecondaryColor3i", typeof(Delegates.SecondaryColor3i)); - Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); - } - internal static void Load_SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue) - { - Delegates.glSecondaryColor3iEXT = (Delegates.SecondaryColor3iEXT)GetExtensionDelegateStatic("glSecondaryColor3iEXT", typeof(Delegates.SecondaryColor3iEXT)); - Delegates.glSecondaryColor3iEXT((Int32)red, (Int32)green, (Int32)blue); - } - internal static unsafe void Load_SecondaryColor3iv(Int32* v) - { - Delegates.glSecondaryColor3iv = (Delegates.SecondaryColor3iv)GetExtensionDelegateStatic("glSecondaryColor3iv", typeof(Delegates.SecondaryColor3iv)); - Delegates.glSecondaryColor3iv((Int32*)v); - } - internal static unsafe void Load_SecondaryColor3ivEXT(Int32* v) - { - Delegates.glSecondaryColor3ivEXT = (Delegates.SecondaryColor3ivEXT)GetExtensionDelegateStatic("glSecondaryColor3ivEXT", typeof(Delegates.SecondaryColor3ivEXT)); - Delegates.glSecondaryColor3ivEXT((Int32*)v); - } - internal static void Load_SecondaryColor3s(Int16 red, Int16 green, Int16 blue) - { - Delegates.glSecondaryColor3s = (Delegates.SecondaryColor3s)GetExtensionDelegateStatic("glSecondaryColor3s", typeof(Delegates.SecondaryColor3s)); - Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); - } - internal static void Load_SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue) - { - Delegates.glSecondaryColor3sEXT = (Delegates.SecondaryColor3sEXT)GetExtensionDelegateStatic("glSecondaryColor3sEXT", typeof(Delegates.SecondaryColor3sEXT)); - Delegates.glSecondaryColor3sEXT((Int16)red, (Int16)green, (Int16)blue); - } - internal static unsafe void Load_SecondaryColor3sv(Int16* v) - { - Delegates.glSecondaryColor3sv = (Delegates.SecondaryColor3sv)GetExtensionDelegateStatic("glSecondaryColor3sv", typeof(Delegates.SecondaryColor3sv)); - Delegates.glSecondaryColor3sv((Int16*)v); - } - internal static unsafe void Load_SecondaryColor3svEXT(Int16* v) - { - Delegates.glSecondaryColor3svEXT = (Delegates.SecondaryColor3svEXT)GetExtensionDelegateStatic("glSecondaryColor3svEXT", typeof(Delegates.SecondaryColor3svEXT)); - Delegates.glSecondaryColor3svEXT((Int16*)v); - } - internal static void Load_SecondaryColor3ub(Byte red, Byte green, Byte blue) - { - Delegates.glSecondaryColor3ub = (Delegates.SecondaryColor3ub)GetExtensionDelegateStatic("glSecondaryColor3ub", typeof(Delegates.SecondaryColor3ub)); - Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); - } - internal static void Load_SecondaryColor3ubEXT(Byte red, Byte green, Byte blue) - { - Delegates.glSecondaryColor3ubEXT = (Delegates.SecondaryColor3ubEXT)GetExtensionDelegateStatic("glSecondaryColor3ubEXT", typeof(Delegates.SecondaryColor3ubEXT)); - Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); - } - internal static unsafe void Load_SecondaryColor3ubv(Byte* v) - { - Delegates.glSecondaryColor3ubv = (Delegates.SecondaryColor3ubv)GetExtensionDelegateStatic("glSecondaryColor3ubv", typeof(Delegates.SecondaryColor3ubv)); - Delegates.glSecondaryColor3ubv((Byte*)v); - } - internal static unsafe void Load_SecondaryColor3ubvEXT(Byte* v) - { - Delegates.glSecondaryColor3ubvEXT = (Delegates.SecondaryColor3ubvEXT)GetExtensionDelegateStatic("glSecondaryColor3ubvEXT", typeof(Delegates.SecondaryColor3ubvEXT)); - Delegates.glSecondaryColor3ubvEXT((Byte*)v); - } - internal static void Load_SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue) - { - Delegates.glSecondaryColor3ui = (Delegates.SecondaryColor3ui)GetExtensionDelegateStatic("glSecondaryColor3ui", typeof(Delegates.SecondaryColor3ui)); - Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); - } - internal static void Load_SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue) - { - Delegates.glSecondaryColor3uiEXT = (Delegates.SecondaryColor3uiEXT)GetExtensionDelegateStatic("glSecondaryColor3uiEXT", typeof(Delegates.SecondaryColor3uiEXT)); - Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); - } - internal static unsafe void Load_SecondaryColor3uiv(UInt32* v) - { - Delegates.glSecondaryColor3uiv = (Delegates.SecondaryColor3uiv)GetExtensionDelegateStatic("glSecondaryColor3uiv", typeof(Delegates.SecondaryColor3uiv)); - Delegates.glSecondaryColor3uiv((UInt32*)v); - } - internal static unsafe void Load_SecondaryColor3uivEXT(UInt32* v) - { - Delegates.glSecondaryColor3uivEXT = (Delegates.SecondaryColor3uivEXT)GetExtensionDelegateStatic("glSecondaryColor3uivEXT", typeof(Delegates.SecondaryColor3uivEXT)); - Delegates.glSecondaryColor3uivEXT((UInt32*)v); - } - internal static void Load_SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue) - { - Delegates.glSecondaryColor3us = (Delegates.SecondaryColor3us)GetExtensionDelegateStatic("glSecondaryColor3us", typeof(Delegates.SecondaryColor3us)); - Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); - } - internal static void Load_SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue) - { - Delegates.glSecondaryColor3usEXT = (Delegates.SecondaryColor3usEXT)GetExtensionDelegateStatic("glSecondaryColor3usEXT", typeof(Delegates.SecondaryColor3usEXT)); - Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); - } - internal static unsafe void Load_SecondaryColor3usv(UInt16* v) - { - Delegates.glSecondaryColor3usv = (Delegates.SecondaryColor3usv)GetExtensionDelegateStatic("glSecondaryColor3usv", typeof(Delegates.SecondaryColor3usv)); - Delegates.glSecondaryColor3usv((UInt16*)v); - } - internal static unsafe void Load_SecondaryColor3usvEXT(UInt16* v) - { - Delegates.glSecondaryColor3usvEXT = (Delegates.SecondaryColor3usvEXT)GetExtensionDelegateStatic("glSecondaryColor3usvEXT", typeof(Delegates.SecondaryColor3usvEXT)); - Delegates.glSecondaryColor3usvEXT((UInt16*)v); - } - internal static void Load_SecondaryColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glSecondaryColorFormatNV = (Delegates.SecondaryColorFormatNV)GetExtensionDelegateStatic("glSecondaryColorFormatNV", typeof(Delegates.SecondaryColorFormatNV)); - Delegates.glSecondaryColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static void Load_SecondaryColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) - { - Delegates.glSecondaryColorP3ui = (Delegates.SecondaryColorP3ui)GetExtensionDelegateStatic("glSecondaryColorP3ui", typeof(Delegates.SecondaryColorP3ui)); - Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); - } - internal static unsafe void Load_SecondaryColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) - { - Delegates.glSecondaryColorP3uiv = (Delegates.SecondaryColorP3uiv)GetExtensionDelegateStatic("glSecondaryColorP3uiv", typeof(Delegates.SecondaryColorP3uiv)); - Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); - } - internal static void Load_SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glSecondaryColorPointer = (Delegates.SecondaryColorPointer)GetExtensionDelegateStatic("glSecondaryColorPointer", typeof(Delegates.SecondaryColorPointer)); - Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glSecondaryColorPointerEXT = (Delegates.SecondaryColorPointerEXT)GetExtensionDelegateStatic("glSecondaryColorPointerEXT", typeof(Delegates.SecondaryColorPointerEXT)); - Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - Delegates.glSecondaryColorPointerListIBM = (Delegates.SecondaryColorPointerListIBM)GetExtensionDelegateStatic("glSecondaryColorPointerListIBM", typeof(Delegates.SecondaryColorPointerListIBM)); - Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - } - internal static unsafe void Load_SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer) - { - Delegates.glSelectBuffer = (Delegates.SelectBuffer)GetExtensionDelegateStatic("glSelectBuffer", typeof(Delegates.SelectBuffer)); - Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); - } - internal static unsafe void Load_SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) - { - Delegates.glSelectPerfMonitorCountersAMD = (Delegates.SelectPerfMonitorCountersAMD)GetExtensionDelegateStatic("glSelectPerfMonitorCountersAMD", typeof(Delegates.SelectPerfMonitorCountersAMD)); - Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); - } - internal static void Load_SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) - { - Delegates.glSeparableFilter2D = (Delegates.SeparableFilter2D)GetExtensionDelegateStatic("glSeparableFilter2D", typeof(Delegates.SeparableFilter2D)); - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); - } - internal static void Load_SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) - { - Delegates.glSeparableFilter2DEXT = (Delegates.SeparableFilter2DEXT)GetExtensionDelegateStatic("glSeparableFilter2DEXT", typeof(Delegates.SeparableFilter2DEXT)); - Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); - } - internal static void Load_SetFenceAPPLE(UInt32 fence) - { - Delegates.glSetFenceAPPLE = (Delegates.SetFenceAPPLE)GetExtensionDelegateStatic("glSetFenceAPPLE", typeof(Delegates.SetFenceAPPLE)); - Delegates.glSetFenceAPPLE((UInt32)fence); - } - internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition) - { - Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); - Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition); - } - internal static unsafe void Load_SetFragmentShaderConstantATI(UInt32 dst, Single* value) - { - Delegates.glSetFragmentShaderConstantATI = (Delegates.SetFragmentShaderConstantATI)GetExtensionDelegateStatic("glSetFragmentShaderConstantATI", typeof(Delegates.SetFragmentShaderConstantATI)); - Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); - } - internal static void Load_SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - Delegates.glSetInvariantEXT = (Delegates.SetInvariantEXT)GetExtensionDelegateStatic("glSetInvariantEXT", typeof(Delegates.SetInvariantEXT)); - Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); - } - internal static void Load_SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) - { - Delegates.glSetLocalConstantEXT = (Delegates.SetLocalConstantEXT)GetExtensionDelegateStatic("glSetLocalConstantEXT", typeof(Delegates.SetLocalConstantEXT)); - Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); - } - internal static unsafe void Load_SetMultisamplefvAMD(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val) - { - Delegates.glSetMultisamplefvAMD = (Delegates.SetMultisamplefvAMD)GetExtensionDelegateStatic("glSetMultisamplefvAMD", typeof(Delegates.SetMultisamplefvAMD)); - Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val); - } - internal static void Load_ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode) - { - Delegates.glShadeModel = (Delegates.ShadeModel)GetExtensionDelegateStatic("glShadeModel", typeof(Delegates.ShadeModel)); - Delegates.glShadeModel((OpenTK.Graphics.OpenGL.ShadingModel)mode); - } - internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - internal static void Load_ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1) - { - Delegates.glShaderOp1EXT = (Delegates.ShaderOp1EXT)GetExtensionDelegateStatic("glShaderOp1EXT", typeof(Delegates.ShaderOp1EXT)); - Delegates.glShaderOp1EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); - } - internal static void Load_ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) - { - Delegates.glShaderOp2EXT = (Delegates.ShaderOp2EXT)GetExtensionDelegateStatic("glShaderOp2EXT", typeof(Delegates.ShaderOp2EXT)); - Delegates.glShaderOp2EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); - } - internal static void Load_ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) - { - Delegates.glShaderOp3EXT = (Delegates.ShaderOp3EXT)GetExtensionDelegateStatic("glShaderOp3EXT", typeof(Delegates.ShaderOp3EXT)); - Delegates.glShaderOp3EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); - } - internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - } - internal static unsafe void Load_ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) - { - Delegates.glShaderSourceARB = (Delegates.ShaderSourceARB)GetExtensionDelegateStatic("glShaderSourceARB", typeof(Delegates.ShaderSourceARB)); - Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); - } - internal static void Load_ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) - { - Delegates.glShaderStorageBlockBinding = (Delegates.ShaderStorageBlockBinding)GetExtensionDelegateStatic("glShaderStorageBlockBinding", typeof(Delegates.ShaderStorageBlockBinding)); - Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); - } - internal static unsafe void Load_SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) - { - Delegates.glSharpenTexFuncSGIS = (Delegates.SharpenTexFuncSGIS)GetExtensionDelegateStatic("glSharpenTexFuncSGIS", typeof(Delegates.SharpenTexFuncSGIS)); - Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); - } - internal static void Load_SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param) - { - Delegates.glSpriteParameterfSGIX = (Delegates.SpriteParameterfSGIX)GetExtensionDelegateStatic("glSpriteParameterfSGIX", typeof(Delegates.SpriteParameterfSGIX)); - Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single)param); - } - internal static unsafe void Load_SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params) - { - Delegates.glSpriteParameterfvSGIX = (Delegates.SpriteParameterfvSGIX)GetExtensionDelegateStatic("glSpriteParameterfvSGIX", typeof(Delegates.SpriteParameterfvSGIX)); - Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single*)@params); - } - internal static void Load_SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param) - { - Delegates.glSpriteParameteriSGIX = (Delegates.SpriteParameteriSGIX)GetExtensionDelegateStatic("glSpriteParameteriSGIX", typeof(Delegates.SpriteParameteriSGIX)); - Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32)param); - } - internal static unsafe void Load_SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params) - { - Delegates.glSpriteParameterivSGIX = (Delegates.SpriteParameterivSGIX)GetExtensionDelegateStatic("glSpriteParameterivSGIX", typeof(Delegates.SpriteParameterivSGIX)); - Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32*)@params); - } - internal static void Load_StartInstrumentsSGIX() - { - Delegates.glStartInstrumentsSGIX = (Delegates.StartInstrumentsSGIX)GetExtensionDelegateStatic("glStartInstrumentsSGIX", typeof(Delegates.StartInstrumentsSGIX)); - Delegates.glStartInstrumentsSGIX(); - } - internal static void Load_StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag) - { - Delegates.glStencilClearTagEXT = (Delegates.StencilClearTagEXT)GetExtensionDelegateStatic("glStencilClearTagEXT", typeof(Delegates.StencilClearTagEXT)); - Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); - } - internal static unsafe void Load_StencilFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - Delegates.glStencilFillPathInstancedNV = (Delegates.StencilFillPathInstancedNV)GetExtensionDelegateStatic("glStencilFillPathInstancedNV", typeof(Delegates.StencilFillPathInstancedNV)); - Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - internal static void Load_StencilFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask) - { - Delegates.glStencilFillPathNV = (Delegates.StencilFillPathNV)GetExtensionDelegateStatic("glStencilFillPathNV", typeof(Delegates.StencilFillPathNV)); - Delegates.glStencilFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask); - } - internal static void Load_StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); - Delegates.glStencilFunc((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); - Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFuncSeparateATI = (Delegates.StencilFuncSeparateATI)GetExtensionDelegateStatic("glStencilFuncSeparateATI", typeof(Delegates.StencilFuncSeparateATI)); - Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilMask(UInt32 mask) - { - Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); - Delegates.glStencilMask((UInt32)mask); - } - internal static void Load_StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask) - { - Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); - Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask); - } - internal static void Load_StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass) - { - Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); - Delegates.glStencilOp((OpenTK.Graphics.OpenGL.StencilOp)fail, (OpenTK.Graphics.OpenGL.StencilOp)zfail, (OpenTK.Graphics.OpenGL.StencilOp)zpass); - } - internal static void Load_StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) - { - Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); - Delegates.glStencilOpSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); - } - internal static void Load_StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) - { - Delegates.glStencilOpSeparateATI = (Delegates.StencilOpSeparateATI)GetExtensionDelegateStatic("glStencilOpSeparateATI", typeof(Delegates.StencilOpSeparateATI)); - Delegates.glStencilOpSeparateATI((OpenTK.Graphics.OpenGL.AtiSeparateStencil)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); - } - internal static void Load_StencilOpValueAMD(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, UInt32 value) - { - Delegates.glStencilOpValueAMD = (Delegates.StencilOpValueAMD)GetExtensionDelegateStatic("glStencilOpValueAMD", typeof(Delegates.StencilOpValueAMD)); - Delegates.glStencilOpValueAMD((OpenTK.Graphics.OpenGL.AmdStencilOperationExtended)face, (UInt32)value); - } - internal static unsafe void Load_StencilStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - Delegates.glStencilStrokePathInstancedNV = (Delegates.StencilStrokePathInstancedNV)GetExtensionDelegateStatic("glStencilStrokePathInstancedNV", typeof(Delegates.StencilStrokePathInstancedNV)); - Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - internal static void Load_StencilStrokePathNV(UInt32 path, Int32 reference, UInt32 mask) - { - Delegates.glStencilStrokePathNV = (Delegates.StencilStrokePathNV)GetExtensionDelegateStatic("glStencilStrokePathNV", typeof(Delegates.StencilStrokePathNV)); - Delegates.glStencilStrokePathNV((UInt32)path, (Int32)reference, (UInt32)mask); - } - internal static void Load_StopInstrumentsSGIX(Int32 marker) - { - Delegates.glStopInstrumentsSGIX = (Delegates.StopInstrumentsSGIX)GetExtensionDelegateStatic("glStopInstrumentsSGIX", typeof(Delegates.StopInstrumentsSGIX)); - Delegates.glStopInstrumentsSGIX((Int32)marker); - } - internal static void Load_StringMarkerGREMEDY(Int32 len, IntPtr @string) - { - Delegates.glStringMarkerGREMEDY = (Delegates.StringMarkerGREMEDY)GetExtensionDelegateStatic("glStringMarkerGREMEDY", typeof(Delegates.StringMarkerGREMEDY)); - Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string); - } - internal static void Load_SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) - { - Delegates.glSwizzleEXT = (Delegates.SwizzleEXT)GetExtensionDelegateStatic("glSwizzleEXT", typeof(Delegates.SwizzleEXT)); - Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); - } - internal static void Load_SyncTextureINTEL(UInt32 texture) - { - Delegates.glSyncTextureINTEL = (Delegates.SyncTextureINTEL)GetExtensionDelegateStatic("glSyncTextureINTEL", typeof(Delegates.SyncTextureINTEL)); - Delegates.glSyncTextureINTEL((UInt32)texture); - } - internal static void Load_TagSampleBufferSGIX() - { - Delegates.glTagSampleBufferSGIX = (Delegates.TagSampleBufferSGIX)GetExtensionDelegateStatic("glTagSampleBufferSGIX", typeof(Delegates.TagSampleBufferSGIX)); - Delegates.glTagSampleBufferSGIX(); - } - internal static void Load_Tangent3bEXT(SByte tx, SByte ty, SByte tz) - { - Delegates.glTangent3bEXT = (Delegates.Tangent3bEXT)GetExtensionDelegateStatic("glTangent3bEXT", typeof(Delegates.Tangent3bEXT)); - Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); - } - internal static unsafe void Load_Tangent3bvEXT(SByte* v) - { - Delegates.glTangent3bvEXT = (Delegates.Tangent3bvEXT)GetExtensionDelegateStatic("glTangent3bvEXT", typeof(Delegates.Tangent3bvEXT)); - Delegates.glTangent3bvEXT((SByte*)v); - } - internal static void Load_Tangent3dEXT(Double tx, Double ty, Double tz) - { - Delegates.glTangent3dEXT = (Delegates.Tangent3dEXT)GetExtensionDelegateStatic("glTangent3dEXT", typeof(Delegates.Tangent3dEXT)); - Delegates.glTangent3dEXT((Double)tx, (Double)ty, (Double)tz); - } - internal static unsafe void Load_Tangent3dvEXT(Double* v) - { - Delegates.glTangent3dvEXT = (Delegates.Tangent3dvEXT)GetExtensionDelegateStatic("glTangent3dvEXT", typeof(Delegates.Tangent3dvEXT)); - Delegates.glTangent3dvEXT((Double*)v); - } - internal static void Load_Tangent3fEXT(Single tx, Single ty, Single tz) - { - Delegates.glTangent3fEXT = (Delegates.Tangent3fEXT)GetExtensionDelegateStatic("glTangent3fEXT", typeof(Delegates.Tangent3fEXT)); - Delegates.glTangent3fEXT((Single)tx, (Single)ty, (Single)tz); - } - internal static unsafe void Load_Tangent3fvEXT(Single* v) - { - Delegates.glTangent3fvEXT = (Delegates.Tangent3fvEXT)GetExtensionDelegateStatic("glTangent3fvEXT", typeof(Delegates.Tangent3fvEXT)); - Delegates.glTangent3fvEXT((Single*)v); - } - internal static void Load_Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz) - { - Delegates.glTangent3iEXT = (Delegates.Tangent3iEXT)GetExtensionDelegateStatic("glTangent3iEXT", typeof(Delegates.Tangent3iEXT)); - Delegates.glTangent3iEXT((Int32)tx, (Int32)ty, (Int32)tz); - } - internal static unsafe void Load_Tangent3ivEXT(Int32* v) - { - Delegates.glTangent3ivEXT = (Delegates.Tangent3ivEXT)GetExtensionDelegateStatic("glTangent3ivEXT", typeof(Delegates.Tangent3ivEXT)); - Delegates.glTangent3ivEXT((Int32*)v); - } - internal static void Load_Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz) - { - Delegates.glTangent3sEXT = (Delegates.Tangent3sEXT)GetExtensionDelegateStatic("glTangent3sEXT", typeof(Delegates.Tangent3sEXT)); - Delegates.glTangent3sEXT((Int16)tx, (Int16)ty, (Int16)tz); - } - internal static unsafe void Load_Tangent3svEXT(Int16* v) - { - Delegates.glTangent3svEXT = (Delegates.Tangent3svEXT)GetExtensionDelegateStatic("glTangent3svEXT", typeof(Delegates.Tangent3svEXT)); - Delegates.glTangent3svEXT((Int16*)v); - } - internal static void Load_TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glTangentPointerEXT = (Delegates.TangentPointerEXT)GetExtensionDelegateStatic("glTangentPointerEXT", typeof(Delegates.TangentPointerEXT)); - Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_TbufferMask3DFX(UInt32 mask) - { - Delegates.glTbufferMask3DFX = (Delegates.TbufferMask3DFX)GetExtensionDelegateStatic("glTbufferMask3DFX", typeof(Delegates.TbufferMask3DFX)); - Delegates.glTbufferMask3DFX((UInt32)mask); - } - internal static void Load_TessellationFactorAMD(Single factor) - { - Delegates.glTessellationFactorAMD = (Delegates.TessellationFactorAMD)GetExtensionDelegateStatic("glTessellationFactorAMD", typeof(Delegates.TessellationFactorAMD)); - Delegates.glTessellationFactorAMD((Single)factor); - } - internal static void Load_TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator mode) - { - Delegates.glTessellationModeAMD = (Delegates.TessellationModeAMD)GetExtensionDelegateStatic("glTessellationModeAMD", typeof(Delegates.TessellationModeAMD)); - Delegates.glTessellationModeAMD((OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator)mode); - } - internal static bool Load_TestFenceAPPLE(UInt32 fence) - { - Delegates.glTestFenceAPPLE = (Delegates.TestFenceAPPLE)GetExtensionDelegateStatic("glTestFenceAPPLE", typeof(Delegates.TestFenceAPPLE)); - return Delegates.glTestFenceAPPLE((UInt32)fence); - } - internal static bool Load_TestFenceNV(UInt32 fence) - { - Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); - return Delegates.glTestFenceNV((UInt32)fence); - } - internal static bool Load_TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name) - { - Delegates.glTestObjectAPPLE = (Delegates.TestObjectAPPLE)GetExtensionDelegateStatic("glTestObjectAPPLE", typeof(Delegates.TestObjectAPPLE)); - return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name); - } - internal static void Load_TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer) - { - Delegates.glTexBuffer = (Delegates.TexBuffer)GetExtensionDelegateStatic("glTexBuffer", typeof(Delegates.TexBuffer)); - Delegates.glTexBuffer((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer); - } - internal static void Load_TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer) - { - Delegates.glTexBufferARB = (Delegates.TexBufferARB)GetExtensionDelegateStatic("glTexBufferARB", typeof(Delegates.TexBufferARB)); - Delegates.glTexBufferARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer); - } - internal static void Load_TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer) - { - Delegates.glTexBufferEXT = (Delegates.TexBufferEXT)GetExtensionDelegateStatic("glTexBufferEXT", typeof(Delegates.TexBufferEXT)); - Delegates.glTexBufferEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer); - } - internal static void Load_TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glTexBufferRange = (Delegates.TexBufferRange)GetExtensionDelegateStatic("glTexBufferRange", typeof(Delegates.TexBufferRange)); - Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static unsafe void Load_TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param) - { - Delegates.glTexBumpParameterfvATI = (Delegates.TexBumpParameterfvATI)GetExtensionDelegateStatic("glTexBumpParameterfvATI", typeof(Delegates.TexBumpParameterfvATI)); - Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); - } - internal static unsafe void Load_TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param) - { - Delegates.glTexBumpParameterivATI = (Delegates.TexBumpParameterivATI)GetExtensionDelegateStatic("glTexBumpParameterivATI", typeof(Delegates.TexBumpParameterivATI)); - Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); - } - internal static void Load_TexCoord1bOES(SByte s) - { - Delegates.glTexCoord1bOES = (Delegates.TexCoord1bOES)GetExtensionDelegateStatic("glTexCoord1bOES", typeof(Delegates.TexCoord1bOES)); - Delegates.glTexCoord1bOES((SByte)s); - } - internal static unsafe void Load_TexCoord1bvOES(SByte* coords) - { - Delegates.glTexCoord1bvOES = (Delegates.TexCoord1bvOES)GetExtensionDelegateStatic("glTexCoord1bvOES", typeof(Delegates.TexCoord1bvOES)); - Delegates.glTexCoord1bvOES((SByte*)coords); - } - internal static void Load_TexCoord1d(Double s) - { - Delegates.glTexCoord1d = (Delegates.TexCoord1d)GetExtensionDelegateStatic("glTexCoord1d", typeof(Delegates.TexCoord1d)); - Delegates.glTexCoord1d((Double)s); - } - internal static unsafe void Load_TexCoord1dv(Double* v) - { - Delegates.glTexCoord1dv = (Delegates.TexCoord1dv)GetExtensionDelegateStatic("glTexCoord1dv", typeof(Delegates.TexCoord1dv)); - Delegates.glTexCoord1dv((Double*)v); - } - internal static void Load_TexCoord1f(Single s) - { - Delegates.glTexCoord1f = (Delegates.TexCoord1f)GetExtensionDelegateStatic("glTexCoord1f", typeof(Delegates.TexCoord1f)); - Delegates.glTexCoord1f((Single)s); - } - internal static unsafe void Load_TexCoord1fv(Single* v) - { - Delegates.glTexCoord1fv = (Delegates.TexCoord1fv)GetExtensionDelegateStatic("glTexCoord1fv", typeof(Delegates.TexCoord1fv)); - Delegates.glTexCoord1fv((Single*)v); - } - internal static void Load_TexCoord1hNV(Half s) - { - Delegates.glTexCoord1hNV = (Delegates.TexCoord1hNV)GetExtensionDelegateStatic("glTexCoord1hNV", typeof(Delegates.TexCoord1hNV)); - Delegates.glTexCoord1hNV((Half)s); - } - internal static unsafe void Load_TexCoord1hvNV(Half* v) - { - Delegates.glTexCoord1hvNV = (Delegates.TexCoord1hvNV)GetExtensionDelegateStatic("glTexCoord1hvNV", typeof(Delegates.TexCoord1hvNV)); - Delegates.glTexCoord1hvNV((Half*)v); - } - internal static void Load_TexCoord1i(Int32 s) - { - Delegates.glTexCoord1i = (Delegates.TexCoord1i)GetExtensionDelegateStatic("glTexCoord1i", typeof(Delegates.TexCoord1i)); - Delegates.glTexCoord1i((Int32)s); - } - internal static unsafe void Load_TexCoord1iv(Int32* v) - { - Delegates.glTexCoord1iv = (Delegates.TexCoord1iv)GetExtensionDelegateStatic("glTexCoord1iv", typeof(Delegates.TexCoord1iv)); - Delegates.glTexCoord1iv((Int32*)v); - } - internal static void Load_TexCoord1s(Int16 s) - { - Delegates.glTexCoord1s = (Delegates.TexCoord1s)GetExtensionDelegateStatic("glTexCoord1s", typeof(Delegates.TexCoord1s)); - Delegates.glTexCoord1s((Int16)s); - } - internal static unsafe void Load_TexCoord1sv(Int16* v) - { - Delegates.glTexCoord1sv = (Delegates.TexCoord1sv)GetExtensionDelegateStatic("glTexCoord1sv", typeof(Delegates.TexCoord1sv)); - Delegates.glTexCoord1sv((Int16*)v); - } - internal static void Load_TexCoord1xOES(int s) - { - Delegates.glTexCoord1xOES = (Delegates.TexCoord1xOES)GetExtensionDelegateStatic("glTexCoord1xOES", typeof(Delegates.TexCoord1xOES)); - Delegates.glTexCoord1xOES((int)s); - } - internal static unsafe void Load_TexCoord1xvOES(int* coords) - { - Delegates.glTexCoord1xvOES = (Delegates.TexCoord1xvOES)GetExtensionDelegateStatic("glTexCoord1xvOES", typeof(Delegates.TexCoord1xvOES)); - Delegates.glTexCoord1xvOES((int*)coords); - } - internal static void Load_TexCoord2bOES(SByte s, SByte t) - { - Delegates.glTexCoord2bOES = (Delegates.TexCoord2bOES)GetExtensionDelegateStatic("glTexCoord2bOES", typeof(Delegates.TexCoord2bOES)); - Delegates.glTexCoord2bOES((SByte)s, (SByte)t); - } - internal static unsafe void Load_TexCoord2bvOES(SByte* coords) - { - Delegates.glTexCoord2bvOES = (Delegates.TexCoord2bvOES)GetExtensionDelegateStatic("glTexCoord2bvOES", typeof(Delegates.TexCoord2bvOES)); - Delegates.glTexCoord2bvOES((SByte*)coords); - } - internal static void Load_TexCoord2d(Double s, Double t) - { - Delegates.glTexCoord2d = (Delegates.TexCoord2d)GetExtensionDelegateStatic("glTexCoord2d", typeof(Delegates.TexCoord2d)); - Delegates.glTexCoord2d((Double)s, (Double)t); - } - internal static unsafe void Load_TexCoord2dv(Double* v) - { - Delegates.glTexCoord2dv = (Delegates.TexCoord2dv)GetExtensionDelegateStatic("glTexCoord2dv", typeof(Delegates.TexCoord2dv)); - Delegates.glTexCoord2dv((Double*)v); - } - internal static void Load_TexCoord2f(Single s, Single t) - { - Delegates.glTexCoord2f = (Delegates.TexCoord2f)GetExtensionDelegateStatic("glTexCoord2f", typeof(Delegates.TexCoord2f)); - Delegates.glTexCoord2f((Single)s, (Single)t); - } - internal static void Load_TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) - { - Delegates.glTexCoord2fColor3fVertex3fSUN = (Delegates.TexCoord2fColor3fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fColor3fVertex3fSUN", typeof(Delegates.TexCoord2fColor3fVertex3fSUN)); - Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v) - { - Delegates.glTexCoord2fColor3fVertex3fvSUN = (Delegates.TexCoord2fColor3fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fColor3fVertex3fvSUN", typeof(Delegates.TexCoord2fColor3fVertex3fvSUN)); - Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); - } - internal static void Load_TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN = (Delegates.TexCoord2fColor4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fColor4fNormal3fVertex3fSUN", typeof(Delegates.TexCoord2fColor4fNormal3fVertex3fSUN)); - Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v) - { - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN = (Delegates.TexCoord2fColor4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fColor4fNormal3fVertex3fvSUN", typeof(Delegates.TexCoord2fColor4fNormal3fVertex3fvSUN)); - Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } - internal static void Load_TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) - { - Delegates.glTexCoord2fColor4ubVertex3fSUN = (Delegates.TexCoord2fColor4ubVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fColor4ubVertex3fSUN", typeof(Delegates.TexCoord2fColor4ubVertex3fSUN)); - Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v) - { - Delegates.glTexCoord2fColor4ubVertex3fvSUN = (Delegates.TexCoord2fColor4ubVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fColor4ubVertex3fvSUN", typeof(Delegates.TexCoord2fColor4ubVertex3fvSUN)); - Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); - } - internal static void Load_TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) - { - Delegates.glTexCoord2fNormal3fVertex3fSUN = (Delegates.TexCoord2fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fNormal3fVertex3fSUN", typeof(Delegates.TexCoord2fNormal3fVertex3fSUN)); - Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v) - { - Delegates.glTexCoord2fNormal3fVertex3fvSUN = (Delegates.TexCoord2fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fNormal3fVertex3fvSUN", typeof(Delegates.TexCoord2fNormal3fVertex3fvSUN)); - Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); - } - internal static unsafe void Load_TexCoord2fv(Single* v) - { - Delegates.glTexCoord2fv = (Delegates.TexCoord2fv)GetExtensionDelegateStatic("glTexCoord2fv", typeof(Delegates.TexCoord2fv)); - Delegates.glTexCoord2fv((Single*)v); - } - internal static void Load_TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z) - { - Delegates.glTexCoord2fVertex3fSUN = (Delegates.TexCoord2fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fVertex3fSUN", typeof(Delegates.TexCoord2fVertex3fSUN)); - Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_TexCoord2fVertex3fvSUN(Single* tc, Single* v) - { - Delegates.glTexCoord2fVertex3fvSUN = (Delegates.TexCoord2fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fVertex3fvSUN", typeof(Delegates.TexCoord2fVertex3fvSUN)); - Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); - } - internal static void Load_TexCoord2hNV(Half s, Half t) - { - Delegates.glTexCoord2hNV = (Delegates.TexCoord2hNV)GetExtensionDelegateStatic("glTexCoord2hNV", typeof(Delegates.TexCoord2hNV)); - Delegates.glTexCoord2hNV((Half)s, (Half)t); - } - internal static unsafe void Load_TexCoord2hvNV(Half* v) - { - Delegates.glTexCoord2hvNV = (Delegates.TexCoord2hvNV)GetExtensionDelegateStatic("glTexCoord2hvNV", typeof(Delegates.TexCoord2hvNV)); - Delegates.glTexCoord2hvNV((Half*)v); - } - internal static void Load_TexCoord2i(Int32 s, Int32 t) - { - Delegates.glTexCoord2i = (Delegates.TexCoord2i)GetExtensionDelegateStatic("glTexCoord2i", typeof(Delegates.TexCoord2i)); - Delegates.glTexCoord2i((Int32)s, (Int32)t); - } - internal static unsafe void Load_TexCoord2iv(Int32* v) - { - Delegates.glTexCoord2iv = (Delegates.TexCoord2iv)GetExtensionDelegateStatic("glTexCoord2iv", typeof(Delegates.TexCoord2iv)); - Delegates.glTexCoord2iv((Int32*)v); - } - internal static void Load_TexCoord2s(Int16 s, Int16 t) - { - Delegates.glTexCoord2s = (Delegates.TexCoord2s)GetExtensionDelegateStatic("glTexCoord2s", typeof(Delegates.TexCoord2s)); - Delegates.glTexCoord2s((Int16)s, (Int16)t); - } - internal static unsafe void Load_TexCoord2sv(Int16* v) - { - Delegates.glTexCoord2sv = (Delegates.TexCoord2sv)GetExtensionDelegateStatic("glTexCoord2sv", typeof(Delegates.TexCoord2sv)); - Delegates.glTexCoord2sv((Int16*)v); - } - internal static void Load_TexCoord2xOES(int s, int t) - { - Delegates.glTexCoord2xOES = (Delegates.TexCoord2xOES)GetExtensionDelegateStatic("glTexCoord2xOES", typeof(Delegates.TexCoord2xOES)); - Delegates.glTexCoord2xOES((int)s, (int)t); - } - internal static unsafe void Load_TexCoord2xvOES(int* coords) - { - Delegates.glTexCoord2xvOES = (Delegates.TexCoord2xvOES)GetExtensionDelegateStatic("glTexCoord2xvOES", typeof(Delegates.TexCoord2xvOES)); - Delegates.glTexCoord2xvOES((int*)coords); - } - internal static void Load_TexCoord3bOES(SByte s, SByte t, SByte r) - { - Delegates.glTexCoord3bOES = (Delegates.TexCoord3bOES)GetExtensionDelegateStatic("glTexCoord3bOES", typeof(Delegates.TexCoord3bOES)); - Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); - } - internal static unsafe void Load_TexCoord3bvOES(SByte* coords) - { - Delegates.glTexCoord3bvOES = (Delegates.TexCoord3bvOES)GetExtensionDelegateStatic("glTexCoord3bvOES", typeof(Delegates.TexCoord3bvOES)); - Delegates.glTexCoord3bvOES((SByte*)coords); - } - internal static void Load_TexCoord3d(Double s, Double t, Double r) - { - Delegates.glTexCoord3d = (Delegates.TexCoord3d)GetExtensionDelegateStatic("glTexCoord3d", typeof(Delegates.TexCoord3d)); - Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); - } - internal static unsafe void Load_TexCoord3dv(Double* v) - { - Delegates.glTexCoord3dv = (Delegates.TexCoord3dv)GetExtensionDelegateStatic("glTexCoord3dv", typeof(Delegates.TexCoord3dv)); - Delegates.glTexCoord3dv((Double*)v); - } - internal static void Load_TexCoord3f(Single s, Single t, Single r) - { - Delegates.glTexCoord3f = (Delegates.TexCoord3f)GetExtensionDelegateStatic("glTexCoord3f", typeof(Delegates.TexCoord3f)); - Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r); - } - internal static unsafe void Load_TexCoord3fv(Single* v) - { - Delegates.glTexCoord3fv = (Delegates.TexCoord3fv)GetExtensionDelegateStatic("glTexCoord3fv", typeof(Delegates.TexCoord3fv)); - Delegates.glTexCoord3fv((Single*)v); - } - internal static void Load_TexCoord3hNV(Half s, Half t, Half r) - { - Delegates.glTexCoord3hNV = (Delegates.TexCoord3hNV)GetExtensionDelegateStatic("glTexCoord3hNV", typeof(Delegates.TexCoord3hNV)); - Delegates.glTexCoord3hNV((Half)s, (Half)t, (Half)r); - } - internal static unsafe void Load_TexCoord3hvNV(Half* v) - { - Delegates.glTexCoord3hvNV = (Delegates.TexCoord3hvNV)GetExtensionDelegateStatic("glTexCoord3hvNV", typeof(Delegates.TexCoord3hvNV)); - Delegates.glTexCoord3hvNV((Half*)v); - } - internal static void Load_TexCoord3i(Int32 s, Int32 t, Int32 r) - { - Delegates.glTexCoord3i = (Delegates.TexCoord3i)GetExtensionDelegateStatic("glTexCoord3i", typeof(Delegates.TexCoord3i)); - Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r); - } - internal static unsafe void Load_TexCoord3iv(Int32* v) - { - Delegates.glTexCoord3iv = (Delegates.TexCoord3iv)GetExtensionDelegateStatic("glTexCoord3iv", typeof(Delegates.TexCoord3iv)); - Delegates.glTexCoord3iv((Int32*)v); - } - internal static void Load_TexCoord3s(Int16 s, Int16 t, Int16 r) - { - Delegates.glTexCoord3s = (Delegates.TexCoord3s)GetExtensionDelegateStatic("glTexCoord3s", typeof(Delegates.TexCoord3s)); - Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r); - } - internal static unsafe void Load_TexCoord3sv(Int16* v) - { - Delegates.glTexCoord3sv = (Delegates.TexCoord3sv)GetExtensionDelegateStatic("glTexCoord3sv", typeof(Delegates.TexCoord3sv)); - Delegates.glTexCoord3sv((Int16*)v); - } - internal static void Load_TexCoord3xOES(int s, int t, int r) - { - Delegates.glTexCoord3xOES = (Delegates.TexCoord3xOES)GetExtensionDelegateStatic("glTexCoord3xOES", typeof(Delegates.TexCoord3xOES)); - Delegates.glTexCoord3xOES((int)s, (int)t, (int)r); - } - internal static unsafe void Load_TexCoord3xvOES(int* coords) - { - Delegates.glTexCoord3xvOES = (Delegates.TexCoord3xvOES)GetExtensionDelegateStatic("glTexCoord3xvOES", typeof(Delegates.TexCoord3xvOES)); - Delegates.glTexCoord3xvOES((int*)coords); - } - internal static void Load_TexCoord4bOES(SByte s, SByte t, SByte r, SByte q) - { - Delegates.glTexCoord4bOES = (Delegates.TexCoord4bOES)GetExtensionDelegateStatic("glTexCoord4bOES", typeof(Delegates.TexCoord4bOES)); - Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); - } - internal static unsafe void Load_TexCoord4bvOES(SByte* coords) - { - Delegates.glTexCoord4bvOES = (Delegates.TexCoord4bvOES)GetExtensionDelegateStatic("glTexCoord4bvOES", typeof(Delegates.TexCoord4bvOES)); - Delegates.glTexCoord4bvOES((SByte*)coords); - } - internal static void Load_TexCoord4d(Double s, Double t, Double r, Double q) - { - Delegates.glTexCoord4d = (Delegates.TexCoord4d)GetExtensionDelegateStatic("glTexCoord4d", typeof(Delegates.TexCoord4d)); - Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q); - } - internal static unsafe void Load_TexCoord4dv(Double* v) - { - Delegates.glTexCoord4dv = (Delegates.TexCoord4dv)GetExtensionDelegateStatic("glTexCoord4dv", typeof(Delegates.TexCoord4dv)); - Delegates.glTexCoord4dv((Double*)v); - } - internal static void Load_TexCoord4f(Single s, Single t, Single r, Single q) - { - Delegates.glTexCoord4f = (Delegates.TexCoord4f)GetExtensionDelegateStatic("glTexCoord4f", typeof(Delegates.TexCoord4f)); - Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q); - } - internal static void Load_TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN = (Delegates.TexCoord4fColor4fNormal3fVertex4fSUN)GetExtensionDelegateStatic("glTexCoord4fColor4fNormal3fVertex4fSUN", typeof(Delegates.TexCoord4fColor4fNormal3fVertex4fSUN)); - Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v) - { - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN = (Delegates.TexCoord4fColor4fNormal3fVertex4fvSUN)GetExtensionDelegateStatic("glTexCoord4fColor4fNormal3fVertex4fvSUN", typeof(Delegates.TexCoord4fColor4fNormal3fVertex4fvSUN)); - Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); - } - internal static unsafe void Load_TexCoord4fv(Single* v) - { - Delegates.glTexCoord4fv = (Delegates.TexCoord4fv)GetExtensionDelegateStatic("glTexCoord4fv", typeof(Delegates.TexCoord4fv)); - Delegates.glTexCoord4fv((Single*)v); - } - internal static void Load_TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w) - { - Delegates.glTexCoord4fVertex4fSUN = (Delegates.TexCoord4fVertex4fSUN)GetExtensionDelegateStatic("glTexCoord4fVertex4fSUN", typeof(Delegates.TexCoord4fVertex4fSUN)); - Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_TexCoord4fVertex4fvSUN(Single* tc, Single* v) - { - Delegates.glTexCoord4fVertex4fvSUN = (Delegates.TexCoord4fVertex4fvSUN)GetExtensionDelegateStatic("glTexCoord4fVertex4fvSUN", typeof(Delegates.TexCoord4fVertex4fvSUN)); - Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); - } - internal static void Load_TexCoord4hNV(Half s, Half t, Half r, Half q) - { - Delegates.glTexCoord4hNV = (Delegates.TexCoord4hNV)GetExtensionDelegateStatic("glTexCoord4hNV", typeof(Delegates.TexCoord4hNV)); - Delegates.glTexCoord4hNV((Half)s, (Half)t, (Half)r, (Half)q); - } - internal static unsafe void Load_TexCoord4hvNV(Half* v) - { - Delegates.glTexCoord4hvNV = (Delegates.TexCoord4hvNV)GetExtensionDelegateStatic("glTexCoord4hvNV", typeof(Delegates.TexCoord4hvNV)); - Delegates.glTexCoord4hvNV((Half*)v); - } - internal static void Load_TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q) - { - Delegates.glTexCoord4i = (Delegates.TexCoord4i)GetExtensionDelegateStatic("glTexCoord4i", typeof(Delegates.TexCoord4i)); - Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q); - } - internal static unsafe void Load_TexCoord4iv(Int32* v) - { - Delegates.glTexCoord4iv = (Delegates.TexCoord4iv)GetExtensionDelegateStatic("glTexCoord4iv", typeof(Delegates.TexCoord4iv)); - Delegates.glTexCoord4iv((Int32*)v); - } - internal static void Load_TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q) - { - Delegates.glTexCoord4s = (Delegates.TexCoord4s)GetExtensionDelegateStatic("glTexCoord4s", typeof(Delegates.TexCoord4s)); - Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q); - } - internal static unsafe void Load_TexCoord4sv(Int16* v) - { - Delegates.glTexCoord4sv = (Delegates.TexCoord4sv)GetExtensionDelegateStatic("glTexCoord4sv", typeof(Delegates.TexCoord4sv)); - Delegates.glTexCoord4sv((Int16*)v); - } - internal static void Load_TexCoord4xOES(int s, int t, int r, int q) - { - Delegates.glTexCoord4xOES = (Delegates.TexCoord4xOES)GetExtensionDelegateStatic("glTexCoord4xOES", typeof(Delegates.TexCoord4xOES)); - Delegates.glTexCoord4xOES((int)s, (int)t, (int)r, (int)q); - } - internal static unsafe void Load_TexCoord4xvOES(int* coords) - { - Delegates.glTexCoord4xvOES = (Delegates.TexCoord4xvOES)GetExtensionDelegateStatic("glTexCoord4xvOES", typeof(Delegates.TexCoord4xvOES)); - Delegates.glTexCoord4xvOES((int*)coords); - } - internal static void Load_TexCoordFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glTexCoordFormatNV = (Delegates.TexCoordFormatNV)GetExtensionDelegateStatic("glTexCoordFormatNV", typeof(Delegates.TexCoordFormatNV)); - Delegates.glTexCoordFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static void Load_TexCoordP1ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP1ui = (Delegates.TexCoordP1ui)GetExtensionDelegateStatic("glTexCoordP1ui", typeof(Delegates.TexCoordP1ui)); - Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP1uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP1uiv = (Delegates.TexCoordP1uiv)GetExtensionDelegateStatic("glTexCoordP1uiv", typeof(Delegates.TexCoordP1uiv)); - Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexCoordP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP2ui = (Delegates.TexCoordP2ui)GetExtensionDelegateStatic("glTexCoordP2ui", typeof(Delegates.TexCoordP2ui)); - Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP2uiv = (Delegates.TexCoordP2uiv)GetExtensionDelegateStatic("glTexCoordP2uiv", typeof(Delegates.TexCoordP2uiv)); - Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexCoordP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP3ui = (Delegates.TexCoordP3ui)GetExtensionDelegateStatic("glTexCoordP3ui", typeof(Delegates.TexCoordP3ui)); - Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP3uiv = (Delegates.TexCoordP3uiv)GetExtensionDelegateStatic("glTexCoordP3uiv", typeof(Delegates.TexCoordP3uiv)); - Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexCoordP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP4ui = (Delegates.TexCoordP4ui)GetExtensionDelegateStatic("glTexCoordP4ui", typeof(Delegates.TexCoordP4ui)); - Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP4uiv = (Delegates.TexCoordP4uiv)GetExtensionDelegateStatic("glTexCoordP4uiv", typeof(Delegates.TexCoordP4uiv)); - Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glTexCoordPointer = (Delegates.TexCoordPointer)GetExtensionDelegateStatic("glTexCoordPointer", typeof(Delegates.TexCoordPointer)); - Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - Delegates.glTexCoordPointerEXT = (Delegates.TexCoordPointerEXT)GetExtensionDelegateStatic("glTexCoordPointerEXT", typeof(Delegates.TexCoordPointerEXT)); - Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - } - internal static void Load_TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - Delegates.glTexCoordPointerListIBM = (Delegates.TexCoordPointerListIBM)GetExtensionDelegateStatic("glTexCoordPointerListIBM", typeof(Delegates.TexCoordPointerListIBM)); - Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - } - internal static void Load_TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - Delegates.glTexCoordPointervINTEL = (Delegates.TexCoordPointervINTEL)GetExtensionDelegateStatic("glTexCoordPointervINTEL", typeof(Delegates.TexCoordPointervINTEL)); - Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); - } - internal static void Load_TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) - { - Delegates.glTexEnvf = (Delegates.TexEnvf)GetExtensionDelegateStatic("glTexEnvf", typeof(Delegates.TexEnvf)); - Delegates.glTexEnvf((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); - } - internal static unsafe void Load_TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) - { - Delegates.glTexEnvfv = (Delegates.TexEnvfv)GetExtensionDelegateStatic("glTexEnvfv", typeof(Delegates.TexEnvfv)); - Delegates.glTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); - } - internal static void Load_TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) - { - Delegates.glTexEnvi = (Delegates.TexEnvi)GetExtensionDelegateStatic("glTexEnvi", typeof(Delegates.TexEnvi)); - Delegates.glTexEnvi((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); - } - internal static unsafe void Load_TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) - { - Delegates.glTexEnviv = (Delegates.TexEnviv)GetExtensionDelegateStatic("glTexEnviv", typeof(Delegates.TexEnviv)); - Delegates.glTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); - } - internal static void Load_TexEnvxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glTexEnvxOES = (Delegates.TexEnvxOES)GetExtensionDelegateStatic("glTexEnvxOES", typeof(Delegates.TexEnvxOES)); - Delegates.glTexEnvxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_TexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - Delegates.glTexEnvxvOES = (Delegates.TexEnvxvOES)GetExtensionDelegateStatic("glTexEnvxvOES", typeof(Delegates.TexEnvxvOES)); - Delegates.glTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static unsafe void Load_TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights) - { - Delegates.glTexFilterFuncSGIS = (Delegates.TexFilterFuncSGIS)GetExtensionDelegateStatic("glTexFilterFuncSGIS", typeof(Delegates.TexFilterFuncSGIS)); - Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights); - } - internal static void Load_TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) - { - Delegates.glTexGend = (Delegates.TexGend)GetExtensionDelegateStatic("glTexGend", typeof(Delegates.TexGend)); - Delegates.glTexGend((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); - } - internal static unsafe void Load_TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) - { - Delegates.glTexGendv = (Delegates.TexGendv)GetExtensionDelegateStatic("glTexGendv", typeof(Delegates.TexGendv)); - Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); - } - internal static void Load_TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) - { - Delegates.glTexGenf = (Delegates.TexGenf)GetExtensionDelegateStatic("glTexGenf", typeof(Delegates.TexGenf)); - Delegates.glTexGenf((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); - } - internal static unsafe void Load_TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) - { - Delegates.glTexGenfv = (Delegates.TexGenfv)GetExtensionDelegateStatic("glTexGenfv", typeof(Delegates.TexGenfv)); - Delegates.glTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); - } - internal static void Load_TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) - { - Delegates.glTexGeni = (Delegates.TexGeni)GetExtensionDelegateStatic("glTexGeni", typeof(Delegates.TexGeni)); - Delegates.glTexGeni((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); - } - internal static unsafe void Load_TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) - { - Delegates.glTexGeniv = (Delegates.TexGeniv)GetExtensionDelegateStatic("glTexGeniv", typeof(Delegates.TexGeniv)); - Delegates.glTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); - } - internal static void Load_TexGenxOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glTexGenxOES = (Delegates.TexGenxOES)GetExtensionDelegateStatic("glTexGenxOES", typeof(Delegates.TexGenxOES)); - Delegates.glTexGenxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_TexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - Delegates.glTexGenxvOES = (Delegates.TexGenxvOES)GetExtensionDelegateStatic("glTexGenxvOES", typeof(Delegates.TexGenxvOES)); - Delegates.glTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static void Load_TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexImage1D = (Delegates.TexImage1D)GetExtensionDelegateStatic("glTexImage1D", typeof(Delegates.TexImage1D)); - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - Delegates.glTexImage2DMultisample = (Delegates.TexImage2DMultisample)GetExtensionDelegateStatic("glTexImage2DMultisample", typeof(Delegates.TexImage2DMultisample)); - Delegates.glTexImage2DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - } - internal static void Load_TexImage2DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - Delegates.glTexImage2DMultisampleCoverageNV = (Delegates.TexImage2DMultisampleCoverageNV)GetExtensionDelegateStatic("glTexImage2DMultisampleCoverageNV", typeof(Delegates.TexImage2DMultisampleCoverageNV)); - Delegates.glTexImage2DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - } - internal static void Load_TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexImage3D = (Delegates.TexImage3D)GetExtensionDelegateStatic("glTexImage3D", typeof(Delegates.TexImage3D)); - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexImage3DEXT = (Delegates.TexImage3DEXT)GetExtensionDelegateStatic("glTexImage3DEXT", typeof(Delegates.TexImage3DEXT)); - Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - Delegates.glTexImage3DMultisample = (Delegates.TexImage3DMultisample)GetExtensionDelegateStatic("glTexImage3DMultisample", typeof(Delegates.TexImage3DMultisample)); - Delegates.glTexImage3DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - } - internal static void Load_TexImage3DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - Delegates.glTexImage3DMultisampleCoverageNV = (Delegates.TexImage3DMultisampleCoverageNV)GetExtensionDelegateStatic("glTexImage3DMultisampleCoverageNV", typeof(Delegates.TexImage3DMultisampleCoverageNV)); - Delegates.glTexImage3DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - } - internal static void Load_TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexImage4DSGIS = (Delegates.TexImage4DSGIS)GetExtensionDelegateStatic("glTexImage4DSGIS", typeof(Delegates.TexImage4DSGIS)); - Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexPageCommitmentARB(OpenTK.Graphics.OpenGL.ArbSparseTexture target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) - { - Delegates.glTexPageCommitmentARB = (Delegates.TexPageCommitmentARB)GetExtensionDelegateStatic("glTexPageCommitmentARB", typeof(Delegates.TexPageCommitmentARB)); - Delegates.glTexPageCommitmentARB((OpenTK.Graphics.OpenGL.ArbSparseTexture)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); - } - internal static void Load_TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); - Delegates.glTexParameterf((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); - } - internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); - Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); - } - internal static void Load_TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); - Delegates.glTexParameteri((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); - } - internal static unsafe void Load_TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameterIiv = (Delegates.TexParameterIiv)GetExtensionDelegateStatic("glTexParameterIiv", typeof(Delegates.TexParameterIiv)); - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameterIivEXT = (Delegates.TexParameterIivEXT)GetExtensionDelegateStatic("glTexParameterIivEXT", typeof(Delegates.TexParameterIivEXT)); - Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - Delegates.glTexParameterIuiv = (Delegates.TexParameterIuiv)GetExtensionDelegateStatic("glTexParameterIuiv", typeof(Delegates.TexParameterIuiv)); - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - } - internal static unsafe void Load_TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - Delegates.glTexParameterIuivEXT = (Delegates.TexParameterIuivEXT)GetExtensionDelegateStatic("glTexParameterIuivEXT", typeof(Delegates.TexParameterIuivEXT)); - Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - } - internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); - Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - } - internal static void Load_TexParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) - { - Delegates.glTexParameterxOES = (Delegates.TexParameterxOES)GetExtensionDelegateStatic("glTexParameterxOES", typeof(Delegates.TexParameterxOES)); - Delegates.glTexParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); - } - internal static unsafe void Load_TexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) - { - Delegates.glTexParameterxvOES = (Delegates.TexParameterxvOES)GetExtensionDelegateStatic("glTexParameterxvOES", typeof(Delegates.TexParameterxvOES)); - Delegates.glTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); - } - internal static void Load_TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - Delegates.glTexRenderbufferNV = (Delegates.TexRenderbufferNV)GetExtensionDelegateStatic("glTexRenderbufferNV", typeof(Delegates.TexRenderbufferNV)); - Delegates.glTexRenderbufferNV((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - } - internal static void Load_TexStorage1D(OpenTK.Graphics.OpenGL.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width) - { - Delegates.glTexStorage1D = (Delegates.TexStorage1D)GetExtensionDelegateStatic("glTexStorage1D", typeof(Delegates.TexStorage1D)); - Delegates.glTexStorage1D((OpenTK.Graphics.OpenGL.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width); - } - internal static void Load_TexStorage2D(OpenTK.Graphics.OpenGL.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glTexStorage2D = (Delegates.TexStorage2D)GetExtensionDelegateStatic("glTexStorage2D", typeof(Delegates.TexStorage2D)); - Delegates.glTexStorage2D((OpenTK.Graphics.OpenGL.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TexStorage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - Delegates.glTexStorage2DMultisample = (Delegates.TexStorage2DMultisample)GetExtensionDelegateStatic("glTexStorage2DMultisample", typeof(Delegates.TexStorage2DMultisample)); - Delegates.glTexStorage2DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - } - internal static void Load_TexStorage3D(OpenTK.Graphics.OpenGL.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTexStorage3D = (Delegates.TexStorage3D)GetExtensionDelegateStatic("glTexStorage3D", typeof(Delegates.TexStorage3D)); - Delegates.glTexStorage3D((OpenTK.Graphics.OpenGL.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_TexStorage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - Delegates.glTexStorage3DMultisample = (Delegates.TexStorage3DMultisample)GetExtensionDelegateStatic("glTexStorage3DMultisample", typeof(Delegates.TexStorage3DMultisample)); - Delegates.glTexStorage3DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - } - internal static void Load_TexStorageSparseAMD(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags) - { - Delegates.glTexStorageSparseAMD = (Delegates.TexStorageSparseAMD)GetExtensionDelegateStatic("glTexStorageSparseAMD", typeof(Delegates.TexStorageSparseAMD)); - Delegates.glTexStorageSparseAMD((OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); - } - internal static void Load_TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage1D = (Delegates.TexSubImage1D)GetExtensionDelegateStatic("glTexSubImage1D", typeof(Delegates.TexSubImage1D)); - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage1DEXT = (Delegates.TexSubImage1DEXT)GetExtensionDelegateStatic("glTexSubImage1DEXT", typeof(Delegates.TexSubImage1DEXT)); - Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage2DEXT = (Delegates.TexSubImage2DEXT)GetExtensionDelegateStatic("glTexSubImage2DEXT", typeof(Delegates.TexSubImage2DEXT)); - Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage3D = (Delegates.TexSubImage3D)GetExtensionDelegateStatic("glTexSubImage3D", typeof(Delegates.TexSubImage3D)); - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage3DEXT = (Delegates.TexSubImage3DEXT)GetExtensionDelegateStatic("glTexSubImage3DEXT", typeof(Delegates.TexSubImage3DEXT)); - Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage4DSGIS = (Delegates.TexSubImage4DSGIS)GetExtensionDelegateStatic("glTexSubImage4DSGIS", typeof(Delegates.TexSubImage4DSGIS)); - Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureBarrierNV() - { - Delegates.glTextureBarrierNV = (Delegates.TextureBarrierNV)GetExtensionDelegateStatic("glTextureBarrierNV", typeof(Delegates.TextureBarrierNV)); - Delegates.glTextureBarrierNV(); - } - internal static void Load_TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) - { - Delegates.glTextureBufferEXT = (Delegates.TextureBufferEXT)GetExtensionDelegateStatic("glTextureBufferEXT", typeof(Delegates.TextureBufferEXT)); - Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); - } - internal static void Load_TextureBufferRangeEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glTextureBufferRangeEXT = (Delegates.TextureBufferRangeEXT)GetExtensionDelegateStatic("glTextureBufferRangeEXT", typeof(Delegates.TextureBufferRangeEXT)); - Delegates.glTextureBufferRangeEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static void Load_TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha) - { - Delegates.glTextureColorMaskSGIS = (Delegates.TextureColorMaskSGIS)GetExtensionDelegateStatic("glTextureColorMaskSGIS", typeof(Delegates.TextureColorMaskSGIS)); - Delegates.glTextureColorMaskSGIS((bool)red, (bool)green, (bool)blue, (bool)alpha); - } - internal static void Load_TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTextureImage1DEXT = (Delegates.TextureImage1DEXT)GetExtensionDelegateStatic("glTextureImage1DEXT", typeof(Delegates.TextureImage1DEXT)); - Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTextureImage2DEXT = (Delegates.TextureImage2DEXT)GetExtensionDelegateStatic("glTextureImage2DEXT", typeof(Delegates.TextureImage2DEXT)); - Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureImage2DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - Delegates.glTextureImage2DMultisampleCoverageNV = (Delegates.TextureImage2DMultisampleCoverageNV)GetExtensionDelegateStatic("glTextureImage2DMultisampleCoverageNV", typeof(Delegates.TextureImage2DMultisampleCoverageNV)); - Delegates.glTextureImage2DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - } - internal static void Load_TextureImage2DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) - { - Delegates.glTextureImage2DMultisampleNV = (Delegates.TextureImage2DMultisampleNV)GetExtensionDelegateStatic("glTextureImage2DMultisampleNV", typeof(Delegates.TextureImage2DMultisampleNV)); - Delegates.glTextureImage2DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); - } - internal static void Load_TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTextureImage3DEXT = (Delegates.TextureImage3DEXT)GetExtensionDelegateStatic("glTextureImage3DEXT", typeof(Delegates.TextureImage3DEXT)); - Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureImage3DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - Delegates.glTextureImage3DMultisampleCoverageNV = (Delegates.TextureImage3DMultisampleCoverageNV)GetExtensionDelegateStatic("glTextureImage3DMultisampleCoverageNV", typeof(Delegates.TextureImage3DMultisampleCoverageNV)); - Delegates.glTextureImage3DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - } - internal static void Load_TextureImage3DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) - { - Delegates.glTextureImage3DMultisampleNV = (Delegates.TextureImage3DMultisampleNV)GetExtensionDelegateStatic("glTextureImage3DMultisampleNV", typeof(Delegates.TextureImage3DMultisampleNV)); - Delegates.glTextureImage3DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); - } - internal static void Load_TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname) - { - Delegates.glTextureLightEXT = (Delegates.TextureLightEXT)GetExtensionDelegateStatic("glTextureLightEXT", typeof(Delegates.TextureLightEXT)); - Delegates.glTextureLightEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)pname); - } - internal static void Load_TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) - { - Delegates.glTextureMaterialEXT = (Delegates.TextureMaterialEXT)GetExtensionDelegateStatic("glTextureMaterialEXT", typeof(Delegates.TextureMaterialEXT)); - Delegates.glTextureMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); - } - internal static void Load_TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode) - { - Delegates.glTextureNormalEXT = (Delegates.TextureNormalEXT)GetExtensionDelegateStatic("glTextureNormalEXT", typeof(Delegates.TextureNormalEXT)); - Delegates.glTextureNormalEXT((OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal)mode); - } - internal static void Load_TexturePageCommitmentEXT(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) - { - Delegates.glTexturePageCommitmentEXT = (Delegates.TexturePageCommitmentEXT)GetExtensionDelegateStatic("glTexturePageCommitmentEXT", typeof(Delegates.TexturePageCommitmentEXT)); - Delegates.glTexturePageCommitmentEXT((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); - } - internal static void Load_TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) - { - Delegates.glTextureParameterfEXT = (Delegates.TextureParameterfEXT)GetExtensionDelegateStatic("glTextureParameterfEXT", typeof(Delegates.TextureParameterfEXT)); - Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); - } - internal static unsafe void Load_TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) - { - Delegates.glTextureParameterfvEXT = (Delegates.TextureParameterfvEXT)GetExtensionDelegateStatic("glTextureParameterfvEXT", typeof(Delegates.TextureParameterfvEXT)); - Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); - } - internal static void Load_TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) - { - Delegates.glTextureParameteriEXT = (Delegates.TextureParameteriEXT)GetExtensionDelegateStatic("glTextureParameteriEXT", typeof(Delegates.TextureParameteriEXT)); - Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); - } - internal static unsafe void Load_TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - Delegates.glTextureParameterIivEXT = (Delegates.TextureParameterIivEXT)GetExtensionDelegateStatic("glTextureParameterIivEXT", typeof(Delegates.TextureParameterIivEXT)); - Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) - { - Delegates.glTextureParameterIuivEXT = (Delegates.TextureParameterIuivEXT)GetExtensionDelegateStatic("glTextureParameterIuivEXT", typeof(Delegates.TextureParameterIuivEXT)); - Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); - } - internal static unsafe void Load_TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) - { - Delegates.glTextureParameterivEXT = (Delegates.TextureParameterivEXT)GetExtensionDelegateStatic("glTextureParameterivEXT", typeof(Delegates.TextureParameterivEXT)); - Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); - } - internal static void Load_TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer) - { - Delegates.glTextureRangeAPPLE = (Delegates.TextureRangeAPPLE)GetExtensionDelegateStatic("glTextureRangeAPPLE", typeof(Delegates.TextureRangeAPPLE)); - Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer); - } - internal static void Load_TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) - { - Delegates.glTextureRenderbufferEXT = (Delegates.TextureRenderbufferEXT)GetExtensionDelegateStatic("glTextureRenderbufferEXT", typeof(Delegates.TextureRenderbufferEXT)); - Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); - } - internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width) - { - Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); - Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width); - } - internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height) - { - Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); - Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TextureStorage2DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - Delegates.glTextureStorage2DMultisampleEXT = (Delegates.TextureStorage2DMultisampleEXT)GetExtensionDelegateStatic("glTextureStorage2DMultisampleEXT", typeof(Delegates.TextureStorage2DMultisampleEXT)); - Delegates.glTextureStorage2DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - } - internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); - Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_TextureStorage3DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - Delegates.glTextureStorage3DMultisampleEXT = (Delegates.TextureStorage3DMultisampleEXT)GetExtensionDelegateStatic("glTextureStorage3DMultisampleEXT", typeof(Delegates.TextureStorage3DMultisampleEXT)); - Delegates.glTextureStorage3DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - } - internal static void Load_TextureStorageSparseAMD(UInt32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags) - { - Delegates.glTextureStorageSparseAMD = (Delegates.TextureStorageSparseAMD)GetExtensionDelegateStatic("glTextureStorageSparseAMD", typeof(Delegates.TextureStorageSparseAMD)); - Delegates.glTextureStorageSparseAMD((UInt32)texture, (OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); - } - internal static void Load_TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTextureSubImage1DEXT = (Delegates.TextureSubImage1DEXT)GetExtensionDelegateStatic("glTextureSubImage1DEXT", typeof(Delegates.TextureSubImage1DEXT)); - Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTextureSubImage2DEXT = (Delegates.TextureSubImage2DEXT)GetExtensionDelegateStatic("glTextureSubImage2DEXT", typeof(Delegates.TextureSubImage2DEXT)); - Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) - { - Delegates.glTextureSubImage3DEXT = (Delegates.TextureSubImage3DEXT)GetExtensionDelegateStatic("glTextureSubImage3DEXT", typeof(Delegates.TextureSubImage3DEXT)); - Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureView(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers) - { - Delegates.glTextureView = (Delegates.TextureView)GetExtensionDelegateStatic("glTextureView", typeof(Delegates.TextureView)); - Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); - } - internal static void Load_TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform) - { - Delegates.glTrackMatrixNV = (Delegates.TrackMatrixNV)GetExtensionDelegateStatic("glTrackMatrixNV", typeof(Delegates.TrackMatrixNV)); - Delegates.glTrackMatrixNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform); - } - internal static unsafe void Load_TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - Delegates.glTransformFeedbackAttribsNV = (Delegates.TransformFeedbackAttribsNV)GetExtensionDelegateStatic("glTransformFeedbackAttribsNV", typeof(Delegates.TransformFeedbackAttribsNV)); - Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - internal static unsafe void Load_TransformFeedbackStreamAttribsNV(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - Delegates.glTransformFeedbackStreamAttribsNV = (Delegates.TransformFeedbackStreamAttribsNV)GetExtensionDelegateStatic("glTransformFeedbackStreamAttribsNV", typeof(Delegates.TransformFeedbackStreamAttribsNV)); - Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs, (Int32)nbuffers, (Int32*)bufstreams, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - internal static void Load_TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) - { - Delegates.glTransformFeedbackVaryings = (Delegates.TransformFeedbackVaryings)GetExtensionDelegateStatic("glTransformFeedbackVaryings", typeof(Delegates.TransformFeedbackVaryings)); - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode); - } - internal static void Load_TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) - { - Delegates.glTransformFeedbackVaryingsEXT = (Delegates.TransformFeedbackVaryingsEXT)GetExtensionDelegateStatic("glTransformFeedbackVaryingsEXT", typeof(Delegates.TransformFeedbackVaryingsEXT)); - Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode); - } - internal static unsafe void Load_TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) - { - Delegates.glTransformFeedbackVaryingsNV = (Delegates.TransformFeedbackVaryingsNV)GetExtensionDelegateStatic("glTransformFeedbackVaryingsNV", typeof(Delegates.TransformFeedbackVaryingsNV)); - Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); - } - internal static unsafe void Load_TransformPathNV(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) - { - Delegates.glTransformPathNV = (Delegates.TransformPathNV)GetExtensionDelegateStatic("glTransformPathNV", typeof(Delegates.TransformPathNV)); - Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); - } - internal static void Load_Translated(Double x, Double y, Double z) - { - Delegates.glTranslated = (Delegates.Translated)GetExtensionDelegateStatic("glTranslated", typeof(Delegates.Translated)); - Delegates.glTranslated((Double)x, (Double)y, (Double)z); - } - internal static void Load_Translatef(Single x, Single y, Single z) - { - Delegates.glTranslatef = (Delegates.Translatef)GetExtensionDelegateStatic("glTranslatef", typeof(Delegates.Translatef)); - Delegates.glTranslatef((Single)x, (Single)y, (Single)z); - } - internal static void Load_TranslatexOES(int x, int y, int z) - { - Delegates.glTranslatexOES = (Delegates.TranslatexOES)GetExtensionDelegateStatic("glTranslatexOES", typeof(Delegates.TranslatexOES)); - Delegates.glTranslatexOES((int)x, (int)y, (int)z); - } - internal static void Load_Uniform1d(Int32 location, Double x) - { - Delegates.glUniform1d = (Delegates.Uniform1d)GetExtensionDelegateStatic("glUniform1d", typeof(Delegates.Uniform1d)); - Delegates.glUniform1d((Int32)location, (Double)x); - } - internal static unsafe void Load_Uniform1dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform1dv = (Delegates.Uniform1dv)GetExtensionDelegateStatic("glUniform1dv", typeof(Delegates.Uniform1dv)); - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform1f(Int32 location, Single v0) - { - Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); - Delegates.glUniform1f((Int32)location, (Single)v0); - } - internal static void Load_Uniform1fARB(Int32 location, Single v0) - { - Delegates.glUniform1fARB = (Delegates.Uniform1fARB)GetExtensionDelegateStatic("glUniform1fARB", typeof(Delegates.Uniform1fARB)); - Delegates.glUniform1fARB((Int32)location, (Single)v0); - } - internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_Uniform1fvARB(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform1fvARB = (Delegates.Uniform1fvARB)GetExtensionDelegateStatic("glUniform1fvARB", typeof(Delegates.Uniform1fvARB)); - Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform1i(Int32 location, Int32 v0) - { - Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); - Delegates.glUniform1i((Int32)location, (Int32)v0); - } - internal static void Load_Uniform1i64NV(Int32 location, Int64 x) - { - Delegates.glUniform1i64NV = (Delegates.Uniform1i64NV)GetExtensionDelegateStatic("glUniform1i64NV", typeof(Delegates.Uniform1i64NV)); - Delegates.glUniform1i64NV((Int32)location, (Int64)x); - } - internal static unsafe void Load_Uniform1i64vNV(Int32 location, Int32 count, Int64* value) - { - Delegates.glUniform1i64vNV = (Delegates.Uniform1i64vNV)GetExtensionDelegateStatic("glUniform1i64vNV", typeof(Delegates.Uniform1i64vNV)); - Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_Uniform1iARB(Int32 location, Int32 v0) - { - Delegates.glUniform1iARB = (Delegates.Uniform1iARB)GetExtensionDelegateStatic("glUniform1iARB", typeof(Delegates.Uniform1iARB)); - Delegates.glUniform1iARB((Int32)location, (Int32)v0); - } - internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_Uniform1ivARB(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform1ivARB = (Delegates.Uniform1ivARB)GetExtensionDelegateStatic("glUniform1ivARB", typeof(Delegates.Uniform1ivARB)); - Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform1ui(Int32 location, UInt32 v0) - { - Delegates.glUniform1ui = (Delegates.Uniform1ui)GetExtensionDelegateStatic("glUniform1ui", typeof(Delegates.Uniform1ui)); - Delegates.glUniform1ui((Int32)location, (UInt32)v0); - } - internal static void Load_Uniform1ui64NV(Int32 location, UInt64 x) - { - Delegates.glUniform1ui64NV = (Delegates.Uniform1ui64NV)GetExtensionDelegateStatic("glUniform1ui64NV", typeof(Delegates.Uniform1ui64NV)); - Delegates.glUniform1ui64NV((Int32)location, (UInt64)x); - } - internal static unsafe void Load_Uniform1ui64vNV(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniform1ui64vNV = (Delegates.Uniform1ui64vNV)GetExtensionDelegateStatic("glUniform1ui64vNV", typeof(Delegates.Uniform1ui64vNV)); - Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_Uniform1uiEXT(Int32 location, UInt32 v0) - { - Delegates.glUniform1uiEXT = (Delegates.Uniform1uiEXT)GetExtensionDelegateStatic("glUniform1uiEXT", typeof(Delegates.Uniform1uiEXT)); - Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); - } - internal static unsafe void Load_Uniform1uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform1uiv = (Delegates.Uniform1uiv)GetExtensionDelegateStatic("glUniform1uiv", typeof(Delegates.Uniform1uiv)); - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_Uniform1uivEXT(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform1uivEXT = (Delegates.Uniform1uivEXT)GetExtensionDelegateStatic("glUniform1uivEXT", typeof(Delegates.Uniform1uivEXT)); - Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform2d(Int32 location, Double x, Double y) - { - Delegates.glUniform2d = (Delegates.Uniform2d)GetExtensionDelegateStatic("glUniform2d", typeof(Delegates.Uniform2d)); - Delegates.glUniform2d((Int32)location, (Double)x, (Double)y); - } - internal static unsafe void Load_Uniform2dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform2dv = (Delegates.Uniform2dv)GetExtensionDelegateStatic("glUniform2dv", typeof(Delegates.Uniform2dv)); - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) - { - Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - } - internal static void Load_Uniform2fARB(Int32 location, Single v0, Single v1) - { - Delegates.glUniform2fARB = (Delegates.Uniform2fARB)GetExtensionDelegateStatic("glUniform2fARB", typeof(Delegates.Uniform2fARB)); - Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_Uniform2fvARB(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform2fvARB = (Delegates.Uniform2fvARB)GetExtensionDelegateStatic("glUniform2fvARB", typeof(Delegates.Uniform2fvARB)); - Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) - { - Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - } - internal static void Load_Uniform2i64NV(Int32 location, Int64 x, Int64 y) - { - Delegates.glUniform2i64NV = (Delegates.Uniform2i64NV)GetExtensionDelegateStatic("glUniform2i64NV", typeof(Delegates.Uniform2i64NV)); - Delegates.glUniform2i64NV((Int32)location, (Int64)x, (Int64)y); - } - internal static unsafe void Load_Uniform2i64vNV(Int32 location, Int32 count, Int64* value) - { - Delegates.glUniform2i64vNV = (Delegates.Uniform2i64vNV)GetExtensionDelegateStatic("glUniform2i64vNV", typeof(Delegates.Uniform2i64vNV)); - Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_Uniform2iARB(Int32 location, Int32 v0, Int32 v1) - { - Delegates.glUniform2iARB = (Delegates.Uniform2iARB)GetExtensionDelegateStatic("glUniform2iARB", typeof(Delegates.Uniform2iARB)); - Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_Uniform2ivARB(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform2ivARB = (Delegates.Uniform2ivARB)GetExtensionDelegateStatic("glUniform2ivARB", typeof(Delegates.Uniform2ivARB)); - Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform2ui(Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glUniform2ui = (Delegates.Uniform2ui)GetExtensionDelegateStatic("glUniform2ui", typeof(Delegates.Uniform2ui)); - Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static void Load_Uniform2ui64NV(Int32 location, UInt64 x, UInt64 y) - { - Delegates.glUniform2ui64NV = (Delegates.Uniform2ui64NV)GetExtensionDelegateStatic("glUniform2ui64NV", typeof(Delegates.Uniform2ui64NV)); - Delegates.glUniform2ui64NV((Int32)location, (UInt64)x, (UInt64)y); - } - internal static unsafe void Load_Uniform2ui64vNV(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniform2ui64vNV = (Delegates.Uniform2ui64vNV)GetExtensionDelegateStatic("glUniform2ui64vNV", typeof(Delegates.Uniform2ui64vNV)); - Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glUniform2uiEXT = (Delegates.Uniform2uiEXT)GetExtensionDelegateStatic("glUniform2uiEXT", typeof(Delegates.Uniform2uiEXT)); - Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static unsafe void Load_Uniform2uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform2uiv = (Delegates.Uniform2uiv)GetExtensionDelegateStatic("glUniform2uiv", typeof(Delegates.Uniform2uiv)); - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_Uniform2uivEXT(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform2uivEXT = (Delegates.Uniform2uivEXT)GetExtensionDelegateStatic("glUniform2uivEXT", typeof(Delegates.Uniform2uivEXT)); - Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform3d(Int32 location, Double x, Double y, Double z) - { - Delegates.glUniform3d = (Delegates.Uniform3d)GetExtensionDelegateStatic("glUniform3d", typeof(Delegates.Uniform3d)); - Delegates.glUniform3d((Int32)location, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_Uniform3dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform3dv = (Delegates.Uniform3dv)GetExtensionDelegateStatic("glUniform3dv", typeof(Delegates.Uniform3dv)); - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static void Load_Uniform3fARB(Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glUniform3fARB = (Delegates.Uniform3fARB)GetExtensionDelegateStatic("glUniform3fARB", typeof(Delegates.Uniform3fARB)); - Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_Uniform3fvARB(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform3fvARB = (Delegates.Uniform3fvARB)GetExtensionDelegateStatic("glUniform3fvARB", typeof(Delegates.Uniform3fvARB)); - Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static void Load_Uniform3i64NV(Int32 location, Int64 x, Int64 y, Int64 z) - { - Delegates.glUniform3i64NV = (Delegates.Uniform3i64NV)GetExtensionDelegateStatic("glUniform3i64NV", typeof(Delegates.Uniform3i64NV)); - Delegates.glUniform3i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z); - } - internal static unsafe void Load_Uniform3i64vNV(Int32 location, Int32 count, Int64* value) - { - Delegates.glUniform3i64vNV = (Delegates.Uniform3i64vNV)GetExtensionDelegateStatic("glUniform3i64vNV", typeof(Delegates.Uniform3i64vNV)); - Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glUniform3iARB = (Delegates.Uniform3iARB)GetExtensionDelegateStatic("glUniform3iARB", typeof(Delegates.Uniform3iARB)); - Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_Uniform3ivARB(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform3ivARB = (Delegates.Uniform3ivARB)GetExtensionDelegateStatic("glUniform3ivARB", typeof(Delegates.Uniform3ivARB)); - Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glUniform3ui = (Delegates.Uniform3ui)GetExtensionDelegateStatic("glUniform3ui", typeof(Delegates.Uniform3ui)); - Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static void Load_Uniform3ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z) - { - Delegates.glUniform3ui64NV = (Delegates.Uniform3ui64NV)GetExtensionDelegateStatic("glUniform3ui64NV", typeof(Delegates.Uniform3ui64NV)); - Delegates.glUniform3ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); - } - internal static unsafe void Load_Uniform3ui64vNV(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniform3ui64vNV = (Delegates.Uniform3ui64vNV)GetExtensionDelegateStatic("glUniform3ui64vNV", typeof(Delegates.Uniform3ui64vNV)); - Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glUniform3uiEXT = (Delegates.Uniform3uiEXT)GetExtensionDelegateStatic("glUniform3uiEXT", typeof(Delegates.Uniform3uiEXT)); - Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static unsafe void Load_Uniform3uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform3uiv = (Delegates.Uniform3uiv)GetExtensionDelegateStatic("glUniform3uiv", typeof(Delegates.Uniform3uiv)); - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_Uniform3uivEXT(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform3uivEXT = (Delegates.Uniform3uivEXT)GetExtensionDelegateStatic("glUniform3uivEXT", typeof(Delegates.Uniform3uivEXT)); - Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform4d(Int32 location, Double x, Double y, Double z, Double w) - { - Delegates.glUniform4d = (Delegates.Uniform4d)GetExtensionDelegateStatic("glUniform4d", typeof(Delegates.Uniform4d)); - Delegates.glUniform4d((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_Uniform4dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform4dv = (Delegates.Uniform4dv)GetExtensionDelegateStatic("glUniform4dv", typeof(Delegates.Uniform4dv)); - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static void Load_Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glUniform4fARB = (Delegates.Uniform4fARB)GetExtensionDelegateStatic("glUniform4fARB", typeof(Delegates.Uniform4fARB)); - Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - } - internal static unsafe void Load_Uniform4fvARB(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform4fvARB = (Delegates.Uniform4fvARB)GetExtensionDelegateStatic("glUniform4fvARB", typeof(Delegates.Uniform4fvARB)); - Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static void Load_Uniform4i64NV(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) - { - Delegates.glUniform4i64NV = (Delegates.Uniform4i64NV)GetExtensionDelegateStatic("glUniform4i64NV", typeof(Delegates.Uniform4i64NV)); - Delegates.glUniform4i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - } - internal static unsafe void Load_Uniform4i64vNV(Int32 location, Int32 count, Int64* value) - { - Delegates.glUniform4i64vNV = (Delegates.Uniform4i64vNV)GetExtensionDelegateStatic("glUniform4i64vNV", typeof(Delegates.Uniform4i64vNV)); - Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value); - } - internal static void Load_Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glUniform4iARB = (Delegates.Uniform4iARB)GetExtensionDelegateStatic("glUniform4iARB", typeof(Delegates.Uniform4iARB)); - Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static unsafe void Load_Uniform4ivARB(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform4ivARB = (Delegates.Uniform4ivARB)GetExtensionDelegateStatic("glUniform4ivARB", typeof(Delegates.Uniform4ivARB)); - Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glUniform4ui = (Delegates.Uniform4ui)GetExtensionDelegateStatic("glUniform4ui", typeof(Delegates.Uniform4ui)); - Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static void Load_Uniform4ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - Delegates.glUniform4ui64NV = (Delegates.Uniform4ui64NV)GetExtensionDelegateStatic("glUniform4ui64NV", typeof(Delegates.Uniform4ui64NV)); - Delegates.glUniform4ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); - } - internal static unsafe void Load_Uniform4ui64vNV(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniform4ui64vNV = (Delegates.Uniform4ui64vNV)GetExtensionDelegateStatic("glUniform4ui64vNV", typeof(Delegates.Uniform4ui64vNV)); - Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glUniform4uiEXT = (Delegates.Uniform4uiEXT)GetExtensionDelegateStatic("glUniform4uiEXT", typeof(Delegates.Uniform4uiEXT)); - Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static unsafe void Load_Uniform4uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform4uiv = (Delegates.Uniform4uiv)GetExtensionDelegateStatic("glUniform4uiv", typeof(Delegates.Uniform4uiv)); - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static unsafe void Load_Uniform4uivEXT(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform4uivEXT = (Delegates.Uniform4uivEXT)GetExtensionDelegateStatic("glUniform4uivEXT", typeof(Delegates.Uniform4uivEXT)); - Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - Delegates.glUniformBlockBinding = (Delegates.UniformBlockBinding)GetExtensionDelegateStatic("glUniformBlockBinding", typeof(Delegates.UniformBlockBinding)); - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - } - internal static void Load_UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer) - { - Delegates.glUniformBufferEXT = (Delegates.UniformBufferEXT)GetExtensionDelegateStatic("glUniformBufferEXT", typeof(Delegates.UniformBufferEXT)); - Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); - } - internal static void Load_UniformHandleui64ARB(Int32 location, UInt64 value) - { - Delegates.glUniformHandleui64ARB = (Delegates.UniformHandleui64ARB)GetExtensionDelegateStatic("glUniformHandleui64ARB", typeof(Delegates.UniformHandleui64ARB)); - Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); - } - internal static void Load_UniformHandleui64NV(Int32 location, UInt64 value) - { - Delegates.glUniformHandleui64NV = (Delegates.UniformHandleui64NV)GetExtensionDelegateStatic("glUniformHandleui64NV", typeof(Delegates.UniformHandleui64NV)); - Delegates.glUniformHandleui64NV((Int32)location, (UInt64)value); - } - internal static unsafe void Load_UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniformHandleui64vARB = (Delegates.UniformHandleui64vARB)GetExtensionDelegateStatic("glUniformHandleui64vARB", typeof(Delegates.UniformHandleui64vARB)); - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); - } - internal static unsafe void Load_UniformHandleui64vNV(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniformHandleui64vNV = (Delegates.UniformHandleui64vNV)GetExtensionDelegateStatic("glUniformHandleui64vNV", typeof(Delegates.UniformHandleui64vNV)); - Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value); - } - internal static unsafe void Load_UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix2dv = (Delegates.UniformMatrix2dv)GetExtensionDelegateStatic("glUniformMatrix2dv", typeof(Delegates.UniformMatrix2dv)); - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2fvARB = (Delegates.UniformMatrix2fvARB)GetExtensionDelegateStatic("glUniformMatrix2fvARB", typeof(Delegates.UniformMatrix2fvARB)); - Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix2x3dv = (Delegates.UniformMatrix2x3dv)GetExtensionDelegateStatic("glUniformMatrix2x3dv", typeof(Delegates.UniformMatrix2x3dv)); - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x3fv = (Delegates.UniformMatrix2x3fv)GetExtensionDelegateStatic("glUniformMatrix2x3fv", typeof(Delegates.UniformMatrix2x3fv)); - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix2x4dv = (Delegates.UniformMatrix2x4dv)GetExtensionDelegateStatic("glUniformMatrix2x4dv", typeof(Delegates.UniformMatrix2x4dv)); - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x4fv = (Delegates.UniformMatrix2x4fv)GetExtensionDelegateStatic("glUniformMatrix2x4fv", typeof(Delegates.UniformMatrix2x4fv)); - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix3dv = (Delegates.UniformMatrix3dv)GetExtensionDelegateStatic("glUniformMatrix3dv", typeof(Delegates.UniformMatrix3dv)); - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3fvARB = (Delegates.UniformMatrix3fvARB)GetExtensionDelegateStatic("glUniformMatrix3fvARB", typeof(Delegates.UniformMatrix3fvARB)); - Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix3x2dv = (Delegates.UniformMatrix3x2dv)GetExtensionDelegateStatic("glUniformMatrix3x2dv", typeof(Delegates.UniformMatrix3x2dv)); - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x2fv = (Delegates.UniformMatrix3x2fv)GetExtensionDelegateStatic("glUniformMatrix3x2fv", typeof(Delegates.UniformMatrix3x2fv)); - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix3x4dv = (Delegates.UniformMatrix3x4dv)GetExtensionDelegateStatic("glUniformMatrix3x4dv", typeof(Delegates.UniformMatrix3x4dv)); - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x4fv = (Delegates.UniformMatrix3x4fv)GetExtensionDelegateStatic("glUniformMatrix3x4fv", typeof(Delegates.UniformMatrix3x4fv)); - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix4dv = (Delegates.UniformMatrix4dv)GetExtensionDelegateStatic("glUniformMatrix4dv", typeof(Delegates.UniformMatrix4dv)); - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4fvARB = (Delegates.UniformMatrix4fvARB)GetExtensionDelegateStatic("glUniformMatrix4fvARB", typeof(Delegates.UniformMatrix4fvARB)); - Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix4x2dv = (Delegates.UniformMatrix4x2dv)GetExtensionDelegateStatic("glUniformMatrix4x2dv", typeof(Delegates.UniformMatrix4x2dv)); - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x2fv = (Delegates.UniformMatrix4x2fv)GetExtensionDelegateStatic("glUniformMatrix4x2fv", typeof(Delegates.UniformMatrix4x2fv)); - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix4x3dv = (Delegates.UniformMatrix4x3dv)GetExtensionDelegateStatic("glUniformMatrix4x3dv", typeof(Delegates.UniformMatrix4x3dv)); - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x3fv = (Delegates.UniformMatrix4x3fv)GetExtensionDelegateStatic("glUniformMatrix4x3fv", typeof(Delegates.UniformMatrix4x3fv)); - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformSubroutinesuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices) - { - Delegates.glUniformSubroutinesuiv = (Delegates.UniformSubroutinesuiv)GetExtensionDelegateStatic("glUniformSubroutinesuiv", typeof(Delegates.UniformSubroutinesuiv)); - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices); - } - internal static void Load_Uniformui64NV(Int32 location, UInt64 value) - { - Delegates.glUniformui64NV = (Delegates.Uniformui64NV)GetExtensionDelegateStatic("glUniformui64NV", typeof(Delegates.Uniformui64NV)); - Delegates.glUniformui64NV((Int32)location, (UInt64)value); - } - internal static unsafe void Load_Uniformui64vNV(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniformui64vNV = (Delegates.Uniformui64vNV)GetExtensionDelegateStatic("glUniformui64vNV", typeof(Delegates.Uniformui64vNV)); - Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value); - } - internal static void Load_UnlockArraysEXT() - { - Delegates.glUnlockArraysEXT = (Delegates.UnlockArraysEXT)GetExtensionDelegateStatic("glUnlockArraysEXT", typeof(Delegates.UnlockArraysEXT)); - Delegates.glUnlockArraysEXT(); - } - internal static bool Load_UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target) - { - Delegates.glUnmapBuffer = (Delegates.UnmapBuffer)GetExtensionDelegateStatic("glUnmapBuffer", typeof(Delegates.UnmapBuffer)); - return Delegates.glUnmapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target); - } - internal static bool Load_UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target) - { - Delegates.glUnmapBufferARB = (Delegates.UnmapBufferARB)GetExtensionDelegateStatic("glUnmapBufferARB", typeof(Delegates.UnmapBufferARB)); - return Delegates.glUnmapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target); - } - internal static bool Load_UnmapNamedBufferEXT(UInt32 buffer) - { - Delegates.glUnmapNamedBufferEXT = (Delegates.UnmapNamedBufferEXT)GetExtensionDelegateStatic("glUnmapNamedBufferEXT", typeof(Delegates.UnmapNamedBufferEXT)); - return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); - } - internal static void Load_UnmapObjectBufferATI(UInt32 buffer) - { - Delegates.glUnmapObjectBufferATI = (Delegates.UnmapObjectBufferATI)GetExtensionDelegateStatic("glUnmapObjectBufferATI", typeof(Delegates.UnmapObjectBufferATI)); - Delegates.glUnmapObjectBufferATI((UInt32)buffer); - } - internal static void Load_UnmapTexture2DINTEL(UInt32 texture, Int32 level) - { - Delegates.glUnmapTexture2DINTEL = (Delegates.UnmapTexture2DINTEL)GetExtensionDelegateStatic("glUnmapTexture2DINTEL", typeof(Delegates.UnmapTexture2DINTEL)); - Delegates.glUnmapTexture2DINTEL((UInt32)texture, (Int32)level); - } - internal static void Load_UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) - { - Delegates.glUpdateObjectBufferATI = (Delegates.UpdateObjectBufferATI)GetExtensionDelegateStatic("glUpdateObjectBufferATI", typeof(Delegates.UpdateObjectBufferATI)); - Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); - } - internal static void Load_UseProgram(UInt32 program) - { - Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); - Delegates.glUseProgram((UInt32)program); - } - internal static void Load_UseProgramObjectARB(UInt32 programObj) - { - Delegates.glUseProgramObjectARB = (Delegates.UseProgramObjectARB)GetExtensionDelegateStatic("glUseProgramObjectARB", typeof(Delegates.UseProgramObjectARB)); - Delegates.glUseProgramObjectARB((UInt32)programObj); - } - internal static void Load_UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program) - { - Delegates.glUseProgramStages = (Delegates.UseProgramStages)GetExtensionDelegateStatic("glUseProgramStages", typeof(Delegates.UseProgramStages)); - Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program); - } - internal static void Load_UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program) - { - Delegates.glUseProgramStagesEXT = (Delegates.UseProgramStagesEXT)GetExtensionDelegateStatic("glUseProgramStagesEXT", typeof(Delegates.UseProgramStagesEXT)); - Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); - } - internal static void Load_UseShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program) - { - Delegates.glUseShaderProgramEXT = (Delegates.UseShaderProgramEXT)GetExtensionDelegateStatic("glUseShaderProgramEXT", typeof(Delegates.UseShaderProgramEXT)); - Delegates.glUseShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program); - } - internal static void Load_ValidateProgram(UInt32 program) - { - Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); - Delegates.glValidateProgram((UInt32)program); - } - internal static void Load_ValidateProgramARB(UInt32 programObj) - { - Delegates.glValidateProgramARB = (Delegates.ValidateProgramARB)GetExtensionDelegateStatic("glValidateProgramARB", typeof(Delegates.ValidateProgramARB)); - Delegates.glValidateProgramARB((UInt32)programObj); - } - internal static void Load_ValidateProgramPipeline(UInt32 pipeline) - { - Delegates.glValidateProgramPipeline = (Delegates.ValidateProgramPipeline)GetExtensionDelegateStatic("glValidateProgramPipeline", typeof(Delegates.ValidateProgramPipeline)); - Delegates.glValidateProgramPipeline((UInt32)pipeline); - } - internal static void Load_ValidateProgramPipelineEXT(UInt32 pipeline) - { - Delegates.glValidateProgramPipelineEXT = (Delegates.ValidateProgramPipelineEXT)GetExtensionDelegateStatic("glValidateProgramPipelineEXT", typeof(Delegates.ValidateProgramPipelineEXT)); - Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); - } - internal static void Load_VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) - { - Delegates.glVariantArrayObjectATI = (Delegates.VariantArrayObjectATI)GetExtensionDelegateStatic("glVariantArrayObjectATI", typeof(Delegates.VariantArrayObjectATI)); - Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); - } - internal static unsafe void Load_VariantbvEXT(UInt32 id, SByte* addr) - { - Delegates.glVariantbvEXT = (Delegates.VariantbvEXT)GetExtensionDelegateStatic("glVariantbvEXT", typeof(Delegates.VariantbvEXT)); - Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); - } - internal static unsafe void Load_VariantdvEXT(UInt32 id, Double* addr) - { - Delegates.glVariantdvEXT = (Delegates.VariantdvEXT)GetExtensionDelegateStatic("glVariantdvEXT", typeof(Delegates.VariantdvEXT)); - Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); - } - internal static unsafe void Load_VariantfvEXT(UInt32 id, Single* addr) - { - Delegates.glVariantfvEXT = (Delegates.VariantfvEXT)GetExtensionDelegateStatic("glVariantfvEXT", typeof(Delegates.VariantfvEXT)); - Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); - } - internal static unsafe void Load_VariantivEXT(UInt32 id, Int32* addr) - { - Delegates.glVariantivEXT = (Delegates.VariantivEXT)GetExtensionDelegateStatic("glVariantivEXT", typeof(Delegates.VariantivEXT)); - Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); - } - internal static void Load_VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr) - { - Delegates.glVariantPointerEXT = (Delegates.VariantPointerEXT)GetExtensionDelegateStatic("glVariantPointerEXT", typeof(Delegates.VariantPointerEXT)); - Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); - } - internal static unsafe void Load_VariantsvEXT(UInt32 id, Int16* addr) - { - Delegates.glVariantsvEXT = (Delegates.VariantsvEXT)GetExtensionDelegateStatic("glVariantsvEXT", typeof(Delegates.VariantsvEXT)); - Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); - } - internal static unsafe void Load_VariantubvEXT(UInt32 id, Byte* addr) - { - Delegates.glVariantubvEXT = (Delegates.VariantubvEXT)GetExtensionDelegateStatic("glVariantubvEXT", typeof(Delegates.VariantubvEXT)); - Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); - } - internal static unsafe void Load_VariantuivEXT(UInt32 id, UInt32* addr) - { - Delegates.glVariantuivEXT = (Delegates.VariantuivEXT)GetExtensionDelegateStatic("glVariantuivEXT", typeof(Delegates.VariantuivEXT)); - Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); - } - internal static unsafe void Load_VariantusvEXT(UInt32 id, UInt16* addr) - { - Delegates.glVariantusvEXT = (Delegates.VariantusvEXT)GetExtensionDelegateStatic("glVariantusvEXT", typeof(Delegates.VariantusvEXT)); - Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); - } - internal static void Load_VDPAUFiniNV() - { - Delegates.glVDPAUFiniNV = (Delegates.VDPAUFiniNV)GetExtensionDelegateStatic("glVDPAUFiniNV", typeof(Delegates.VDPAUFiniNV)); - Delegates.glVDPAUFiniNV(); - } - internal static unsafe void Load_VDPAUGetSurfaceivNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - Delegates.glVDPAUGetSurfaceivNV = (Delegates.VDPAUGetSurfaceivNV)GetExtensionDelegateStatic("glVDPAUGetSurfaceivNV", typeof(Delegates.VDPAUGetSurfaceivNV)); - Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - } - internal static void Load_VDPAUInitNV(IntPtr vdpDevice, IntPtr getProcAddress) - { - Delegates.glVDPAUInitNV = (Delegates.VDPAUInitNV)GetExtensionDelegateStatic("glVDPAUInitNV", typeof(Delegates.VDPAUInitNV)); - Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress); - } - internal static void Load_VDPAUIsSurfaceNV(IntPtr surface) - { - Delegates.glVDPAUIsSurfaceNV = (Delegates.VDPAUIsSurfaceNV)GetExtensionDelegateStatic("glVDPAUIsSurfaceNV", typeof(Delegates.VDPAUIsSurfaceNV)); - Delegates.glVDPAUIsSurfaceNV((IntPtr)surface); - } - internal static unsafe void Load_VDPAUMapSurfacesNV(Int32 numSurfaces, IntPtr* surfaces) - { - Delegates.glVDPAUMapSurfacesNV = (Delegates.VDPAUMapSurfacesNV)GetExtensionDelegateStatic("glVDPAUMapSurfacesNV", typeof(Delegates.VDPAUMapSurfacesNV)); - Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces); - } - internal static unsafe IntPtr Load_VDPAURegisterOutputSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) - { - Delegates.glVDPAURegisterOutputSurfaceNV = (Delegates.VDPAURegisterOutputSurfaceNV)GetExtensionDelegateStatic("glVDPAURegisterOutputSurfaceNV", typeof(Delegates.VDPAURegisterOutputSurfaceNV)); - return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - internal static unsafe IntPtr Load_VDPAURegisterVideoSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) - { - Delegates.glVDPAURegisterVideoSurfaceNV = (Delegates.VDPAURegisterVideoSurfaceNV)GetExtensionDelegateStatic("glVDPAURegisterVideoSurfaceNV", typeof(Delegates.VDPAURegisterVideoSurfaceNV)); - return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); - } - internal static void Load_VDPAUSurfaceAccessNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access) - { - Delegates.glVDPAUSurfaceAccessNV = (Delegates.VDPAUSurfaceAccessNV)GetExtensionDelegateStatic("glVDPAUSurfaceAccessNV", typeof(Delegates.VDPAUSurfaceAccessNV)); - Delegates.glVDPAUSurfaceAccessNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)access); - } - internal static unsafe void Load_VDPAUUnmapSurfacesNV(Int32 numSurface, IntPtr* surfaces) - { - Delegates.glVDPAUUnmapSurfacesNV = (Delegates.VDPAUUnmapSurfacesNV)GetExtensionDelegateStatic("glVDPAUUnmapSurfacesNV", typeof(Delegates.VDPAUUnmapSurfacesNV)); - Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces); - } - internal static void Load_VDPAUUnregisterSurfaceNV(IntPtr surface) - { - Delegates.glVDPAUUnregisterSurfaceNV = (Delegates.VDPAUUnregisterSurfaceNV)GetExtensionDelegateStatic("glVDPAUUnregisterSurfaceNV", typeof(Delegates.VDPAUUnregisterSurfaceNV)); - Delegates.glVDPAUUnregisterSurfaceNV((IntPtr)surface); - } - internal static void Load_Vertex2bOES(SByte x) - { - Delegates.glVertex2bOES = (Delegates.Vertex2bOES)GetExtensionDelegateStatic("glVertex2bOES", typeof(Delegates.Vertex2bOES)); - Delegates.glVertex2bOES((SByte)x); - } - internal static unsafe void Load_Vertex2bvOES(SByte* coords) - { - Delegates.glVertex2bvOES = (Delegates.Vertex2bvOES)GetExtensionDelegateStatic("glVertex2bvOES", typeof(Delegates.Vertex2bvOES)); - Delegates.glVertex2bvOES((SByte*)coords); - } - internal static void Load_Vertex2d(Double x, Double y) - { - Delegates.glVertex2d = (Delegates.Vertex2d)GetExtensionDelegateStatic("glVertex2d", typeof(Delegates.Vertex2d)); - Delegates.glVertex2d((Double)x, (Double)y); - } - internal static unsafe void Load_Vertex2dv(Double* v) - { - Delegates.glVertex2dv = (Delegates.Vertex2dv)GetExtensionDelegateStatic("glVertex2dv", typeof(Delegates.Vertex2dv)); - Delegates.glVertex2dv((Double*)v); - } - internal static void Load_Vertex2f(Single x, Single y) - { - Delegates.glVertex2f = (Delegates.Vertex2f)GetExtensionDelegateStatic("glVertex2f", typeof(Delegates.Vertex2f)); - Delegates.glVertex2f((Single)x, (Single)y); - } - internal static unsafe void Load_Vertex2fv(Single* v) - { - Delegates.glVertex2fv = (Delegates.Vertex2fv)GetExtensionDelegateStatic("glVertex2fv", typeof(Delegates.Vertex2fv)); - Delegates.glVertex2fv((Single*)v); - } - internal static void Load_Vertex2hNV(Half x, Half y) - { - Delegates.glVertex2hNV = (Delegates.Vertex2hNV)GetExtensionDelegateStatic("glVertex2hNV", typeof(Delegates.Vertex2hNV)); - Delegates.glVertex2hNV((Half)x, (Half)y); - } - internal static unsafe void Load_Vertex2hvNV(Half* v) - { - Delegates.glVertex2hvNV = (Delegates.Vertex2hvNV)GetExtensionDelegateStatic("glVertex2hvNV", typeof(Delegates.Vertex2hvNV)); - Delegates.glVertex2hvNV((Half*)v); - } - internal static void Load_Vertex2i(Int32 x, Int32 y) - { - Delegates.glVertex2i = (Delegates.Vertex2i)GetExtensionDelegateStatic("glVertex2i", typeof(Delegates.Vertex2i)); - Delegates.glVertex2i((Int32)x, (Int32)y); - } - internal static unsafe void Load_Vertex2iv(Int32* v) - { - Delegates.glVertex2iv = (Delegates.Vertex2iv)GetExtensionDelegateStatic("glVertex2iv", typeof(Delegates.Vertex2iv)); - Delegates.glVertex2iv((Int32*)v); - } - internal static void Load_Vertex2s(Int16 x, Int16 y) - { - Delegates.glVertex2s = (Delegates.Vertex2s)GetExtensionDelegateStatic("glVertex2s", typeof(Delegates.Vertex2s)); - Delegates.glVertex2s((Int16)x, (Int16)y); - } - internal static unsafe void Load_Vertex2sv(Int16* v) - { - Delegates.glVertex2sv = (Delegates.Vertex2sv)GetExtensionDelegateStatic("glVertex2sv", typeof(Delegates.Vertex2sv)); - Delegates.glVertex2sv((Int16*)v); - } - internal static void Load_Vertex2xOES(int x) - { - Delegates.glVertex2xOES = (Delegates.Vertex2xOES)GetExtensionDelegateStatic("glVertex2xOES", typeof(Delegates.Vertex2xOES)); - Delegates.glVertex2xOES((int)x); - } - internal static unsafe void Load_Vertex2xvOES(int* coords) - { - Delegates.glVertex2xvOES = (Delegates.Vertex2xvOES)GetExtensionDelegateStatic("glVertex2xvOES", typeof(Delegates.Vertex2xvOES)); - Delegates.glVertex2xvOES((int*)coords); - } - internal static void Load_Vertex3bOES(SByte x, SByte y) - { - Delegates.glVertex3bOES = (Delegates.Vertex3bOES)GetExtensionDelegateStatic("glVertex3bOES", typeof(Delegates.Vertex3bOES)); - Delegates.glVertex3bOES((SByte)x, (SByte)y); - } - internal static unsafe void Load_Vertex3bvOES(SByte* coords) - { - Delegates.glVertex3bvOES = (Delegates.Vertex3bvOES)GetExtensionDelegateStatic("glVertex3bvOES", typeof(Delegates.Vertex3bvOES)); - Delegates.glVertex3bvOES((SByte*)coords); - } - internal static void Load_Vertex3d(Double x, Double y, Double z) - { - Delegates.glVertex3d = (Delegates.Vertex3d)GetExtensionDelegateStatic("glVertex3d", typeof(Delegates.Vertex3d)); - Delegates.glVertex3d((Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_Vertex3dv(Double* v) - { - Delegates.glVertex3dv = (Delegates.Vertex3dv)GetExtensionDelegateStatic("glVertex3dv", typeof(Delegates.Vertex3dv)); - Delegates.glVertex3dv((Double*)v); - } - internal static void Load_Vertex3f(Single x, Single y, Single z) - { - Delegates.glVertex3f = (Delegates.Vertex3f)GetExtensionDelegateStatic("glVertex3f", typeof(Delegates.Vertex3f)); - Delegates.glVertex3f((Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_Vertex3fv(Single* v) - { - Delegates.glVertex3fv = (Delegates.Vertex3fv)GetExtensionDelegateStatic("glVertex3fv", typeof(Delegates.Vertex3fv)); - Delegates.glVertex3fv((Single*)v); - } - internal static void Load_Vertex3hNV(Half x, Half y, Half z) - { - Delegates.glVertex3hNV = (Delegates.Vertex3hNV)GetExtensionDelegateStatic("glVertex3hNV", typeof(Delegates.Vertex3hNV)); - Delegates.glVertex3hNV((Half)x, (Half)y, (Half)z); - } - internal static unsafe void Load_Vertex3hvNV(Half* v) - { - Delegates.glVertex3hvNV = (Delegates.Vertex3hvNV)GetExtensionDelegateStatic("glVertex3hvNV", typeof(Delegates.Vertex3hvNV)); - Delegates.glVertex3hvNV((Half*)v); - } - internal static void Load_Vertex3i(Int32 x, Int32 y, Int32 z) - { - Delegates.glVertex3i = (Delegates.Vertex3i)GetExtensionDelegateStatic("glVertex3i", typeof(Delegates.Vertex3i)); - Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); - } - internal static unsafe void Load_Vertex3iv(Int32* v) - { - Delegates.glVertex3iv = (Delegates.Vertex3iv)GetExtensionDelegateStatic("glVertex3iv", typeof(Delegates.Vertex3iv)); - Delegates.glVertex3iv((Int32*)v); - } - internal static void Load_Vertex3s(Int16 x, Int16 y, Int16 z) - { - Delegates.glVertex3s = (Delegates.Vertex3s)GetExtensionDelegateStatic("glVertex3s", typeof(Delegates.Vertex3s)); - Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); - } - internal static unsafe void Load_Vertex3sv(Int16* v) - { - Delegates.glVertex3sv = (Delegates.Vertex3sv)GetExtensionDelegateStatic("glVertex3sv", typeof(Delegates.Vertex3sv)); - Delegates.glVertex3sv((Int16*)v); - } - internal static void Load_Vertex3xOES(int x, int y) - { - Delegates.glVertex3xOES = (Delegates.Vertex3xOES)GetExtensionDelegateStatic("glVertex3xOES", typeof(Delegates.Vertex3xOES)); - Delegates.glVertex3xOES((int)x, (int)y); - } - internal static unsafe void Load_Vertex3xvOES(int* coords) - { - Delegates.glVertex3xvOES = (Delegates.Vertex3xvOES)GetExtensionDelegateStatic("glVertex3xvOES", typeof(Delegates.Vertex3xvOES)); - Delegates.glVertex3xvOES((int*)coords); - } - internal static void Load_Vertex4bOES(SByte x, SByte y, SByte z) - { - Delegates.glVertex4bOES = (Delegates.Vertex4bOES)GetExtensionDelegateStatic("glVertex4bOES", typeof(Delegates.Vertex4bOES)); - Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); - } - internal static unsafe void Load_Vertex4bvOES(SByte* coords) - { - Delegates.glVertex4bvOES = (Delegates.Vertex4bvOES)GetExtensionDelegateStatic("glVertex4bvOES", typeof(Delegates.Vertex4bvOES)); - Delegates.glVertex4bvOES((SByte*)coords); - } - internal static void Load_Vertex4d(Double x, Double y, Double z, Double w) - { - Delegates.glVertex4d = (Delegates.Vertex4d)GetExtensionDelegateStatic("glVertex4d", typeof(Delegates.Vertex4d)); - Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_Vertex4dv(Double* v) - { - Delegates.glVertex4dv = (Delegates.Vertex4dv)GetExtensionDelegateStatic("glVertex4dv", typeof(Delegates.Vertex4dv)); - Delegates.glVertex4dv((Double*)v); - } - internal static void Load_Vertex4f(Single x, Single y, Single z, Single w) - { - Delegates.glVertex4f = (Delegates.Vertex4f)GetExtensionDelegateStatic("glVertex4f", typeof(Delegates.Vertex4f)); - Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_Vertex4fv(Single* v) - { - Delegates.glVertex4fv = (Delegates.Vertex4fv)GetExtensionDelegateStatic("glVertex4fv", typeof(Delegates.Vertex4fv)); - Delegates.glVertex4fv((Single*)v); - } - internal static void Load_Vertex4hNV(Half x, Half y, Half z, Half w) - { - Delegates.glVertex4hNV = (Delegates.Vertex4hNV)GetExtensionDelegateStatic("glVertex4hNV", typeof(Delegates.Vertex4hNV)); - Delegates.glVertex4hNV((Half)x, (Half)y, (Half)z, (Half)w); - } - internal static unsafe void Load_Vertex4hvNV(Half* v) - { - Delegates.glVertex4hvNV = (Delegates.Vertex4hvNV)GetExtensionDelegateStatic("glVertex4hvNV", typeof(Delegates.Vertex4hvNV)); - Delegates.glVertex4hvNV((Half*)v); - } - internal static void Load_Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glVertex4i = (Delegates.Vertex4i)GetExtensionDelegateStatic("glVertex4i", typeof(Delegates.Vertex4i)); - Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_Vertex4iv(Int32* v) - { - Delegates.glVertex4iv = (Delegates.Vertex4iv)GetExtensionDelegateStatic("glVertex4iv", typeof(Delegates.Vertex4iv)); - Delegates.glVertex4iv((Int32*)v); - } - internal static void Load_Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glVertex4s = (Delegates.Vertex4s)GetExtensionDelegateStatic("glVertex4s", typeof(Delegates.Vertex4s)); - Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static unsafe void Load_Vertex4sv(Int16* v) - { - Delegates.glVertex4sv = (Delegates.Vertex4sv)GetExtensionDelegateStatic("glVertex4sv", typeof(Delegates.Vertex4sv)); - Delegates.glVertex4sv((Int16*)v); - } - internal static void Load_Vertex4xOES(int x, int y, int z) - { - Delegates.glVertex4xOES = (Delegates.Vertex4xOES)GetExtensionDelegateStatic("glVertex4xOES", typeof(Delegates.Vertex4xOES)); - Delegates.glVertex4xOES((int)x, (int)y, (int)z); - } - internal static unsafe void Load_Vertex4xvOES(int* coords) - { - Delegates.glVertex4xvOES = (Delegates.Vertex4xvOES)GetExtensionDelegateStatic("glVertex4xvOES", typeof(Delegates.Vertex4xvOES)); - Delegates.glVertex4xvOES((int*)coords); - } - internal static void Load_VertexArrayBindVertexBufferEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - Delegates.glVertexArrayBindVertexBufferEXT = (Delegates.VertexArrayBindVertexBufferEXT)GetExtensionDelegateStatic("glVertexArrayBindVertexBufferEXT", typeof(Delegates.VertexArrayBindVertexBufferEXT)); - Delegates.glVertexArrayBindVertexBufferEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - } - internal static void Load_VertexArrayColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayColorOffsetEXT = (Delegates.VertexArrayColorOffsetEXT)GetExtensionDelegateStatic("glVertexArrayColorOffsetEXT", typeof(Delegates.VertexArrayColorOffsetEXT)); - Delegates.glVertexArrayColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayEdgeFlagOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayEdgeFlagOffsetEXT = (Delegates.VertexArrayEdgeFlagOffsetEXT)GetExtensionDelegateStatic("glVertexArrayEdgeFlagOffsetEXT", typeof(Delegates.VertexArrayEdgeFlagOffsetEXT)); - Delegates.glVertexArrayEdgeFlagOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayFogCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayFogCoordOffsetEXT = (Delegates.VertexArrayFogCoordOffsetEXT)GetExtensionDelegateStatic("glVertexArrayFogCoordOffsetEXT", typeof(Delegates.VertexArrayFogCoordOffsetEXT)); - Delegates.glVertexArrayFogCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayIndexOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayIndexOffsetEXT = (Delegates.VertexArrayIndexOffsetEXT)GetExtensionDelegateStatic("glVertexArrayIndexOffsetEXT", typeof(Delegates.VertexArrayIndexOffsetEXT)); - Delegates.glVertexArrayIndexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayMultiTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayMultiTexCoordOffsetEXT = (Delegates.VertexArrayMultiTexCoordOffsetEXT)GetExtensionDelegateStatic("glVertexArrayMultiTexCoordOffsetEXT", typeof(Delegates.VertexArrayMultiTexCoordOffsetEXT)); - Delegates.glVertexArrayMultiTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayNormalOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayNormalOffsetEXT = (Delegates.VertexArrayNormalOffsetEXT)GetExtensionDelegateStatic("glVertexArrayNormalOffsetEXT", typeof(Delegates.VertexArrayNormalOffsetEXT)); - Delegates.glVertexArrayNormalOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param) - { - Delegates.glVertexArrayParameteriAPPLE = (Delegates.VertexArrayParameteriAPPLE)GetExtensionDelegateStatic("glVertexArrayParameteriAPPLE", typeof(Delegates.VertexArrayParameteriAPPLE)); - Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.OpenGL.AppleVertexArrayRange)pname, (Int32)param); - } - internal static void Load_VertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer) - { - Delegates.glVertexArrayRangeAPPLE = (Delegates.VertexArrayRangeAPPLE)GetExtensionDelegateStatic("glVertexArrayRangeAPPLE", typeof(Delegates.VertexArrayRangeAPPLE)); - Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); - } - internal static void Load_VertexArrayRangeNV(Int32 length, IntPtr pointer) - { - Delegates.glVertexArrayRangeNV = (Delegates.VertexArrayRangeNV)GetExtensionDelegateStatic("glVertexArrayRangeNV", typeof(Delegates.VertexArrayRangeNV)); - Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); - } - internal static void Load_VertexArraySecondaryColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArraySecondaryColorOffsetEXT = (Delegates.VertexArraySecondaryColorOffsetEXT)GetExtensionDelegateStatic("glVertexArraySecondaryColorOffsetEXT", typeof(Delegates.VertexArraySecondaryColorOffsetEXT)); - Delegates.glVertexArraySecondaryColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayTexCoordOffsetEXT = (Delegates.VertexArrayTexCoordOffsetEXT)GetExtensionDelegateStatic("glVertexArrayTexCoordOffsetEXT", typeof(Delegates.VertexArrayTexCoordOffsetEXT)); - Delegates.glVertexArrayTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayVertexAttribBindingEXT(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex) - { - Delegates.glVertexArrayVertexAttribBindingEXT = (Delegates.VertexArrayVertexAttribBindingEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribBindingEXT", typeof(Delegates.VertexArrayVertexAttribBindingEXT)); - Delegates.glVertexArrayVertexAttribBindingEXT((UInt32)vaobj, (UInt32)attribindex, (UInt32)bindingindex); - } - internal static void Load_VertexArrayVertexAttribDivisorEXT(UInt32 vaobj, UInt32 index, UInt32 divisor) - { - Delegates.glVertexArrayVertexAttribDivisorEXT = (Delegates.VertexArrayVertexAttribDivisorEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribDivisorEXT", typeof(Delegates.VertexArrayVertexAttribDivisorEXT)); - Delegates.glVertexArrayVertexAttribDivisorEXT((UInt32)vaobj, (UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexArrayVertexAttribFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, UInt32 relativeoffset) - { - Delegates.glVertexArrayVertexAttribFormatEXT = (Delegates.VertexArrayVertexAttribFormatEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribFormatEXT", typeof(Delegates.VertexArrayVertexAttribFormatEXT)); - Delegates.glVertexArrayVertexAttribFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (bool)normalized, (UInt32)relativeoffset); - } - internal static void Load_VertexArrayVertexAttribIFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) - { - Delegates.glVertexArrayVertexAttribIFormatEXT = (Delegates.VertexArrayVertexAttribIFormatEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribIFormatEXT", typeof(Delegates.VertexArrayVertexAttribIFormatEXT)); - Delegates.glVertexArrayVertexAttribIFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); - } - internal static void Load_VertexArrayVertexAttribIOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayVertexAttribIOffsetEXT = (Delegates.VertexArrayVertexAttribIOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribIOffsetEXT", typeof(Delegates.VertexArrayVertexAttribIOffsetEXT)); - Delegates.glVertexArrayVertexAttribIOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayVertexAttribLFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) - { - Delegates.glVertexArrayVertexAttribLFormatEXT = (Delegates.VertexArrayVertexAttribLFormatEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribLFormatEXT", typeof(Delegates.VertexArrayVertexAttribLFormatEXT)); - Delegates.glVertexArrayVertexAttribLFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); - } - internal static void Load_VertexArrayVertexAttribLOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayVertexAttribLOffsetEXT = (Delegates.VertexArrayVertexAttribLOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribLOffsetEXT", typeof(Delegates.VertexArrayVertexAttribLOffsetEXT)); - Delegates.glVertexArrayVertexAttribLOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayVertexAttribOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayVertexAttribOffsetEXT = (Delegates.VertexArrayVertexAttribOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribOffsetEXT", typeof(Delegates.VertexArrayVertexAttribOffsetEXT)); - Delegates.glVertexArrayVertexAttribOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexArrayVertexBindingDivisorEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor) - { - Delegates.glVertexArrayVertexBindingDivisorEXT = (Delegates.VertexArrayVertexBindingDivisorEXT)GetExtensionDelegateStatic("glVertexArrayVertexBindingDivisorEXT", typeof(Delegates.VertexArrayVertexBindingDivisorEXT)); - Delegates.glVertexArrayVertexBindingDivisorEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)divisor); - } - internal static void Load_VertexArrayVertexOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset) - { - Delegates.glVertexArrayVertexOffsetEXT = (Delegates.VertexArrayVertexOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexOffsetEXT", typeof(Delegates.VertexArrayVertexOffsetEXT)); - Delegates.glVertexArrayVertexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)offset); - } - internal static void Load_VertexAttrib1d(UInt32 index, Double x) - { - Delegates.glVertexAttrib1d = (Delegates.VertexAttrib1d)GetExtensionDelegateStatic("glVertexAttrib1d", typeof(Delegates.VertexAttrib1d)); - Delegates.glVertexAttrib1d((UInt32)index, (Double)x); - } - internal static void Load_VertexAttrib1dARB(UInt32 index, Double x) - { - Delegates.glVertexAttrib1dARB = (Delegates.VertexAttrib1dARB)GetExtensionDelegateStatic("glVertexAttrib1dARB", typeof(Delegates.VertexAttrib1dARB)); - Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); - } - internal static void Load_VertexAttrib1dNV(UInt32 index, Double x) - { - Delegates.glVertexAttrib1dNV = (Delegates.VertexAttrib1dNV)GetExtensionDelegateStatic("glVertexAttrib1dNV", typeof(Delegates.VertexAttrib1dNV)); - Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); - } - internal static unsafe void Load_VertexAttrib1dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib1dv = (Delegates.VertexAttrib1dv)GetExtensionDelegateStatic("glVertexAttrib1dv", typeof(Delegates.VertexAttrib1dv)); - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib1dvARB(UInt32 index, Double* v) - { - Delegates.glVertexAttrib1dvARB = (Delegates.VertexAttrib1dvARB)GetExtensionDelegateStatic("glVertexAttrib1dvARB", typeof(Delegates.VertexAttrib1dvARB)); - Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib1dvNV(UInt32 index, Double* v) - { - Delegates.glVertexAttrib1dvNV = (Delegates.VertexAttrib1dvNV)GetExtensionDelegateStatic("glVertexAttrib1dvNV", typeof(Delegates.VertexAttrib1dvNV)); - Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib1f(UInt32 index, Single x) - { - Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - } - internal static void Load_VertexAttrib1fARB(UInt32 index, Single x) - { - Delegates.glVertexAttrib1fARB = (Delegates.VertexAttrib1fARB)GetExtensionDelegateStatic("glVertexAttrib1fARB", typeof(Delegates.VertexAttrib1fARB)); - Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); - } - internal static void Load_VertexAttrib1fNV(UInt32 index, Single x) - { - Delegates.glVertexAttrib1fNV = (Delegates.VertexAttrib1fNV)GetExtensionDelegateStatic("glVertexAttrib1fNV", typeof(Delegates.VertexAttrib1fNV)); - Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); - } - internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib1fvARB(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fvARB = (Delegates.VertexAttrib1fvARB)GetExtensionDelegateStatic("glVertexAttrib1fvARB", typeof(Delegates.VertexAttrib1fvARB)); - Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib1fvNV(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fvNV = (Delegates.VertexAttrib1fvNV)GetExtensionDelegateStatic("glVertexAttrib1fvNV", typeof(Delegates.VertexAttrib1fvNV)); - Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib1hNV(UInt32 index, Half x) - { - Delegates.glVertexAttrib1hNV = (Delegates.VertexAttrib1hNV)GetExtensionDelegateStatic("glVertexAttrib1hNV", typeof(Delegates.VertexAttrib1hNV)); - Delegates.glVertexAttrib1hNV((UInt32)index, (Half)x); - } - internal static unsafe void Load_VertexAttrib1hvNV(UInt32 index, Half* v) - { - Delegates.glVertexAttrib1hvNV = (Delegates.VertexAttrib1hvNV)GetExtensionDelegateStatic("glVertexAttrib1hvNV", typeof(Delegates.VertexAttrib1hvNV)); - Delegates.glVertexAttrib1hvNV((UInt32)index, (Half*)v); - } - internal static void Load_VertexAttrib1s(UInt32 index, Int16 x) - { - Delegates.glVertexAttrib1s = (Delegates.VertexAttrib1s)GetExtensionDelegateStatic("glVertexAttrib1s", typeof(Delegates.VertexAttrib1s)); - Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); - } - internal static void Load_VertexAttrib1sARB(UInt32 index, Int16 x) - { - Delegates.glVertexAttrib1sARB = (Delegates.VertexAttrib1sARB)GetExtensionDelegateStatic("glVertexAttrib1sARB", typeof(Delegates.VertexAttrib1sARB)); - Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); - } - internal static void Load_VertexAttrib1sNV(UInt32 index, Int16 x) - { - Delegates.glVertexAttrib1sNV = (Delegates.VertexAttrib1sNV)GetExtensionDelegateStatic("glVertexAttrib1sNV", typeof(Delegates.VertexAttrib1sNV)); - Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); - } - internal static unsafe void Load_VertexAttrib1sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib1sv = (Delegates.VertexAttrib1sv)GetExtensionDelegateStatic("glVertexAttrib1sv", typeof(Delegates.VertexAttrib1sv)); - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib1svARB(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib1svARB = (Delegates.VertexAttrib1svARB)GetExtensionDelegateStatic("glVertexAttrib1svARB", typeof(Delegates.VertexAttrib1svARB)); - Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib1svNV(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib1svNV = (Delegates.VertexAttrib1svNV)GetExtensionDelegateStatic("glVertexAttrib1svNV", typeof(Delegates.VertexAttrib1svNV)); - Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); - } - internal static void Load_VertexAttrib2d(UInt32 index, Double x, Double y) - { - Delegates.glVertexAttrib2d = (Delegates.VertexAttrib2d)GetExtensionDelegateStatic("glVertexAttrib2d", typeof(Delegates.VertexAttrib2d)); - Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); - } - internal static void Load_VertexAttrib2dARB(UInt32 index, Double x, Double y) - { - Delegates.glVertexAttrib2dARB = (Delegates.VertexAttrib2dARB)GetExtensionDelegateStatic("glVertexAttrib2dARB", typeof(Delegates.VertexAttrib2dARB)); - Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); - } - internal static void Load_VertexAttrib2dNV(UInt32 index, Double x, Double y) - { - Delegates.glVertexAttrib2dNV = (Delegates.VertexAttrib2dNV)GetExtensionDelegateStatic("glVertexAttrib2dNV", typeof(Delegates.VertexAttrib2dNV)); - Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); - } - internal static unsafe void Load_VertexAttrib2dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib2dv = (Delegates.VertexAttrib2dv)GetExtensionDelegateStatic("glVertexAttrib2dv", typeof(Delegates.VertexAttrib2dv)); - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib2dvARB(UInt32 index, Double* v) - { - Delegates.glVertexAttrib2dvARB = (Delegates.VertexAttrib2dvARB)GetExtensionDelegateStatic("glVertexAttrib2dvARB", typeof(Delegates.VertexAttrib2dvARB)); - Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib2dvNV(UInt32 index, Double* v) - { - Delegates.glVertexAttrib2dvNV = (Delegates.VertexAttrib2dvNV)GetExtensionDelegateStatic("glVertexAttrib2dvNV", typeof(Delegates.VertexAttrib2dvNV)); - Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) - { - Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - } - internal static void Load_VertexAttrib2fARB(UInt32 index, Single x, Single y) - { - Delegates.glVertexAttrib2fARB = (Delegates.VertexAttrib2fARB)GetExtensionDelegateStatic("glVertexAttrib2fARB", typeof(Delegates.VertexAttrib2fARB)); - Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); - } - internal static void Load_VertexAttrib2fNV(UInt32 index, Single x, Single y) - { - Delegates.glVertexAttrib2fNV = (Delegates.VertexAttrib2fNV)GetExtensionDelegateStatic("glVertexAttrib2fNV", typeof(Delegates.VertexAttrib2fNV)); - Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); - } - internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib2fvARB(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fvARB = (Delegates.VertexAttrib2fvARB)GetExtensionDelegateStatic("glVertexAttrib2fvARB", typeof(Delegates.VertexAttrib2fvARB)); - Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib2fvNV(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fvNV = (Delegates.VertexAttrib2fvNV)GetExtensionDelegateStatic("glVertexAttrib2fvNV", typeof(Delegates.VertexAttrib2fvNV)); - Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib2hNV(UInt32 index, Half x, Half y) - { - Delegates.glVertexAttrib2hNV = (Delegates.VertexAttrib2hNV)GetExtensionDelegateStatic("glVertexAttrib2hNV", typeof(Delegates.VertexAttrib2hNV)); - Delegates.glVertexAttrib2hNV((UInt32)index, (Half)x, (Half)y); - } - internal static unsafe void Load_VertexAttrib2hvNV(UInt32 index, Half* v) - { - Delegates.glVertexAttrib2hvNV = (Delegates.VertexAttrib2hvNV)GetExtensionDelegateStatic("glVertexAttrib2hvNV", typeof(Delegates.VertexAttrib2hvNV)); - Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v); - } - internal static void Load_VertexAttrib2s(UInt32 index, Int16 x, Int16 y) - { - Delegates.glVertexAttrib2s = (Delegates.VertexAttrib2s)GetExtensionDelegateStatic("glVertexAttrib2s", typeof(Delegates.VertexAttrib2s)); - Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); - } - internal static void Load_VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y) - { - Delegates.glVertexAttrib2sARB = (Delegates.VertexAttrib2sARB)GetExtensionDelegateStatic("glVertexAttrib2sARB", typeof(Delegates.VertexAttrib2sARB)); - Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); - } - internal static void Load_VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y) - { - Delegates.glVertexAttrib2sNV = (Delegates.VertexAttrib2sNV)GetExtensionDelegateStatic("glVertexAttrib2sNV", typeof(Delegates.VertexAttrib2sNV)); - Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); - } - internal static unsafe void Load_VertexAttrib2sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib2sv = (Delegates.VertexAttrib2sv)GetExtensionDelegateStatic("glVertexAttrib2sv", typeof(Delegates.VertexAttrib2sv)); - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib2svARB(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib2svARB = (Delegates.VertexAttrib2svARB)GetExtensionDelegateStatic("glVertexAttrib2svARB", typeof(Delegates.VertexAttrib2svARB)); - Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib2svNV(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib2svNV = (Delegates.VertexAttrib2svNV)GetExtensionDelegateStatic("glVertexAttrib2svNV", typeof(Delegates.VertexAttrib2svNV)); - Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); - } - internal static void Load_VertexAttrib3d(UInt32 index, Double x, Double y, Double z) - { - Delegates.glVertexAttrib3d = (Delegates.VertexAttrib3d)GetExtensionDelegateStatic("glVertexAttrib3d", typeof(Delegates.VertexAttrib3d)); - Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); - } - internal static void Load_VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z) - { - Delegates.glVertexAttrib3dARB = (Delegates.VertexAttrib3dARB)GetExtensionDelegateStatic("glVertexAttrib3dARB", typeof(Delegates.VertexAttrib3dARB)); - Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); - } - internal static void Load_VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z) - { - Delegates.glVertexAttrib3dNV = (Delegates.VertexAttrib3dNV)GetExtensionDelegateStatic("glVertexAttrib3dNV", typeof(Delegates.VertexAttrib3dNV)); - Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_VertexAttrib3dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib3dv = (Delegates.VertexAttrib3dv)GetExtensionDelegateStatic("glVertexAttrib3dv", typeof(Delegates.VertexAttrib3dv)); - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib3dvARB(UInt32 index, Double* v) - { - Delegates.glVertexAttrib3dvARB = (Delegates.VertexAttrib3dvARB)GetExtensionDelegateStatic("glVertexAttrib3dvARB", typeof(Delegates.VertexAttrib3dvARB)); - Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib3dvNV(UInt32 index, Double* v) - { - Delegates.glVertexAttrib3dvNV = (Delegates.VertexAttrib3dvNV)GetExtensionDelegateStatic("glVertexAttrib3dvNV", typeof(Delegates.VertexAttrib3dvNV)); - Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) - { - Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - } - internal static void Load_VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z) - { - Delegates.glVertexAttrib3fARB = (Delegates.VertexAttrib3fARB)GetExtensionDelegateStatic("glVertexAttrib3fARB", typeof(Delegates.VertexAttrib3fARB)); - Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); - } - internal static void Load_VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z) - { - Delegates.glVertexAttrib3fNV = (Delegates.VertexAttrib3fNV)GetExtensionDelegateStatic("glVertexAttrib3fNV", typeof(Delegates.VertexAttrib3fNV)); - Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib3fvARB(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fvARB = (Delegates.VertexAttrib3fvARB)GetExtensionDelegateStatic("glVertexAttrib3fvARB", typeof(Delegates.VertexAttrib3fvARB)); - Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib3fvNV(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fvNV = (Delegates.VertexAttrib3fvNV)GetExtensionDelegateStatic("glVertexAttrib3fvNV", typeof(Delegates.VertexAttrib3fvNV)); - Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib3hNV(UInt32 index, Half x, Half y, Half z) - { - Delegates.glVertexAttrib3hNV = (Delegates.VertexAttrib3hNV)GetExtensionDelegateStatic("glVertexAttrib3hNV", typeof(Delegates.VertexAttrib3hNV)); - Delegates.glVertexAttrib3hNV((UInt32)index, (Half)x, (Half)y, (Half)z); - } - internal static unsafe void Load_VertexAttrib3hvNV(UInt32 index, Half* v) - { - Delegates.glVertexAttrib3hvNV = (Delegates.VertexAttrib3hvNV)GetExtensionDelegateStatic("glVertexAttrib3hvNV", typeof(Delegates.VertexAttrib3hvNV)); - Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v); - } - internal static void Load_VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z) - { - Delegates.glVertexAttrib3s = (Delegates.VertexAttrib3s)GetExtensionDelegateStatic("glVertexAttrib3s", typeof(Delegates.VertexAttrib3s)); - Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - } - internal static void Load_VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z) - { - Delegates.glVertexAttrib3sARB = (Delegates.VertexAttrib3sARB)GetExtensionDelegateStatic("glVertexAttrib3sARB", typeof(Delegates.VertexAttrib3sARB)); - Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - } - internal static void Load_VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z) - { - Delegates.glVertexAttrib3sNV = (Delegates.VertexAttrib3sNV)GetExtensionDelegateStatic("glVertexAttrib3sNV", typeof(Delegates.VertexAttrib3sNV)); - Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - } - internal static unsafe void Load_VertexAttrib3sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib3sv = (Delegates.VertexAttrib3sv)GetExtensionDelegateStatic("glVertexAttrib3sv", typeof(Delegates.VertexAttrib3sv)); - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib3svARB(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib3svARB = (Delegates.VertexAttrib3svARB)GetExtensionDelegateStatic("glVertexAttrib3svARB", typeof(Delegates.VertexAttrib3svARB)); - Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib3svNV(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib3svNV = (Delegates.VertexAttrib3svNV)GetExtensionDelegateStatic("glVertexAttrib3svNV", typeof(Delegates.VertexAttrib3svNV)); - Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib4bv(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4bv = (Delegates.VertexAttrib4bv)GetExtensionDelegateStatic("glVertexAttrib4bv", typeof(Delegates.VertexAttrib4bv)); - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); - } - internal static unsafe void Load_VertexAttrib4bvARB(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4bvARB = (Delegates.VertexAttrib4bvARB)GetExtensionDelegateStatic("glVertexAttrib4bvARB", typeof(Delegates.VertexAttrib4bvARB)); - Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); - } - internal static void Load_VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glVertexAttrib4d = (Delegates.VertexAttrib4d)GetExtensionDelegateStatic("glVertexAttrib4d", typeof(Delegates.VertexAttrib4d)); - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static void Load_VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glVertexAttrib4dARB = (Delegates.VertexAttrib4dARB)GetExtensionDelegateStatic("glVertexAttrib4dARB", typeof(Delegates.VertexAttrib4dARB)); - Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static void Load_VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glVertexAttrib4dNV = (Delegates.VertexAttrib4dNV)GetExtensionDelegateStatic("glVertexAttrib4dNV", typeof(Delegates.VertexAttrib4dNV)); - Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_VertexAttrib4dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib4dv = (Delegates.VertexAttrib4dv)GetExtensionDelegateStatic("glVertexAttrib4dv", typeof(Delegates.VertexAttrib4dv)); - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib4dvARB(UInt32 index, Double* v) - { - Delegates.glVertexAttrib4dvARB = (Delegates.VertexAttrib4dvARB)GetExtensionDelegateStatic("glVertexAttrib4dvARB", typeof(Delegates.VertexAttrib4dvARB)); - Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttrib4dvNV(UInt32 index, Double* v) - { - Delegates.glVertexAttrib4dvNV = (Delegates.VertexAttrib4dvNV)GetExtensionDelegateStatic("glVertexAttrib4dvNV", typeof(Delegates.VertexAttrib4dvNV)); - Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static void Load_VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glVertexAttrib4fARB = (Delegates.VertexAttrib4fARB)GetExtensionDelegateStatic("glVertexAttrib4fARB", typeof(Delegates.VertexAttrib4fARB)); - Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static void Load_VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glVertexAttrib4fNV = (Delegates.VertexAttrib4fNV)GetExtensionDelegateStatic("glVertexAttrib4fNV", typeof(Delegates.VertexAttrib4fNV)); - Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib4fvARB(UInt32 index, Single* v) - { - Delegates.glVertexAttrib4fvARB = (Delegates.VertexAttrib4fvARB)GetExtensionDelegateStatic("glVertexAttrib4fvARB", typeof(Delegates.VertexAttrib4fvARB)); - Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib4fvNV(UInt32 index, Single* v) - { - Delegates.glVertexAttrib4fvNV = (Delegates.VertexAttrib4fvNV)GetExtensionDelegateStatic("glVertexAttrib4fvNV", typeof(Delegates.VertexAttrib4fvNV)); - Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib4hNV(UInt32 index, Half x, Half y, Half z, Half w) - { - Delegates.glVertexAttrib4hNV = (Delegates.VertexAttrib4hNV)GetExtensionDelegateStatic("glVertexAttrib4hNV", typeof(Delegates.VertexAttrib4hNV)); - Delegates.glVertexAttrib4hNV((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w); - } - internal static unsafe void Load_VertexAttrib4hvNV(UInt32 index, Half* v) - { - Delegates.glVertexAttrib4hvNV = (Delegates.VertexAttrib4hvNV)GetExtensionDelegateStatic("glVertexAttrib4hvNV", typeof(Delegates.VertexAttrib4hvNV)); - Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v); - } - internal static unsafe void Load_VertexAttrib4iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4iv = (Delegates.VertexAttrib4iv)GetExtensionDelegateStatic("glVertexAttrib4iv", typeof(Delegates.VertexAttrib4iv)); - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttrib4ivARB(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4ivARB = (Delegates.VertexAttrib4ivARB)GetExtensionDelegateStatic("glVertexAttrib4ivARB", typeof(Delegates.VertexAttrib4ivARB)); - Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttrib4Nbv(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4Nbv = (Delegates.VertexAttrib4Nbv)GetExtensionDelegateStatic("glVertexAttrib4Nbv", typeof(Delegates.VertexAttrib4Nbv)); - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); - } - internal static unsafe void Load_VertexAttrib4NbvARB(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4NbvARB = (Delegates.VertexAttrib4NbvARB)GetExtensionDelegateStatic("glVertexAttrib4NbvARB", typeof(Delegates.VertexAttrib4NbvARB)); - Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); - } - internal static unsafe void Load_VertexAttrib4Niv(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4Niv = (Delegates.VertexAttrib4Niv)GetExtensionDelegateStatic("glVertexAttrib4Niv", typeof(Delegates.VertexAttrib4Niv)); - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttrib4NivARB(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4NivARB = (Delegates.VertexAttrib4NivARB)GetExtensionDelegateStatic("glVertexAttrib4NivARB", typeof(Delegates.VertexAttrib4NivARB)); - Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttrib4Nsv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4Nsv = (Delegates.VertexAttrib4Nsv)GetExtensionDelegateStatic("glVertexAttrib4Nsv", typeof(Delegates.VertexAttrib4Nsv)); - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib4NsvARB(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4NsvARB = (Delegates.VertexAttrib4NsvARB)GetExtensionDelegateStatic("glVertexAttrib4NsvARB", typeof(Delegates.VertexAttrib4NsvARB)); - Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); - } - internal static void Load_VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - Delegates.glVertexAttrib4Nub = (Delegates.VertexAttrib4Nub)GetExtensionDelegateStatic("glVertexAttrib4Nub", typeof(Delegates.VertexAttrib4Nub)); - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - } - internal static void Load_VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - Delegates.glVertexAttrib4NubARB = (Delegates.VertexAttrib4NubARB)GetExtensionDelegateStatic("glVertexAttrib4NubARB", typeof(Delegates.VertexAttrib4NubARB)); - Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - } - internal static unsafe void Load_VertexAttrib4Nubv(UInt32 index, Byte* v) - { - Delegates.glVertexAttrib4Nubv = (Delegates.VertexAttrib4Nubv)GetExtensionDelegateStatic("glVertexAttrib4Nubv", typeof(Delegates.VertexAttrib4Nubv)); - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttrib4NubvARB(UInt32 index, Byte* v) - { - Delegates.glVertexAttrib4NubvARB = (Delegates.VertexAttrib4NubvARB)GetExtensionDelegateStatic("glVertexAttrib4NubvARB", typeof(Delegates.VertexAttrib4NubvARB)); - Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttrib4Nuiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttrib4Nuiv = (Delegates.VertexAttrib4Nuiv)GetExtensionDelegateStatic("glVertexAttrib4Nuiv", typeof(Delegates.VertexAttrib4Nuiv)); - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttrib4NuivARB(UInt32 index, UInt32* v) - { - Delegates.glVertexAttrib4NuivARB = (Delegates.VertexAttrib4NuivARB)GetExtensionDelegateStatic("glVertexAttrib4NuivARB", typeof(Delegates.VertexAttrib4NuivARB)); - Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttrib4Nusv(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4Nusv = (Delegates.VertexAttrib4Nusv)GetExtensionDelegateStatic("glVertexAttrib4Nusv", typeof(Delegates.VertexAttrib4Nusv)); - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); - } - internal static unsafe void Load_VertexAttrib4NusvARB(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4NusvARB = (Delegates.VertexAttrib4NusvARB)GetExtensionDelegateStatic("glVertexAttrib4NusvARB", typeof(Delegates.VertexAttrib4NusvARB)); - Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); - } - internal static void Load_VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glVertexAttrib4s = (Delegates.VertexAttrib4s)GetExtensionDelegateStatic("glVertexAttrib4s", typeof(Delegates.VertexAttrib4s)); - Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static void Load_VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glVertexAttrib4sARB = (Delegates.VertexAttrib4sARB)GetExtensionDelegateStatic("glVertexAttrib4sARB", typeof(Delegates.VertexAttrib4sARB)); - Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static void Load_VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glVertexAttrib4sNV = (Delegates.VertexAttrib4sNV)GetExtensionDelegateStatic("glVertexAttrib4sNV", typeof(Delegates.VertexAttrib4sNV)); - Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static unsafe void Load_VertexAttrib4sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4sv = (Delegates.VertexAttrib4sv)GetExtensionDelegateStatic("glVertexAttrib4sv", typeof(Delegates.VertexAttrib4sv)); - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib4svARB(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4svARB = (Delegates.VertexAttrib4svARB)GetExtensionDelegateStatic("glVertexAttrib4svARB", typeof(Delegates.VertexAttrib4svARB)); - Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib4svNV(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4svNV = (Delegates.VertexAttrib4svNV)GetExtensionDelegateStatic("glVertexAttrib4svNV", typeof(Delegates.VertexAttrib4svNV)); - Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); - } - internal static void Load_VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - Delegates.glVertexAttrib4ubNV = (Delegates.VertexAttrib4ubNV)GetExtensionDelegateStatic("glVertexAttrib4ubNV", typeof(Delegates.VertexAttrib4ubNV)); - Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - } - internal static unsafe void Load_VertexAttrib4ubv(UInt32 index, Byte* v) - { - Delegates.glVertexAttrib4ubv = (Delegates.VertexAttrib4ubv)GetExtensionDelegateStatic("glVertexAttrib4ubv", typeof(Delegates.VertexAttrib4ubv)); - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttrib4ubvARB(UInt32 index, Byte* v) - { - Delegates.glVertexAttrib4ubvARB = (Delegates.VertexAttrib4ubvARB)GetExtensionDelegateStatic("glVertexAttrib4ubvARB", typeof(Delegates.VertexAttrib4ubvARB)); - Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttrib4ubvNV(UInt32 index, Byte* v) - { - Delegates.glVertexAttrib4ubvNV = (Delegates.VertexAttrib4ubvNV)GetExtensionDelegateStatic("glVertexAttrib4ubvNV", typeof(Delegates.VertexAttrib4ubvNV)); - Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttrib4uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttrib4uiv = (Delegates.VertexAttrib4uiv)GetExtensionDelegateStatic("glVertexAttrib4uiv", typeof(Delegates.VertexAttrib4uiv)); - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttrib4uivARB(UInt32 index, UInt32* v) - { - Delegates.glVertexAttrib4uivARB = (Delegates.VertexAttrib4uivARB)GetExtensionDelegateStatic("glVertexAttrib4uivARB", typeof(Delegates.VertexAttrib4uivARB)); - Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttrib4usv(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4usv = (Delegates.VertexAttrib4usv)GetExtensionDelegateStatic("glVertexAttrib4usv", typeof(Delegates.VertexAttrib4usv)); - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - } - internal static unsafe void Load_VertexAttrib4usvARB(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4usvARB = (Delegates.VertexAttrib4usvARB)GetExtensionDelegateStatic("glVertexAttrib4usvARB", typeof(Delegates.VertexAttrib4usvARB)); - Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); - } - internal static void Load_VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) - { - Delegates.glVertexAttribArrayObjectATI = (Delegates.VertexAttribArrayObjectATI)GetExtensionDelegateStatic("glVertexAttribArrayObjectATI", typeof(Delegates.VertexAttribArrayObjectATI)); - Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); - } - internal static void Load_VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) - { - Delegates.glVertexAttribBinding = (Delegates.VertexAttribBinding)GetExtensionDelegateStatic("glVertexAttribBinding", typeof(Delegates.VertexAttribBinding)); - Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); - } - internal static void Load_VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisor = (Delegates.VertexAttribDivisor)GetExtensionDelegateStatic("glVertexAttribDivisor", typeof(Delegates.VertexAttribDivisor)); - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribDivisorARB(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisorARB = (Delegates.VertexAttribDivisorARB)GetExtensionDelegateStatic("glVertexAttribDivisorARB", typeof(Delegates.VertexAttribDivisorARB)); - Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset) - { - Delegates.glVertexAttribFormat = (Delegates.VertexAttribFormat)GetExtensionDelegateStatic("glVertexAttribFormat", typeof(Delegates.VertexAttribFormat)); - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); - } - internal static void Load_VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) - { - Delegates.glVertexAttribFormatNV = (Delegates.VertexAttribFormatNV)GetExtensionDelegateStatic("glVertexAttribFormatNV", typeof(Delegates.VertexAttribFormatNV)); - Delegates.glVertexAttribFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride); - } - internal static void Load_VertexAttribI1i(UInt32 index, Int32 x) - { - Delegates.glVertexAttribI1i = (Delegates.VertexAttribI1i)GetExtensionDelegateStatic("glVertexAttribI1i", typeof(Delegates.VertexAttribI1i)); - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - } - internal static void Load_VertexAttribI1iEXT(UInt32 index, Int32 x) - { - Delegates.glVertexAttribI1iEXT = (Delegates.VertexAttribI1iEXT)GetExtensionDelegateStatic("glVertexAttribI1iEXT", typeof(Delegates.VertexAttribI1iEXT)); - Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); - } - internal static unsafe void Load_VertexAttribI1iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI1iv = (Delegates.VertexAttribI1iv)GetExtensionDelegateStatic("glVertexAttribI1iv", typeof(Delegates.VertexAttribI1iv)); - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttribI1ivEXT(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI1ivEXT = (Delegates.VertexAttribI1ivEXT)GetExtensionDelegateStatic("glVertexAttribI1ivEXT", typeof(Delegates.VertexAttribI1ivEXT)); - Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); - } - internal static void Load_VertexAttribI1ui(UInt32 index, UInt32 x) - { - Delegates.glVertexAttribI1ui = (Delegates.VertexAttribI1ui)GetExtensionDelegateStatic("glVertexAttribI1ui", typeof(Delegates.VertexAttribI1ui)); - Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); - } - internal static void Load_VertexAttribI1uiEXT(UInt32 index, UInt32 x) - { - Delegates.glVertexAttribI1uiEXT = (Delegates.VertexAttribI1uiEXT)GetExtensionDelegateStatic("glVertexAttribI1uiEXT", typeof(Delegates.VertexAttribI1uiEXT)); - Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); - } - internal static unsafe void Load_VertexAttribI1uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI1uiv = (Delegates.VertexAttribI1uiv)GetExtensionDelegateStatic("glVertexAttribI1uiv", typeof(Delegates.VertexAttribI1uiv)); - Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI1uivEXT(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI1uivEXT = (Delegates.VertexAttribI1uivEXT)GetExtensionDelegateStatic("glVertexAttribI1uivEXT", typeof(Delegates.VertexAttribI1uivEXT)); - Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); - } - internal static void Load_VertexAttribI2i(UInt32 index, Int32 x, Int32 y) - { - Delegates.glVertexAttribI2i = (Delegates.VertexAttribI2i)GetExtensionDelegateStatic("glVertexAttribI2i", typeof(Delegates.VertexAttribI2i)); - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - } - internal static void Load_VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y) - { - Delegates.glVertexAttribI2iEXT = (Delegates.VertexAttribI2iEXT)GetExtensionDelegateStatic("glVertexAttribI2iEXT", typeof(Delegates.VertexAttribI2iEXT)); - Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); - } - internal static unsafe void Load_VertexAttribI2iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI2iv = (Delegates.VertexAttribI2iv)GetExtensionDelegateStatic("glVertexAttribI2iv", typeof(Delegates.VertexAttribI2iv)); - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttribI2ivEXT(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI2ivEXT = (Delegates.VertexAttribI2ivEXT)GetExtensionDelegateStatic("glVertexAttribI2ivEXT", typeof(Delegates.VertexAttribI2ivEXT)); - Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); - } - internal static void Load_VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y) - { - Delegates.glVertexAttribI2ui = (Delegates.VertexAttribI2ui)GetExtensionDelegateStatic("glVertexAttribI2ui", typeof(Delegates.VertexAttribI2ui)); - Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); - } - internal static void Load_VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y) - { - Delegates.glVertexAttribI2uiEXT = (Delegates.VertexAttribI2uiEXT)GetExtensionDelegateStatic("glVertexAttribI2uiEXT", typeof(Delegates.VertexAttribI2uiEXT)); - Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); - } - internal static unsafe void Load_VertexAttribI2uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI2uiv = (Delegates.VertexAttribI2uiv)GetExtensionDelegateStatic("glVertexAttribI2uiv", typeof(Delegates.VertexAttribI2uiv)); - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI2uivEXT(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI2uivEXT = (Delegates.VertexAttribI2uivEXT)GetExtensionDelegateStatic("glVertexAttribI2uivEXT", typeof(Delegates.VertexAttribI2uivEXT)); - Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); - } - internal static void Load_VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z) - { - Delegates.glVertexAttribI3i = (Delegates.VertexAttribI3i)GetExtensionDelegateStatic("glVertexAttribI3i", typeof(Delegates.VertexAttribI3i)); - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - } - internal static void Load_VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z) - { - Delegates.glVertexAttribI3iEXT = (Delegates.VertexAttribI3iEXT)GetExtensionDelegateStatic("glVertexAttribI3iEXT", typeof(Delegates.VertexAttribI3iEXT)); - Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - } - internal static unsafe void Load_VertexAttribI3iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI3iv = (Delegates.VertexAttribI3iv)GetExtensionDelegateStatic("glVertexAttribI3iv", typeof(Delegates.VertexAttribI3iv)); - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttribI3ivEXT(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI3ivEXT = (Delegates.VertexAttribI3ivEXT)GetExtensionDelegateStatic("glVertexAttribI3ivEXT", typeof(Delegates.VertexAttribI3ivEXT)); - Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); - } - internal static void Load_VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - Delegates.glVertexAttribI3ui = (Delegates.VertexAttribI3ui)GetExtensionDelegateStatic("glVertexAttribI3ui", typeof(Delegates.VertexAttribI3ui)); - Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - } - internal static void Load_VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - Delegates.glVertexAttribI3uiEXT = (Delegates.VertexAttribI3uiEXT)GetExtensionDelegateStatic("glVertexAttribI3uiEXT", typeof(Delegates.VertexAttribI3uiEXT)); - Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - } - internal static unsafe void Load_VertexAttribI3uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI3uiv = (Delegates.VertexAttribI3uiv)GetExtensionDelegateStatic("glVertexAttribI3uiv", typeof(Delegates.VertexAttribI3uiv)); - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI3uivEXT(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI3uivEXT = (Delegates.VertexAttribI3uivEXT)GetExtensionDelegateStatic("glVertexAttribI3uivEXT", typeof(Delegates.VertexAttribI3uivEXT)); - Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI4bv(UInt32 index, SByte* v) - { - Delegates.glVertexAttribI4bv = (Delegates.VertexAttribI4bv)GetExtensionDelegateStatic("glVertexAttribI4bv", typeof(Delegates.VertexAttribI4bv)); - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); - } - internal static unsafe void Load_VertexAttribI4bvEXT(UInt32 index, SByte* v) - { - Delegates.glVertexAttribI4bvEXT = (Delegates.VertexAttribI4bvEXT)GetExtensionDelegateStatic("glVertexAttribI4bvEXT", typeof(Delegates.VertexAttribI4bvEXT)); - Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); - } - internal static void Load_VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glVertexAttribI4i = (Delegates.VertexAttribI4i)GetExtensionDelegateStatic("glVertexAttribI4i", typeof(Delegates.VertexAttribI4i)); - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static void Load_VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glVertexAttribI4iEXT = (Delegates.VertexAttribI4iEXT)GetExtensionDelegateStatic("glVertexAttribI4iEXT", typeof(Delegates.VertexAttribI4iEXT)); - Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_VertexAttribI4iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI4iv = (Delegates.VertexAttribI4iv)GetExtensionDelegateStatic("glVertexAttribI4iv", typeof(Delegates.VertexAttribI4iv)); - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttribI4ivEXT(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI4ivEXT = (Delegates.VertexAttribI4ivEXT)GetExtensionDelegateStatic("glVertexAttribI4ivEXT", typeof(Delegates.VertexAttribI4ivEXT)); - Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttribI4sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttribI4sv = (Delegates.VertexAttribI4sv)GetExtensionDelegateStatic("glVertexAttribI4sv", typeof(Delegates.VertexAttribI4sv)); - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttribI4svEXT(UInt32 index, Int16* v) - { - Delegates.glVertexAttribI4svEXT = (Delegates.VertexAttribI4svEXT)GetExtensionDelegateStatic("glVertexAttribI4svEXT", typeof(Delegates.VertexAttribI4svEXT)); - Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttribI4ubv(UInt32 index, Byte* v) - { - Delegates.glVertexAttribI4ubv = (Delegates.VertexAttribI4ubv)GetExtensionDelegateStatic("glVertexAttribI4ubv", typeof(Delegates.VertexAttribI4ubv)); - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttribI4ubvEXT(UInt32 index, Byte* v) - { - Delegates.glVertexAttribI4ubvEXT = (Delegates.VertexAttribI4ubvEXT)GetExtensionDelegateStatic("glVertexAttribI4ubvEXT", typeof(Delegates.VertexAttribI4ubvEXT)); - Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); - } - internal static void Load_VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - Delegates.glVertexAttribI4ui = (Delegates.VertexAttribI4ui)GetExtensionDelegateStatic("glVertexAttribI4ui", typeof(Delegates.VertexAttribI4ui)); - Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - } - internal static void Load_VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - Delegates.glVertexAttribI4uiEXT = (Delegates.VertexAttribI4uiEXT)GetExtensionDelegateStatic("glVertexAttribI4uiEXT", typeof(Delegates.VertexAttribI4uiEXT)); - Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - } - internal static unsafe void Load_VertexAttribI4uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI4uiv = (Delegates.VertexAttribI4uiv)GetExtensionDelegateStatic("glVertexAttribI4uiv", typeof(Delegates.VertexAttribI4uiv)); - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI4uivEXT(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI4uivEXT = (Delegates.VertexAttribI4uivEXT)GetExtensionDelegateStatic("glVertexAttribI4uivEXT", typeof(Delegates.VertexAttribI4uivEXT)); - Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI4usv(UInt32 index, UInt16* v) - { - Delegates.glVertexAttribI4usv = (Delegates.VertexAttribI4usv)GetExtensionDelegateStatic("glVertexAttribI4usv", typeof(Delegates.VertexAttribI4usv)); - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); - } - internal static unsafe void Load_VertexAttribI4usvEXT(UInt32 index, UInt16* v) - { - Delegates.glVertexAttribI4usvEXT = (Delegates.VertexAttribI4usvEXT)GetExtensionDelegateStatic("glVertexAttribI4usvEXT", typeof(Delegates.VertexAttribI4usvEXT)); - Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); - } - internal static void Load_VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset) - { - Delegates.glVertexAttribIFormat = (Delegates.VertexAttribIFormat)GetExtensionDelegateStatic("glVertexAttribIFormat", typeof(Delegates.VertexAttribIFormat)); - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset); - } - internal static void Load_VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glVertexAttribIFormatNV = (Delegates.VertexAttribIFormatNV)GetExtensionDelegateStatic("glVertexAttribIFormatNV", typeof(Delegates.VertexAttribIFormatNV)); - Delegates.glVertexAttribIFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static void Load_VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribIPointer = (Delegates.VertexAttribIPointer)GetExtensionDelegateStatic("glVertexAttribIPointer", typeof(Delegates.VertexAttribIPointer)); - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribIPointerEXT = (Delegates.VertexAttribIPointerEXT)GetExtensionDelegateStatic("glVertexAttribIPointerEXT", typeof(Delegates.VertexAttribIPointerEXT)); - Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribL1d(UInt32 index, Double x) - { - Delegates.glVertexAttribL1d = (Delegates.VertexAttribL1d)GetExtensionDelegateStatic("glVertexAttribL1d", typeof(Delegates.VertexAttribL1d)); - Delegates.glVertexAttribL1d((UInt32)index, (Double)x); - } - internal static void Load_VertexAttribL1dEXT(UInt32 index, Double x) - { - Delegates.glVertexAttribL1dEXT = (Delegates.VertexAttribL1dEXT)GetExtensionDelegateStatic("glVertexAttribL1dEXT", typeof(Delegates.VertexAttribL1dEXT)); - Delegates.glVertexAttribL1dEXT((UInt32)index, (Double)x); - } - internal static unsafe void Load_VertexAttribL1dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL1dv = (Delegates.VertexAttribL1dv)GetExtensionDelegateStatic("glVertexAttribL1dv", typeof(Delegates.VertexAttribL1dv)); - Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttribL1dvEXT(UInt32 index, Double* v) - { - Delegates.glVertexAttribL1dvEXT = (Delegates.VertexAttribL1dvEXT)GetExtensionDelegateStatic("glVertexAttribL1dvEXT", typeof(Delegates.VertexAttribL1dvEXT)); - Delegates.glVertexAttribL1dvEXT((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribL1i64NV(UInt32 index, Int64 x) - { - Delegates.glVertexAttribL1i64NV = (Delegates.VertexAttribL1i64NV)GetExtensionDelegateStatic("glVertexAttribL1i64NV", typeof(Delegates.VertexAttribL1i64NV)); - Delegates.glVertexAttribL1i64NV((UInt32)index, (Int64)x); - } - internal static unsafe void Load_VertexAttribL1i64vNV(UInt32 index, Int64* v) - { - Delegates.glVertexAttribL1i64vNV = (Delegates.VertexAttribL1i64vNV)GetExtensionDelegateStatic("glVertexAttribL1i64vNV", typeof(Delegates.VertexAttribL1i64vNV)); - Delegates.glVertexAttribL1i64vNV((UInt32)index, (Int64*)v); - } - internal static void Load_VertexAttribL1ui64ARB(UInt32 index, UInt64 x) - { - Delegates.glVertexAttribL1ui64ARB = (Delegates.VertexAttribL1ui64ARB)GetExtensionDelegateStatic("glVertexAttribL1ui64ARB", typeof(Delegates.VertexAttribL1ui64ARB)); - Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); - } - internal static void Load_VertexAttribL1ui64NV(UInt32 index, UInt64 x) - { - Delegates.glVertexAttribL1ui64NV = (Delegates.VertexAttribL1ui64NV)GetExtensionDelegateStatic("glVertexAttribL1ui64NV", typeof(Delegates.VertexAttribL1ui64NV)); - Delegates.glVertexAttribL1ui64NV((UInt32)index, (UInt64)x); - } - internal static unsafe void Load_VertexAttribL1ui64vARB(UInt32 index, UInt64* v) - { - Delegates.glVertexAttribL1ui64vARB = (Delegates.VertexAttribL1ui64vARB)GetExtensionDelegateStatic("glVertexAttribL1ui64vARB", typeof(Delegates.VertexAttribL1ui64vARB)); - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); - } - internal static unsafe void Load_VertexAttribL1ui64vNV(UInt32 index, UInt64* v) - { - Delegates.glVertexAttribL1ui64vNV = (Delegates.VertexAttribL1ui64vNV)GetExtensionDelegateStatic("glVertexAttribL1ui64vNV", typeof(Delegates.VertexAttribL1ui64vNV)); - Delegates.glVertexAttribL1ui64vNV((UInt32)index, (UInt64*)v); - } - internal static void Load_VertexAttribL2d(UInt32 index, Double x, Double y) - { - Delegates.glVertexAttribL2d = (Delegates.VertexAttribL2d)GetExtensionDelegateStatic("glVertexAttribL2d", typeof(Delegates.VertexAttribL2d)); - Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); - } - internal static void Load_VertexAttribL2dEXT(UInt32 index, Double x, Double y) - { - Delegates.glVertexAttribL2dEXT = (Delegates.VertexAttribL2dEXT)GetExtensionDelegateStatic("glVertexAttribL2dEXT", typeof(Delegates.VertexAttribL2dEXT)); - Delegates.glVertexAttribL2dEXT((UInt32)index, (Double)x, (Double)y); - } - internal static unsafe void Load_VertexAttribL2dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL2dv = (Delegates.VertexAttribL2dv)GetExtensionDelegateStatic("glVertexAttribL2dv", typeof(Delegates.VertexAttribL2dv)); - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttribL2dvEXT(UInt32 index, Double* v) - { - Delegates.glVertexAttribL2dvEXT = (Delegates.VertexAttribL2dvEXT)GetExtensionDelegateStatic("glVertexAttribL2dvEXT", typeof(Delegates.VertexAttribL2dvEXT)); - Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribL2i64NV(UInt32 index, Int64 x, Int64 y) - { - Delegates.glVertexAttribL2i64NV = (Delegates.VertexAttribL2i64NV)GetExtensionDelegateStatic("glVertexAttribL2i64NV", typeof(Delegates.VertexAttribL2i64NV)); - Delegates.glVertexAttribL2i64NV((UInt32)index, (Int64)x, (Int64)y); - } - internal static unsafe void Load_VertexAttribL2i64vNV(UInt32 index, Int64* v) - { - Delegates.glVertexAttribL2i64vNV = (Delegates.VertexAttribL2i64vNV)GetExtensionDelegateStatic("glVertexAttribL2i64vNV", typeof(Delegates.VertexAttribL2i64vNV)); - Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v); - } - internal static void Load_VertexAttribL2ui64NV(UInt32 index, UInt64 x, UInt64 y) - { - Delegates.glVertexAttribL2ui64NV = (Delegates.VertexAttribL2ui64NV)GetExtensionDelegateStatic("glVertexAttribL2ui64NV", typeof(Delegates.VertexAttribL2ui64NV)); - Delegates.glVertexAttribL2ui64NV((UInt32)index, (UInt64)x, (UInt64)y); - } - internal static unsafe void Load_VertexAttribL2ui64vNV(UInt32 index, UInt64* v) - { - Delegates.glVertexAttribL2ui64vNV = (Delegates.VertexAttribL2ui64vNV)GetExtensionDelegateStatic("glVertexAttribL2ui64vNV", typeof(Delegates.VertexAttribL2ui64vNV)); - Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v); - } - internal static void Load_VertexAttribL3d(UInt32 index, Double x, Double y, Double z) - { - Delegates.glVertexAttribL3d = (Delegates.VertexAttribL3d)GetExtensionDelegateStatic("glVertexAttribL3d", typeof(Delegates.VertexAttribL3d)); - Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); - } - internal static void Load_VertexAttribL3dEXT(UInt32 index, Double x, Double y, Double z) - { - Delegates.glVertexAttribL3dEXT = (Delegates.VertexAttribL3dEXT)GetExtensionDelegateStatic("glVertexAttribL3dEXT", typeof(Delegates.VertexAttribL3dEXT)); - Delegates.glVertexAttribL3dEXT((UInt32)index, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_VertexAttribL3dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL3dv = (Delegates.VertexAttribL3dv)GetExtensionDelegateStatic("glVertexAttribL3dv", typeof(Delegates.VertexAttribL3dv)); - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttribL3dvEXT(UInt32 index, Double* v) - { - Delegates.glVertexAttribL3dvEXT = (Delegates.VertexAttribL3dvEXT)GetExtensionDelegateStatic("glVertexAttribL3dvEXT", typeof(Delegates.VertexAttribL3dvEXT)); - Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribL3i64NV(UInt32 index, Int64 x, Int64 y, Int64 z) - { - Delegates.glVertexAttribL3i64NV = (Delegates.VertexAttribL3i64NV)GetExtensionDelegateStatic("glVertexAttribL3i64NV", typeof(Delegates.VertexAttribL3i64NV)); - Delegates.glVertexAttribL3i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z); - } - internal static unsafe void Load_VertexAttribL3i64vNV(UInt32 index, Int64* v) - { - Delegates.glVertexAttribL3i64vNV = (Delegates.VertexAttribL3i64vNV)GetExtensionDelegateStatic("glVertexAttribL3i64vNV", typeof(Delegates.VertexAttribL3i64vNV)); - Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v); - } - internal static void Load_VertexAttribL3ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z) - { - Delegates.glVertexAttribL3ui64NV = (Delegates.VertexAttribL3ui64NV)GetExtensionDelegateStatic("glVertexAttribL3ui64NV", typeof(Delegates.VertexAttribL3ui64NV)); - Delegates.glVertexAttribL3ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z); - } - internal static unsafe void Load_VertexAttribL3ui64vNV(UInt32 index, UInt64* v) - { - Delegates.glVertexAttribL3ui64vNV = (Delegates.VertexAttribL3ui64vNV)GetExtensionDelegateStatic("glVertexAttribL3ui64vNV", typeof(Delegates.VertexAttribL3ui64vNV)); - Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v); - } - internal static void Load_VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glVertexAttribL4d = (Delegates.VertexAttribL4d)GetExtensionDelegateStatic("glVertexAttribL4d", typeof(Delegates.VertexAttribL4d)); - Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static void Load_VertexAttribL4dEXT(UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glVertexAttribL4dEXT = (Delegates.VertexAttribL4dEXT)GetExtensionDelegateStatic("glVertexAttribL4dEXT", typeof(Delegates.VertexAttribL4dEXT)); - Delegates.glVertexAttribL4dEXT((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_VertexAttribL4dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL4dv = (Delegates.VertexAttribL4dv)GetExtensionDelegateStatic("glVertexAttribL4dv", typeof(Delegates.VertexAttribL4dv)); - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); - } - internal static unsafe void Load_VertexAttribL4dvEXT(UInt32 index, Double* v) - { - Delegates.glVertexAttribL4dvEXT = (Delegates.VertexAttribL4dvEXT)GetExtensionDelegateStatic("glVertexAttribL4dvEXT", typeof(Delegates.VertexAttribL4dvEXT)); - Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribL4i64NV(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w) - { - Delegates.glVertexAttribL4i64NV = (Delegates.VertexAttribL4i64NV)GetExtensionDelegateStatic("glVertexAttribL4i64NV", typeof(Delegates.VertexAttribL4i64NV)); - Delegates.glVertexAttribL4i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w); - } - internal static unsafe void Load_VertexAttribL4i64vNV(UInt32 index, Int64* v) - { - Delegates.glVertexAttribL4i64vNV = (Delegates.VertexAttribL4i64vNV)GetExtensionDelegateStatic("glVertexAttribL4i64vNV", typeof(Delegates.VertexAttribL4i64vNV)); - Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v); - } - internal static void Load_VertexAttribL4ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w) - { - Delegates.glVertexAttribL4ui64NV = (Delegates.VertexAttribL4ui64NV)GetExtensionDelegateStatic("glVertexAttribL4ui64NV", typeof(Delegates.VertexAttribL4ui64NV)); - Delegates.glVertexAttribL4ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); - } - internal static unsafe void Load_VertexAttribL4ui64vNV(UInt32 index, UInt64* v) - { - Delegates.glVertexAttribL4ui64vNV = (Delegates.VertexAttribL4ui64vNV)GetExtensionDelegateStatic("glVertexAttribL4ui64vNV", typeof(Delegates.VertexAttribL4ui64vNV)); - Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v); - } - internal static void Load_VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset) - { - Delegates.glVertexAttribLFormat = (Delegates.VertexAttribLFormat)GetExtensionDelegateStatic("glVertexAttribLFormat", typeof(Delegates.VertexAttribLFormat)); - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset); - } - internal static void Load_VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) - { - Delegates.glVertexAttribLFormatNV = (Delegates.VertexAttribLFormatNV)GetExtensionDelegateStatic("glVertexAttribLFormatNV", typeof(Delegates.VertexAttribLFormatNV)); - Delegates.glVertexAttribLFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride); - } - internal static void Load_VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribLPointer = (Delegates.VertexAttribLPointer)GetExtensionDelegateStatic("glVertexAttribLPointer", typeof(Delegates.VertexAttribLPointer)); - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribLPointerEXT = (Delegates.VertexAttribLPointerEXT)GetExtensionDelegateStatic("glVertexAttribLPointerEXT", typeof(Delegates.VertexAttribLPointerEXT)); - Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP1ui = (Delegates.VertexAttribP1ui)GetExtensionDelegateStatic("glVertexAttribP1ui", typeof(Delegates.VertexAttribP1ui)); - Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP1uiv = (Delegates.VertexAttribP1uiv)GetExtensionDelegateStatic("glVertexAttribP1uiv", typeof(Delegates.VertexAttribP1uiv)); - Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP2ui = (Delegates.VertexAttribP2ui)GetExtensionDelegateStatic("glVertexAttribP2ui", typeof(Delegates.VertexAttribP2ui)); - Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP2uiv = (Delegates.VertexAttribP2uiv)GetExtensionDelegateStatic("glVertexAttribP2uiv", typeof(Delegates.VertexAttribP2uiv)); - Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP3ui = (Delegates.VertexAttribP3ui)GetExtensionDelegateStatic("glVertexAttribP3ui", typeof(Delegates.VertexAttribP3ui)); - Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP3uiv = (Delegates.VertexAttribP3uiv)GetExtensionDelegateStatic("glVertexAttribP3uiv", typeof(Delegates.VertexAttribP3uiv)); - Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP4ui = (Delegates.VertexAttribP4ui)GetExtensionDelegateStatic("glVertexAttribP4ui", typeof(Delegates.VertexAttribP4ui)); - Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP4uiv = (Delegates.VertexAttribP4uiv)GetExtensionDelegateStatic("glVertexAttribP4uiv", typeof(Delegates.VertexAttribP4uiv)); - Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribParameteriAMD(UInt32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param) - { - Delegates.glVertexAttribParameteriAMD = (Delegates.VertexAttribParameteriAMD)GetExtensionDelegateStatic("glVertexAttribParameteriAMD", typeof(Delegates.VertexAttribParameteriAMD)); - Delegates.glVertexAttribParameteriAMD((UInt32)index, (OpenTK.Graphics.OpenGL.AmdInterleavedElements)pname, (Int32)param); - } - internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribPointerARB = (Delegates.VertexAttribPointerARB)GetExtensionDelegateStatic("glVertexAttribPointerARB", typeof(Delegates.VertexAttribPointerARB)); - Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribPointerNV = (Delegates.VertexAttribPointerNV)GetExtensionDelegateStatic("glVertexAttribPointerNV", typeof(Delegates.VertexAttribPointerNV)); - Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); - } - internal static unsafe void Load_VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v) - { - Delegates.glVertexAttribs1dvNV = (Delegates.VertexAttribs1dvNV)GetExtensionDelegateStatic("glVertexAttribs1dvNV", typeof(Delegates.VertexAttribs1dvNV)); - Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); - } - internal static unsafe void Load_VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v) - { - Delegates.glVertexAttribs1fvNV = (Delegates.VertexAttribs1fvNV)GetExtensionDelegateStatic("glVertexAttribs1fvNV", typeof(Delegates.VertexAttribs1fvNV)); - Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); - } - internal static unsafe void Load_VertexAttribs1hvNV(UInt32 index, Int32 n, Half* v) - { - Delegates.glVertexAttribs1hvNV = (Delegates.VertexAttribs1hvNV)GetExtensionDelegateStatic("glVertexAttribs1hvNV", typeof(Delegates.VertexAttribs1hvNV)); - Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v); - } - internal static unsafe void Load_VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v) - { - Delegates.glVertexAttribs1svNV = (Delegates.VertexAttribs1svNV)GetExtensionDelegateStatic("glVertexAttribs1svNV", typeof(Delegates.VertexAttribs1svNV)); - Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); - } - internal static unsafe void Load_VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v) - { - Delegates.glVertexAttribs2dvNV = (Delegates.VertexAttribs2dvNV)GetExtensionDelegateStatic("glVertexAttribs2dvNV", typeof(Delegates.VertexAttribs2dvNV)); - Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); - } - internal static unsafe void Load_VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v) - { - Delegates.glVertexAttribs2fvNV = (Delegates.VertexAttribs2fvNV)GetExtensionDelegateStatic("glVertexAttribs2fvNV", typeof(Delegates.VertexAttribs2fvNV)); - Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); - } - internal static unsafe void Load_VertexAttribs2hvNV(UInt32 index, Int32 n, Half* v) - { - Delegates.glVertexAttribs2hvNV = (Delegates.VertexAttribs2hvNV)GetExtensionDelegateStatic("glVertexAttribs2hvNV", typeof(Delegates.VertexAttribs2hvNV)); - Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v); - } - internal static unsafe void Load_VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v) - { - Delegates.glVertexAttribs2svNV = (Delegates.VertexAttribs2svNV)GetExtensionDelegateStatic("glVertexAttribs2svNV", typeof(Delegates.VertexAttribs2svNV)); - Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); - } - internal static unsafe void Load_VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v) - { - Delegates.glVertexAttribs3dvNV = (Delegates.VertexAttribs3dvNV)GetExtensionDelegateStatic("glVertexAttribs3dvNV", typeof(Delegates.VertexAttribs3dvNV)); - Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); - } - internal static unsafe void Load_VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v) - { - Delegates.glVertexAttribs3fvNV = (Delegates.VertexAttribs3fvNV)GetExtensionDelegateStatic("glVertexAttribs3fvNV", typeof(Delegates.VertexAttribs3fvNV)); - Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); - } - internal static unsafe void Load_VertexAttribs3hvNV(UInt32 index, Int32 n, Half* v) - { - Delegates.glVertexAttribs3hvNV = (Delegates.VertexAttribs3hvNV)GetExtensionDelegateStatic("glVertexAttribs3hvNV", typeof(Delegates.VertexAttribs3hvNV)); - Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v); - } - internal static unsafe void Load_VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v) - { - Delegates.glVertexAttribs3svNV = (Delegates.VertexAttribs3svNV)GetExtensionDelegateStatic("glVertexAttribs3svNV", typeof(Delegates.VertexAttribs3svNV)); - Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); - } - internal static unsafe void Load_VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v) - { - Delegates.glVertexAttribs4dvNV = (Delegates.VertexAttribs4dvNV)GetExtensionDelegateStatic("glVertexAttribs4dvNV", typeof(Delegates.VertexAttribs4dvNV)); - Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); - } - internal static unsafe void Load_VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v) - { - Delegates.glVertexAttribs4fvNV = (Delegates.VertexAttribs4fvNV)GetExtensionDelegateStatic("glVertexAttribs4fvNV", typeof(Delegates.VertexAttribs4fvNV)); - Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); - } - internal static unsafe void Load_VertexAttribs4hvNV(UInt32 index, Int32 n, Half* v) - { - Delegates.glVertexAttribs4hvNV = (Delegates.VertexAttribs4hvNV)GetExtensionDelegateStatic("glVertexAttribs4hvNV", typeof(Delegates.VertexAttribs4hvNV)); - Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v); - } - internal static unsafe void Load_VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v) - { - Delegates.glVertexAttribs4svNV = (Delegates.VertexAttribs4svNV)GetExtensionDelegateStatic("glVertexAttribs4svNV", typeof(Delegates.VertexAttribs4svNV)); - Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); - } - internal static unsafe void Load_VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v) - { - Delegates.glVertexAttribs4ubvNV = (Delegates.VertexAttribs4ubvNV)GetExtensionDelegateStatic("glVertexAttribs4ubvNV", typeof(Delegates.VertexAttribs4ubvNV)); - Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); - } - internal static void Load_VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) - { - Delegates.glVertexBindingDivisor = (Delegates.VertexBindingDivisor)GetExtensionDelegateStatic("glVertexBindingDivisor", typeof(Delegates.VertexBindingDivisor)); - Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); - } - internal static void Load_VertexBlendARB(Int32 count) - { - Delegates.glVertexBlendARB = (Delegates.VertexBlendARB)GetExtensionDelegateStatic("glVertexBlendARB", typeof(Delegates.VertexBlendARB)); - Delegates.glVertexBlendARB((Int32)count); - } - internal static void Load_VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param) - { - Delegates.glVertexBlendEnvfATI = (Delegates.VertexBlendEnvfATI)GetExtensionDelegateStatic("glVertexBlendEnvfATI", typeof(Delegates.VertexBlendEnvfATI)); - Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Single)param); - } - internal static void Load_VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param) - { - Delegates.glVertexBlendEnviATI = (Delegates.VertexBlendEnviATI)GetExtensionDelegateStatic("glVertexBlendEnviATI", typeof(Delegates.VertexBlendEnviATI)); - Delegates.glVertexBlendEnviATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Int32)param); - } - internal static void Load_VertexFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) - { - Delegates.glVertexFormatNV = (Delegates.VertexFormatNV)GetExtensionDelegateStatic("glVertexFormatNV", typeof(Delegates.VertexFormatNV)); - Delegates.glVertexFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); - } - internal static void Load_VertexP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - Delegates.glVertexP2ui = (Delegates.VertexP2ui)GetExtensionDelegateStatic("glVertexP2ui", typeof(Delegates.VertexP2ui)); - Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - } - internal static unsafe void Load_VertexP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - Delegates.glVertexP2uiv = (Delegates.VertexP2uiv)GetExtensionDelegateStatic("glVertexP2uiv", typeof(Delegates.VertexP2uiv)); - Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - } - internal static void Load_VertexP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - Delegates.glVertexP3ui = (Delegates.VertexP3ui)GetExtensionDelegateStatic("glVertexP3ui", typeof(Delegates.VertexP3ui)); - Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - } - internal static unsafe void Load_VertexP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - Delegates.glVertexP3uiv = (Delegates.VertexP3uiv)GetExtensionDelegateStatic("glVertexP3uiv", typeof(Delegates.VertexP3uiv)); - Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - } - internal static void Load_VertexP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) - { - Delegates.glVertexP4ui = (Delegates.VertexP4ui)GetExtensionDelegateStatic("glVertexP4ui", typeof(Delegates.VertexP4ui)); - Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); - } - internal static unsafe void Load_VertexP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) - { - Delegates.glVertexP4uiv = (Delegates.VertexP4uiv)GetExtensionDelegateStatic("glVertexP4uiv", typeof(Delegates.VertexP4uiv)); - Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); - } - internal static void Load_VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexPointer = (Delegates.VertexPointer)GetExtensionDelegateStatic("glVertexPointer", typeof(Delegates.VertexPointer)); - Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) - { - Delegates.glVertexPointerEXT = (Delegates.VertexPointerEXT)GetExtensionDelegateStatic("glVertexPointerEXT", typeof(Delegates.VertexPointerEXT)); - Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); - } - internal static void Load_VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) - { - Delegates.glVertexPointerListIBM = (Delegates.VertexPointerListIBM)GetExtensionDelegateStatic("glVertexPointerListIBM", typeof(Delegates.VertexPointerListIBM)); - Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); - } - internal static void Load_VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) - { - Delegates.glVertexPointervINTEL = (Delegates.VertexPointervINTEL)GetExtensionDelegateStatic("glVertexPointervINTEL", typeof(Delegates.VertexPointervINTEL)); - Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); - } - internal static void Load_VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x) - { - Delegates.glVertexStream1dATI = (Delegates.VertexStream1dATI)GetExtensionDelegateStatic("glVertexStream1dATI", typeof(Delegates.VertexStream1dATI)); - Delegates.glVertexStream1dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x); - } - internal static unsafe void Load_VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - Delegates.glVertexStream1dvATI = (Delegates.VertexStream1dvATI)GetExtensionDelegateStatic("glVertexStream1dvATI", typeof(Delegates.VertexStream1dvATI)); - Delegates.glVertexStream1dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - } - internal static void Load_VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x) - { - Delegates.glVertexStream1fATI = (Delegates.VertexStream1fATI)GetExtensionDelegateStatic("glVertexStream1fATI", typeof(Delegates.VertexStream1fATI)); - Delegates.glVertexStream1fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x); - } - internal static unsafe void Load_VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - Delegates.glVertexStream1fvATI = (Delegates.VertexStream1fvATI)GetExtensionDelegateStatic("glVertexStream1fvATI", typeof(Delegates.VertexStream1fvATI)); - Delegates.glVertexStream1fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - } - internal static void Load_VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x) - { - Delegates.glVertexStream1iATI = (Delegates.VertexStream1iATI)GetExtensionDelegateStatic("glVertexStream1iATI", typeof(Delegates.VertexStream1iATI)); - Delegates.glVertexStream1iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x); - } - internal static unsafe void Load_VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - Delegates.glVertexStream1ivATI = (Delegates.VertexStream1ivATI)GetExtensionDelegateStatic("glVertexStream1ivATI", typeof(Delegates.VertexStream1ivATI)); - Delegates.glVertexStream1ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - } - internal static void Load_VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x) - { - Delegates.glVertexStream1sATI = (Delegates.VertexStream1sATI)GetExtensionDelegateStatic("glVertexStream1sATI", typeof(Delegates.VertexStream1sATI)); - Delegates.glVertexStream1sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x); - } - internal static unsafe void Load_VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - Delegates.glVertexStream1svATI = (Delegates.VertexStream1svATI)GetExtensionDelegateStatic("glVertexStream1svATI", typeof(Delegates.VertexStream1svATI)); - Delegates.glVertexStream1svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - } - internal static void Load_VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y) - { - Delegates.glVertexStream2dATI = (Delegates.VertexStream2dATI)GetExtensionDelegateStatic("glVertexStream2dATI", typeof(Delegates.VertexStream2dATI)); - Delegates.glVertexStream2dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y); - } - internal static unsafe void Load_VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - Delegates.glVertexStream2dvATI = (Delegates.VertexStream2dvATI)GetExtensionDelegateStatic("glVertexStream2dvATI", typeof(Delegates.VertexStream2dvATI)); - Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - } - internal static void Load_VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y) - { - Delegates.glVertexStream2fATI = (Delegates.VertexStream2fATI)GetExtensionDelegateStatic("glVertexStream2fATI", typeof(Delegates.VertexStream2fATI)); - Delegates.glVertexStream2fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y); - } - internal static unsafe void Load_VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - Delegates.glVertexStream2fvATI = (Delegates.VertexStream2fvATI)GetExtensionDelegateStatic("glVertexStream2fvATI", typeof(Delegates.VertexStream2fvATI)); - Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - } - internal static void Load_VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y) - { - Delegates.glVertexStream2iATI = (Delegates.VertexStream2iATI)GetExtensionDelegateStatic("glVertexStream2iATI", typeof(Delegates.VertexStream2iATI)); - Delegates.glVertexStream2iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y); - } - internal static unsafe void Load_VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - Delegates.glVertexStream2ivATI = (Delegates.VertexStream2ivATI)GetExtensionDelegateStatic("glVertexStream2ivATI", typeof(Delegates.VertexStream2ivATI)); - Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - } - internal static void Load_VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y) - { - Delegates.glVertexStream2sATI = (Delegates.VertexStream2sATI)GetExtensionDelegateStatic("glVertexStream2sATI", typeof(Delegates.VertexStream2sATI)); - Delegates.glVertexStream2sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y); - } - internal static unsafe void Load_VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - Delegates.glVertexStream2svATI = (Delegates.VertexStream2svATI)GetExtensionDelegateStatic("glVertexStream2svATI", typeof(Delegates.VertexStream2svATI)); - Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - } - internal static void Load_VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z) - { - Delegates.glVertexStream3dATI = (Delegates.VertexStream3dATI)GetExtensionDelegateStatic("glVertexStream3dATI", typeof(Delegates.VertexStream3dATI)); - Delegates.glVertexStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - Delegates.glVertexStream3dvATI = (Delegates.VertexStream3dvATI)GetExtensionDelegateStatic("glVertexStream3dvATI", typeof(Delegates.VertexStream3dvATI)); - Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - } - internal static void Load_VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z) - { - Delegates.glVertexStream3fATI = (Delegates.VertexStream3fATI)GetExtensionDelegateStatic("glVertexStream3fATI", typeof(Delegates.VertexStream3fATI)); - Delegates.glVertexStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - Delegates.glVertexStream3fvATI = (Delegates.VertexStream3fvATI)GetExtensionDelegateStatic("glVertexStream3fvATI", typeof(Delegates.VertexStream3fvATI)); - Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - } - internal static void Load_VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) - { - Delegates.glVertexStream3iATI = (Delegates.VertexStream3iATI)GetExtensionDelegateStatic("glVertexStream3iATI", typeof(Delegates.VertexStream3iATI)); - Delegates.glVertexStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); - } - internal static unsafe void Load_VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - Delegates.glVertexStream3ivATI = (Delegates.VertexStream3ivATI)GetExtensionDelegateStatic("glVertexStream3ivATI", typeof(Delegates.VertexStream3ivATI)); - Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - } - internal static void Load_VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) - { - Delegates.glVertexStream3sATI = (Delegates.VertexStream3sATI)GetExtensionDelegateStatic("glVertexStream3sATI", typeof(Delegates.VertexStream3sATI)); - Delegates.glVertexStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); - } - internal static unsafe void Load_VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - Delegates.glVertexStream3svATI = (Delegates.VertexStream3svATI)GetExtensionDelegateStatic("glVertexStream3svATI", typeof(Delegates.VertexStream3svATI)); - Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - } - internal static void Load_VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w) - { - Delegates.glVertexStream4dATI = (Delegates.VertexStream4dATI)GetExtensionDelegateStatic("glVertexStream4dATI", typeof(Delegates.VertexStream4dATI)); - Delegates.glVertexStream4dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) - { - Delegates.glVertexStream4dvATI = (Delegates.VertexStream4dvATI)GetExtensionDelegateStatic("glVertexStream4dvATI", typeof(Delegates.VertexStream4dvATI)); - Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); - } - internal static void Load_VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w) - { - Delegates.glVertexStream4fATI = (Delegates.VertexStream4fATI)GetExtensionDelegateStatic("glVertexStream4fATI", typeof(Delegates.VertexStream4fATI)); - Delegates.glVertexStream4fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) - { - Delegates.glVertexStream4fvATI = (Delegates.VertexStream4fvATI)GetExtensionDelegateStatic("glVertexStream4fvATI", typeof(Delegates.VertexStream4fvATI)); - Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); - } - internal static void Load_VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glVertexStream4iATI = (Delegates.VertexStream4iATI)GetExtensionDelegateStatic("glVertexStream4iATI", typeof(Delegates.VertexStream4iATI)); - Delegates.glVertexStream4iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) - { - Delegates.glVertexStream4ivATI = (Delegates.VertexStream4ivATI)GetExtensionDelegateStatic("glVertexStream4ivATI", typeof(Delegates.VertexStream4ivATI)); - Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); - } - internal static void Load_VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glVertexStream4sATI = (Delegates.VertexStream4sATI)GetExtensionDelegateStatic("glVertexStream4sATI", typeof(Delegates.VertexStream4sATI)); - Delegates.glVertexStream4sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static unsafe void Load_VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) - { - Delegates.glVertexStream4svATI = (Delegates.VertexStream4svATI)GetExtensionDelegateStatic("glVertexStream4svATI", typeof(Delegates.VertexStream4svATI)); - Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); - } - internal static void Load_VertexWeightfEXT(Single weight) - { - Delegates.glVertexWeightfEXT = (Delegates.VertexWeightfEXT)GetExtensionDelegateStatic("glVertexWeightfEXT", typeof(Delegates.VertexWeightfEXT)); - Delegates.glVertexWeightfEXT((Single)weight); - } - internal static unsafe void Load_VertexWeightfvEXT(Single* weight) - { - Delegates.glVertexWeightfvEXT = (Delegates.VertexWeightfvEXT)GetExtensionDelegateStatic("glVertexWeightfvEXT", typeof(Delegates.VertexWeightfvEXT)); - Delegates.glVertexWeightfvEXT((Single*)weight); - } - internal static void Load_VertexWeighthNV(Half weight) - { - Delegates.glVertexWeighthNV = (Delegates.VertexWeighthNV)GetExtensionDelegateStatic("glVertexWeighthNV", typeof(Delegates.VertexWeighthNV)); - Delegates.glVertexWeighthNV((Half)weight); - } - internal static unsafe void Load_VertexWeighthvNV(Half* weight) - { - Delegates.glVertexWeighthvNV = (Delegates.VertexWeighthvNV)GetExtensionDelegateStatic("glVertexWeighthvNV", typeof(Delegates.VertexWeighthvNV)); - Delegates.glVertexWeighthvNV((Half*)weight); - } - internal static void Load_VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexWeightPointerEXT = (Delegates.VertexWeightPointerEXT)GetExtensionDelegateStatic("glVertexWeightPointerEXT", typeof(Delegates.VertexWeightPointerEXT)); - Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); - } - internal static unsafe OpenTK.Graphics.OpenGL.NvVideoCapture Load_VideoCaptureNV(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time) - { - Delegates.glVideoCaptureNV = (Delegates.VideoCaptureNV)GetExtensionDelegateStatic("glVideoCaptureNV", typeof(Delegates.VideoCaptureNV)); - return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num, (UInt64*)capture_time); - } - internal static unsafe void Load_VideoCaptureStreamParameterdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) - { - Delegates.glVideoCaptureStreamParameterdvNV = (Delegates.VideoCaptureStreamParameterdvNV)GetExtensionDelegateStatic("glVideoCaptureStreamParameterdvNV", typeof(Delegates.VideoCaptureStreamParameterdvNV)); - Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); - } - internal static unsafe void Load_VideoCaptureStreamParameterfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) - { - Delegates.glVideoCaptureStreamParameterfvNV = (Delegates.VideoCaptureStreamParameterfvNV)GetExtensionDelegateStatic("glVideoCaptureStreamParameterfvNV", typeof(Delegates.VideoCaptureStreamParameterfvNV)); - Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); - } - internal static unsafe void Load_VideoCaptureStreamParameterivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) - { - Delegates.glVideoCaptureStreamParameterivNV = (Delegates.VideoCaptureStreamParameterivNV)GetExtensionDelegateStatic("glVideoCaptureStreamParameterivNV", typeof(Delegates.VideoCaptureStreamParameterivNV)); - Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); - } - internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static unsafe void Load_ViewportArrayv(UInt32 first, Int32 count, Single* v) - { - Delegates.glViewportArrayv = (Delegates.ViewportArrayv)GetExtensionDelegateStatic("glViewportArrayv", typeof(Delegates.ViewportArrayv)); - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); - } - internal static void Load_ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h) - { - Delegates.glViewportIndexedf = (Delegates.ViewportIndexedf)GetExtensionDelegateStatic("glViewportIndexedf", typeof(Delegates.ViewportIndexedf)); - Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); - } - internal static unsafe void Load_ViewportIndexedfv(UInt32 index, Single* v) - { - Delegates.glViewportIndexedfv = (Delegates.ViewportIndexedfv)GetExtensionDelegateStatic("glViewportIndexedfv", typeof(Delegates.ViewportIndexedfv)); - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); - } - internal static OpenTK.Graphics.OpenGL.WaitSyncStatus Load_WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, UInt64 timeout) - { - Delegates.glWaitSync = (Delegates.WaitSync)GetExtensionDelegateStatic("glWaitSync", typeof(Delegates.WaitSync)); - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout); - } - internal static unsafe void Load_WeightbvARB(Int32 size, SByte* weights) - { - Delegates.glWeightbvARB = (Delegates.WeightbvARB)GetExtensionDelegateStatic("glWeightbvARB", typeof(Delegates.WeightbvARB)); - Delegates.glWeightbvARB((Int32)size, (SByte*)weights); - } - internal static unsafe void Load_WeightdvARB(Int32 size, Double* weights) - { - Delegates.glWeightdvARB = (Delegates.WeightdvARB)GetExtensionDelegateStatic("glWeightdvARB", typeof(Delegates.WeightdvARB)); - Delegates.glWeightdvARB((Int32)size, (Double*)weights); - } - internal static unsafe void Load_WeightfvARB(Int32 size, Single* weights) - { - Delegates.glWeightfvARB = (Delegates.WeightfvARB)GetExtensionDelegateStatic("glWeightfvARB", typeof(Delegates.WeightfvARB)); - Delegates.glWeightfvARB((Int32)size, (Single*)weights); - } - internal static unsafe void Load_WeightivARB(Int32 size, Int32* weights) - { - Delegates.glWeightivARB = (Delegates.WeightivARB)GetExtensionDelegateStatic("glWeightivARB", typeof(Delegates.WeightivARB)); - Delegates.glWeightivARB((Int32)size, (Int32*)weights); - } - internal static unsafe void Load_WeightPathsNV(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights) - { - Delegates.glWeightPathsNV = (Delegates.WeightPathsNV)GetExtensionDelegateStatic("glWeightPathsNV", typeof(Delegates.WeightPathsNV)); - Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths, (Single*)weights); - } - internal static void Load_WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer) - { - Delegates.glWeightPointerARB = (Delegates.WeightPointerARB)GetExtensionDelegateStatic("glWeightPointerARB", typeof(Delegates.WeightPointerARB)); - Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); - } - internal static unsafe void Load_WeightsvARB(Int32 size, Int16* weights) - { - Delegates.glWeightsvARB = (Delegates.WeightsvARB)GetExtensionDelegateStatic("glWeightsvARB", typeof(Delegates.WeightsvARB)); - Delegates.glWeightsvARB((Int32)size, (Int16*)weights); - } - internal static unsafe void Load_WeightubvARB(Int32 size, Byte* weights) - { - Delegates.glWeightubvARB = (Delegates.WeightubvARB)GetExtensionDelegateStatic("glWeightubvARB", typeof(Delegates.WeightubvARB)); - Delegates.glWeightubvARB((Int32)size, (Byte*)weights); - } - internal static unsafe void Load_WeightuivARB(Int32 size, UInt32* weights) - { - Delegates.glWeightuivARB = (Delegates.WeightuivARB)GetExtensionDelegateStatic("glWeightuivARB", typeof(Delegates.WeightuivARB)); - Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); - } - internal static unsafe void Load_WeightusvARB(Int32 size, UInt16* weights) - { - Delegates.glWeightusvARB = (Delegates.WeightusvARB)GetExtensionDelegateStatic("glWeightusvARB", typeof(Delegates.WeightusvARB)); - Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); - } - internal static void Load_WindowPos2d(Double x, Double y) - { - Delegates.glWindowPos2d = (Delegates.WindowPos2d)GetExtensionDelegateStatic("glWindowPos2d", typeof(Delegates.WindowPos2d)); - Delegates.glWindowPos2d((Double)x, (Double)y); - } - internal static void Load_WindowPos2dARB(Double x, Double y) - { - Delegates.glWindowPos2dARB = (Delegates.WindowPos2dARB)GetExtensionDelegateStatic("glWindowPos2dARB", typeof(Delegates.WindowPos2dARB)); - Delegates.glWindowPos2dARB((Double)x, (Double)y); - } - internal static void Load_WindowPos2dMESA(Double x, Double y) - { - Delegates.glWindowPos2dMESA = (Delegates.WindowPos2dMESA)GetExtensionDelegateStatic("glWindowPos2dMESA", typeof(Delegates.WindowPos2dMESA)); - Delegates.glWindowPos2dMESA((Double)x, (Double)y); - } - internal static unsafe void Load_WindowPos2dv(Double* v) - { - Delegates.glWindowPos2dv = (Delegates.WindowPos2dv)GetExtensionDelegateStatic("glWindowPos2dv", typeof(Delegates.WindowPos2dv)); - Delegates.glWindowPos2dv((Double*)v); - } - internal static unsafe void Load_WindowPos2dvARB(Double* v) - { - Delegates.glWindowPos2dvARB = (Delegates.WindowPos2dvARB)GetExtensionDelegateStatic("glWindowPos2dvARB", typeof(Delegates.WindowPos2dvARB)); - Delegates.glWindowPos2dvARB((Double*)v); - } - internal static unsafe void Load_WindowPos2dvMESA(Double* v) - { - Delegates.glWindowPos2dvMESA = (Delegates.WindowPos2dvMESA)GetExtensionDelegateStatic("glWindowPos2dvMESA", typeof(Delegates.WindowPos2dvMESA)); - Delegates.glWindowPos2dvMESA((Double*)v); - } - internal static void Load_WindowPos2f(Single x, Single y) - { - Delegates.glWindowPos2f = (Delegates.WindowPos2f)GetExtensionDelegateStatic("glWindowPos2f", typeof(Delegates.WindowPos2f)); - Delegates.glWindowPos2f((Single)x, (Single)y); - } - internal static void Load_WindowPos2fARB(Single x, Single y) - { - Delegates.glWindowPos2fARB = (Delegates.WindowPos2fARB)GetExtensionDelegateStatic("glWindowPos2fARB", typeof(Delegates.WindowPos2fARB)); - Delegates.glWindowPos2fARB((Single)x, (Single)y); - } - internal static void Load_WindowPos2fMESA(Single x, Single y) - { - Delegates.glWindowPos2fMESA = (Delegates.WindowPos2fMESA)GetExtensionDelegateStatic("glWindowPos2fMESA", typeof(Delegates.WindowPos2fMESA)); - Delegates.glWindowPos2fMESA((Single)x, (Single)y); - } - internal static unsafe void Load_WindowPos2fv(Single* v) - { - Delegates.glWindowPos2fv = (Delegates.WindowPos2fv)GetExtensionDelegateStatic("glWindowPos2fv", typeof(Delegates.WindowPos2fv)); - Delegates.glWindowPos2fv((Single*)v); - } - internal static unsafe void Load_WindowPos2fvARB(Single* v) - { - Delegates.glWindowPos2fvARB = (Delegates.WindowPos2fvARB)GetExtensionDelegateStatic("glWindowPos2fvARB", typeof(Delegates.WindowPos2fvARB)); - Delegates.glWindowPos2fvARB((Single*)v); - } - internal static unsafe void Load_WindowPos2fvMESA(Single* v) - { - Delegates.glWindowPos2fvMESA = (Delegates.WindowPos2fvMESA)GetExtensionDelegateStatic("glWindowPos2fvMESA", typeof(Delegates.WindowPos2fvMESA)); - Delegates.glWindowPos2fvMESA((Single*)v); - } - internal static void Load_WindowPos2i(Int32 x, Int32 y) - { - Delegates.glWindowPos2i = (Delegates.WindowPos2i)GetExtensionDelegateStatic("glWindowPos2i", typeof(Delegates.WindowPos2i)); - Delegates.glWindowPos2i((Int32)x, (Int32)y); - } - internal static void Load_WindowPos2iARB(Int32 x, Int32 y) - { - Delegates.glWindowPos2iARB = (Delegates.WindowPos2iARB)GetExtensionDelegateStatic("glWindowPos2iARB", typeof(Delegates.WindowPos2iARB)); - Delegates.glWindowPos2iARB((Int32)x, (Int32)y); - } - internal static void Load_WindowPos2iMESA(Int32 x, Int32 y) - { - Delegates.glWindowPos2iMESA = (Delegates.WindowPos2iMESA)GetExtensionDelegateStatic("glWindowPos2iMESA", typeof(Delegates.WindowPos2iMESA)); - Delegates.glWindowPos2iMESA((Int32)x, (Int32)y); - } - internal static unsafe void Load_WindowPos2iv(Int32* v) - { - Delegates.glWindowPos2iv = (Delegates.WindowPos2iv)GetExtensionDelegateStatic("glWindowPos2iv", typeof(Delegates.WindowPos2iv)); - Delegates.glWindowPos2iv((Int32*)v); - } - internal static unsafe void Load_WindowPos2ivARB(Int32* v) - { - Delegates.glWindowPos2ivARB = (Delegates.WindowPos2ivARB)GetExtensionDelegateStatic("glWindowPos2ivARB", typeof(Delegates.WindowPos2ivARB)); - Delegates.glWindowPos2ivARB((Int32*)v); - } - internal static unsafe void Load_WindowPos2ivMESA(Int32* v) - { - Delegates.glWindowPos2ivMESA = (Delegates.WindowPos2ivMESA)GetExtensionDelegateStatic("glWindowPos2ivMESA", typeof(Delegates.WindowPos2ivMESA)); - Delegates.glWindowPos2ivMESA((Int32*)v); - } - internal static void Load_WindowPos2s(Int16 x, Int16 y) - { - Delegates.glWindowPos2s = (Delegates.WindowPos2s)GetExtensionDelegateStatic("glWindowPos2s", typeof(Delegates.WindowPos2s)); - Delegates.glWindowPos2s((Int16)x, (Int16)y); - } - internal static void Load_WindowPos2sARB(Int16 x, Int16 y) - { - Delegates.glWindowPos2sARB = (Delegates.WindowPos2sARB)GetExtensionDelegateStatic("glWindowPos2sARB", typeof(Delegates.WindowPos2sARB)); - Delegates.glWindowPos2sARB((Int16)x, (Int16)y); - } - internal static void Load_WindowPos2sMESA(Int16 x, Int16 y) - { - Delegates.glWindowPos2sMESA = (Delegates.WindowPos2sMESA)GetExtensionDelegateStatic("glWindowPos2sMESA", typeof(Delegates.WindowPos2sMESA)); - Delegates.glWindowPos2sMESA((Int16)x, (Int16)y); - } - internal static unsafe void Load_WindowPos2sv(Int16* v) - { - Delegates.glWindowPos2sv = (Delegates.WindowPos2sv)GetExtensionDelegateStatic("glWindowPos2sv", typeof(Delegates.WindowPos2sv)); - Delegates.glWindowPos2sv((Int16*)v); - } - internal static unsafe void Load_WindowPos2svARB(Int16* v) - { - Delegates.glWindowPos2svARB = (Delegates.WindowPos2svARB)GetExtensionDelegateStatic("glWindowPos2svARB", typeof(Delegates.WindowPos2svARB)); - Delegates.glWindowPos2svARB((Int16*)v); - } - internal static unsafe void Load_WindowPos2svMESA(Int16* v) - { - Delegates.glWindowPos2svMESA = (Delegates.WindowPos2svMESA)GetExtensionDelegateStatic("glWindowPos2svMESA", typeof(Delegates.WindowPos2svMESA)); - Delegates.glWindowPos2svMESA((Int16*)v); - } - internal static void Load_WindowPos3d(Double x, Double y, Double z) - { - Delegates.glWindowPos3d = (Delegates.WindowPos3d)GetExtensionDelegateStatic("glWindowPos3d", typeof(Delegates.WindowPos3d)); - Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); - } - internal static void Load_WindowPos3dARB(Double x, Double y, Double z) - { - Delegates.glWindowPos3dARB = (Delegates.WindowPos3dARB)GetExtensionDelegateStatic("glWindowPos3dARB", typeof(Delegates.WindowPos3dARB)); - Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); - } - internal static void Load_WindowPos3dMESA(Double x, Double y, Double z) - { - Delegates.glWindowPos3dMESA = (Delegates.WindowPos3dMESA)GetExtensionDelegateStatic("glWindowPos3dMESA", typeof(Delegates.WindowPos3dMESA)); - Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_WindowPos3dv(Double* v) - { - Delegates.glWindowPos3dv = (Delegates.WindowPos3dv)GetExtensionDelegateStatic("glWindowPos3dv", typeof(Delegates.WindowPos3dv)); - Delegates.glWindowPos3dv((Double*)v); - } - internal static unsafe void Load_WindowPos3dvARB(Double* v) - { - Delegates.glWindowPos3dvARB = (Delegates.WindowPos3dvARB)GetExtensionDelegateStatic("glWindowPos3dvARB", typeof(Delegates.WindowPos3dvARB)); - Delegates.glWindowPos3dvARB((Double*)v); - } - internal static unsafe void Load_WindowPos3dvMESA(Double* v) - { - Delegates.glWindowPos3dvMESA = (Delegates.WindowPos3dvMESA)GetExtensionDelegateStatic("glWindowPos3dvMESA", typeof(Delegates.WindowPos3dvMESA)); - Delegates.glWindowPos3dvMESA((Double*)v); - } - internal static void Load_WindowPos3f(Single x, Single y, Single z) - { - Delegates.glWindowPos3f = (Delegates.WindowPos3f)GetExtensionDelegateStatic("glWindowPos3f", typeof(Delegates.WindowPos3f)); - Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); - } - internal static void Load_WindowPos3fARB(Single x, Single y, Single z) - { - Delegates.glWindowPos3fARB = (Delegates.WindowPos3fARB)GetExtensionDelegateStatic("glWindowPos3fARB", typeof(Delegates.WindowPos3fARB)); - Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); - } - internal static void Load_WindowPos3fMESA(Single x, Single y, Single z) - { - Delegates.glWindowPos3fMESA = (Delegates.WindowPos3fMESA)GetExtensionDelegateStatic("glWindowPos3fMESA", typeof(Delegates.WindowPos3fMESA)); - Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_WindowPos3fv(Single* v) - { - Delegates.glWindowPos3fv = (Delegates.WindowPos3fv)GetExtensionDelegateStatic("glWindowPos3fv", typeof(Delegates.WindowPos3fv)); - Delegates.glWindowPos3fv((Single*)v); - } - internal static unsafe void Load_WindowPos3fvARB(Single* v) - { - Delegates.glWindowPos3fvARB = (Delegates.WindowPos3fvARB)GetExtensionDelegateStatic("glWindowPos3fvARB", typeof(Delegates.WindowPos3fvARB)); - Delegates.glWindowPos3fvARB((Single*)v); - } - internal static unsafe void Load_WindowPos3fvMESA(Single* v) - { - Delegates.glWindowPos3fvMESA = (Delegates.WindowPos3fvMESA)GetExtensionDelegateStatic("glWindowPos3fvMESA", typeof(Delegates.WindowPos3fvMESA)); - Delegates.glWindowPos3fvMESA((Single*)v); - } - internal static void Load_WindowPos3i(Int32 x, Int32 y, Int32 z) - { - Delegates.glWindowPos3i = (Delegates.WindowPos3i)GetExtensionDelegateStatic("glWindowPos3i", typeof(Delegates.WindowPos3i)); - Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); - } - internal static void Load_WindowPos3iARB(Int32 x, Int32 y, Int32 z) - { - Delegates.glWindowPos3iARB = (Delegates.WindowPos3iARB)GetExtensionDelegateStatic("glWindowPos3iARB", typeof(Delegates.WindowPos3iARB)); - Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); - } - internal static void Load_WindowPos3iMESA(Int32 x, Int32 y, Int32 z) - { - Delegates.glWindowPos3iMESA = (Delegates.WindowPos3iMESA)GetExtensionDelegateStatic("glWindowPos3iMESA", typeof(Delegates.WindowPos3iMESA)); - Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z); - } - internal static unsafe void Load_WindowPos3iv(Int32* v) - { - Delegates.glWindowPos3iv = (Delegates.WindowPos3iv)GetExtensionDelegateStatic("glWindowPos3iv", typeof(Delegates.WindowPos3iv)); - Delegates.glWindowPos3iv((Int32*)v); - } - internal static unsafe void Load_WindowPos3ivARB(Int32* v) - { - Delegates.glWindowPos3ivARB = (Delegates.WindowPos3ivARB)GetExtensionDelegateStatic("glWindowPos3ivARB", typeof(Delegates.WindowPos3ivARB)); - Delegates.glWindowPos3ivARB((Int32*)v); - } - internal static unsafe void Load_WindowPos3ivMESA(Int32* v) - { - Delegates.glWindowPos3ivMESA = (Delegates.WindowPos3ivMESA)GetExtensionDelegateStatic("glWindowPos3ivMESA", typeof(Delegates.WindowPos3ivMESA)); - Delegates.glWindowPos3ivMESA((Int32*)v); - } - internal static void Load_WindowPos3s(Int16 x, Int16 y, Int16 z) - { - Delegates.glWindowPos3s = (Delegates.WindowPos3s)GetExtensionDelegateStatic("glWindowPos3s", typeof(Delegates.WindowPos3s)); - Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); - } - internal static void Load_WindowPos3sARB(Int16 x, Int16 y, Int16 z) - { - Delegates.glWindowPos3sARB = (Delegates.WindowPos3sARB)GetExtensionDelegateStatic("glWindowPos3sARB", typeof(Delegates.WindowPos3sARB)); - Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); - } - internal static void Load_WindowPos3sMESA(Int16 x, Int16 y, Int16 z) - { - Delegates.glWindowPos3sMESA = (Delegates.WindowPos3sMESA)GetExtensionDelegateStatic("glWindowPos3sMESA", typeof(Delegates.WindowPos3sMESA)); - Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z); - } - internal static unsafe void Load_WindowPos3sv(Int16* v) - { - Delegates.glWindowPos3sv = (Delegates.WindowPos3sv)GetExtensionDelegateStatic("glWindowPos3sv", typeof(Delegates.WindowPos3sv)); - Delegates.glWindowPos3sv((Int16*)v); - } - internal static unsafe void Load_WindowPos3svARB(Int16* v) - { - Delegates.glWindowPos3svARB = (Delegates.WindowPos3svARB)GetExtensionDelegateStatic("glWindowPos3svARB", typeof(Delegates.WindowPos3svARB)); - Delegates.glWindowPos3svARB((Int16*)v); - } - internal static unsafe void Load_WindowPos3svMESA(Int16* v) - { - Delegates.glWindowPos3svMESA = (Delegates.WindowPos3svMESA)GetExtensionDelegateStatic("glWindowPos3svMESA", typeof(Delegates.WindowPos3svMESA)); - Delegates.glWindowPos3svMESA((Int16*)v); - } - internal static void Load_WindowPos4dMESA(Double x, Double y, Double z, Double w) - { - Delegates.glWindowPos4dMESA = (Delegates.WindowPos4dMESA)GetExtensionDelegateStatic("glWindowPos4dMESA", typeof(Delegates.WindowPos4dMESA)); - Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_WindowPos4dvMESA(Double* v) - { - Delegates.glWindowPos4dvMESA = (Delegates.WindowPos4dvMESA)GetExtensionDelegateStatic("glWindowPos4dvMESA", typeof(Delegates.WindowPos4dvMESA)); - Delegates.glWindowPos4dvMESA((Double*)v); - } - internal static void Load_WindowPos4fMESA(Single x, Single y, Single z, Single w) - { - Delegates.glWindowPos4fMESA = (Delegates.WindowPos4fMESA)GetExtensionDelegateStatic("glWindowPos4fMESA", typeof(Delegates.WindowPos4fMESA)); - Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_WindowPos4fvMESA(Single* v) - { - Delegates.glWindowPos4fvMESA = (Delegates.WindowPos4fvMESA)GetExtensionDelegateStatic("glWindowPos4fvMESA", typeof(Delegates.WindowPos4fvMESA)); - Delegates.glWindowPos4fvMESA((Single*)v); - } - internal static void Load_WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glWindowPos4iMESA = (Delegates.WindowPos4iMESA)GetExtensionDelegateStatic("glWindowPos4iMESA", typeof(Delegates.WindowPos4iMESA)); - Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_WindowPos4ivMESA(Int32* v) - { - Delegates.glWindowPos4ivMESA = (Delegates.WindowPos4ivMESA)GetExtensionDelegateStatic("glWindowPos4ivMESA", typeof(Delegates.WindowPos4ivMESA)); - Delegates.glWindowPos4ivMESA((Int32*)v); - } - internal static void Load_WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glWindowPos4sMESA = (Delegates.WindowPos4sMESA)GetExtensionDelegateStatic("glWindowPos4sMESA", typeof(Delegates.WindowPos4sMESA)); - Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static unsafe void Load_WindowPos4svMESA(Int16* v) - { - Delegates.glWindowPos4svMESA = (Delegates.WindowPos4svMESA)GetExtensionDelegateStatic("glWindowPos4svMESA", typeof(Delegates.WindowPos4svMESA)); - Delegates.glWindowPos4svMESA((Int16*)v); - } - internal static void Load_WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) - { - Delegates.glWriteMaskEXT = (Delegates.WriteMaskEXT)GetExtensionDelegateStatic("glWriteMaskEXT", typeof(Delegates.WriteMaskEXT)); - Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); + internal static void Load_Accum(OpenTK.Graphics.OpenGL.AccumOp op, Single value) + { + Delegates.glAccum = (Delegates.Accum)GetExtensionDelegateStatic("glAccum", typeof(Delegates.Accum)); + Delegates.glAccum((OpenTK.Graphics.OpenGL.AccumOp)op, (Single)value); + } + internal static void Load_AccumxOES(OpenTK.Graphics.OpenGL.OesFixedPoint op, int value) + { + Delegates.glAccumxOES = (Delegates.AccumxOES)GetExtensionDelegateStatic("glAccumxOES", typeof(Delegates.AccumxOES)); + Delegates.glAccumxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)op, (int)value); + } + internal static void Load_ActiveProgramEXT(UInt32 program) + { + Delegates.glActiveProgramEXT = (Delegates.ActiveProgramEXT)GetExtensionDelegateStatic("glActiveProgramEXT", typeof(Delegates.ActiveProgramEXT)); + Delegates.glActiveProgramEXT((UInt32)program); + } + internal static void Load_ActiveShaderProgram(UInt32 pipeline, UInt32 program) + { + Delegates.glActiveShaderProgram = (Delegates.ActiveShaderProgram)GetExtensionDelegateStatic("glActiveShaderProgram", typeof(Delegates.ActiveShaderProgram)); + Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); + } + internal static void Load_ActiveShaderProgramEXT(UInt32 pipeline, UInt32 program) + { + Delegates.glActiveShaderProgramEXT = (Delegates.ActiveShaderProgramEXT)GetExtensionDelegateStatic("glActiveShaderProgramEXT", typeof(Delegates.ActiveShaderProgramEXT)); + Delegates.glActiveShaderProgramEXT((UInt32)pipeline, (UInt32)program); + } + internal static void Load_ActiveStencilFaceEXT(OpenTK.Graphics.OpenGL.ExtStencilTwoSide face) + { + Delegates.glActiveStencilFaceEXT = (Delegates.ActiveStencilFaceEXT)GetExtensionDelegateStatic("glActiveStencilFaceEXT", typeof(Delegates.ActiveStencilFaceEXT)); + Delegates.glActiveStencilFaceEXT((OpenTK.Graphics.OpenGL.ExtStencilTwoSide)face); + } + internal static void Load_ActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); + Delegates.glActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); + } + internal static void Load_ActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + Delegates.glActiveTextureARB = (Delegates.ActiveTextureARB)GetExtensionDelegateStatic("glActiveTextureARB", typeof(Delegates.ActiveTextureARB)); + Delegates.glActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); + } + internal static void Load_ActiveVaryingNV(UInt32 program, String name) + { + Delegates.glActiveVaryingNV = (Delegates.ActiveVaryingNV)GetExtensionDelegateStatic("glActiveVaryingNV", typeof(Delegates.ActiveVaryingNV)); + Delegates.glActiveVaryingNV((UInt32)program, (String)name); + } + internal static void Load_AlphaFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) + { + Delegates.glAlphaFragmentOp1ATI = (Delegates.AlphaFragmentOp1ATI)GetExtensionDelegateStatic("glAlphaFragmentOp1ATI", typeof(Delegates.AlphaFragmentOp1ATI)); + Delegates.glAlphaFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + } + internal static void Load_AlphaFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) + { + Delegates.glAlphaFragmentOp2ATI = (Delegates.AlphaFragmentOp2ATI)GetExtensionDelegateStatic("glAlphaFragmentOp2ATI", typeof(Delegates.AlphaFragmentOp2ATI)); + Delegates.glAlphaFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + } + internal static void Load_AlphaFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + { + Delegates.glAlphaFragmentOp3ATI = (Delegates.AlphaFragmentOp3ATI)GetExtensionDelegateStatic("glAlphaFragmentOp3ATI", typeof(Delegates.AlphaFragmentOp3ATI)); + Delegates.glAlphaFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + } + internal static void Load_AlphaFunc(OpenTK.Graphics.OpenGL.AlphaFunction func, Single @ref) + { + Delegates.glAlphaFunc = (Delegates.AlphaFunc)GetExtensionDelegateStatic("glAlphaFunc", typeof(Delegates.AlphaFunc)); + Delegates.glAlphaFunc((OpenTK.Graphics.OpenGL.AlphaFunction)func, (Single)@ref); + } + internal static void Load_AlphaFuncxOES(OpenTK.Graphics.OpenGL.OesFixedPoint func, int @ref) + { + Delegates.glAlphaFuncxOES = (Delegates.AlphaFuncxOES)GetExtensionDelegateStatic("glAlphaFuncxOES", typeof(Delegates.AlphaFuncxOES)); + Delegates.glAlphaFuncxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)func, (int)@ref); + } + internal static void Load_ApplyTextureEXT(OpenTK.Graphics.OpenGL.ExtLightTexture mode) + { + Delegates.glApplyTextureEXT = (Delegates.ApplyTextureEXT)GetExtensionDelegateStatic("glApplyTextureEXT", typeof(Delegates.ApplyTextureEXT)); + Delegates.glApplyTextureEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)mode); + } + internal static unsafe bool Load_AreProgramsResidentNV(Int32 n, UInt32* programs, [OutAttribute] bool* residences) + { + Delegates.glAreProgramsResidentNV = (Delegates.AreProgramsResidentNV)GetExtensionDelegateStatic("glAreProgramsResidentNV", typeof(Delegates.AreProgramsResidentNV)); + return Delegates.glAreProgramsResidentNV((Int32)n, (UInt32*)programs, (bool*)residences); + } + internal static unsafe bool Load_AreTexturesResident(Int32 n, UInt32* textures, [OutAttribute] bool* residences) + { + Delegates.glAreTexturesResident = (Delegates.AreTexturesResident)GetExtensionDelegateStatic("glAreTexturesResident", typeof(Delegates.AreTexturesResident)); + return Delegates.glAreTexturesResident((Int32)n, (UInt32*)textures, (bool*)residences); + } + internal static unsafe bool Load_AreTexturesResidentEXT(Int32 n, UInt32* textures, [OutAttribute] bool* residences) + { + Delegates.glAreTexturesResidentEXT = (Delegates.AreTexturesResidentEXT)GetExtensionDelegateStatic("glAreTexturesResidentEXT", typeof(Delegates.AreTexturesResidentEXT)); + return Delegates.glAreTexturesResidentEXT((Int32)n, (UInt32*)textures, (bool*)residences); + } + internal static void Load_ArrayElement(Int32 i) + { + Delegates.glArrayElement = (Delegates.ArrayElement)GetExtensionDelegateStatic("glArrayElement", typeof(Delegates.ArrayElement)); + Delegates.glArrayElement((Int32)i); + } + internal static void Load_ArrayElementEXT(Int32 i) + { + Delegates.glArrayElementEXT = (Delegates.ArrayElementEXT)GetExtensionDelegateStatic("glArrayElementEXT", typeof(Delegates.ArrayElementEXT)); + Delegates.glArrayElementEXT((Int32)i); + } + internal static void Load_ArrayObjectATI(OpenTK.Graphics.OpenGL.EnableCap array, Int32 size, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) + { + Delegates.glArrayObjectATI = (Delegates.ArrayObjectATI)GetExtensionDelegateStatic("glArrayObjectATI", typeof(Delegates.ArrayObjectATI)); + Delegates.glArrayObjectATI((OpenTK.Graphics.OpenGL.EnableCap)array, (Int32)size, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + } + internal static void Load_AsyncMarkerSGIX(UInt32 marker) + { + Delegates.glAsyncMarkerSGIX = (Delegates.AsyncMarkerSGIX)GetExtensionDelegateStatic("glAsyncMarkerSGIX", typeof(Delegates.AsyncMarkerSGIX)); + Delegates.glAsyncMarkerSGIX((UInt32)marker); + } + internal static void Load_AttachObjectARB(UInt32 containerObj, UInt32 obj) + { + Delegates.glAttachObjectARB = (Delegates.AttachObjectARB)GetExtensionDelegateStatic("glAttachObjectARB", typeof(Delegates.AttachObjectARB)); + Delegates.glAttachObjectARB((UInt32)containerObj, (UInt32)obj); + } + internal static void Load_AttachShader(UInt32 program, UInt32 shader) + { + Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + } + internal static void Load_Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode) + { + Delegates.glBegin = (Delegates.Begin)GetExtensionDelegateStatic("glBegin", typeof(Delegates.Begin)); + Delegates.glBegin((OpenTK.Graphics.OpenGL.PrimitiveType)mode); + } + internal static void Load_BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode) + { + Delegates.glBeginConditionalRender = (Delegates.BeginConditionalRender)GetExtensionDelegateStatic("glBeginConditionalRender", typeof(Delegates.BeginConditionalRender)); + Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL.ConditionalRenderType)mode); + } + internal static void Load_BeginConditionalRenderNV(UInt32 id, OpenTK.Graphics.OpenGL.NvConditionalRender mode) + { + Delegates.glBeginConditionalRenderNV = (Delegates.BeginConditionalRenderNV)GetExtensionDelegateStatic("glBeginConditionalRenderNV", typeof(Delegates.BeginConditionalRenderNV)); + Delegates.glBeginConditionalRenderNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvConditionalRender)mode); + } + internal static void Load_BeginConditionalRenderNVX(UInt32 id) + { + Delegates.glBeginConditionalRenderNVX = (Delegates.BeginConditionalRenderNVX)GetExtensionDelegateStatic("glBeginConditionalRenderNVX", typeof(Delegates.BeginConditionalRenderNVX)); + Delegates.glBeginConditionalRenderNVX((UInt32)id); + } + internal static void Load_BeginFragmentShaderATI() + { + Delegates.glBeginFragmentShaderATI = (Delegates.BeginFragmentShaderATI)GetExtensionDelegateStatic("glBeginFragmentShaderATI", typeof(Delegates.BeginFragmentShaderATI)); + Delegates.glBeginFragmentShaderATI(); + } + internal static void Load_BeginOcclusionQueryNV(UInt32 id) + { + Delegates.glBeginOcclusionQueryNV = (Delegates.BeginOcclusionQueryNV)GetExtensionDelegateStatic("glBeginOcclusionQueryNV", typeof(Delegates.BeginOcclusionQueryNV)); + Delegates.glBeginOcclusionQueryNV((UInt32)id); + } + internal static void Load_BeginPerfMonitorAMD(UInt32 monitor) + { + Delegates.glBeginPerfMonitorAMD = (Delegates.BeginPerfMonitorAMD)GetExtensionDelegateStatic("glBeginPerfMonitorAMD", typeof(Delegates.BeginPerfMonitorAMD)); + Delegates.glBeginPerfMonitorAMD((UInt32)monitor); + } + internal static void Load_BeginQuery(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 id) + { + Delegates.glBeginQuery = (Delegates.BeginQuery)GetExtensionDelegateStatic("glBeginQuery", typeof(Delegates.BeginQuery)); + Delegates.glBeginQuery((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)id); + } + internal static void Load_BeginQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, UInt32 id) + { + Delegates.glBeginQueryARB = (Delegates.BeginQueryARB)GetExtensionDelegateStatic("glBeginQueryARB", typeof(Delegates.BeginQueryARB)); + Delegates.glBeginQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (UInt32)id); + } + internal static void Load_BeginQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, UInt32 id) + { + Delegates.glBeginQueryIndexed = (Delegates.BeginQueryIndexed)GetExtensionDelegateStatic("glBeginQueryIndexed", typeof(Delegates.BeginQueryIndexed)); + Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (UInt32)id); + } + internal static void Load_BeginTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType primitiveMode) + { + Delegates.glBeginTransformFeedback = (Delegates.BeginTransformFeedback)GetExtensionDelegateStatic("glBeginTransformFeedback", typeof(Delegates.BeginTransformFeedback)); + Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackPrimitiveType)primitiveMode); + } + internal static void Load_BeginTransformFeedbackEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback primitiveMode) + { + Delegates.glBeginTransformFeedbackEXT = (Delegates.BeginTransformFeedbackEXT)GetExtensionDelegateStatic("glBeginTransformFeedbackEXT", typeof(Delegates.BeginTransformFeedbackEXT)); + Delegates.glBeginTransformFeedbackEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)primitiveMode); + } + internal static void Load_BeginTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback primitiveMode) + { + Delegates.glBeginTransformFeedbackNV = (Delegates.BeginTransformFeedbackNV)GetExtensionDelegateStatic("glBeginTransformFeedbackNV", typeof(Delegates.BeginTransformFeedbackNV)); + Delegates.glBeginTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)primitiveMode); + } + internal static void Load_BeginVertexShaderEXT() + { + Delegates.glBeginVertexShaderEXT = (Delegates.BeginVertexShaderEXT)GetExtensionDelegateStatic("glBeginVertexShaderEXT", typeof(Delegates.BeginVertexShaderEXT)); + Delegates.glBeginVertexShaderEXT(); + } + internal static void Load_BeginVideoCaptureNV(UInt32 video_capture_slot) + { + Delegates.glBeginVideoCaptureNV = (Delegates.BeginVideoCaptureNV)GetExtensionDelegateStatic("glBeginVideoCaptureNV", typeof(Delegates.BeginVideoCaptureNV)); + Delegates.glBeginVideoCaptureNV((UInt32)video_capture_slot); + } + internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) + { + Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + } + internal static void Load_BindAttribLocationARB(UInt32 programObj, UInt32 index, String name) + { + Delegates.glBindAttribLocationARB = (Delegates.BindAttribLocationARB)GetExtensionDelegateStatic("glBindAttribLocationARB", typeof(Delegates.BindAttribLocationARB)); + Delegates.glBindAttribLocationARB((UInt32)programObj, (UInt32)index, (String)name); + } + internal static void Load_BindBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 buffer) + { + Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); + Delegates.glBindBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)buffer); + } + internal static void Load_BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer) + { + Delegates.glBindBufferARB = (Delegates.BindBufferARB)GetExtensionDelegateStatic("glBindBufferARB", typeof(Delegates.BindBufferARB)); + Delegates.glBindBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (UInt32)buffer); + } + internal static void Load_BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer) + { + Delegates.glBindBufferBase = (Delegates.BindBufferBase)GetExtensionDelegateStatic("glBindBufferBase", typeof(Delegates.BindBufferBase)); + Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); + } + internal static void Load_BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer) + { + Delegates.glBindBufferBaseEXT = (Delegates.BindBufferBaseEXT)GetExtensionDelegateStatic("glBindBufferBaseEXT", typeof(Delegates.BindBufferBaseEXT)); + Delegates.glBindBufferBaseEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer); + } + internal static void Load_BindBufferBaseNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer) + { + Delegates.glBindBufferBaseNV = (Delegates.BindBufferBaseNV)GetExtensionDelegateStatic("glBindBufferBaseNV", typeof(Delegates.BindBufferBaseNV)); + Delegates.glBindBufferBaseNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer); + } + internal static void Load_BindBufferOffsetEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + { + Delegates.glBindBufferOffsetEXT = (Delegates.BindBufferOffsetEXT)GetExtensionDelegateStatic("glBindBufferOffsetEXT", typeof(Delegates.BindBufferOffsetEXT)); + Delegates.glBindBufferOffsetEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + } + internal static void Load_BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset) + { + Delegates.glBindBufferOffsetNV = (Delegates.BindBufferOffsetNV)GetExtensionDelegateStatic("glBindBufferOffsetNV", typeof(Delegates.BindBufferOffsetNV)); + Delegates.glBindBufferOffsetNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset); + } + internal static void Load_BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glBindBufferRange = (Delegates.BindBufferRange)GetExtensionDelegateStatic("glBindBufferRange", typeof(Delegates.BindBufferRange)); + Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static void Load_BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glBindBufferRangeEXT = (Delegates.BindBufferRangeEXT)GetExtensionDelegateStatic("glBindBufferRangeEXT", typeof(Delegates.BindBufferRangeEXT)); + Delegates.glBindBufferRangeEXT((OpenTK.Graphics.OpenGL.ExtTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static void Load_BindBufferRangeNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glBindBufferRangeNV = (Delegates.BindBufferRangeNV)GetExtensionDelegateStatic("glBindBufferRangeNV", typeof(Delegates.BindBufferRangeNV)); + Delegates.glBindBufferRangeNV((OpenTK.Graphics.OpenGL.NvTransformFeedback)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static unsafe void Load_BindBuffersBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) + { + Delegates.glBindBuffersBase = (Delegates.BindBuffersBase)GetExtensionDelegateStatic("glBindBuffersBase", typeof(Delegates.BindBuffersBase)); + Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); + } + internal static unsafe void Load_BindBuffersRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes) + { + Delegates.glBindBuffersRange = (Delegates.BindBuffersRange)GetExtensionDelegateStatic("glBindBuffersRange", typeof(Delegates.BindBuffersRange)); + Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); + } + internal static void Load_BindFragDataLocation(UInt32 program, UInt32 color, String name) + { + Delegates.glBindFragDataLocation = (Delegates.BindFragDataLocation)GetExtensionDelegateStatic("glBindFragDataLocation", typeof(Delegates.BindFragDataLocation)); + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); + } + internal static void Load_BindFragDataLocationEXT(UInt32 program, UInt32 color, String name) + { + Delegates.glBindFragDataLocationEXT = (Delegates.BindFragDataLocationEXT)GetExtensionDelegateStatic("glBindFragDataLocationEXT", typeof(Delegates.BindFragDataLocationEXT)); + Delegates.glBindFragDataLocationEXT((UInt32)program, (UInt32)color, (String)name); + } + internal static void Load_BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) + { + Delegates.glBindFragDataLocationIndexed = (Delegates.BindFragDataLocationIndexed)GetExtensionDelegateStatic("glBindFragDataLocationIndexed", typeof(Delegates.BindFragDataLocationIndexed)); + Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); + } + internal static void Load_BindFragmentShaderATI(UInt32 id) + { + Delegates.glBindFragmentShaderATI = (Delegates.BindFragmentShaderATI)GetExtensionDelegateStatic("glBindFragmentShaderATI", typeof(Delegates.BindFragmentShaderATI)); + Delegates.glBindFragmentShaderATI((UInt32)id); + } + internal static void Load_BindFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) + { + Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); + Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); + } + internal static void Load_BindFramebufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, UInt32 framebuffer) + { + Delegates.glBindFramebufferEXT = (Delegates.BindFramebufferEXT)GetExtensionDelegateStatic("glBindFramebufferEXT", typeof(Delegates.BindFramebufferEXT)); + Delegates.glBindFramebufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (UInt32)framebuffer); + } + internal static void Load_BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.TextureAccess access, OpenTK.Graphics.OpenGL.SizedInternalFormat format) + { + Delegates.glBindImageTexture = (Delegates.BindImageTexture)GetExtensionDelegateStatic("glBindImageTexture", typeof(Delegates.BindImageTexture)); + Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.TextureAccess)access, (OpenTK.Graphics.OpenGL.SizedInternalFormat)format); + } + internal static void Load_BindImageTextureEXT(UInt32 index, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore access, Int32 format) + { + Delegates.glBindImageTextureEXT = (Delegates.BindImageTextureEXT)GetExtensionDelegateStatic("glBindImageTextureEXT", typeof(Delegates.BindImageTextureEXT)); + Delegates.glBindImageTextureEXT((UInt32)index, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ExtShaderImageLoadStore)access, (Int32)format); + } + internal static unsafe void Load_BindImageTextures(UInt32 first, Int32 count, UInt32* textures) + { + Delegates.glBindImageTextures = (Delegates.BindImageTextures)GetExtensionDelegateStatic("glBindImageTextures", typeof(Delegates.BindImageTextures)); + Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); + } + internal static Int32 Load_BindLightParameterEXT(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter value) + { + Delegates.glBindLightParameterEXT = (Delegates.BindLightParameterEXT)GetExtensionDelegateStatic("glBindLightParameterEXT", typeof(Delegates.BindLightParameterEXT)); + return Delegates.glBindLightParameterEXT((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)value); + } + internal static Int32 Load_BindMaterialParameterEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter value) + { + Delegates.glBindMaterialParameterEXT = (Delegates.BindMaterialParameterEXT)GetExtensionDelegateStatic("glBindMaterialParameterEXT", typeof(Delegates.BindMaterialParameterEXT)); + return Delegates.glBindMaterialParameterEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)value); + } + internal static void Load_BindMultiTextureEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) + { + Delegates.glBindMultiTextureEXT = (Delegates.BindMultiTextureEXT)GetExtensionDelegateStatic("glBindMultiTextureEXT", typeof(Delegates.BindMultiTextureEXT)); + Delegates.glBindMultiTextureEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + } + internal static Int32 Load_BindParameterEXT(OpenTK.Graphics.OpenGL.ExtVertexShader value) + { + Delegates.glBindParameterEXT = (Delegates.BindParameterEXT)GetExtensionDelegateStatic("glBindParameterEXT", typeof(Delegates.BindParameterEXT)); + return Delegates.glBindParameterEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)value); + } + internal static void Load_BindProgramARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 program) + { + Delegates.glBindProgramARB = (Delegates.BindProgramARB)GetExtensionDelegateStatic("glBindProgramARB", typeof(Delegates.BindProgramARB)); + Delegates.glBindProgramARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)program); + } + internal static void Load_BindProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id) + { + Delegates.glBindProgramNV = (Delegates.BindProgramNV)GetExtensionDelegateStatic("glBindProgramNV", typeof(Delegates.BindProgramNV)); + Delegates.glBindProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id); + } + internal static void Load_BindProgramPipeline(UInt32 pipeline) + { + Delegates.glBindProgramPipeline = (Delegates.BindProgramPipeline)GetExtensionDelegateStatic("glBindProgramPipeline", typeof(Delegates.BindProgramPipeline)); + Delegates.glBindProgramPipeline((UInt32)pipeline); + } + internal static void Load_BindProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glBindProgramPipelineEXT = (Delegates.BindProgramPipelineEXT)GetExtensionDelegateStatic("glBindProgramPipelineEXT", typeof(Delegates.BindProgramPipelineEXT)); + Delegates.glBindProgramPipelineEXT((UInt32)pipeline); + } + internal static void Load_BindRenderbuffer(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) + { + Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); + Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); + } + internal static void Load_BindRenderbufferEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, UInt32 renderbuffer) + { + Delegates.glBindRenderbufferEXT = (Delegates.BindRenderbufferEXT)GetExtensionDelegateStatic("glBindRenderbufferEXT", typeof(Delegates.BindRenderbufferEXT)); + Delegates.glBindRenderbufferEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (UInt32)renderbuffer); + } + internal static void Load_BindSampler(UInt32 unit, UInt32 sampler) + { + Delegates.glBindSampler = (Delegates.BindSampler)GetExtensionDelegateStatic("glBindSampler", typeof(Delegates.BindSampler)); + Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); + } + internal static unsafe void Load_BindSamplers(UInt32 first, Int32 count, UInt32* samplers) + { + Delegates.glBindSamplers = (Delegates.BindSamplers)GetExtensionDelegateStatic("glBindSamplers", typeof(Delegates.BindSamplers)); + Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); + } + internal static Int32 Load_BindTexGenParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter value) + { + Delegates.glBindTexGenParameterEXT = (Delegates.BindTexGenParameterEXT)GetExtensionDelegateStatic("glBindTexGenParameterEXT", typeof(Delegates.BindTexGenParameterEXT)); + return Delegates.glBindTexGenParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)value); + } + internal static void Load_BindTexture(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) + { + Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); + Delegates.glBindTexture((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + } + internal static void Load_BindTextureEXT(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 texture) + { + Delegates.glBindTextureEXT = (Delegates.BindTextureEXT)GetExtensionDelegateStatic("glBindTextureEXT", typeof(Delegates.BindTextureEXT)); + Delegates.glBindTextureEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)texture); + } + internal static unsafe void Load_BindTextures(UInt32 first, Int32 count, UInt32* textures) + { + Delegates.glBindTextures = (Delegates.BindTextures)GetExtensionDelegateStatic("glBindTextures", typeof(Delegates.BindTextures)); + Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); + } + internal static Int32 Load_BindTextureUnitParameterEXT(OpenTK.Graphics.OpenGL.TextureUnit unit, OpenTK.Graphics.OpenGL.ExtVertexShader value) + { + Delegates.glBindTextureUnitParameterEXT = (Delegates.BindTextureUnitParameterEXT)GetExtensionDelegateStatic("glBindTextureUnitParameterEXT", typeof(Delegates.BindTextureUnitParameterEXT)); + return Delegates.glBindTextureUnitParameterEXT((OpenTK.Graphics.OpenGL.TextureUnit)unit, (OpenTK.Graphics.OpenGL.ExtVertexShader)value); + } + internal static void Load_BindTransformFeedback(OpenTK.Graphics.OpenGL.TransformFeedbackTarget target, UInt32 id) + { + Delegates.glBindTransformFeedback = (Delegates.BindTransformFeedback)GetExtensionDelegateStatic("glBindTransformFeedback", typeof(Delegates.BindTransformFeedback)); + Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL.TransformFeedbackTarget)target, (UInt32)id); + } + internal static void Load_BindTransformFeedbackNV(OpenTK.Graphics.OpenGL.NvTransformFeedback2 target, UInt32 id) + { + Delegates.glBindTransformFeedbackNV = (Delegates.BindTransformFeedbackNV)GetExtensionDelegateStatic("glBindTransformFeedbackNV", typeof(Delegates.BindTransformFeedbackNV)); + Delegates.glBindTransformFeedbackNV((OpenTK.Graphics.OpenGL.NvTransformFeedback2)target, (UInt32)id); + } + internal static void Load_BindVertexArray(UInt32 array) + { + Delegates.glBindVertexArray = (Delegates.BindVertexArray)GetExtensionDelegateStatic("glBindVertexArray", typeof(Delegates.BindVertexArray)); + Delegates.glBindVertexArray((UInt32)array); + } + internal static void Load_BindVertexArrayAPPLE(UInt32 array) + { + Delegates.glBindVertexArrayAPPLE = (Delegates.BindVertexArrayAPPLE)GetExtensionDelegateStatic("glBindVertexArrayAPPLE", typeof(Delegates.BindVertexArrayAPPLE)); + Delegates.glBindVertexArrayAPPLE((UInt32)array); + } + internal static void Load_BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) + { + Delegates.glBindVertexBuffer = (Delegates.BindVertexBuffer)GetExtensionDelegateStatic("glBindVertexBuffer", typeof(Delegates.BindVertexBuffer)); + Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); + } + internal static unsafe void Load_BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) + { + Delegates.glBindVertexBuffers = (Delegates.BindVertexBuffers)GetExtensionDelegateStatic("glBindVertexBuffers", typeof(Delegates.BindVertexBuffers)); + Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); + } + internal static void Load_BindVertexShaderEXT(UInt32 id) + { + Delegates.glBindVertexShaderEXT = (Delegates.BindVertexShaderEXT)GetExtensionDelegateStatic("glBindVertexShaderEXT", typeof(Delegates.BindVertexShaderEXT)); + Delegates.glBindVertexShaderEXT((UInt32)id); + } + internal static void Load_BindVideoCaptureStreamBufferNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, IntPtr offset) + { + Delegates.glBindVideoCaptureStreamBufferNV = (Delegates.BindVideoCaptureStreamBufferNV)GetExtensionDelegateStatic("glBindVideoCaptureStreamBufferNV", typeof(Delegates.BindVideoCaptureStreamBufferNV)); + Delegates.glBindVideoCaptureStreamBufferNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (IntPtr)offset); + } + internal static void Load_BindVideoCaptureStreamTextureNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture frame_region, OpenTK.Graphics.OpenGL.NvVideoCapture target, UInt32 texture) + { + Delegates.glBindVideoCaptureStreamTextureNV = (Delegates.BindVideoCaptureStreamTextureNV)GetExtensionDelegateStatic("glBindVideoCaptureStreamTextureNV", typeof(Delegates.BindVideoCaptureStreamTextureNV)); + Delegates.glBindVideoCaptureStreamTextureNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)frame_region, (OpenTK.Graphics.OpenGL.NvVideoCapture)target, (UInt32)texture); + } + internal static void Load_Binormal3bEXT(SByte bx, SByte by, SByte bz) + { + Delegates.glBinormal3bEXT = (Delegates.Binormal3bEXT)GetExtensionDelegateStatic("glBinormal3bEXT", typeof(Delegates.Binormal3bEXT)); + Delegates.glBinormal3bEXT((SByte)bx, (SByte)by, (SByte)bz); + } + internal static unsafe void Load_Binormal3bvEXT(SByte* v) + { + Delegates.glBinormal3bvEXT = (Delegates.Binormal3bvEXT)GetExtensionDelegateStatic("glBinormal3bvEXT", typeof(Delegates.Binormal3bvEXT)); + Delegates.glBinormal3bvEXT((SByte*)v); + } + internal static void Load_Binormal3dEXT(Double bx, Double by, Double bz) + { + Delegates.glBinormal3dEXT = (Delegates.Binormal3dEXT)GetExtensionDelegateStatic("glBinormal3dEXT", typeof(Delegates.Binormal3dEXT)); + Delegates.glBinormal3dEXT((Double)bx, (Double)by, (Double)bz); + } + internal static unsafe void Load_Binormal3dvEXT(Double* v) + { + Delegates.glBinormal3dvEXT = (Delegates.Binormal3dvEXT)GetExtensionDelegateStatic("glBinormal3dvEXT", typeof(Delegates.Binormal3dvEXT)); + Delegates.glBinormal3dvEXT((Double*)v); + } + internal static void Load_Binormal3fEXT(Single bx, Single by, Single bz) + { + Delegates.glBinormal3fEXT = (Delegates.Binormal3fEXT)GetExtensionDelegateStatic("glBinormal3fEXT", typeof(Delegates.Binormal3fEXT)); + Delegates.glBinormal3fEXT((Single)bx, (Single)by, (Single)bz); + } + internal static unsafe void Load_Binormal3fvEXT(Single* v) + { + Delegates.glBinormal3fvEXT = (Delegates.Binormal3fvEXT)GetExtensionDelegateStatic("glBinormal3fvEXT", typeof(Delegates.Binormal3fvEXT)); + Delegates.glBinormal3fvEXT((Single*)v); + } + internal static void Load_Binormal3iEXT(Int32 bx, Int32 by, Int32 bz) + { + Delegates.glBinormal3iEXT = (Delegates.Binormal3iEXT)GetExtensionDelegateStatic("glBinormal3iEXT", typeof(Delegates.Binormal3iEXT)); + Delegates.glBinormal3iEXT((Int32)bx, (Int32)by, (Int32)bz); + } + internal static unsafe void Load_Binormal3ivEXT(Int32* v) + { + Delegates.glBinormal3ivEXT = (Delegates.Binormal3ivEXT)GetExtensionDelegateStatic("glBinormal3ivEXT", typeof(Delegates.Binormal3ivEXT)); + Delegates.glBinormal3ivEXT((Int32*)v); + } + internal static void Load_Binormal3sEXT(Int16 bx, Int16 by, Int16 bz) + { + Delegates.glBinormal3sEXT = (Delegates.Binormal3sEXT)GetExtensionDelegateStatic("glBinormal3sEXT", typeof(Delegates.Binormal3sEXT)); + Delegates.glBinormal3sEXT((Int16)bx, (Int16)by, (Int16)bz); + } + internal static unsafe void Load_Binormal3svEXT(Int16* v) + { + Delegates.glBinormal3svEXT = (Delegates.Binormal3svEXT)GetExtensionDelegateStatic("glBinormal3svEXT", typeof(Delegates.Binormal3svEXT)); + Delegates.glBinormal3svEXT((Int16*)v); + } + internal static void Load_BinormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glBinormalPointerEXT = (Delegates.BinormalPointerEXT)GetExtensionDelegateStatic("glBinormalPointerEXT", typeof(Delegates.BinormalPointerEXT)); + Delegates.glBinormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static unsafe void Load_Bitmap(Int32 width, Int32 height, Single xorig, Single yorig, Single xmove, Single ymove, Byte* bitmap) + { + Delegates.glBitmap = (Delegates.Bitmap)GetExtensionDelegateStatic("glBitmap", typeof(Delegates.Bitmap)); + Delegates.glBitmap((Int32)width, (Int32)height, (Single)xorig, (Single)yorig, (Single)xmove, (Single)ymove, (Byte*)bitmap); + } + internal static unsafe void Load_BitmapxOES(Int32 width, Int32 height, int xorig, int yorig, int xmove, int ymove, Byte* bitmap) + { + Delegates.glBitmapxOES = (Delegates.BitmapxOES)GetExtensionDelegateStatic("glBitmapxOES", typeof(Delegates.BitmapxOES)); + Delegates.glBitmapxOES((Int32)width, (Int32)height, (int)xorig, (int)yorig, (int)xmove, (int)ymove, (Byte*)bitmap); + } + internal static void Load_BlendBarrierNV() + { + Delegates.glBlendBarrierNV = (Delegates.BlendBarrierNV)GetExtensionDelegateStatic("glBlendBarrierNV", typeof(Delegates.BlendBarrierNV)); + Delegates.glBlendBarrierNV(); + } + internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); + Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_BlendColorEXT(Single red, Single green, Single blue, Single alpha) + { + Delegates.glBlendColorEXT = (Delegates.BlendColorEXT)GetExtensionDelegateStatic("glBlendColorEXT", typeof(Delegates.BlendColorEXT)); + Delegates.glBlendColorEXT((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_BlendColorxOES(int red, int green, int blue, int alpha) + { + Delegates.glBlendColorxOES = (Delegates.BlendColorxOES)GetExtensionDelegateStatic("glBlendColorxOES", typeof(Delegates.BlendColorxOES)); + Delegates.glBlendColorxOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_BlendEquation(OpenTK.Graphics.OpenGL.BlendEquationMode mode) + { + Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); + Delegates.glBlendEquation((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); + } + internal static void Load_BlendEquationEXT(OpenTK.Graphics.OpenGL.BlendEquationMode mode) + { + Delegates.glBlendEquationEXT = (Delegates.BlendEquationEXT)GetExtensionDelegateStatic("glBlendEquationEXT", typeof(Delegates.BlendEquationEXT)); + Delegates.glBlendEquationEXT((OpenTK.Graphics.OpenGL.BlendEquationMode)mode); + } + internal static void Load_BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) + { + Delegates.glBlendEquationi = (Delegates.BlendEquationi)GetExtensionDelegateStatic("glBlendEquationi", typeof(Delegates.BlendEquationi)); + Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); + } + internal static void Load_BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode mode) + { + Delegates.glBlendEquationiARB = (Delegates.BlendEquationiARB)GetExtensionDelegateStatic("glBlendEquationiARB", typeof(Delegates.BlendEquationiARB)); + Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)mode); + } + internal static void Load_BlendEquationIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend mode) + { + Delegates.glBlendEquationIndexedAMD = (Delegates.BlendEquationIndexedAMD)GetExtensionDelegateStatic("glBlendEquationIndexedAMD", typeof(Delegates.BlendEquationIndexedAMD)); + Delegates.glBlendEquationIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)mode); + } + internal static void Load_BlendEquationSeparate(OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) + { + Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); + Delegates.glBlendEquationSeparate((OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); + } + internal static void Load_BlendEquationSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeRGB, OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate modeAlpha) + { + Delegates.glBlendEquationSeparateEXT = (Delegates.BlendEquationSeparateEXT)GetExtensionDelegateStatic("glBlendEquationSeparateEXT", typeof(Delegates.BlendEquationSeparateEXT)); + Delegates.glBlendEquationSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeRGB, (OpenTK.Graphics.OpenGL.ExtBlendEquationSeparate)modeAlpha); + } + internal static void Load_BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL.BlendEquationMode modeAlpha) + { + Delegates.glBlendEquationSeparatei = (Delegates.BlendEquationSeparatei)GetExtensionDelegateStatic("glBlendEquationSeparatei", typeof(Delegates.BlendEquationSeparatei)); + Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL.BlendEquationMode)modeAlpha); + } + internal static void Load_BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend modeAlpha) + { + Delegates.glBlendEquationSeparateiARB = (Delegates.BlendEquationSeparateiARB)GetExtensionDelegateStatic("glBlendEquationSeparateiARB", typeof(Delegates.BlendEquationSeparateiARB)); + Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)modeAlpha); + } + internal static void Load_BlendEquationSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend modeAlpha) + { + Delegates.glBlendEquationSeparateIndexedAMD = (Delegates.BlendEquationSeparateIndexedAMD)GetExtensionDelegateStatic("glBlendEquationSeparateIndexedAMD", typeof(Delegates.BlendEquationSeparateIndexedAMD)); + Delegates.glBlendEquationSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)modeAlpha); + } + internal static void Load_BlendFunc(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactor) + { + Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); + Delegates.glBlendFunc((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactor); + } + internal static void Load_BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc src, OpenTK.Graphics.OpenGL.BlendingFactorDest dst) + { + Delegates.glBlendFunci = (Delegates.BlendFunci)GetExtensionDelegateStatic("glBlendFunci", typeof(Delegates.BlendFunci)); + Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dst); + } + internal static void Load_BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend src, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dst) + { + Delegates.glBlendFunciARB = (Delegates.BlendFunciARB)GetExtensionDelegateStatic("glBlendFunciARB", typeof(Delegates.BlendFunciARB)); + Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dst); + } + internal static void Load_BlendFuncIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend src, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dst) + { + Delegates.glBlendFuncIndexedAMD = (Delegates.BlendFuncIndexedAMD)GetExtensionDelegateStatic("glBlendFuncIndexedAMD", typeof(Delegates.BlendFuncIndexedAMD)); + Delegates.glBlendFuncIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)src, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dst); + } + internal static void Load_BlendFuncSeparate(OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dfactorAlpha) + { + Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); + Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dfactorAlpha); + } + internal static void Load_BlendFuncSeparateEXT(OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate dfactorAlpha) + { + Delegates.glBlendFuncSeparateEXT = (Delegates.BlendFuncSeparateEXT)GetExtensionDelegateStatic("glBlendFuncSeparateEXT", typeof(Delegates.BlendFuncSeparateEXT)); + Delegates.glBlendFuncSeparateEXT((OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.ExtBlendFuncSeparate)dfactorAlpha); + } + internal static void Load_BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL.BlendingFactorDest dstAlpha) + { + Delegates.glBlendFuncSeparatei = (Delegates.BlendFuncSeparatei)GetExtensionDelegateStatic("glBlendFuncSeparatei", typeof(Delegates.BlendFuncSeparatei)); + Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL.BlendingFactorDest)dstAlpha); + } + internal static void Load_BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend dstAlpha) + { + Delegates.glBlendFuncSeparateiARB = (Delegates.BlendFuncSeparateiARB)GetExtensionDelegateStatic("glBlendFuncSeparateiARB", typeof(Delegates.BlendFuncSeparateiARB)); + Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.ArbDrawBuffersBlend)dstAlpha); + } + internal static void Load_BlendFuncSeparateIndexedAMD(UInt32 buf, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstRGB, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend srcAlpha, OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend dstAlpha) + { + Delegates.glBlendFuncSeparateIndexedAMD = (Delegates.BlendFuncSeparateIndexedAMD)GetExtensionDelegateStatic("glBlendFuncSeparateIndexedAMD", typeof(Delegates.BlendFuncSeparateIndexedAMD)); + Delegates.glBlendFuncSeparateIndexedAMD((UInt32)buf, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstRGB, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)srcAlpha, (OpenTK.Graphics.OpenGL.AmdDrawBuffersBlend)dstAlpha); + } + internal static void Load_BlendFuncSeparateINGR(OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorRGB, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate sfactorAlpha, OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate dfactorAlpha) + { + Delegates.glBlendFuncSeparateINGR = (Delegates.BlendFuncSeparateINGR)GetExtensionDelegateStatic("glBlendFuncSeparateINGR", typeof(Delegates.BlendFuncSeparateINGR)); + Delegates.glBlendFuncSeparateINGR((OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorRGB, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)sfactorAlpha, (OpenTK.Graphics.OpenGL.IngrBlendFuncSeparate)dfactorAlpha); + } + internal static void Load_BlendParameteriNV(OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced pname, Int32 value) + { + Delegates.glBlendParameteriNV = (Delegates.BlendParameteriNV)GetExtensionDelegateStatic("glBlendParameteriNV", typeof(Delegates.BlendParameteriNV)); + Delegates.glBlendParameteriNV((OpenTK.Graphics.OpenGL.NvBlendEquationAdvanced)pname, (Int32)value); + } + internal static void Load_BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebuffer = (Delegates.BlitFramebuffer)GetExtensionDelegateStatic("glBlitFramebuffer", typeof(Delegates.BlitFramebuffer)); + Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); + } + internal static void Load_BlitFramebufferEXT(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL.ClearBufferMask mask, OpenTK.Graphics.OpenGL.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebufferEXT = (Delegates.BlitFramebufferEXT)GetExtensionDelegateStatic("glBlitFramebufferEXT", typeof(Delegates.BlitFramebufferEXT)); + Delegates.glBlitFramebufferEXT((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL.BlitFramebufferFilter)filter); + } + internal static void Load_BufferAddressRangeNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory pname, UInt32 index, UInt64 address, IntPtr length) + { + Delegates.glBufferAddressRangeNV = (Delegates.BufferAddressRangeNV)GetExtensionDelegateStatic("glBufferAddressRangeNV", typeof(Delegates.BufferAddressRangeNV)); + Delegates.glBufferAddressRangeNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)pname, (UInt32)index, (UInt64)address, (IntPtr)length); + } + internal static void Load_BufferData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageHint usage) + { + Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); + Delegates.glBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageHint)usage); + } + internal static void Load_BufferDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferUsageArb usage) + { + Delegates.glBufferDataARB = (Delegates.BufferDataARB)GetExtensionDelegateStatic("glBufferDataARB", typeof(Delegates.BufferDataARB)); + Delegates.glBufferDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferUsageArb)usage); + } + internal static void Load_BufferParameteriAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterApple pname, Int32 param) + { + Delegates.glBufferParameteriAPPLE = (Delegates.BufferParameteriAPPLE)GetExtensionDelegateStatic("glBufferParameteriAPPLE", typeof(Delegates.BufferParameteriAPPLE)); + Delegates.glBufferParameteriAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterApple)pname, (Int32)param); + } + internal static void Load_BufferStorage(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.BufferStorageFlags flags) + { + Delegates.glBufferStorage = (Delegates.BufferStorage)GetExtensionDelegateStatic("glBufferStorage", typeof(Delegates.BufferStorage)); + Delegates.glBufferStorage((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.BufferStorageFlags)flags); + } + internal static void Load_BufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); + Delegates.glBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static void Load_BufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glBufferSubDataARB = (Delegates.BufferSubDataARB)GetExtensionDelegateStatic("glBufferSubDataARB", typeof(Delegates.BufferSubDataARB)); + Delegates.glBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static void Load_CallList(UInt32 list) + { + Delegates.glCallList = (Delegates.CallList)GetExtensionDelegateStatic("glCallList", typeof(Delegates.CallList)); + Delegates.glCallList((UInt32)list); + } + internal static void Load_CallLists(Int32 n, OpenTK.Graphics.OpenGL.ListNameType type, IntPtr lists) + { + Delegates.glCallLists = (Delegates.CallLists)GetExtensionDelegateStatic("glCallLists", typeof(Delegates.CallLists)); + Delegates.glCallLists((Int32)n, (OpenTK.Graphics.OpenGL.ListNameType)type, (IntPtr)lists); + } + internal static OpenTK.Graphics.OpenGL.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.OpenGL.FramebufferTarget target) + { + Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); + return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.OpenGL.FramebufferTarget)target); + } + internal static OpenTK.Graphics.OpenGL.FramebufferErrorCode Load_CheckFramebufferStatusEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target) + { + Delegates.glCheckFramebufferStatusEXT = (Delegates.CheckFramebufferStatusEXT)GetExtensionDelegateStatic("glCheckFramebufferStatusEXT", typeof(Delegates.CheckFramebufferStatusEXT)); + return Delegates.glCheckFramebufferStatusEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target); + } + internal static OpenTK.Graphics.OpenGL.ExtDirectStateAccess Load_CheckNamedFramebufferStatusEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferTarget target) + { + Delegates.glCheckNamedFramebufferStatusEXT = (Delegates.CheckNamedFramebufferStatusEXT)GetExtensionDelegateStatic("glCheckNamedFramebufferStatusEXT", typeof(Delegates.CheckNamedFramebufferStatusEXT)); + return Delegates.glCheckNamedFramebufferStatusEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferTarget)target); + } + internal static void Load_ClampColor(OpenTK.Graphics.OpenGL.ClampColorTarget target, OpenTK.Graphics.OpenGL.ClampColorMode clamp) + { + Delegates.glClampColor = (Delegates.ClampColor)GetExtensionDelegateStatic("glClampColor", typeof(Delegates.ClampColor)); + Delegates.glClampColor((OpenTK.Graphics.OpenGL.ClampColorTarget)target, (OpenTK.Graphics.OpenGL.ClampColorMode)clamp); + } + internal static void Load_ClampColorARB(OpenTK.Graphics.OpenGL.ArbColorBufferFloat target, OpenTK.Graphics.OpenGL.ArbColorBufferFloat clamp) + { + Delegates.glClampColorARB = (Delegates.ClampColorARB)GetExtensionDelegateStatic("glClampColorARB", typeof(Delegates.ClampColorARB)); + Delegates.glClampColorARB((OpenTK.Graphics.OpenGL.ArbColorBufferFloat)target, (OpenTK.Graphics.OpenGL.ArbColorBufferFloat)clamp); + } + internal static void Load_Clear(OpenTK.Graphics.OpenGL.ClearBufferMask mask) + { + Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); + Delegates.glClear((OpenTK.Graphics.OpenGL.ClearBufferMask)mask); + } + internal static void Load_ClearAccum(Single red, Single green, Single blue, Single alpha) + { + Delegates.glClearAccum = (Delegates.ClearAccum)GetExtensionDelegateStatic("glClearAccum", typeof(Delegates.ClearAccum)); + Delegates.glClearAccum((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_ClearAccumxOES(int red, int green, int blue, int alpha) + { + Delegates.glClearAccumxOES = (Delegates.ClearAccumxOES)GetExtensionDelegateStatic("glClearAccumxOES", typeof(Delegates.ClearAccumxOES)); + Delegates.glClearAccumxOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data) + { + Delegates.glClearBufferData = (Delegates.ClearBufferData)GetExtensionDelegateStatic("glClearBufferData", typeof(Delegates.ClearBufferData)); + Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data); + } + internal static void Load_ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) + { + Delegates.glClearBufferfi = (Delegates.ClearBufferfi)GetExtensionDelegateStatic("glClearBufferfi", typeof(Delegates.ClearBufferfi)); + Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + } + internal static unsafe void Load_ClearBufferfv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single* value) + { + Delegates.glClearBufferfv = (Delegates.ClearBufferfv)GetExtensionDelegateStatic("glClearBufferfv", typeof(Delegates.ClearBufferfv)); + Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + } + internal static unsafe void Load_ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value) + { + Delegates.glClearBufferiv = (Delegates.ClearBufferiv)GetExtensionDelegateStatic("glClearBufferiv", typeof(Delegates.ClearBufferiv)); + Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + } + internal static void Load_ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.All type, IntPtr data) + { + Delegates.glClearBufferSubData = (Delegates.ClearBufferSubData)GetExtensionDelegateStatic("glClearBufferSubData", typeof(Delegates.ClearBufferSubData)); + Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)data); + } + internal static unsafe void Load_ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) + { + Delegates.glClearBufferuiv = (Delegates.ClearBufferuiv)GetExtensionDelegateStatic("glClearBufferuiv", typeof(Delegates.ClearBufferuiv)); + Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + } + internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_ClearColorIiEXT(Int32 red, Int32 green, Int32 blue, Int32 alpha) + { + Delegates.glClearColorIiEXT = (Delegates.ClearColorIiEXT)GetExtensionDelegateStatic("glClearColorIiEXT", typeof(Delegates.ClearColorIiEXT)); + Delegates.glClearColorIiEXT((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); + } + internal static void Load_ClearColorIuiEXT(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) + { + Delegates.glClearColorIuiEXT = (Delegates.ClearColorIuiEXT)GetExtensionDelegateStatic("glClearColorIuiEXT", typeof(Delegates.ClearColorIuiEXT)); + Delegates.glClearColorIuiEXT((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); + } + internal static void Load_ClearColorxOES(int red, int green, int blue, int alpha) + { + Delegates.glClearColorxOES = (Delegates.ClearColorxOES)GetExtensionDelegateStatic("glClearColorxOES", typeof(Delegates.ClearColorxOES)); + Delegates.glClearColorxOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static void Load_ClearDepth(Double depth) + { + Delegates.glClearDepth = (Delegates.ClearDepth)GetExtensionDelegateStatic("glClearDepth", typeof(Delegates.ClearDepth)); + Delegates.glClearDepth((Double)depth); + } + internal static void Load_ClearDepthdNV(Double depth) + { + Delegates.glClearDepthdNV = (Delegates.ClearDepthdNV)GetExtensionDelegateStatic("glClearDepthdNV", typeof(Delegates.ClearDepthdNV)); + Delegates.glClearDepthdNV((Double)depth); + } + internal static void Load_ClearDepthf(Single d) + { + Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); + Delegates.glClearDepthf((Single)d); + } + internal static void Load_ClearDepthfOES(Single depth) + { + Delegates.glClearDepthfOES = (Delegates.ClearDepthfOES)GetExtensionDelegateStatic("glClearDepthfOES", typeof(Delegates.ClearDepthfOES)); + Delegates.glClearDepthfOES((Single)depth); + } + internal static void Load_ClearDepthxOES(int depth) + { + Delegates.glClearDepthxOES = (Delegates.ClearDepthxOES)GetExtensionDelegateStatic("glClearDepthxOES", typeof(Delegates.ClearDepthxOES)); + Delegates.glClearDepthxOES((int)depth); + } + internal static void Load_ClearIndex(Single c) + { + Delegates.glClearIndex = (Delegates.ClearIndex)GetExtensionDelegateStatic("glClearIndex", typeof(Delegates.ClearIndex)); + Delegates.glClearIndex((Single)c); + } + internal static void Load_ClearNamedBufferDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) + { + Delegates.glClearNamedBufferDataEXT = (Delegates.ClearNamedBufferDataEXT)GetExtensionDelegateStatic("glClearNamedBufferDataEXT", typeof(Delegates.ClearNamedBufferDataEXT)); + Delegates.glClearNamedBufferDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + } + internal static void Load_ClearNamedBufferSubDataEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glClearNamedBufferSubDataEXT = (Delegates.ClearNamedBufferSubDataEXT)GetExtensionDelegateStatic("glClearNamedBufferSubDataEXT", typeof(Delegates.ClearNamedBufferSubDataEXT)); + Delegates.glClearNamedBufferSubDataEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static void Load_ClearStencil(Int32 s) + { + Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); + Delegates.glClearStencil((Int32)s); + } + internal static void Load_ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) + { + Delegates.glClearTexImage = (Delegates.ClearTexImage)GetExtensionDelegateStatic("glClearTexImage", typeof(Delegates.ClearTexImage)); + Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + } + internal static void Load_ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) + { + Delegates.glClearTexSubImage = (Delegates.ClearTexSubImage)GetExtensionDelegateStatic("glClearTexSubImage", typeof(Delegates.ClearTexSubImage)); + Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + } + internal static void Load_ClientActiveTexture(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + Delegates.glClientActiveTexture = (Delegates.ClientActiveTexture)GetExtensionDelegateStatic("glClientActiveTexture", typeof(Delegates.ClientActiveTexture)); + Delegates.glClientActiveTexture((OpenTK.Graphics.OpenGL.TextureUnit)texture); + } + internal static void Load_ClientActiveTextureARB(OpenTK.Graphics.OpenGL.TextureUnit texture) + { + Delegates.glClientActiveTextureARB = (Delegates.ClientActiveTextureARB)GetExtensionDelegateStatic("glClientActiveTextureARB", typeof(Delegates.ClientActiveTextureARB)); + Delegates.glClientActiveTextureARB((OpenTK.Graphics.OpenGL.TextureUnit)texture); + } + internal static void Load_ClientActiveVertexStreamATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream) + { + Delegates.glClientActiveVertexStreamATI = (Delegates.ClientActiveVertexStreamATI)GetExtensionDelegateStatic("glClientActiveVertexStreamATI", typeof(Delegates.ClientActiveVertexStreamATI)); + Delegates.glClientActiveVertexStreamATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream); + } + internal static void Load_ClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask) + { + Delegates.glClientAttribDefaultEXT = (Delegates.ClientAttribDefaultEXT)GetExtensionDelegateStatic("glClientAttribDefaultEXT", typeof(Delegates.ClientAttribDefaultEXT)); + Delegates.glClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); + } + internal static OpenTK.Graphics.OpenGL.WaitSyncStatus Load_ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.ClientWaitSyncFlags flags, UInt64 timeout) + { + Delegates.glClientWaitSync = (Delegates.ClientWaitSync)GetExtensionDelegateStatic("glClientWaitSync", typeof(Delegates.ClientWaitSync)); + return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.ClientWaitSyncFlags)flags, (UInt64)timeout); + } + internal static unsafe void Load_ClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, Double* equation) + { + Delegates.glClipPlane = (Delegates.ClipPlane)GetExtensionDelegateStatic("glClipPlane", typeof(Delegates.ClipPlane)); + Delegates.glClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); + } + internal static unsafe void Load_ClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, Single* equation) + { + Delegates.glClipPlanefOES = (Delegates.ClipPlanefOES)GetExtensionDelegateStatic("glClipPlanefOES", typeof(Delegates.ClipPlanefOES)); + Delegates.glClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation); + } + internal static unsafe void Load_ClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, int* equation) + { + Delegates.glClipPlanexOES = (Delegates.ClipPlanexOES)GetExtensionDelegateStatic("glClipPlanexOES", typeof(Delegates.ClipPlanexOES)); + Delegates.glClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation); + } + internal static void Load_Color3b(SByte red, SByte green, SByte blue) + { + Delegates.glColor3b = (Delegates.Color3b)GetExtensionDelegateStatic("glColor3b", typeof(Delegates.Color3b)); + Delegates.glColor3b((SByte)red, (SByte)green, (SByte)blue); + } + internal static unsafe void Load_Color3bv(SByte* v) + { + Delegates.glColor3bv = (Delegates.Color3bv)GetExtensionDelegateStatic("glColor3bv", typeof(Delegates.Color3bv)); + Delegates.glColor3bv((SByte*)v); + } + internal static void Load_Color3d(Double red, Double green, Double blue) + { + Delegates.glColor3d = (Delegates.Color3d)GetExtensionDelegateStatic("glColor3d", typeof(Delegates.Color3d)); + Delegates.glColor3d((Double)red, (Double)green, (Double)blue); + } + internal static unsafe void Load_Color3dv(Double* v) + { + Delegates.glColor3dv = (Delegates.Color3dv)GetExtensionDelegateStatic("glColor3dv", typeof(Delegates.Color3dv)); + Delegates.glColor3dv((Double*)v); + } + internal static void Load_Color3f(Single red, Single green, Single blue) + { + Delegates.glColor3f = (Delegates.Color3f)GetExtensionDelegateStatic("glColor3f", typeof(Delegates.Color3f)); + Delegates.glColor3f((Single)red, (Single)green, (Single)blue); + } + internal static unsafe void Load_Color3fv(Single* v) + { + Delegates.glColor3fv = (Delegates.Color3fv)GetExtensionDelegateStatic("glColor3fv", typeof(Delegates.Color3fv)); + Delegates.glColor3fv((Single*)v); + } + internal static void Load_Color3fVertex3fSUN(Single r, Single g, Single b, Single x, Single y, Single z) + { + Delegates.glColor3fVertex3fSUN = (Delegates.Color3fVertex3fSUN)GetExtensionDelegateStatic("glColor3fVertex3fSUN", typeof(Delegates.Color3fVertex3fSUN)); + Delegates.glColor3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_Color3fVertex3fvSUN(Single* c, Single* v) + { + Delegates.glColor3fVertex3fvSUN = (Delegates.Color3fVertex3fvSUN)GetExtensionDelegateStatic("glColor3fVertex3fvSUN", typeof(Delegates.Color3fVertex3fvSUN)); + Delegates.glColor3fVertex3fvSUN((Single*)c, (Single*)v); + } + internal static void Load_Color3hNV(Half red, Half green, Half blue) + { + Delegates.glColor3hNV = (Delegates.Color3hNV)GetExtensionDelegateStatic("glColor3hNV", typeof(Delegates.Color3hNV)); + Delegates.glColor3hNV((Half)red, (Half)green, (Half)blue); + } + internal static unsafe void Load_Color3hvNV(Half* v) + { + Delegates.glColor3hvNV = (Delegates.Color3hvNV)GetExtensionDelegateStatic("glColor3hvNV", typeof(Delegates.Color3hvNV)); + Delegates.glColor3hvNV((Half*)v); + } + internal static void Load_Color3i(Int32 red, Int32 green, Int32 blue) + { + Delegates.glColor3i = (Delegates.Color3i)GetExtensionDelegateStatic("glColor3i", typeof(Delegates.Color3i)); + Delegates.glColor3i((Int32)red, (Int32)green, (Int32)blue); + } + internal static unsafe void Load_Color3iv(Int32* v) + { + Delegates.glColor3iv = (Delegates.Color3iv)GetExtensionDelegateStatic("glColor3iv", typeof(Delegates.Color3iv)); + Delegates.glColor3iv((Int32*)v); + } + internal static void Load_Color3s(Int16 red, Int16 green, Int16 blue) + { + Delegates.glColor3s = (Delegates.Color3s)GetExtensionDelegateStatic("glColor3s", typeof(Delegates.Color3s)); + Delegates.glColor3s((Int16)red, (Int16)green, (Int16)blue); + } + internal static unsafe void Load_Color3sv(Int16* v) + { + Delegates.glColor3sv = (Delegates.Color3sv)GetExtensionDelegateStatic("glColor3sv", typeof(Delegates.Color3sv)); + Delegates.glColor3sv((Int16*)v); + } + internal static void Load_Color3ub(Byte red, Byte green, Byte blue) + { + Delegates.glColor3ub = (Delegates.Color3ub)GetExtensionDelegateStatic("glColor3ub", typeof(Delegates.Color3ub)); + Delegates.glColor3ub((Byte)red, (Byte)green, (Byte)blue); + } + internal static unsafe void Load_Color3ubv(Byte* v) + { + Delegates.glColor3ubv = (Delegates.Color3ubv)GetExtensionDelegateStatic("glColor3ubv", typeof(Delegates.Color3ubv)); + Delegates.glColor3ubv((Byte*)v); + } + internal static void Load_Color3ui(UInt32 red, UInt32 green, UInt32 blue) + { + Delegates.glColor3ui = (Delegates.Color3ui)GetExtensionDelegateStatic("glColor3ui", typeof(Delegates.Color3ui)); + Delegates.glColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + } + internal static unsafe void Load_Color3uiv(UInt32* v) + { + Delegates.glColor3uiv = (Delegates.Color3uiv)GetExtensionDelegateStatic("glColor3uiv", typeof(Delegates.Color3uiv)); + Delegates.glColor3uiv((UInt32*)v); + } + internal static void Load_Color3us(UInt16 red, UInt16 green, UInt16 blue) + { + Delegates.glColor3us = (Delegates.Color3us)GetExtensionDelegateStatic("glColor3us", typeof(Delegates.Color3us)); + Delegates.glColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + } + internal static unsafe void Load_Color3usv(UInt16* v) + { + Delegates.glColor3usv = (Delegates.Color3usv)GetExtensionDelegateStatic("glColor3usv", typeof(Delegates.Color3usv)); + Delegates.glColor3usv((UInt16*)v); + } + internal static void Load_Color3xOES(int red, int green, int blue) + { + Delegates.glColor3xOES = (Delegates.Color3xOES)GetExtensionDelegateStatic("glColor3xOES", typeof(Delegates.Color3xOES)); + Delegates.glColor3xOES((int)red, (int)green, (int)blue); + } + internal static unsafe void Load_Color3xvOES(int* components) + { + Delegates.glColor3xvOES = (Delegates.Color3xvOES)GetExtensionDelegateStatic("glColor3xvOES", typeof(Delegates.Color3xvOES)); + Delegates.glColor3xvOES((int*)components); + } + internal static void Load_Color4b(SByte red, SByte green, SByte blue, SByte alpha) + { + Delegates.glColor4b = (Delegates.Color4b)GetExtensionDelegateStatic("glColor4b", typeof(Delegates.Color4b)); + Delegates.glColor4b((SByte)red, (SByte)green, (SByte)blue, (SByte)alpha); + } + internal static unsafe void Load_Color4bv(SByte* v) + { + Delegates.glColor4bv = (Delegates.Color4bv)GetExtensionDelegateStatic("glColor4bv", typeof(Delegates.Color4bv)); + Delegates.glColor4bv((SByte*)v); + } + internal static void Load_Color4d(Double red, Double green, Double blue, Double alpha) + { + Delegates.glColor4d = (Delegates.Color4d)GetExtensionDelegateStatic("glColor4d", typeof(Delegates.Color4d)); + Delegates.glColor4d((Double)red, (Double)green, (Double)blue, (Double)alpha); + } + internal static unsafe void Load_Color4dv(Double* v) + { + Delegates.glColor4dv = (Delegates.Color4dv)GetExtensionDelegateStatic("glColor4dv", typeof(Delegates.Color4dv)); + Delegates.glColor4dv((Double*)v); + } + internal static void Load_Color4f(Single red, Single green, Single blue, Single alpha) + { + Delegates.glColor4f = (Delegates.Color4f)GetExtensionDelegateStatic("glColor4f", typeof(Delegates.Color4f)); + Delegates.glColor4f((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_Color4fNormal3fVertex3fSUN(Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glColor4fNormal3fVertex3fSUN = (Delegates.Color4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glColor4fNormal3fVertex3fSUN", typeof(Delegates.Color4fNormal3fVertex3fSUN)); + Delegates.glColor4fNormal3fVertex3fSUN((Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_Color4fNormal3fVertex3fvSUN(Single* c, Single* n, Single* v) + { + Delegates.glColor4fNormal3fVertex3fvSUN = (Delegates.Color4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glColor4fNormal3fVertex3fvSUN", typeof(Delegates.Color4fNormal3fVertex3fvSUN)); + Delegates.glColor4fNormal3fVertex3fvSUN((Single*)c, (Single*)n, (Single*)v); + } + internal static unsafe void Load_Color4fv(Single* v) + { + Delegates.glColor4fv = (Delegates.Color4fv)GetExtensionDelegateStatic("glColor4fv", typeof(Delegates.Color4fv)); + Delegates.glColor4fv((Single*)v); + } + internal static void Load_Color4hNV(Half red, Half green, Half blue, Half alpha) + { + Delegates.glColor4hNV = (Delegates.Color4hNV)GetExtensionDelegateStatic("glColor4hNV", typeof(Delegates.Color4hNV)); + Delegates.glColor4hNV((Half)red, (Half)green, (Half)blue, (Half)alpha); + } + internal static unsafe void Load_Color4hvNV(Half* v) + { + Delegates.glColor4hvNV = (Delegates.Color4hvNV)GetExtensionDelegateStatic("glColor4hvNV", typeof(Delegates.Color4hvNV)); + Delegates.glColor4hvNV((Half*)v); + } + internal static void Load_Color4i(Int32 red, Int32 green, Int32 blue, Int32 alpha) + { + Delegates.glColor4i = (Delegates.Color4i)GetExtensionDelegateStatic("glColor4i", typeof(Delegates.Color4i)); + Delegates.glColor4i((Int32)red, (Int32)green, (Int32)blue, (Int32)alpha); + } + internal static unsafe void Load_Color4iv(Int32* v) + { + Delegates.glColor4iv = (Delegates.Color4iv)GetExtensionDelegateStatic("glColor4iv", typeof(Delegates.Color4iv)); + Delegates.glColor4iv((Int32*)v); + } + internal static void Load_Color4s(Int16 red, Int16 green, Int16 blue, Int16 alpha) + { + Delegates.glColor4s = (Delegates.Color4s)GetExtensionDelegateStatic("glColor4s", typeof(Delegates.Color4s)); + Delegates.glColor4s((Int16)red, (Int16)green, (Int16)blue, (Int16)alpha); + } + internal static unsafe void Load_Color4sv(Int16* v) + { + Delegates.glColor4sv = (Delegates.Color4sv)GetExtensionDelegateStatic("glColor4sv", typeof(Delegates.Color4sv)); + Delegates.glColor4sv((Int16*)v); + } + internal static void Load_Color4ub(Byte red, Byte green, Byte blue, Byte alpha) + { + Delegates.glColor4ub = (Delegates.Color4ub)GetExtensionDelegateStatic("glColor4ub", typeof(Delegates.Color4ub)); + Delegates.glColor4ub((Byte)red, (Byte)green, (Byte)blue, (Byte)alpha); + } + internal static unsafe void Load_Color4ubv(Byte* v) + { + Delegates.glColor4ubv = (Delegates.Color4ubv)GetExtensionDelegateStatic("glColor4ubv", typeof(Delegates.Color4ubv)); + Delegates.glColor4ubv((Byte*)v); + } + internal static void Load_Color4ubVertex2fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y) + { + Delegates.glColor4ubVertex2fSUN = (Delegates.Color4ubVertex2fSUN)GetExtensionDelegateStatic("glColor4ubVertex2fSUN", typeof(Delegates.Color4ubVertex2fSUN)); + Delegates.glColor4ubVertex2fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y); + } + internal static unsafe void Load_Color4ubVertex2fvSUN(Byte* c, Single* v) + { + Delegates.glColor4ubVertex2fvSUN = (Delegates.Color4ubVertex2fvSUN)GetExtensionDelegateStatic("glColor4ubVertex2fvSUN", typeof(Delegates.Color4ubVertex2fvSUN)); + Delegates.glColor4ubVertex2fvSUN((Byte*)c, (Single*)v); + } + internal static void Load_Color4ubVertex3fSUN(Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + Delegates.glColor4ubVertex3fSUN = (Delegates.Color4ubVertex3fSUN)GetExtensionDelegateStatic("glColor4ubVertex3fSUN", typeof(Delegates.Color4ubVertex3fSUN)); + Delegates.glColor4ubVertex3fSUN((Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_Color4ubVertex3fvSUN(Byte* c, Single* v) + { + Delegates.glColor4ubVertex3fvSUN = (Delegates.Color4ubVertex3fvSUN)GetExtensionDelegateStatic("glColor4ubVertex3fvSUN", typeof(Delegates.Color4ubVertex3fvSUN)); + Delegates.glColor4ubVertex3fvSUN((Byte*)c, (Single*)v); + } + internal static void Load_Color4ui(UInt32 red, UInt32 green, UInt32 blue, UInt32 alpha) + { + Delegates.glColor4ui = (Delegates.Color4ui)GetExtensionDelegateStatic("glColor4ui", typeof(Delegates.Color4ui)); + Delegates.glColor4ui((UInt32)red, (UInt32)green, (UInt32)blue, (UInt32)alpha); + } + internal static unsafe void Load_Color4uiv(UInt32* v) + { + Delegates.glColor4uiv = (Delegates.Color4uiv)GetExtensionDelegateStatic("glColor4uiv", typeof(Delegates.Color4uiv)); + Delegates.glColor4uiv((UInt32*)v); + } + internal static void Load_Color4us(UInt16 red, UInt16 green, UInt16 blue, UInt16 alpha) + { + Delegates.glColor4us = (Delegates.Color4us)GetExtensionDelegateStatic("glColor4us", typeof(Delegates.Color4us)); + Delegates.glColor4us((UInt16)red, (UInt16)green, (UInt16)blue, (UInt16)alpha); + } + internal static unsafe void Load_Color4usv(UInt16* v) + { + Delegates.glColor4usv = (Delegates.Color4usv)GetExtensionDelegateStatic("glColor4usv", typeof(Delegates.Color4usv)); + Delegates.glColor4usv((UInt16*)v); + } + internal static void Load_Color4xOES(int red, int green, int blue, int alpha) + { + Delegates.glColor4xOES = (Delegates.Color4xOES)GetExtensionDelegateStatic("glColor4xOES", typeof(Delegates.Color4xOES)); + Delegates.glColor4xOES((int)red, (int)green, (int)blue, (int)alpha); + } + internal static unsafe void Load_Color4xvOES(int* components) + { + Delegates.glColor4xvOES = (Delegates.Color4xvOES)GetExtensionDelegateStatic("glColor4xvOES", typeof(Delegates.Color4xvOES)); + Delegates.glColor4xvOES((int*)components); + } + internal static void Load_ColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glColorFormatNV = (Delegates.ColorFormatNV)GetExtensionDelegateStatic("glColorFormatNV", typeof(Delegates.ColorFormatNV)); + Delegates.glColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static void Load_ColorFragmentOp1ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod) + { + Delegates.glColorFragmentOp1ATI = (Delegates.ColorFragmentOp1ATI)GetExtensionDelegateStatic("glColorFragmentOp1ATI", typeof(Delegates.ColorFragmentOp1ATI)); + Delegates.glColorFragmentOp1ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod); + } + internal static void Load_ColorFragmentOp2ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod) + { + Delegates.glColorFragmentOp2ATI = (Delegates.ColorFragmentOp2ATI)GetExtensionDelegateStatic("glColorFragmentOp2ATI", typeof(Delegates.ColorFragmentOp2ATI)); + Delegates.glColorFragmentOp2ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod); + } + internal static void Load_ColorFragmentOp3ATI(OpenTK.Graphics.OpenGL.AtiFragmentShader op, UInt32 dst, UInt32 dstMask, UInt32 dstMod, UInt32 arg1, UInt32 arg1Rep, UInt32 arg1Mod, UInt32 arg2, UInt32 arg2Rep, UInt32 arg2Mod, UInt32 arg3, UInt32 arg3Rep, UInt32 arg3Mod) + { + Delegates.glColorFragmentOp3ATI = (Delegates.ColorFragmentOp3ATI)GetExtensionDelegateStatic("glColorFragmentOp3ATI", typeof(Delegates.ColorFragmentOp3ATI)); + Delegates.glColorFragmentOp3ATI((OpenTK.Graphics.OpenGL.AtiFragmentShader)op, (UInt32)dst, (UInt32)dstMask, (UInt32)dstMod, (UInt32)arg1, (UInt32)arg1Rep, (UInt32)arg1Mod, (UInt32)arg2, (UInt32)arg2Rep, (UInt32)arg2Mod, (UInt32)arg3, (UInt32)arg3Rep, (UInt32)arg3Mod); + } + internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) + { + Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + } + internal static void Load_ColorMaski(UInt32 index, bool r, bool g, bool b, bool a) + { + Delegates.glColorMaski = (Delegates.ColorMaski)GetExtensionDelegateStatic("glColorMaski", typeof(Delegates.ColorMaski)); + Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + } + internal static void Load_ColorMaskIndexedEXT(UInt32 index, bool r, bool g, bool b, bool a) + { + Delegates.glColorMaskIndexedEXT = (Delegates.ColorMaskIndexedEXT)GetExtensionDelegateStatic("glColorMaskIndexedEXT", typeof(Delegates.ColorMaskIndexedEXT)); + Delegates.glColorMaskIndexedEXT((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + } + internal static void Load_ColorMaterial(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ColorMaterialParameter mode) + { + Delegates.glColorMaterial = (Delegates.ColorMaterial)GetExtensionDelegateStatic("glColorMaterial", typeof(Delegates.ColorMaterial)); + Delegates.glColorMaterial((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ColorMaterialParameter)mode); + } + internal static void Load_ColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) + { + Delegates.glColorP3ui = (Delegates.ColorP3ui)GetExtensionDelegateStatic("glColorP3ui", typeof(Delegates.ColorP3ui)); + Delegates.glColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + } + internal static unsafe void Load_ColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) + { + Delegates.glColorP3uiv = (Delegates.ColorP3uiv)GetExtensionDelegateStatic("glColorP3uiv", typeof(Delegates.ColorP3uiv)); + Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + } + internal static void Load_ColorP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) + { + Delegates.glColorP4ui = (Delegates.ColorP4ui)GetExtensionDelegateStatic("glColorP4ui", typeof(Delegates.ColorP4ui)); + Delegates.glColorP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + } + internal static unsafe void Load_ColorP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) + { + Delegates.glColorP4uiv = (Delegates.ColorP4uiv)GetExtensionDelegateStatic("glColorP4uiv", typeof(Delegates.ColorP4uiv)); + Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + } + internal static void Load_ColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glColorPointer = (Delegates.ColorPointer)GetExtensionDelegateStatic("glColorPointer", typeof(Delegates.ColorPointer)); + Delegates.glColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_ColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + Delegates.glColorPointerEXT = (Delegates.ColorPointerEXT)GetExtensionDelegateStatic("glColorPointerEXT", typeof(Delegates.ColorPointerEXT)); + Delegates.glColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + } + internal static void Load_ColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + Delegates.glColorPointerListIBM = (Delegates.ColorPointerListIBM)GetExtensionDelegateStatic("glColorPointerListIBM", typeof(Delegates.ColorPointerListIBM)); + Delegates.glColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + } + internal static void Load_ColorPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) + { + Delegates.glColorPointervINTEL = (Delegates.ColorPointervINTEL)GetExtensionDelegateStatic("glColorPointervINTEL", typeof(Delegates.ColorPointervINTEL)); + Delegates.glColorPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); + } + internal static void Load_ColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) + { + Delegates.glColorSubTable = (Delegates.ColorSubTable)GetExtensionDelegateStatic("glColorSubTable", typeof(Delegates.ColorSubTable)); + Delegates.glColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + } + internal static void Load_ColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr data) + { + Delegates.glColorSubTableEXT = (Delegates.ColorSubTableEXT)GetExtensionDelegateStatic("glColorSubTableEXT", typeof(Delegates.ColorSubTableEXT)); + Delegates.glColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + } + internal static void Load_ColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + { + Delegates.glColorTable = (Delegates.ColorTable)GetExtensionDelegateStatic("glColorTable", typeof(Delegates.ColorTable)); + Delegates.glColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + } + internal static void Load_ColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalFormat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + { + Delegates.glColorTableEXT = (Delegates.ColorTableEXT)GetExtensionDelegateStatic("glColorTableEXT", typeof(Delegates.ColorTableEXT)); + Delegates.glColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalFormat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + } + internal static unsafe void Load_ColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Single* @params) + { + Delegates.glColorTableParameterfv = (Delegates.ColorTableParameterfv)GetExtensionDelegateStatic("glColorTableParameterfv", typeof(Delegates.ColorTableParameterfv)); + Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_ColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Single* @params) + { + Delegates.glColorTableParameterfvSGI = (Delegates.ColorTableParameterfvSGI)GetExtensionDelegateStatic("glColorTableParameterfvSGI", typeof(Delegates.ColorTableParameterfvSGI)); + Delegates.glColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); + } + internal static unsafe void Load_ColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.ColorTableParameterPName pname, Int32* @params) + { + Delegates.glColorTableParameteriv = (Delegates.ColorTableParameteriv)GetExtensionDelegateStatic("glColorTableParameteriv", typeof(Delegates.ColorTableParameteriv)); + Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.ColorTableParameterPName)pname, (Int32*)@params); + } + internal static unsafe void Load_ColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, Int32* @params) + { + Delegates.glColorTableParameterivSGI = (Delegates.ColorTableParameterivSGI)GetExtensionDelegateStatic("glColorTableParameterivSGI", typeof(Delegates.ColorTableParameterivSGI)); + Delegates.glColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); + } + internal static void Load_ColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr table) + { + Delegates.glColorTableSGI = (Delegates.ColorTableSGI)GetExtensionDelegateStatic("glColorTableSGI", typeof(Delegates.ColorTableSGI)); + Delegates.glColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + } + internal static void Load_CombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) + { + Delegates.glCombinerInputNV = (Delegates.CombinerInputNV)GetExtensionDelegateStatic("glCombinerInputNV", typeof(Delegates.CombinerInputNV)); + Delegates.glCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); + } + internal static void Load_CombinerOutputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners abOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners cdOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners sumOutput, OpenTK.Graphics.OpenGL.NvRegisterCombiners scale, OpenTK.Graphics.OpenGL.NvRegisterCombiners bias, bool abDotProduct, bool cdDotProduct, bool muxSum) + { + Delegates.glCombinerOutputNV = (Delegates.CombinerOutputNV)GetExtensionDelegateStatic("glCombinerOutputNV", typeof(Delegates.CombinerOutputNV)); + Delegates.glCombinerOutputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)abOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)cdOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)sumOutput, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)scale, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)bias, (bool)abDotProduct, (bool)cdDotProduct, (bool)muxSum); + } + internal static void Load_CombinerParameterfNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single param) + { + Delegates.glCombinerParameterfNV = (Delegates.CombinerParameterfNV)GetExtensionDelegateStatic("glCombinerParameterfNV", typeof(Delegates.CombinerParameterfNV)); + Delegates.glCombinerParameterfNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single)param); + } + internal static unsafe void Load_CombinerParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Single* @params) + { + Delegates.glCombinerParameterfvNV = (Delegates.CombinerParameterfvNV)GetExtensionDelegateStatic("glCombinerParameterfvNV", typeof(Delegates.CombinerParameterfvNV)); + Delegates.glCombinerParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + } + internal static void Load_CombinerParameteriNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32 param) + { + Delegates.glCombinerParameteriNV = (Delegates.CombinerParameteriNV)GetExtensionDelegateStatic("glCombinerParameteriNV", typeof(Delegates.CombinerParameteriNV)); + Delegates.glCombinerParameteriNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32)param); + } + internal static unsafe void Load_CombinerParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, Int32* @params) + { + Delegates.glCombinerParameterivNV = (Delegates.CombinerParameterivNV)GetExtensionDelegateStatic("glCombinerParameterivNV", typeof(Delegates.CombinerParameterivNV)); + Delegates.glCombinerParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + } + internal static unsafe void Load_CombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, Single* @params) + { + Delegates.glCombinerStageParameterfvNV = (Delegates.CombinerStageParameterfvNV)GetExtensionDelegateStatic("glCombinerStageParameterfvNV", typeof(Delegates.CombinerStageParameterfvNV)); + Delegates.glCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); + } + internal static void Load_CompileShader(UInt32 shader) + { + Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); + Delegates.glCompileShader((UInt32)shader); + } + internal static void Load_CompileShaderARB(UInt32 shaderObj) + { + Delegates.glCompileShaderARB = (Delegates.CompileShaderARB)GetExtensionDelegateStatic("glCompileShaderARB", typeof(Delegates.CompileShaderARB)); + Delegates.glCompileShaderARB((UInt32)shaderObj); + } + internal static unsafe void Load_CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length) + { + Delegates.glCompileShaderIncludeARB = (Delegates.CompileShaderIncludeARB)GetExtensionDelegateStatic("glCompileShaderIncludeARB", typeof(Delegates.CompileShaderIncludeARB)); + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); + } + internal static void Load_CompressedMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedMultiTexImage1DEXT = (Delegates.CompressedMultiTexImage1DEXT)GetExtensionDelegateStatic("glCompressedMultiTexImage1DEXT", typeof(Delegates.CompressedMultiTexImage1DEXT)); + Delegates.glCompressedMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedMultiTexImage2DEXT = (Delegates.CompressedMultiTexImage2DEXT)GetExtensionDelegateStatic("glCompressedMultiTexImage2DEXT", typeof(Delegates.CompressedMultiTexImage2DEXT)); + Delegates.glCompressedMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedMultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedMultiTexImage3DEXT = (Delegates.CompressedMultiTexImage3DEXT)GetExtensionDelegateStatic("glCompressedMultiTexImage3DEXT", typeof(Delegates.CompressedMultiTexImage3DEXT)); + Delegates.glCompressedMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedMultiTexSubImage1DEXT = (Delegates.CompressedMultiTexSubImage1DEXT)GetExtensionDelegateStatic("glCompressedMultiTexSubImage1DEXT", typeof(Delegates.CompressedMultiTexSubImage1DEXT)); + Delegates.glCompressedMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedMultiTexSubImage2DEXT = (Delegates.CompressedMultiTexSubImage2DEXT)GetExtensionDelegateStatic("glCompressedMultiTexSubImage2DEXT", typeof(Delegates.CompressedMultiTexSubImage2DEXT)); + Delegates.glCompressedMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedMultiTexSubImage3DEXT = (Delegates.CompressedMultiTexSubImage3DEXT)GetExtensionDelegateStatic("glCompressedMultiTexSubImage3DEXT", typeof(Delegates.CompressedMultiTexSubImage3DEXT)); + Delegates.glCompressedMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage1D = (Delegates.CompressedTexImage1D)GetExtensionDelegateStatic("glCompressedTexImage1D", typeof(Delegates.CompressedTexImage1D)); + Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage1DARB = (Delegates.CompressedTexImage1DARB)GetExtensionDelegateStatic("glCompressedTexImage1DARB", typeof(Delegates.CompressedTexImage1DARB)); + Delegates.glCompressedTexImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); + Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage2DARB = (Delegates.CompressedTexImage2DARB)GetExtensionDelegateStatic("glCompressedTexImage2DARB", typeof(Delegates.CompressedTexImage2DARB)); + Delegates.glCompressedTexImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage3D = (Delegates.CompressedTexImage3D)GetExtensionDelegateStatic("glCompressedTexImage3D", typeof(Delegates.CompressedTexImage3D)); + Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage3DARB = (Delegates.CompressedTexImage3DARB)GetExtensionDelegateStatic("glCompressedTexImage3DARB", typeof(Delegates.CompressedTexImage3DARB)); + Delegates.glCompressedTexImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage1D = (Delegates.CompressedTexSubImage1D)GetExtensionDelegateStatic("glCompressedTexSubImage1D", typeof(Delegates.CompressedTexSubImage1D)); + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage1DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage1DARB = (Delegates.CompressedTexSubImage1DARB)GetExtensionDelegateStatic("glCompressedTexSubImage1DARB", typeof(Delegates.CompressedTexSubImage1DARB)); + Delegates.glCompressedTexSubImage1DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage2DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage2DARB = (Delegates.CompressedTexSubImage2DARB)GetExtensionDelegateStatic("glCompressedTexSubImage2DARB", typeof(Delegates.CompressedTexSubImage2DARB)); + Delegates.glCompressedTexSubImage2DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage3D = (Delegates.CompressedTexSubImage3D)GetExtensionDelegateStatic("glCompressedTexSubImage3D", typeof(Delegates.CompressedTexSubImage3D)); + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage3DARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage3DARB = (Delegates.CompressedTexSubImage3DARB)GetExtensionDelegateStatic("glCompressedTexSubImage3DARB", typeof(Delegates.CompressedTexSubImage3DARB)); + Delegates.glCompressedTexSubImage3DARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedTextureImage1DEXT = (Delegates.CompressedTextureImage1DEXT)GetExtensionDelegateStatic("glCompressedTextureImage1DEXT", typeof(Delegates.CompressedTextureImage1DEXT)); + Delegates.glCompressedTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedTextureImage2DEXT = (Delegates.CompressedTextureImage2DEXT)GetExtensionDelegateStatic("glCompressedTextureImage2DEXT", typeof(Delegates.CompressedTextureImage2DEXT)); + Delegates.glCompressedTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedTextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedTextureImage3DEXT = (Delegates.CompressedTextureImage3DEXT)GetExtensionDelegateStatic("glCompressedTextureImage3DEXT", typeof(Delegates.CompressedTextureImage3DEXT)); + Delegates.glCompressedTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedTextureSubImage1DEXT = (Delegates.CompressedTextureSubImage1DEXT)GetExtensionDelegateStatic("glCompressedTextureSubImage1DEXT", typeof(Delegates.CompressedTextureSubImage1DEXT)); + Delegates.glCompressedTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedTextureSubImage2DEXT = (Delegates.CompressedTextureSubImage2DEXT)GetExtensionDelegateStatic("glCompressedTextureSubImage2DEXT", typeof(Delegates.CompressedTextureSubImage2DEXT)); + Delegates.glCompressedTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_CompressedTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, Int32 imageSize, IntPtr bits) + { + Delegates.glCompressedTextureSubImage3DEXT = (Delegates.CompressedTextureSubImage3DEXT)GetExtensionDelegateStatic("glCompressedTextureSubImage3DEXT", typeof(Delegates.CompressedTextureSubImage3DEXT)); + Delegates.glCompressedTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (Int32)imageSize, (IntPtr)bits); + } + internal static void Load_ConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + Delegates.glConvolutionFilter1D = (Delegates.ConvolutionFilter1D)GetExtensionDelegateStatic("glConvolutionFilter1D", typeof(Delegates.ConvolutionFilter1D)); + Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + } + internal static void Load_ConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + Delegates.glConvolutionFilter1DEXT = (Delegates.ConvolutionFilter1DEXT)GetExtensionDelegateStatic("glConvolutionFilter1DEXT", typeof(Delegates.ConvolutionFilter1DEXT)); + Delegates.glConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + } + internal static void Load_ConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + Delegates.glConvolutionFilter2D = (Delegates.ConvolutionFilter2D)GetExtensionDelegateStatic("glConvolutionFilter2D", typeof(Delegates.ConvolutionFilter2D)); + Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + } + internal static void Load_ConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr image) + { + Delegates.glConvolutionFilter2DEXT = (Delegates.ConvolutionFilter2DEXT)GetExtensionDelegateStatic("glConvolutionFilter2DEXT", typeof(Delegates.ConvolutionFilter2DEXT)); + Delegates.glConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + } + internal static void Load_ConvolutionParameterf(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single @params) + { + Delegates.glConvolutionParameterf = (Delegates.ConvolutionParameterf)GetExtensionDelegateStatic("glConvolutionParameterf", typeof(Delegates.ConvolutionParameterf)); + Delegates.glConvolutionParameterf((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single)@params); + } + internal static void Load_ConvolutionParameterfEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single @params) + { + Delegates.glConvolutionParameterfEXT = (Delegates.ConvolutionParameterfEXT)GetExtensionDelegateStatic("glConvolutionParameterfEXT", typeof(Delegates.ConvolutionParameterfEXT)); + Delegates.glConvolutionParameterfEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single)@params); + } + internal static unsafe void Load_ConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Single* @params) + { + Delegates.glConvolutionParameterfv = (Delegates.ConvolutionParameterfv)GetExtensionDelegateStatic("glConvolutionParameterfv", typeof(Delegates.ConvolutionParameterfv)); + Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Single*)@params); + } + internal static unsafe void Load_ConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Single* @params) + { + Delegates.glConvolutionParameterfvEXT = (Delegates.ConvolutionParameterfvEXT)GetExtensionDelegateStatic("glConvolutionParameterfvEXT", typeof(Delegates.ConvolutionParameterfvEXT)); + Delegates.glConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); + } + internal static void Load_ConvolutionParameteri(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32 @params) + { + Delegates.glConvolutionParameteri = (Delegates.ConvolutionParameteri)GetExtensionDelegateStatic("glConvolutionParameteri", typeof(Delegates.ConvolutionParameteri)); + Delegates.glConvolutionParameteri((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32)@params); + } + internal static void Load_ConvolutionParameteriEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32 @params) + { + Delegates.glConvolutionParameteriEXT = (Delegates.ConvolutionParameteriEXT)GetExtensionDelegateStatic("glConvolutionParameteriEXT", typeof(Delegates.ConvolutionParameteriEXT)); + Delegates.glConvolutionParameteriEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32)@params); + } + internal static unsafe void Load_ConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.ConvolutionParameter pname, Int32* @params) + { + Delegates.glConvolutionParameteriv = (Delegates.ConvolutionParameteriv)GetExtensionDelegateStatic("glConvolutionParameteriv", typeof(Delegates.ConvolutionParameteriv)); + Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.ConvolutionParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_ConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, Int32* @params) + { + Delegates.glConvolutionParameterivEXT = (Delegates.ConvolutionParameterivEXT)GetExtensionDelegateStatic("glConvolutionParameterivEXT", typeof(Delegates.ConvolutionParameterivEXT)); + Delegates.glConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); + } + internal static void Load_ConvolutionParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glConvolutionParameterxOES = (Delegates.ConvolutionParameterxOES)GetExtensionDelegateStatic("glConvolutionParameterxOES", typeof(Delegates.ConvolutionParameterxOES)); + Delegates.glConvolutionParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_ConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) + { + Delegates.glConvolutionParameterxvOES = (Delegates.ConvolutionParameterxvOES)GetExtensionDelegateStatic("glConvolutionParameterxvOES", typeof(Delegates.ConvolutionParameterxvOES)); + Delegates.glConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static void Load_CopyBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget readTarget, OpenTK.Graphics.OpenGL.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + Delegates.glCopyBufferSubData = (Delegates.CopyBufferSubData)GetExtensionDelegateStatic("glCopyBufferSubData", typeof(Delegates.CopyBufferSubData)); + Delegates.glCopyBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + } + internal static void Load_CopyColorSubTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyColorSubTable = (Delegates.CopyColorSubTable)GetExtensionDelegateStatic("glCopyColorSubTable", typeof(Delegates.CopyColorSubTable)); + Delegates.glCopyColorSubTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyColorSubTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyColorSubTableEXT = (Delegates.CopyColorSubTableEXT)GetExtensionDelegateStatic("glCopyColorSubTableEXT", typeof(Delegates.CopyColorSubTableEXT)); + Delegates.glCopyColorSubTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyColorTable = (Delegates.CopyColorTable)GetExtensionDelegateStatic("glCopyColorTable", typeof(Delegates.CopyColorTable)); + Delegates.glCopyColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyColorTableSGI = (Delegates.CopyColorTableSGI)GetExtensionDelegateStatic("glCopyColorTableSGI", typeof(Delegates.CopyColorTableSGI)); + Delegates.glCopyColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyConvolutionFilter1D = (Delegates.CopyConvolutionFilter1D)GetExtensionDelegateStatic("glCopyConvolutionFilter1D", typeof(Delegates.CopyConvolutionFilter1D)); + Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyConvolutionFilter1DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyConvolutionFilter1DEXT = (Delegates.CopyConvolutionFilter1DEXT)GetExtensionDelegateStatic("glCopyConvolutionFilter1DEXT", typeof(Delegates.CopyConvolutionFilter1DEXT)); + Delegates.glCopyConvolutionFilter1DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyConvolutionFilter2D = (Delegates.CopyConvolutionFilter2D)GetExtensionDelegateStatic("glCopyConvolutionFilter2D", typeof(Delegates.CopyConvolutionFilter2D)); + Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyConvolutionFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyConvolutionFilter2DEXT = (Delegates.CopyConvolutionFilter2DEXT)GetExtensionDelegateStatic("glCopyConvolutionFilter2DEXT", typeof(Delegates.CopyConvolutionFilter2DEXT)); + Delegates.glCopyConvolutionFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) + { + Delegates.glCopyImageSubData = (Delegates.CopyImageSubData)GetExtensionDelegateStatic("glCopyImageSubData", typeof(Delegates.CopyImageSubData)); + Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); + } + internal static void Load_CopyImageSubDataNV(UInt32 srcName, OpenTK.Graphics.OpenGL.NvCopyImage srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL.NvCopyImage dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 width, Int32 height, Int32 depth) + { + Delegates.glCopyImageSubDataNV = (Delegates.CopyImageSubDataNV)GetExtensionDelegateStatic("glCopyImageSubDataNV", typeof(Delegates.CopyImageSubDataNV)); + Delegates.glCopyImageSubDataNV((UInt32)srcName, (OpenTK.Graphics.OpenGL.NvCopyImage)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL.NvCopyImage)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_CopyMultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + Delegates.glCopyMultiTexImage1DEXT = (Delegates.CopyMultiTexImage1DEXT)GetExtensionDelegateStatic("glCopyMultiTexImage1DEXT", typeof(Delegates.CopyMultiTexImage1DEXT)); + Delegates.glCopyMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + } + internal static void Load_CopyMultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyMultiTexImage2DEXT = (Delegates.CopyMultiTexImage2DEXT)GetExtensionDelegateStatic("glCopyMultiTexImage2DEXT", typeof(Delegates.CopyMultiTexImage2DEXT)); + Delegates.glCopyMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyMultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyMultiTexSubImage1DEXT = (Delegates.CopyMultiTexSubImage1DEXT)GetExtensionDelegateStatic("glCopyMultiTexSubImage1DEXT", typeof(Delegates.CopyMultiTexSubImage1DEXT)); + Delegates.glCopyMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyMultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyMultiTexSubImage2DEXT = (Delegates.CopyMultiTexSubImage2DEXT)GetExtensionDelegateStatic("glCopyMultiTexSubImage2DEXT", typeof(Delegates.CopyMultiTexSubImage2DEXT)); + Delegates.glCopyMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyMultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyMultiTexSubImage3DEXT = (Delegates.CopyMultiTexSubImage3DEXT)GetExtensionDelegateStatic("glCopyMultiTexSubImage3DEXT", typeof(Delegates.CopyMultiTexSubImage3DEXT)); + Delegates.glCopyMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyPathNV(UInt32 resultPath, UInt32 srcPath) + { + Delegates.glCopyPathNV = (Delegates.CopyPathNV)GetExtensionDelegateStatic("glCopyPathNV", typeof(Delegates.CopyPathNV)); + Delegates.glCopyPathNV((UInt32)resultPath, (UInt32)srcPath); + } + internal static void Load_CopyPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelCopyType type) + { + Delegates.glCopyPixels = (Delegates.CopyPixels)GetExtensionDelegateStatic("glCopyPixels", typeof(Delegates.CopyPixels)); + Delegates.glCopyPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelCopyType)type); + } + internal static void Load_CopyTexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + Delegates.glCopyTexImage1D = (Delegates.CopyTexImage1D)GetExtensionDelegateStatic("glCopyTexImage1D", typeof(Delegates.CopyTexImage1D)); + Delegates.glCopyTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + } + internal static void Load_CopyTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + Delegates.glCopyTexImage1DEXT = (Delegates.CopyTexImage1DEXT)GetExtensionDelegateStatic("glCopyTexImage1DEXT", typeof(Delegates.CopyTexImage1DEXT)); + Delegates.glCopyTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + } + internal static void Load_CopyTexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); + Delegates.glCopyTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyTexImage2DEXT = (Delegates.CopyTexImage2DEXT)GetExtensionDelegateStatic("glCopyTexImage2DEXT", typeof(Delegates.CopyTexImage2DEXT)); + Delegates.glCopyTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyTexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyTexSubImage1D = (Delegates.CopyTexSubImage1D)GetExtensionDelegateStatic("glCopyTexSubImage1D", typeof(Delegates.CopyTexSubImage1D)); + Delegates.glCopyTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyTexSubImage1DEXT = (Delegates.CopyTexSubImage1DEXT)GetExtensionDelegateStatic("glCopyTexSubImage1DEXT", typeof(Delegates.CopyTexSubImage1DEXT)); + Delegates.glCopyTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage2DEXT = (Delegates.CopyTexSubImage2DEXT)GetExtensionDelegateStatic("glCopyTexSubImage2DEXT", typeof(Delegates.CopyTexSubImage2DEXT)); + Delegates.glCopyTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage3D = (Delegates.CopyTexSubImage3D)GetExtensionDelegateStatic("glCopyTexSubImage3D", typeof(Delegates.CopyTexSubImage3D)); + Delegates.glCopyTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage3DEXT = (Delegates.CopyTexSubImage3DEXT)GetExtensionDelegateStatic("glCopyTexSubImage3DEXT", typeof(Delegates.CopyTexSubImage3DEXT)); + Delegates.glCopyTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + Delegates.glCopyTextureImage1DEXT = (Delegates.CopyTextureImage1DEXT)GetExtensionDelegateStatic("glCopyTextureImage1DEXT", typeof(Delegates.CopyTextureImage1DEXT)); + Delegates.glCopyTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + } + internal static void Load_CopyTextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyTextureImage2DEXT = (Delegates.CopyTextureImage2DEXT)GetExtensionDelegateStatic("glCopyTextureImage2DEXT", typeof(Delegates.CopyTextureImage2DEXT)); + Delegates.glCopyTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyTextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyTextureSubImage1DEXT = (Delegates.CopyTextureSubImage1DEXT)GetExtensionDelegateStatic("glCopyTextureSubImage1DEXT", typeof(Delegates.CopyTextureSubImage1DEXT)); + Delegates.glCopyTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyTextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTextureSubImage2DEXT = (Delegates.CopyTextureSubImage2DEXT)GetExtensionDelegateStatic("glCopyTextureSubImage2DEXT", typeof(Delegates.CopyTextureSubImage2DEXT)); + Delegates.glCopyTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTextureSubImage3DEXT = (Delegates.CopyTextureSubImage3DEXT)GetExtensionDelegateStatic("glCopyTextureSubImage3DEXT", typeof(Delegates.CopyTextureSubImage3DEXT)); + Delegates.glCopyTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static unsafe void Load_CoverFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + { + Delegates.glCoverFillPathInstancedNV = (Delegates.CoverFillPathInstancedNV)GetExtensionDelegateStatic("glCoverFillPathInstancedNV", typeof(Delegates.CoverFillPathInstancedNV)); + Delegates.glCoverFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); + } + internal static void Load_CoverFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) + { + Delegates.glCoverFillPathNV = (Delegates.CoverFillPathNV)GetExtensionDelegateStatic("glCoverFillPathNV", typeof(Delegates.CoverFillPathNV)); + Delegates.glCoverFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); + } + internal static unsafe void Load_CoverStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering coverMode, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + { + Delegates.glCoverStrokePathInstancedNV = (Delegates.CoverStrokePathInstancedNV)GetExtensionDelegateStatic("glCoverStrokePathInstancedNV", typeof(Delegates.CoverStrokePathInstancedNV)); + Delegates.glCoverStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); + } + internal static void Load_CoverStrokePathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering coverMode) + { + Delegates.glCoverStrokePathNV = (Delegates.CoverStrokePathNV)GetExtensionDelegateStatic("glCoverStrokePathNV", typeof(Delegates.CoverStrokePathNV)); + Delegates.glCoverStrokePathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)coverMode); + } + internal static Int32 Load_CreateProgram() + { + Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); + return Delegates.glCreateProgram(); + } + internal static Int32 Load_CreateProgramObjectARB() + { + Delegates.glCreateProgramObjectARB = (Delegates.CreateProgramObjectARB)GetExtensionDelegateStatic("glCreateProgramObjectARB", typeof(Delegates.CreateProgramObjectARB)); + return Delegates.glCreateProgramObjectARB(); + } + internal static Int32 Load_CreateShader(OpenTK.Graphics.OpenGL.ShaderType type) + { + Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); + return Delegates.glCreateShader((OpenTK.Graphics.OpenGL.ShaderType)type); + } + internal static Int32 Load_CreateShaderObjectARB(OpenTK.Graphics.OpenGL.ArbShaderObjects shaderType) + { + Delegates.glCreateShaderObjectARB = (Delegates.CreateShaderObjectARB)GetExtensionDelegateStatic("glCreateShaderObjectARB", typeof(Delegates.CreateShaderObjectARB)); + return Delegates.glCreateShaderObjectARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)shaderType); + } + internal static Int32 Load_CreateShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, String @string) + { + Delegates.glCreateShaderProgramEXT = (Delegates.CreateShaderProgramEXT)GetExtensionDelegateStatic("glCreateShaderProgramEXT", typeof(Delegates.CreateShaderProgramEXT)); + return Delegates.glCreateShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (String)@string); + } + internal static Int32 Load_CreateShaderProgramv(OpenTK.Graphics.OpenGL.ShaderType type, Int32 count, String[] strings) + { + Delegates.glCreateShaderProgramv = (Delegates.CreateShaderProgramv)GetExtensionDelegateStatic("glCreateShaderProgramv", typeof(Delegates.CreateShaderProgramv)); + return Delegates.glCreateShaderProgramv((OpenTK.Graphics.OpenGL.ShaderType)type, (Int32)count, (String[])strings); + } + internal static Int32 Load_CreateShaderProgramvEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, Int32 count, String[] strings) + { + Delegates.glCreateShaderProgramvEXT = (Delegates.CreateShaderProgramvEXT)GetExtensionDelegateStatic("glCreateShaderProgramvEXT", typeof(Delegates.CreateShaderProgramvEXT)); + return Delegates.glCreateShaderProgramvEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (Int32)count, (String[])strings); + } + internal static unsafe IntPtr Load_CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) + { + Delegates.glCreateSyncFromCLeventARB = (Delegates.CreateSyncFromCLeventARB)GetExtensionDelegateStatic("glCreateSyncFromCLeventARB", typeof(Delegates.CreateSyncFromCLeventARB)); + return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); + } + internal static void Load_CullFace(OpenTK.Graphics.OpenGL.CullFaceMode mode) + { + Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); + Delegates.glCullFace((OpenTK.Graphics.OpenGL.CullFaceMode)mode); + } + internal static unsafe void Load_CullParameterdvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Double* @params) + { + Delegates.glCullParameterdvEXT = (Delegates.CullParameterdvEXT)GetExtensionDelegateStatic("glCullParameterdvEXT", typeof(Delegates.CullParameterdvEXT)); + Delegates.glCullParameterdvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Double*)@params); + } + internal static unsafe void Load_CullParameterfvEXT(OpenTK.Graphics.OpenGL.ExtCullVertex pname, [OutAttribute] Single* @params) + { + Delegates.glCullParameterfvEXT = (Delegates.CullParameterfvEXT)GetExtensionDelegateStatic("glCullParameterfvEXT", typeof(Delegates.CullParameterfvEXT)); + Delegates.glCullParameterfvEXT((OpenTK.Graphics.OpenGL.ExtCullVertex)pname, (Single*)@params); + } + internal static void Load_CurrentPaletteMatrixARB(Int32 index) + { + Delegates.glCurrentPaletteMatrixARB = (Delegates.CurrentPaletteMatrixARB)GetExtensionDelegateStatic("glCurrentPaletteMatrixARB", typeof(Delegates.CurrentPaletteMatrixARB)); + Delegates.glCurrentPaletteMatrixARB((Int32)index); + } + internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) + { + Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); + Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); + } + internal static void Load_DebugMessageCallbackAMD(DebugProcAmd callback, [OutAttribute] IntPtr userParam) + { + Delegates.glDebugMessageCallbackAMD = (Delegates.DebugMessageCallbackAMD)GetExtensionDelegateStatic("glDebugMessageCallbackAMD", typeof(Delegates.DebugMessageCallbackAMD)); + Delegates.glDebugMessageCallbackAMD((DebugProcAmd)callback, (IntPtr)userParam); + } + internal static void Load_DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam) + { + Delegates.glDebugMessageCallbackARB = (Delegates.DebugMessageCallbackARB)GetExtensionDelegateStatic("glDebugMessageCallbackARB", typeof(Delegates.DebugMessageCallbackARB)); + Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam); + } + internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) + { + Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); + Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); + } + internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.OpenGL.DebugSourceControl source, OpenTK.Graphics.OpenGL.DebugTypeControl type, OpenTK.Graphics.OpenGL.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); + Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL.DebugSourceControl)source, (OpenTK.Graphics.OpenGL.DebugTypeControl)type, (OpenTK.Graphics.OpenGL.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static unsafe void Load_DebugMessageControlARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControlARB = (Delegates.DebugMessageControlARB)GetExtensionDelegateStatic("glDebugMessageControlARB", typeof(Delegates.DebugMessageControlARB)); + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); + Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static unsafe void Load_DebugMessageEnableAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageEnableAMD = (Delegates.DebugMessageEnableAMD)GetExtensionDelegateStatic("glDebugMessageEnableAMD", typeof(Delegates.DebugMessageEnableAMD)); + Delegates.glDebugMessageEnableAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static void Load_DebugMessageInsert(OpenTK.Graphics.OpenGL.DebugSourceExternal source, OpenTK.Graphics.OpenGL.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL.DebugSeverity severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); + Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL.DebugSeverity)severity, (Int32)length, (String)buf); + } + internal static void Load_DebugMessageInsertAMD(OpenTK.Graphics.OpenGL.AmdDebugOutput category, OpenTK.Graphics.OpenGL.AmdDebugOutput severity, UInt32 id, Int32 length, String buf) + { + Delegates.glDebugMessageInsertAMD = (Delegates.DebugMessageInsertAMD)GetExtensionDelegateStatic("glDebugMessageInsertAMD", typeof(Delegates.DebugMessageInsertAMD)); + Delegates.glDebugMessageInsertAMD((OpenTK.Graphics.OpenGL.AmdDebugOutput)category, (OpenTK.Graphics.OpenGL.AmdDebugOutput)severity, (UInt32)id, (Int32)length, (String)buf); + } + internal static void Load_DebugMessageInsertARB(OpenTK.Graphics.OpenGL.ArbDebugOutput source, OpenTK.Graphics.OpenGL.ArbDebugOutput type, UInt32 id, OpenTK.Graphics.OpenGL.ArbDebugOutput severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsertARB = (Delegates.DebugMessageInsertARB)GetExtensionDelegateStatic("glDebugMessageInsertARB", typeof(Delegates.DebugMessageInsertARB)); + Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL.ArbDebugOutput)source, (OpenTK.Graphics.OpenGL.ArbDebugOutput)type, (UInt32)id, (OpenTK.Graphics.OpenGL.ArbDebugOutput)severity, (Int32)length, (String)buf); + } + internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.OpenGL.KhrDebug source, OpenTK.Graphics.OpenGL.KhrDebug type, UInt32 id, OpenTK.Graphics.OpenGL.KhrDebug severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); + Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (OpenTK.Graphics.OpenGL.KhrDebug)type, (UInt32)id, (OpenTK.Graphics.OpenGL.KhrDebug)severity, (Int32)length, (String)buf); + } + internal static unsafe void Load_DeformationMap3dSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double w1, Double w2, Int32 wstride, Int32 worder, Double* points) + { + Delegates.glDeformationMap3dSGIX = (Delegates.DeformationMap3dSGIX)GetExtensionDelegateStatic("glDeformationMap3dSGIX", typeof(Delegates.DeformationMap3dSGIX)); + Delegates.glDeformationMap3dSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double)w1, (Double)w2, (Int32)wstride, (Int32)worder, (Double*)points); + } + internal static unsafe void Load_DeformationMap3fSGIX(OpenTK.Graphics.OpenGL.SgixPolynomialFfd target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single w1, Single w2, Int32 wstride, Int32 worder, Single* points) + { + Delegates.glDeformationMap3fSGIX = (Delegates.DeformationMap3fSGIX)GetExtensionDelegateStatic("glDeformationMap3fSGIX", typeof(Delegates.DeformationMap3fSGIX)); + Delegates.glDeformationMap3fSGIX((OpenTK.Graphics.OpenGL.SgixPolynomialFfd)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single)w1, (Single)w2, (Int32)wstride, (Int32)worder, (Single*)points); + } + internal static void Load_DeformSGIX(UInt32 mask) + { + Delegates.glDeformSGIX = (Delegates.DeformSGIX)GetExtensionDelegateStatic("glDeformSGIX", typeof(Delegates.DeformSGIX)); + Delegates.glDeformSGIX((UInt32)mask); + } + internal static void Load_DeleteAsyncMarkersSGIX(UInt32 marker, Int32 range) + { + Delegates.glDeleteAsyncMarkersSGIX = (Delegates.DeleteAsyncMarkersSGIX)GetExtensionDelegateStatic("glDeleteAsyncMarkersSGIX", typeof(Delegates.DeleteAsyncMarkersSGIX)); + Delegates.glDeleteAsyncMarkersSGIX((UInt32)marker, (Int32)range); + } + internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } + internal static unsafe void Load_DeleteBuffersARB(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffersARB = (Delegates.DeleteBuffersARB)GetExtensionDelegateStatic("glDeleteBuffersARB", typeof(Delegates.DeleteBuffersARB)); + Delegates.glDeleteBuffersARB((Int32)n, (UInt32*)buffers); + } + internal static unsafe void Load_DeleteFencesAPPLE(Int32 n, UInt32* fences) + { + Delegates.glDeleteFencesAPPLE = (Delegates.DeleteFencesAPPLE)GetExtensionDelegateStatic("glDeleteFencesAPPLE", typeof(Delegates.DeleteFencesAPPLE)); + Delegates.glDeleteFencesAPPLE((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_DeleteFencesNV(Int32 n, UInt32* fences) + { + Delegates.glDeleteFencesNV = (Delegates.DeleteFencesNV)GetExtensionDelegateStatic("glDeleteFencesNV", typeof(Delegates.DeleteFencesNV)); + Delegates.glDeleteFencesNV((Int32)n, (UInt32*)fences); + } + internal static void Load_DeleteFragmentShaderATI(UInt32 id) + { + Delegates.glDeleteFragmentShaderATI = (Delegates.DeleteFragmentShaderATI)GetExtensionDelegateStatic("glDeleteFragmentShaderATI", typeof(Delegates.DeleteFragmentShaderATI)); + Delegates.glDeleteFragmentShaderATI((UInt32)id); + } + internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_DeleteFramebuffersEXT(Int32 n, UInt32* framebuffers) + { + Delegates.glDeleteFramebuffersEXT = (Delegates.DeleteFramebuffersEXT)GetExtensionDelegateStatic("glDeleteFramebuffersEXT", typeof(Delegates.DeleteFramebuffersEXT)); + Delegates.glDeleteFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + } + internal static void Load_DeleteLists(UInt32 list, Int32 range) + { + Delegates.glDeleteLists = (Delegates.DeleteLists)GetExtensionDelegateStatic("glDeleteLists", typeof(Delegates.DeleteLists)); + Delegates.glDeleteLists((UInt32)list, (Int32)range); + } + internal static void Load_DeleteNamedStringARB(Int32 namelen, String name) + { + Delegates.glDeleteNamedStringARB = (Delegates.DeleteNamedStringARB)GetExtensionDelegateStatic("glDeleteNamedStringARB", typeof(Delegates.DeleteNamedStringARB)); + Delegates.glDeleteNamedStringARB((Int32)namelen, (String)name); + } + internal static unsafe void Load_DeleteNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, UInt32* names) + { + Delegates.glDeleteNamesAMD = (Delegates.DeleteNamesAMD)GetExtensionDelegateStatic("glDeleteNamesAMD", typeof(Delegates.DeleteNamesAMD)); + Delegates.glDeleteNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); + } + internal static void Load_DeleteObjectARB(UInt32 obj) + { + Delegates.glDeleteObjectARB = (Delegates.DeleteObjectARB)GetExtensionDelegateStatic("glDeleteObjectARB", typeof(Delegates.DeleteObjectARB)); + Delegates.glDeleteObjectARB((UInt32)obj); + } + internal static unsafe void Load_DeleteOcclusionQueriesNV(Int32 n, UInt32* ids) + { + Delegates.glDeleteOcclusionQueriesNV = (Delegates.DeleteOcclusionQueriesNV)GetExtensionDelegateStatic("glDeleteOcclusionQueriesNV", typeof(Delegates.DeleteOcclusionQueriesNV)); + Delegates.glDeleteOcclusionQueriesNV((Int32)n, (UInt32*)ids); + } + internal static void Load_DeletePathsNV(UInt32 path, Int32 range) + { + Delegates.glDeletePathsNV = (Delegates.DeletePathsNV)GetExtensionDelegateStatic("glDeletePathsNV", typeof(Delegates.DeletePathsNV)); + Delegates.glDeletePathsNV((UInt32)path, (Int32)range); + } + internal static unsafe void Load_DeletePerfMonitorsAMD(Int32 n, UInt32* monitors) + { + Delegates.glDeletePerfMonitorsAMD = (Delegates.DeletePerfMonitorsAMD)GetExtensionDelegateStatic("glDeletePerfMonitorsAMD", typeof(Delegates.DeletePerfMonitorsAMD)); + Delegates.glDeletePerfMonitorsAMD((Int32)n, (UInt32*)monitors); + } + internal static void Load_DeleteProgram(UInt32 program) + { + Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); + Delegates.glDeleteProgram((UInt32)program); + } + internal static unsafe void Load_DeleteProgramPipelines(Int32 n, UInt32* pipelines) + { + Delegates.glDeleteProgramPipelines = (Delegates.DeleteProgramPipelines)GetExtensionDelegateStatic("glDeleteProgramPipelines", typeof(Delegates.DeleteProgramPipelines)); + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_DeleteProgramPipelinesEXT(Int32 n, UInt32* pipelines) + { + Delegates.glDeleteProgramPipelinesEXT = (Delegates.DeleteProgramPipelinesEXT)GetExtensionDelegateStatic("glDeleteProgramPipelinesEXT", typeof(Delegates.DeleteProgramPipelinesEXT)); + Delegates.glDeleteProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_DeleteProgramsARB(Int32 n, UInt32* programs) + { + Delegates.glDeleteProgramsARB = (Delegates.DeleteProgramsARB)GetExtensionDelegateStatic("glDeleteProgramsARB", typeof(Delegates.DeleteProgramsARB)); + Delegates.glDeleteProgramsARB((Int32)n, (UInt32*)programs); + } + internal static unsafe void Load_DeleteProgramsNV(Int32 n, UInt32* programs) + { + Delegates.glDeleteProgramsNV = (Delegates.DeleteProgramsNV)GetExtensionDelegateStatic("glDeleteProgramsNV", typeof(Delegates.DeleteProgramsNV)); + Delegates.glDeleteProgramsNV((Int32)n, (UInt32*)programs); + } + internal static unsafe void Load_DeleteQueries(Int32 n, UInt32* ids) + { + Delegates.glDeleteQueries = (Delegates.DeleteQueries)GetExtensionDelegateStatic("glDeleteQueries", typeof(Delegates.DeleteQueries)); + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteQueriesARB(Int32 n, UInt32* ids) + { + Delegates.glDeleteQueriesARB = (Delegates.DeleteQueriesARB)GetExtensionDelegateStatic("glDeleteQueriesARB", typeof(Delegates.DeleteQueriesARB)); + Delegates.glDeleteQueriesARB((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_DeleteRenderbuffersEXT(Int32 n, UInt32* renderbuffers) + { + Delegates.glDeleteRenderbuffersEXT = (Delegates.DeleteRenderbuffersEXT)GetExtensionDelegateStatic("glDeleteRenderbuffersEXT", typeof(Delegates.DeleteRenderbuffersEXT)); + Delegates.glDeleteRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_DeleteSamplers(Int32 count, UInt32* samplers) + { + Delegates.glDeleteSamplers = (Delegates.DeleteSamplers)GetExtensionDelegateStatic("glDeleteSamplers", typeof(Delegates.DeleteSamplers)); + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); + } + internal static void Load_DeleteShader(UInt32 shader) + { + Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); + Delegates.glDeleteShader((UInt32)shader); + } + internal static void Load_DeleteSync(IntPtr sync) + { + Delegates.glDeleteSync = (Delegates.DeleteSync)GetExtensionDelegateStatic("glDeleteSync", typeof(Delegates.DeleteSync)); + Delegates.glDeleteSync((IntPtr)sync); + } + internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) + { + Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_DeleteTexturesEXT(Int32 n, UInt32* textures) + { + Delegates.glDeleteTexturesEXT = (Delegates.DeleteTexturesEXT)GetExtensionDelegateStatic("glDeleteTexturesEXT", typeof(Delegates.DeleteTexturesEXT)); + Delegates.glDeleteTexturesEXT((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_DeleteTransformFeedbacks(Int32 n, UInt32* ids) + { + Delegates.glDeleteTransformFeedbacks = (Delegates.DeleteTransformFeedbacks)GetExtensionDelegateStatic("glDeleteTransformFeedbacks", typeof(Delegates.DeleteTransformFeedbacks)); + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteTransformFeedbacksNV(Int32 n, UInt32* ids) + { + Delegates.glDeleteTransformFeedbacksNV = (Delegates.DeleteTransformFeedbacksNV)GetExtensionDelegateStatic("glDeleteTransformFeedbacksNV", typeof(Delegates.DeleteTransformFeedbacksNV)); + Delegates.glDeleteTransformFeedbacksNV((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteVertexArrays(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArrays = (Delegates.DeleteVertexArrays)GetExtensionDelegateStatic("glDeleteVertexArrays", typeof(Delegates.DeleteVertexArrays)); + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_DeleteVertexArraysAPPLE(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArraysAPPLE = (Delegates.DeleteVertexArraysAPPLE)GetExtensionDelegateStatic("glDeleteVertexArraysAPPLE", typeof(Delegates.DeleteVertexArraysAPPLE)); + Delegates.glDeleteVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + } + internal static void Load_DeleteVertexShaderEXT(UInt32 id) + { + Delegates.glDeleteVertexShaderEXT = (Delegates.DeleteVertexShaderEXT)GetExtensionDelegateStatic("glDeleteVertexShaderEXT", typeof(Delegates.DeleteVertexShaderEXT)); + Delegates.glDeleteVertexShaderEXT((UInt32)id); + } + internal static void Load_DepthBoundsdNV(Double zmin, Double zmax) + { + Delegates.glDepthBoundsdNV = (Delegates.DepthBoundsdNV)GetExtensionDelegateStatic("glDepthBoundsdNV", typeof(Delegates.DepthBoundsdNV)); + Delegates.glDepthBoundsdNV((Double)zmin, (Double)zmax); + } + internal static void Load_DepthBoundsEXT(Double zmin, Double zmax) + { + Delegates.glDepthBoundsEXT = (Delegates.DepthBoundsEXT)GetExtensionDelegateStatic("glDepthBoundsEXT", typeof(Delegates.DepthBoundsEXT)); + Delegates.glDepthBoundsEXT((Double)zmin, (Double)zmax); + } + internal static void Load_DepthFunc(OpenTK.Graphics.OpenGL.DepthFunction func) + { + Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); + Delegates.glDepthFunc((OpenTK.Graphics.OpenGL.DepthFunction)func); + } + internal static void Load_DepthMask(bool flag) + { + Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); + Delegates.glDepthMask((bool)flag); + } + internal static void Load_DepthRange(Double near, Double far) + { + Delegates.glDepthRange = (Delegates.DepthRange)GetExtensionDelegateStatic("glDepthRange", typeof(Delegates.DepthRange)); + Delegates.glDepthRange((Double)near, (Double)far); + } + internal static unsafe void Load_DepthRangeArrayv(UInt32 first, Int32 count, Double* v) + { + Delegates.glDepthRangeArrayv = (Delegates.DepthRangeArrayv)GetExtensionDelegateStatic("glDepthRangeArrayv", typeof(Delegates.DepthRangeArrayv)); + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); + } + internal static void Load_DepthRangedNV(Double zNear, Double zFar) + { + Delegates.glDepthRangedNV = (Delegates.DepthRangedNV)GetExtensionDelegateStatic("glDepthRangedNV", typeof(Delegates.DepthRangedNV)); + Delegates.glDepthRangedNV((Double)zNear, (Double)zFar); + } + internal static void Load_DepthRangef(Single n, Single f) + { + Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); + Delegates.glDepthRangef((Single)n, (Single)f); + } + internal static void Load_DepthRangefOES(Single n, Single f) + { + Delegates.glDepthRangefOES = (Delegates.DepthRangefOES)GetExtensionDelegateStatic("glDepthRangefOES", typeof(Delegates.DepthRangefOES)); + Delegates.glDepthRangefOES((Single)n, (Single)f); + } + internal static void Load_DepthRangeIndexed(UInt32 index, Double n, Double f) + { + Delegates.glDepthRangeIndexed = (Delegates.DepthRangeIndexed)GetExtensionDelegateStatic("glDepthRangeIndexed", typeof(Delegates.DepthRangeIndexed)); + Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); + } + internal static void Load_DepthRangexOES(int n, int f) + { + Delegates.glDepthRangexOES = (Delegates.DepthRangexOES)GetExtensionDelegateStatic("glDepthRangexOES", typeof(Delegates.DepthRangexOES)); + Delegates.glDepthRangexOES((int)n, (int)f); + } + internal static void Load_DetachObjectARB(UInt32 containerObj, UInt32 attachedObj) + { + Delegates.glDetachObjectARB = (Delegates.DetachObjectARB)GetExtensionDelegateStatic("glDetachObjectARB", typeof(Delegates.DetachObjectARB)); + Delegates.glDetachObjectARB((UInt32)containerObj, (UInt32)attachedObj); + } + internal static void Load_DetachShader(UInt32 program, UInt32 shader) + { + Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + } + internal static unsafe void Load_DetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) + { + Delegates.glDetailTexFuncSGIS = (Delegates.DetailTexFuncSGIS)GetExtensionDelegateStatic("glDetailTexFuncSGIS", typeof(Delegates.DetailTexFuncSGIS)); + Delegates.glDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); + } + internal static void Load_Disable(OpenTK.Graphics.OpenGL.EnableCap cap) + { + Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); + Delegates.glDisable((OpenTK.Graphics.OpenGL.EnableCap)cap); + } + internal static void Load_DisableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) + { + Delegates.glDisableClientState = (Delegates.DisableClientState)GetExtensionDelegateStatic("glDisableClientState", typeof(Delegates.DisableClientState)); + Delegates.glDisableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); + } + internal static void Load_DisableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) + { + Delegates.glDisableClientStateiEXT = (Delegates.DisableClientStateiEXT)GetExtensionDelegateStatic("glDisableClientStateiEXT", typeof(Delegates.DisableClientStateiEXT)); + Delegates.glDisableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + } + internal static void Load_DisableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) + { + Delegates.glDisableClientStateIndexedEXT = (Delegates.DisableClientStateIndexedEXT)GetExtensionDelegateStatic("glDisableClientStateIndexedEXT", typeof(Delegates.DisableClientStateIndexedEXT)); + Delegates.glDisableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + } + internal static void Load_Disablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + Delegates.glDisablei = (Delegates.Disablei)GetExtensionDelegateStatic("glDisablei", typeof(Delegates.Disablei)); + Delegates.glDisablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + } + internal static void Load_DisableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + Delegates.glDisableIndexedEXT = (Delegates.DisableIndexedEXT)GetExtensionDelegateStatic("glDisableIndexedEXT", typeof(Delegates.DisableIndexedEXT)); + Delegates.glDisableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + } + internal static void Load_DisableVariantClientStateEXT(UInt32 id) + { + Delegates.glDisableVariantClientStateEXT = (Delegates.DisableVariantClientStateEXT)GetExtensionDelegateStatic("glDisableVariantClientStateEXT", typeof(Delegates.DisableVariantClientStateEXT)); + Delegates.glDisableVariantClientStateEXT((UInt32)id); + } + internal static void Load_DisableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index) + { + Delegates.glDisableVertexArrayAttribEXT = (Delegates.DisableVertexArrayAttribEXT)GetExtensionDelegateStatic("glDisableVertexArrayAttribEXT", typeof(Delegates.DisableVertexArrayAttribEXT)); + Delegates.glDisableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); + } + internal static void Load_DisableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) + { + Delegates.glDisableVertexArrayEXT = (Delegates.DisableVertexArrayEXT)GetExtensionDelegateStatic("glDisableVertexArrayEXT", typeof(Delegates.DisableVertexArrayEXT)); + Delegates.glDisableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); + } + internal static void Load_DisableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + Delegates.glDisableVertexAttribAPPLE = (Delegates.DisableVertexAttribAPPLE)GetExtensionDelegateStatic("glDisableVertexAttribAPPLE", typeof(Delegates.DisableVertexAttribAPPLE)); + Delegates.glDisableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + } + internal static void Load_DisableVertexAttribArray(UInt32 index) + { + Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); + Delegates.glDisableVertexAttribArray((UInt32)index); + } + internal static void Load_DisableVertexAttribArrayARB(UInt32 index) + { + Delegates.glDisableVertexAttribArrayARB = (Delegates.DisableVertexAttribArrayARB)GetExtensionDelegateStatic("glDisableVertexAttribArrayARB", typeof(Delegates.DisableVertexAttribArrayARB)); + Delegates.glDisableVertexAttribArrayARB((UInt32)index); + } + internal static void Load_DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) + { + Delegates.glDispatchCompute = (Delegates.DispatchCompute)GetExtensionDelegateStatic("glDispatchCompute", typeof(Delegates.DispatchCompute)); + Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); + } + internal static void Load_DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z) + { + Delegates.glDispatchComputeGroupSizeARB = (Delegates.DispatchComputeGroupSizeARB)GetExtensionDelegateStatic("glDispatchComputeGroupSizeARB", typeof(Delegates.DispatchComputeGroupSizeARB)); + Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); + } + internal static void Load_DispatchComputeIndirect(IntPtr indirect) + { + Delegates.glDispatchComputeIndirect = (Delegates.DispatchComputeIndirect)GetExtensionDelegateStatic("glDispatchComputeIndirect", typeof(Delegates.DispatchComputeIndirect)); + Delegates.glDispatchComputeIndirect((IntPtr)indirect); + } + internal static void Load_DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) + { + Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); + Delegates.glDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); + } + internal static void Load_DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) + { + Delegates.glDrawArraysEXT = (Delegates.DrawArraysEXT)GetExtensionDelegateStatic("glDrawArraysEXT", typeof(Delegates.DrawArraysEXT)); + Delegates.glDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); + } + internal static void Load_DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect) + { + Delegates.glDrawArraysIndirect = (Delegates.DrawArraysIndirect)GetExtensionDelegateStatic("glDrawArraysIndirect", typeof(Delegates.DrawArraysIndirect)); + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect); + } + internal static void Load_DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) + { + Delegates.glDrawArraysInstanced = (Delegates.DrawArraysInstanced)GetExtensionDelegateStatic("glDrawArraysInstanced", typeof(Delegates.DrawArraysInstanced)); + Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); + } + internal static void Load_DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedARB = (Delegates.DrawArraysInstancedARB)GetExtensionDelegateStatic("glDrawArraysInstancedARB", typeof(Delegates.DrawArraysInstancedARB)); + Delegates.glDrawArraysInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)primcount); + } + internal static void Load_DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) + { + Delegates.glDrawArraysInstancedBaseInstance = (Delegates.DrawArraysInstancedBaseInstance)GetExtensionDelegateStatic("glDrawArraysInstancedBaseInstance", typeof(Delegates.DrawArraysInstancedBaseInstance)); + Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); + } + internal static void Load_DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount) + { + Delegates.glDrawArraysInstancedEXT = (Delegates.DrawArraysInstancedEXT)GetExtensionDelegateStatic("glDrawArraysInstancedEXT", typeof(Delegates.DrawArraysInstancedEXT)); + Delegates.glDrawArraysInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)start, (Int32)count, (Int32)primcount); + } + internal static void Load_DrawBuffer(OpenTK.Graphics.OpenGL.DrawBufferMode mode) + { + Delegates.glDrawBuffer = (Delegates.DrawBuffer)GetExtensionDelegateStatic("glDrawBuffer", typeof(Delegates.DrawBuffer)); + Delegates.glDrawBuffer((OpenTK.Graphics.OpenGL.DrawBufferMode)mode); + } + internal static unsafe void Load_DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL.DrawBuffersEnum* bufs) + { + Delegates.glDrawBuffers = (Delegates.DrawBuffers)GetExtensionDelegateStatic("glDrawBuffers", typeof(Delegates.DrawBuffers)); + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL.DrawBuffersEnum*)bufs); + } + internal static unsafe void Load_DrawBuffersARB(Int32 n, OpenTK.Graphics.OpenGL.ArbDrawBuffers* bufs) + { + Delegates.glDrawBuffersARB = (Delegates.DrawBuffersARB)GetExtensionDelegateStatic("glDrawBuffersARB", typeof(Delegates.DrawBuffersARB)); + Delegates.glDrawBuffersARB((Int32)n, (OpenTK.Graphics.OpenGL.ArbDrawBuffers*)bufs); + } + internal static unsafe void Load_DrawBuffersATI(Int32 n, OpenTK.Graphics.OpenGL.AtiDrawBuffers* bufs) + { + Delegates.glDrawBuffersATI = (Delegates.DrawBuffersATI)GetExtensionDelegateStatic("glDrawBuffersATI", typeof(Delegates.DrawBuffersATI)); + Delegates.glDrawBuffersATI((Int32)n, (OpenTK.Graphics.OpenGL.AtiDrawBuffers*)bufs); + } + internal static void Load_DrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count) + { + Delegates.glDrawElementArrayAPPLE = (Delegates.DrawElementArrayAPPLE)GetExtensionDelegateStatic("glDrawElementArrayAPPLE", typeof(Delegates.DrawElementArrayAPPLE)); + Delegates.glDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count); + } + internal static void Load_DrawElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count) + { + Delegates.glDrawElementArrayATI = (Delegates.DrawElementArrayATI)GetExtensionDelegateStatic("glDrawElementArrayATI", typeof(Delegates.DrawElementArrayATI)); + Delegates.glDrawElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count); + } + internal static void Load_DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); + Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + Delegates.glDrawElementsBaseVertex = (Delegates.DrawElementsBaseVertex)GetExtensionDelegateStatic("glDrawElementsBaseVertex", typeof(Delegates.DrawElementsBaseVertex)); + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + } + internal static void Load_DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect) + { + Delegates.glDrawElementsIndirect = (Delegates.DrawElementsIndirect)GetExtensionDelegateStatic("glDrawElementsIndirect", typeof(Delegates.DrawElementsIndirect)); + Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect); + } + internal static void Load_DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount) + { + Delegates.glDrawElementsInstanced = (Delegates.DrawElementsInstanced)GetExtensionDelegateStatic("glDrawElementsInstanced", typeof(Delegates.DrawElementsInstanced)); + Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); + } + internal static void Load_DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedARB = (Delegates.DrawElementsInstancedARB)GetExtensionDelegateStatic("glDrawElementsInstancedARB", typeof(Delegates.DrawElementsInstancedARB)); + Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) + { + Delegates.glDrawElementsInstancedBaseInstance = (Delegates.DrawElementsInstancedBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseInstance", typeof(Delegates.DrawElementsInstancedBaseInstance)); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); + } + internal static void Load_DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) + { + Delegates.glDrawElementsInstancedBaseVertex = (Delegates.DrawElementsInstancedBaseVertex)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertex", typeof(Delegates.DrawElementsInstancedBaseVertex)); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); + } + internal static void Load_DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + { + Delegates.glDrawElementsInstancedBaseVertexBaseInstance = (Delegates.DrawElementsInstancedBaseVertexBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertexBaseInstance", typeof(Delegates.DrawElementsInstancedBaseVertexBaseInstance)); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + } + internal static void Load_DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glDrawElementsInstancedEXT = (Delegates.DrawElementsInstancedEXT)GetExtensionDelegateStatic("glDrawElementsInstancedEXT", typeof(Delegates.DrawElementsInstancedEXT)); + Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width) + { + Delegates.glDrawMeshArraysSUN = (Delegates.DrawMeshArraysSUN)GetExtensionDelegateStatic("glDrawMeshArraysSUN", typeof(Delegates.DrawMeshArraysSUN)); + Delegates.glDrawMeshArraysSUN((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)width); + } + internal static void Load_DrawPixels(Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glDrawPixels = (Delegates.DrawPixels)GetExtensionDelegateStatic("glDrawPixels", typeof(Delegates.DrawPixels)); + Delegates.glDrawPixels((Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_DrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 first, Int32 count) + { + Delegates.glDrawRangeElementArrayAPPLE = (Delegates.DrawRangeElementArrayAPPLE)GetExtensionDelegateStatic("glDrawRangeElementArrayAPPLE", typeof(Delegates.DrawRangeElementArrayAPPLE)); + Delegates.glDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)first, (Int32)count); + } + internal static void Load_DrawRangeElementArrayATI(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count) + { + Delegates.glDrawRangeElementArrayATI = (Delegates.DrawRangeElementArrayATI)GetExtensionDelegateStatic("glDrawRangeElementArrayATI", typeof(Delegates.DrawRangeElementArrayATI)); + Delegates.glDrawRangeElementArrayATI((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count); + } + internal static void Load_DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawRangeElements = (Delegates.DrawRangeElements)GetExtensionDelegateStatic("glDrawRangeElements", typeof(Delegates.DrawRangeElements)); + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + Delegates.glDrawRangeElementsBaseVertex = (Delegates.DrawRangeElementsBaseVertex)GetExtensionDelegateStatic("glDrawRangeElementsBaseVertex", typeof(Delegates.DrawRangeElementsBaseVertex)); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + } + internal static void Load_DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawRangeElementsEXT = (Delegates.DrawRangeElementsEXT)GetExtensionDelegateStatic("glDrawRangeElementsEXT", typeof(Delegates.DrawRangeElementsEXT)); + Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_DrawTextureNV(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1) + { + Delegates.glDrawTextureNV = (Delegates.DrawTextureNV)GetExtensionDelegateStatic("glDrawTextureNV", typeof(Delegates.DrawTextureNV)); + Delegates.glDrawTextureNV((UInt32)texture, (UInt32)sampler, (Single)x0, (Single)y0, (Single)x1, (Single)y1, (Single)z, (Single)s0, (Single)t0, (Single)s1, (Single)t1); + } + internal static void Load_DrawTransformFeedback(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) + { + Delegates.glDrawTransformFeedback = (Delegates.DrawTransformFeedback)GetExtensionDelegateStatic("glDrawTransformFeedback", typeof(Delegates.DrawTransformFeedback)); + Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); + } + internal static void Load_DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, Int32 instancecount) + { + Delegates.glDrawTransformFeedbackInstanced = (Delegates.DrawTransformFeedbackInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackInstanced", typeof(Delegates.DrawTransformFeedbackInstanced)); + Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); + } + internal static void Load_DrawTransformFeedbackNV(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id) + { + Delegates.glDrawTransformFeedbackNV = (Delegates.DrawTransformFeedbackNV)GetExtensionDelegateStatic("glDrawTransformFeedbackNV", typeof(Delegates.DrawTransformFeedbackNV)); + Delegates.glDrawTransformFeedbackNV((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id); + } + internal static void Load_DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream) + { + Delegates.glDrawTransformFeedbackStream = (Delegates.DrawTransformFeedbackStream)GetExtensionDelegateStatic("glDrawTransformFeedbackStream", typeof(Delegates.DrawTransformFeedbackStream)); + Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream); + } + internal static void Load_DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) + { + Delegates.glDrawTransformFeedbackStreamInstanced = (Delegates.DrawTransformFeedbackStreamInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackStreamInstanced", typeof(Delegates.DrawTransformFeedbackStreamInstanced)); + Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); + } + internal static void Load_EdgeFlag(bool flag) + { + Delegates.glEdgeFlag = (Delegates.EdgeFlag)GetExtensionDelegateStatic("glEdgeFlag", typeof(Delegates.EdgeFlag)); + Delegates.glEdgeFlag((bool)flag); + } + internal static void Load_EdgeFlagFormatNV(Int32 stride) + { + Delegates.glEdgeFlagFormatNV = (Delegates.EdgeFlagFormatNV)GetExtensionDelegateStatic("glEdgeFlagFormatNV", typeof(Delegates.EdgeFlagFormatNV)); + Delegates.glEdgeFlagFormatNV((Int32)stride); + } + internal static void Load_EdgeFlagPointer(Int32 stride, IntPtr pointer) + { + Delegates.glEdgeFlagPointer = (Delegates.EdgeFlagPointer)GetExtensionDelegateStatic("glEdgeFlagPointer", typeof(Delegates.EdgeFlagPointer)); + Delegates.glEdgeFlagPointer((Int32)stride, (IntPtr)pointer); + } + internal static unsafe void Load_EdgeFlagPointerEXT(Int32 stride, Int32 count, bool* pointer) + { + Delegates.glEdgeFlagPointerEXT = (Delegates.EdgeFlagPointerEXT)GetExtensionDelegateStatic("glEdgeFlagPointerEXT", typeof(Delegates.EdgeFlagPointerEXT)); + Delegates.glEdgeFlagPointerEXT((Int32)stride, (Int32)count, (bool*)pointer); + } + internal static unsafe void Load_EdgeFlagPointerListIBM(Int32 stride, bool** pointer, Int32 ptrstride) + { + Delegates.glEdgeFlagPointerListIBM = (Delegates.EdgeFlagPointerListIBM)GetExtensionDelegateStatic("glEdgeFlagPointerListIBM", typeof(Delegates.EdgeFlagPointerListIBM)); + Delegates.glEdgeFlagPointerListIBM((Int32)stride, (bool**)pointer, (Int32)ptrstride); + } + internal static unsafe void Load_EdgeFlagv(bool* flag) + { + Delegates.glEdgeFlagv = (Delegates.EdgeFlagv)GetExtensionDelegateStatic("glEdgeFlagv", typeof(Delegates.EdgeFlagv)); + Delegates.glEdgeFlagv((bool*)flag); + } + internal static void Load_ElementPointerAPPLE(OpenTK.Graphics.OpenGL.AppleElementArray type, IntPtr pointer) + { + Delegates.glElementPointerAPPLE = (Delegates.ElementPointerAPPLE)GetExtensionDelegateStatic("glElementPointerAPPLE", typeof(Delegates.ElementPointerAPPLE)); + Delegates.glElementPointerAPPLE((OpenTK.Graphics.OpenGL.AppleElementArray)type, (IntPtr)pointer); + } + internal static void Load_ElementPointerATI(OpenTK.Graphics.OpenGL.AtiElementArray type, IntPtr pointer) + { + Delegates.glElementPointerATI = (Delegates.ElementPointerATI)GetExtensionDelegateStatic("glElementPointerATI", typeof(Delegates.ElementPointerATI)); + Delegates.glElementPointerATI((OpenTK.Graphics.OpenGL.AtiElementArray)type, (IntPtr)pointer); + } + internal static void Load_Enable(OpenTK.Graphics.OpenGL.EnableCap cap) + { + Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); + Delegates.glEnable((OpenTK.Graphics.OpenGL.EnableCap)cap); + } + internal static void Load_EnableClientState(OpenTK.Graphics.OpenGL.ArrayCap array) + { + Delegates.glEnableClientState = (Delegates.EnableClientState)GetExtensionDelegateStatic("glEnableClientState", typeof(Delegates.EnableClientState)); + Delegates.glEnableClientState((OpenTK.Graphics.OpenGL.ArrayCap)array); + } + internal static void Load_EnableClientStateiEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) + { + Delegates.glEnableClientStateiEXT = (Delegates.EnableClientStateiEXT)GetExtensionDelegateStatic("glEnableClientStateiEXT", typeof(Delegates.EnableClientStateiEXT)); + Delegates.glEnableClientStateiEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + } + internal static void Load_EnableClientStateIndexedEXT(OpenTK.Graphics.OpenGL.ArrayCap array, UInt32 index) + { + Delegates.glEnableClientStateIndexedEXT = (Delegates.EnableClientStateIndexedEXT)GetExtensionDelegateStatic("glEnableClientStateIndexedEXT", typeof(Delegates.EnableClientStateIndexedEXT)); + Delegates.glEnableClientStateIndexedEXT((OpenTK.Graphics.OpenGL.ArrayCap)array, (UInt32)index); + } + internal static void Load_Enablei(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + Delegates.glEnablei = (Delegates.Enablei)GetExtensionDelegateStatic("glEnablei", typeof(Delegates.Enablei)); + Delegates.glEnablei((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + } + internal static void Load_EnableIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + Delegates.glEnableIndexedEXT = (Delegates.EnableIndexedEXT)GetExtensionDelegateStatic("glEnableIndexedEXT", typeof(Delegates.EnableIndexedEXT)); + Delegates.glEnableIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + } + internal static void Load_EnableVariantClientStateEXT(UInt32 id) + { + Delegates.glEnableVariantClientStateEXT = (Delegates.EnableVariantClientStateEXT)GetExtensionDelegateStatic("glEnableVariantClientStateEXT", typeof(Delegates.EnableVariantClientStateEXT)); + Delegates.glEnableVariantClientStateEXT((UInt32)id); + } + internal static void Load_EnableVertexArrayAttribEXT(UInt32 vaobj, UInt32 index) + { + Delegates.glEnableVertexArrayAttribEXT = (Delegates.EnableVertexArrayAttribEXT)GetExtensionDelegateStatic("glEnableVertexArrayAttribEXT", typeof(Delegates.EnableVertexArrayAttribEXT)); + Delegates.glEnableVertexArrayAttribEXT((UInt32)vaobj, (UInt32)index); + } + internal static void Load_EnableVertexArrayEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.EnableCap array) + { + Delegates.glEnableVertexArrayEXT = (Delegates.EnableVertexArrayEXT)GetExtensionDelegateStatic("glEnableVertexArrayEXT", typeof(Delegates.EnableVertexArrayEXT)); + Delegates.glEnableVertexArrayEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.EnableCap)array); + } + internal static void Load_EnableVertexAttribAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + Delegates.glEnableVertexAttribAPPLE = (Delegates.EnableVertexAttribAPPLE)GetExtensionDelegateStatic("glEnableVertexAttribAPPLE", typeof(Delegates.EnableVertexAttribAPPLE)); + Delegates.glEnableVertexAttribAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + } + internal static void Load_EnableVertexAttribArray(UInt32 index) + { + Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); + Delegates.glEnableVertexAttribArray((UInt32)index); + } + internal static void Load_EnableVertexAttribArrayARB(UInt32 index) + { + Delegates.glEnableVertexAttribArrayARB = (Delegates.EnableVertexAttribArrayARB)GetExtensionDelegateStatic("glEnableVertexAttribArrayARB", typeof(Delegates.EnableVertexAttribArrayARB)); + Delegates.glEnableVertexAttribArrayARB((UInt32)index); + } + internal static void Load_End() + { + Delegates.glEnd = (Delegates.End)GetExtensionDelegateStatic("glEnd", typeof(Delegates.End)); + Delegates.glEnd(); + } + internal static void Load_EndConditionalRender() + { + Delegates.glEndConditionalRender = (Delegates.EndConditionalRender)GetExtensionDelegateStatic("glEndConditionalRender", typeof(Delegates.EndConditionalRender)); + Delegates.glEndConditionalRender(); + } + internal static void Load_EndConditionalRenderNV() + { + Delegates.glEndConditionalRenderNV = (Delegates.EndConditionalRenderNV)GetExtensionDelegateStatic("glEndConditionalRenderNV", typeof(Delegates.EndConditionalRenderNV)); + Delegates.glEndConditionalRenderNV(); + } + internal static void Load_EndConditionalRenderNVX() + { + Delegates.glEndConditionalRenderNVX = (Delegates.EndConditionalRenderNVX)GetExtensionDelegateStatic("glEndConditionalRenderNVX", typeof(Delegates.EndConditionalRenderNVX)); + Delegates.glEndConditionalRenderNVX(); + } + internal static void Load_EndFragmentShaderATI() + { + Delegates.glEndFragmentShaderATI = (Delegates.EndFragmentShaderATI)GetExtensionDelegateStatic("glEndFragmentShaderATI", typeof(Delegates.EndFragmentShaderATI)); + Delegates.glEndFragmentShaderATI(); + } + internal static void Load_EndList() + { + Delegates.glEndList = (Delegates.EndList)GetExtensionDelegateStatic("glEndList", typeof(Delegates.EndList)); + Delegates.glEndList(); + } + internal static void Load_EndOcclusionQueryNV() + { + Delegates.glEndOcclusionQueryNV = (Delegates.EndOcclusionQueryNV)GetExtensionDelegateStatic("glEndOcclusionQueryNV", typeof(Delegates.EndOcclusionQueryNV)); + Delegates.glEndOcclusionQueryNV(); + } + internal static void Load_EndPerfMonitorAMD(UInt32 monitor) + { + Delegates.glEndPerfMonitorAMD = (Delegates.EndPerfMonitorAMD)GetExtensionDelegateStatic("glEndPerfMonitorAMD", typeof(Delegates.EndPerfMonitorAMD)); + Delegates.glEndPerfMonitorAMD((UInt32)monitor); + } + internal static void Load_EndQuery(OpenTK.Graphics.OpenGL.QueryTarget target) + { + Delegates.glEndQuery = (Delegates.EndQuery)GetExtensionDelegateStatic("glEndQuery", typeof(Delegates.EndQuery)); + Delegates.glEndQuery((OpenTK.Graphics.OpenGL.QueryTarget)target); + } + internal static void Load_EndQueryARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target) + { + Delegates.glEndQueryARB = (Delegates.EndQueryARB)GetExtensionDelegateStatic("glEndQueryARB", typeof(Delegates.EndQueryARB)); + Delegates.glEndQueryARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target); + } + internal static void Load_EndQueryIndexed(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index) + { + Delegates.glEndQueryIndexed = (Delegates.EndQueryIndexed)GetExtensionDelegateStatic("glEndQueryIndexed", typeof(Delegates.EndQueryIndexed)); + Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index); + } + internal static void Load_EndTransformFeedback() + { + Delegates.glEndTransformFeedback = (Delegates.EndTransformFeedback)GetExtensionDelegateStatic("glEndTransformFeedback", typeof(Delegates.EndTransformFeedback)); + Delegates.glEndTransformFeedback(); + } + internal static void Load_EndTransformFeedbackEXT() + { + Delegates.glEndTransformFeedbackEXT = (Delegates.EndTransformFeedbackEXT)GetExtensionDelegateStatic("glEndTransformFeedbackEXT", typeof(Delegates.EndTransformFeedbackEXT)); + Delegates.glEndTransformFeedbackEXT(); + } + internal static void Load_EndTransformFeedbackNV() + { + Delegates.glEndTransformFeedbackNV = (Delegates.EndTransformFeedbackNV)GetExtensionDelegateStatic("glEndTransformFeedbackNV", typeof(Delegates.EndTransformFeedbackNV)); + Delegates.glEndTransformFeedbackNV(); + } + internal static void Load_EndVertexShaderEXT() + { + Delegates.glEndVertexShaderEXT = (Delegates.EndVertexShaderEXT)GetExtensionDelegateStatic("glEndVertexShaderEXT", typeof(Delegates.EndVertexShaderEXT)); + Delegates.glEndVertexShaderEXT(); + } + internal static void Load_EndVideoCaptureNV(UInt32 video_capture_slot) + { + Delegates.glEndVideoCaptureNV = (Delegates.EndVideoCaptureNV)GetExtensionDelegateStatic("glEndVideoCaptureNV", typeof(Delegates.EndVideoCaptureNV)); + Delegates.glEndVideoCaptureNV((UInt32)video_capture_slot); + } + internal static void Load_EvalCoord1d(Double u) + { + Delegates.glEvalCoord1d = (Delegates.EvalCoord1d)GetExtensionDelegateStatic("glEvalCoord1d", typeof(Delegates.EvalCoord1d)); + Delegates.glEvalCoord1d((Double)u); + } + internal static unsafe void Load_EvalCoord1dv(Double* u) + { + Delegates.glEvalCoord1dv = (Delegates.EvalCoord1dv)GetExtensionDelegateStatic("glEvalCoord1dv", typeof(Delegates.EvalCoord1dv)); + Delegates.glEvalCoord1dv((Double*)u); + } + internal static void Load_EvalCoord1f(Single u) + { + Delegates.glEvalCoord1f = (Delegates.EvalCoord1f)GetExtensionDelegateStatic("glEvalCoord1f", typeof(Delegates.EvalCoord1f)); + Delegates.glEvalCoord1f((Single)u); + } + internal static unsafe void Load_EvalCoord1fv(Single* u) + { + Delegates.glEvalCoord1fv = (Delegates.EvalCoord1fv)GetExtensionDelegateStatic("glEvalCoord1fv", typeof(Delegates.EvalCoord1fv)); + Delegates.glEvalCoord1fv((Single*)u); + } + internal static void Load_EvalCoord1xOES(int u) + { + Delegates.glEvalCoord1xOES = (Delegates.EvalCoord1xOES)GetExtensionDelegateStatic("glEvalCoord1xOES", typeof(Delegates.EvalCoord1xOES)); + Delegates.glEvalCoord1xOES((int)u); + } + internal static unsafe void Load_EvalCoord1xvOES(int* coords) + { + Delegates.glEvalCoord1xvOES = (Delegates.EvalCoord1xvOES)GetExtensionDelegateStatic("glEvalCoord1xvOES", typeof(Delegates.EvalCoord1xvOES)); + Delegates.glEvalCoord1xvOES((int*)coords); + } + internal static void Load_EvalCoord2d(Double u, Double v) + { + Delegates.glEvalCoord2d = (Delegates.EvalCoord2d)GetExtensionDelegateStatic("glEvalCoord2d", typeof(Delegates.EvalCoord2d)); + Delegates.glEvalCoord2d((Double)u, (Double)v); + } + internal static unsafe void Load_EvalCoord2dv(Double* u) + { + Delegates.glEvalCoord2dv = (Delegates.EvalCoord2dv)GetExtensionDelegateStatic("glEvalCoord2dv", typeof(Delegates.EvalCoord2dv)); + Delegates.glEvalCoord2dv((Double*)u); + } + internal static void Load_EvalCoord2f(Single u, Single v) + { + Delegates.glEvalCoord2f = (Delegates.EvalCoord2f)GetExtensionDelegateStatic("glEvalCoord2f", typeof(Delegates.EvalCoord2f)); + Delegates.glEvalCoord2f((Single)u, (Single)v); + } + internal static unsafe void Load_EvalCoord2fv(Single* u) + { + Delegates.glEvalCoord2fv = (Delegates.EvalCoord2fv)GetExtensionDelegateStatic("glEvalCoord2fv", typeof(Delegates.EvalCoord2fv)); + Delegates.glEvalCoord2fv((Single*)u); + } + internal static void Load_EvalCoord2xOES(int u, int v) + { + Delegates.glEvalCoord2xOES = (Delegates.EvalCoord2xOES)GetExtensionDelegateStatic("glEvalCoord2xOES", typeof(Delegates.EvalCoord2xOES)); + Delegates.glEvalCoord2xOES((int)u, (int)v); + } + internal static unsafe void Load_EvalCoord2xvOES(int* coords) + { + Delegates.glEvalCoord2xvOES = (Delegates.EvalCoord2xvOES)GetExtensionDelegateStatic("glEvalCoord2xvOES", typeof(Delegates.EvalCoord2xvOES)); + Delegates.glEvalCoord2xvOES((int*)coords); + } + internal static void Load_EvalMapsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators mode) + { + Delegates.glEvalMapsNV = (Delegates.EvalMapsNV)GetExtensionDelegateStatic("glEvalMapsNV", typeof(Delegates.EvalMapsNV)); + Delegates.glEvalMapsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)mode); + } + internal static void Load_EvalMesh1(OpenTK.Graphics.OpenGL.MeshMode1 mode, Int32 i1, Int32 i2) + { + Delegates.glEvalMesh1 = (Delegates.EvalMesh1)GetExtensionDelegateStatic("glEvalMesh1", typeof(Delegates.EvalMesh1)); + Delegates.glEvalMesh1((OpenTK.Graphics.OpenGL.MeshMode1)mode, (Int32)i1, (Int32)i2); + } + internal static void Load_EvalMesh2(OpenTK.Graphics.OpenGL.MeshMode2 mode, Int32 i1, Int32 i2, Int32 j1, Int32 j2) + { + Delegates.glEvalMesh2 = (Delegates.EvalMesh2)GetExtensionDelegateStatic("glEvalMesh2", typeof(Delegates.EvalMesh2)); + Delegates.glEvalMesh2((OpenTK.Graphics.OpenGL.MeshMode2)mode, (Int32)i1, (Int32)i2, (Int32)j1, (Int32)j2); + } + internal static void Load_EvalPoint1(Int32 i) + { + Delegates.glEvalPoint1 = (Delegates.EvalPoint1)GetExtensionDelegateStatic("glEvalPoint1", typeof(Delegates.EvalPoint1)); + Delegates.glEvalPoint1((Int32)i); + } + internal static void Load_EvalPoint2(Int32 i, Int32 j) + { + Delegates.glEvalPoint2 = (Delegates.EvalPoint2)GetExtensionDelegateStatic("glEvalPoint2", typeof(Delegates.EvalPoint2)); + Delegates.glEvalPoint2((Int32)i, (Int32)j); + } + internal static unsafe void Load_ExecuteProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Single* @params) + { + Delegates.glExecuteProgramNV = (Delegates.ExecuteProgramNV)GetExtensionDelegateStatic("glExecuteProgramNV", typeof(Delegates.ExecuteProgramNV)); + Delegates.glExecuteProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Single*)@params); + } + internal static void Load_ExtractComponentEXT(UInt32 res, UInt32 src, UInt32 num) + { + Delegates.glExtractComponentEXT = (Delegates.ExtractComponentEXT)GetExtensionDelegateStatic("glExtractComponentEXT", typeof(Delegates.ExtractComponentEXT)); + Delegates.glExtractComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + } + internal static unsafe void Load_FeedbackBuffer(Int32 size, OpenTK.Graphics.OpenGL.FeedbackType type, [OutAttribute] Single* buffer) + { + Delegates.glFeedbackBuffer = (Delegates.FeedbackBuffer)GetExtensionDelegateStatic("glFeedbackBuffer", typeof(Delegates.FeedbackBuffer)); + Delegates.glFeedbackBuffer((Int32)size, (OpenTK.Graphics.OpenGL.FeedbackType)type, (Single*)buffer); + } + internal static unsafe void Load_FeedbackBufferxOES(Int32 n, OpenTK.Graphics.OpenGL.OesFixedPoint type, int* buffer) + { + Delegates.glFeedbackBufferxOES = (Delegates.FeedbackBufferxOES)GetExtensionDelegateStatic("glFeedbackBufferxOES", typeof(Delegates.FeedbackBufferxOES)); + Delegates.glFeedbackBufferxOES((Int32)n, (OpenTK.Graphics.OpenGL.OesFixedPoint)type, (int*)buffer); + } + internal static IntPtr Load_FenceSync(OpenTK.Graphics.OpenGL.SyncCondition condition, OpenTK.Graphics.OpenGL.WaitSyncFlags flags) + { + Delegates.glFenceSync = (Delegates.FenceSync)GetExtensionDelegateStatic("glFenceSync", typeof(Delegates.FenceSync)); + return Delegates.glFenceSync((OpenTK.Graphics.OpenGL.SyncCondition)condition, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags); + } + internal static void Load_FinalCombinerInputNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners input, OpenTK.Graphics.OpenGL.NvRegisterCombiners mapping, OpenTK.Graphics.OpenGL.NvRegisterCombiners componentUsage) + { + Delegates.glFinalCombinerInputNV = (Delegates.FinalCombinerInputNV)GetExtensionDelegateStatic("glFinalCombinerInputNV", typeof(Delegates.FinalCombinerInputNV)); + Delegates.glFinalCombinerInputNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)input, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)mapping, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)componentUsage); + } + internal static void Load_Finish() + { + Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); + Delegates.glFinish(); + } + internal static unsafe Int32 Load_FinishAsyncSGIX([OutAttribute] UInt32* markerp) + { + Delegates.glFinishAsyncSGIX = (Delegates.FinishAsyncSGIX)GetExtensionDelegateStatic("glFinishAsyncSGIX", typeof(Delegates.FinishAsyncSGIX)); + return Delegates.glFinishAsyncSGIX((UInt32*)markerp); + } + internal static void Load_FinishFenceAPPLE(UInt32 fence) + { + Delegates.glFinishFenceAPPLE = (Delegates.FinishFenceAPPLE)GetExtensionDelegateStatic("glFinishFenceAPPLE", typeof(Delegates.FinishFenceAPPLE)); + Delegates.glFinishFenceAPPLE((UInt32)fence); + } + internal static void Load_FinishFenceNV(UInt32 fence) + { + Delegates.glFinishFenceNV = (Delegates.FinishFenceNV)GetExtensionDelegateStatic("glFinishFenceNV", typeof(Delegates.FinishFenceNV)); + Delegates.glFinishFenceNV((UInt32)fence); + } + internal static void Load_FinishObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, Int32 name) + { + Delegates.glFinishObjectAPPLE = (Delegates.FinishObjectAPPLE)GetExtensionDelegateStatic("glFinishObjectAPPLE", typeof(Delegates.FinishObjectAPPLE)); + Delegates.glFinishObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (Int32)name); + } + internal static void Load_FinishTextureSUNX() + { + Delegates.glFinishTextureSUNX = (Delegates.FinishTextureSUNX)GetExtensionDelegateStatic("glFinishTextureSUNX", typeof(Delegates.FinishTextureSUNX)); + Delegates.glFinishTextureSUNX(); + } + internal static void Load_Flush() + { + Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); + Delegates.glFlush(); + } + internal static void Load_FlushMappedBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length) + { + Delegates.glFlushMappedBufferRange = (Delegates.FlushMappedBufferRange)GetExtensionDelegateStatic("glFlushMappedBufferRange", typeof(Delegates.FlushMappedBufferRange)); + Delegates.glFlushMappedBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + } + internal static void Load_FlushMappedBufferRangeAPPLE(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size) + { + Delegates.glFlushMappedBufferRangeAPPLE = (Delegates.FlushMappedBufferRangeAPPLE)GetExtensionDelegateStatic("glFlushMappedBufferRangeAPPLE", typeof(Delegates.FlushMappedBufferRangeAPPLE)); + Delegates.glFlushMappedBufferRangeAPPLE((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size); + } + internal static void Load_FlushMappedNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length) + { + Delegates.glFlushMappedNamedBufferRangeEXT = (Delegates.FlushMappedNamedBufferRangeEXT)GetExtensionDelegateStatic("glFlushMappedNamedBufferRangeEXT", typeof(Delegates.FlushMappedNamedBufferRangeEXT)); + Delegates.glFlushMappedNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length); + } + internal static void Load_FlushPixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target) + { + Delegates.glFlushPixelDataRangeNV = (Delegates.FlushPixelDataRangeNV)GetExtensionDelegateStatic("glFlushPixelDataRangeNV", typeof(Delegates.FlushPixelDataRangeNV)); + Delegates.glFlushPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target); + } + internal static void Load_FlushRasterSGIX() + { + Delegates.glFlushRasterSGIX = (Delegates.FlushRasterSGIX)GetExtensionDelegateStatic("glFlushRasterSGIX", typeof(Delegates.FlushRasterSGIX)); + Delegates.glFlushRasterSGIX(); + } + internal static void Load_FlushStaticDataIBM(OpenTK.Graphics.OpenGL.IbmStaticData target) + { + Delegates.glFlushStaticDataIBM = (Delegates.FlushStaticDataIBM)GetExtensionDelegateStatic("glFlushStaticDataIBM", typeof(Delegates.FlushStaticDataIBM)); + Delegates.glFlushStaticDataIBM((OpenTK.Graphics.OpenGL.IbmStaticData)target); + } + internal static void Load_FlushVertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer) + { + Delegates.glFlushVertexArrayRangeAPPLE = (Delegates.FlushVertexArrayRangeAPPLE)GetExtensionDelegateStatic("glFlushVertexArrayRangeAPPLE", typeof(Delegates.FlushVertexArrayRangeAPPLE)); + Delegates.glFlushVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + } + internal static void Load_FlushVertexArrayRangeNV() + { + Delegates.glFlushVertexArrayRangeNV = (Delegates.FlushVertexArrayRangeNV)GetExtensionDelegateStatic("glFlushVertexArrayRangeNV", typeof(Delegates.FlushVertexArrayRangeNV)); + Delegates.glFlushVertexArrayRangeNV(); + } + internal static void Load_FogCoordd(Double coord) + { + Delegates.glFogCoordd = (Delegates.FogCoordd)GetExtensionDelegateStatic("glFogCoordd", typeof(Delegates.FogCoordd)); + Delegates.glFogCoordd((Double)coord); + } + internal static void Load_FogCoorddEXT(Double coord) + { + Delegates.glFogCoorddEXT = (Delegates.FogCoorddEXT)GetExtensionDelegateStatic("glFogCoorddEXT", typeof(Delegates.FogCoorddEXT)); + Delegates.glFogCoorddEXT((Double)coord); + } + internal static unsafe void Load_FogCoorddv(Double* coord) + { + Delegates.glFogCoorddv = (Delegates.FogCoorddv)GetExtensionDelegateStatic("glFogCoorddv", typeof(Delegates.FogCoorddv)); + Delegates.glFogCoorddv((Double*)coord); + } + internal static unsafe void Load_FogCoorddvEXT(Double* coord) + { + Delegates.glFogCoorddvEXT = (Delegates.FogCoorddvEXT)GetExtensionDelegateStatic("glFogCoorddvEXT", typeof(Delegates.FogCoorddvEXT)); + Delegates.glFogCoorddvEXT((Double*)coord); + } + internal static void Load_FogCoordf(Single coord) + { + Delegates.glFogCoordf = (Delegates.FogCoordf)GetExtensionDelegateStatic("glFogCoordf", typeof(Delegates.FogCoordf)); + Delegates.glFogCoordf((Single)coord); + } + internal static void Load_FogCoordfEXT(Single coord) + { + Delegates.glFogCoordfEXT = (Delegates.FogCoordfEXT)GetExtensionDelegateStatic("glFogCoordfEXT", typeof(Delegates.FogCoordfEXT)); + Delegates.glFogCoordfEXT((Single)coord); + } + internal static void Load_FogCoordFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glFogCoordFormatNV = (Delegates.FogCoordFormatNV)GetExtensionDelegateStatic("glFogCoordFormatNV", typeof(Delegates.FogCoordFormatNV)); + Delegates.glFogCoordFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static unsafe void Load_FogCoordfv(Single* coord) + { + Delegates.glFogCoordfv = (Delegates.FogCoordfv)GetExtensionDelegateStatic("glFogCoordfv", typeof(Delegates.FogCoordfv)); + Delegates.glFogCoordfv((Single*)coord); + } + internal static unsafe void Load_FogCoordfvEXT(Single* coord) + { + Delegates.glFogCoordfvEXT = (Delegates.FogCoordfvEXT)GetExtensionDelegateStatic("glFogCoordfvEXT", typeof(Delegates.FogCoordfvEXT)); + Delegates.glFogCoordfvEXT((Single*)coord); + } + internal static void Load_FogCoordhNV(Half fog) + { + Delegates.glFogCoordhNV = (Delegates.FogCoordhNV)GetExtensionDelegateStatic("glFogCoordhNV", typeof(Delegates.FogCoordhNV)); + Delegates.glFogCoordhNV((Half)fog); + } + internal static unsafe void Load_FogCoordhvNV(Half* fog) + { + Delegates.glFogCoordhvNV = (Delegates.FogCoordhvNV)GetExtensionDelegateStatic("glFogCoordhvNV", typeof(Delegates.FogCoordhvNV)); + Delegates.glFogCoordhvNV((Half*)fog); + } + internal static void Load_FogCoordPointer(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glFogCoordPointer = (Delegates.FogCoordPointer)GetExtensionDelegateStatic("glFogCoordPointer", typeof(Delegates.FogCoordPointer)); + Delegates.glFogCoordPointer((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_FogCoordPointerEXT(OpenTK.Graphics.OpenGL.ExtFogCoord type, Int32 stride, IntPtr pointer) + { + Delegates.glFogCoordPointerEXT = (Delegates.FogCoordPointerEXT)GetExtensionDelegateStatic("glFogCoordPointerEXT", typeof(Delegates.FogCoordPointerEXT)); + Delegates.glFogCoordPointerEXT((OpenTK.Graphics.OpenGL.ExtFogCoord)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_FogCoordPointerListIBM(OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + Delegates.glFogCoordPointerListIBM = (Delegates.FogCoordPointerListIBM)GetExtensionDelegateStatic("glFogCoordPointerListIBM", typeof(Delegates.FogCoordPointerListIBM)); + Delegates.glFogCoordPointerListIBM((OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + } + internal static void Load_Fogf(OpenTK.Graphics.OpenGL.FogParameter pname, Single param) + { + Delegates.glFogf = (Delegates.Fogf)GetExtensionDelegateStatic("glFogf", typeof(Delegates.Fogf)); + Delegates.glFogf((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single)param); + } + internal static unsafe void Load_FogFuncSGIS(Int32 n, Single* points) + { + Delegates.glFogFuncSGIS = (Delegates.FogFuncSGIS)GetExtensionDelegateStatic("glFogFuncSGIS", typeof(Delegates.FogFuncSGIS)); + Delegates.glFogFuncSGIS((Int32)n, (Single*)points); + } + internal static unsafe void Load_Fogfv(OpenTK.Graphics.OpenGL.FogParameter pname, Single* @params) + { + Delegates.glFogfv = (Delegates.Fogfv)GetExtensionDelegateStatic("glFogfv", typeof(Delegates.Fogfv)); + Delegates.glFogfv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Single*)@params); + } + internal static void Load_Fogi(OpenTK.Graphics.OpenGL.FogParameter pname, Int32 param) + { + Delegates.glFogi = (Delegates.Fogi)GetExtensionDelegateStatic("glFogi", typeof(Delegates.Fogi)); + Delegates.glFogi((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32)param); + } + internal static unsafe void Load_Fogiv(OpenTK.Graphics.OpenGL.FogParameter pname, Int32* @params) + { + Delegates.glFogiv = (Delegates.Fogiv)GetExtensionDelegateStatic("glFogiv", typeof(Delegates.Fogiv)); + Delegates.glFogiv((OpenTK.Graphics.OpenGL.FogParameter)pname, (Int32*)@params); + } + internal static void Load_FogxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glFogxOES = (Delegates.FogxOES)GetExtensionDelegateStatic("glFogxOES", typeof(Delegates.FogxOES)); + Delegates.glFogxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_FogxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) + { + Delegates.glFogxvOES = (Delegates.FogxvOES)GetExtensionDelegateStatic("glFogxvOES", typeof(Delegates.FogxvOES)); + Delegates.glFogxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); + } + internal static void Load_FragmentColorMaterialSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) + { + Delegates.glFragmentColorMaterialSGIX = (Delegates.FragmentColorMaterialSGIX)GetExtensionDelegateStatic("glFragmentColorMaterialSGIX", typeof(Delegates.FragmentColorMaterialSGIX)); + Delegates.glFragmentColorMaterialSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); + } + internal static void Load_FragmentLightfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) + { + Delegates.glFragmentLightfSGIX = (Delegates.FragmentLightfSGIX)GetExtensionDelegateStatic("glFragmentLightfSGIX", typeof(Delegates.FragmentLightfSGIX)); + Delegates.glFragmentLightfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); + } + internal static unsafe void Load_FragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) + { + Delegates.glFragmentLightfvSGIX = (Delegates.FragmentLightfvSGIX)GetExtensionDelegateStatic("glFragmentLightfvSGIX", typeof(Delegates.FragmentLightfvSGIX)); + Delegates.glFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); + } + internal static void Load_FragmentLightiSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + { + Delegates.glFragmentLightiSGIX = (Delegates.FragmentLightiSGIX)GetExtensionDelegateStatic("glFragmentLightiSGIX", typeof(Delegates.FragmentLightiSGIX)); + Delegates.glFragmentLightiSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + } + internal static unsafe void Load_FragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) + { + Delegates.glFragmentLightivSGIX = (Delegates.FragmentLightivSGIX)GetExtensionDelegateStatic("glFragmentLightivSGIX", typeof(Delegates.FragmentLightivSGIX)); + Delegates.glFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); + } + internal static void Load_FragmentLightModelfSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single param) + { + Delegates.glFragmentLightModelfSGIX = (Delegates.FragmentLightModelfSGIX)GetExtensionDelegateStatic("glFragmentLightModelfSGIX", typeof(Delegates.FragmentLightModelfSGIX)); + Delegates.glFragmentLightModelfSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single)param); + } + internal static unsafe void Load_FragmentLightModelfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Single* @params) + { + Delegates.glFragmentLightModelfvSGIX = (Delegates.FragmentLightModelfvSGIX)GetExtensionDelegateStatic("glFragmentLightModelfvSGIX", typeof(Delegates.FragmentLightModelfvSGIX)); + Delegates.glFragmentLightModelfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); + } + internal static void Load_FragmentLightModeliSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + { + Delegates.glFragmentLightModeliSGIX = (Delegates.FragmentLightModeliSGIX)GetExtensionDelegateStatic("glFragmentLightModeliSGIX", typeof(Delegates.FragmentLightModeliSGIX)); + Delegates.glFragmentLightModeliSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + } + internal static unsafe void Load_FragmentLightModelivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32* @params) + { + Delegates.glFragmentLightModelivSGIX = (Delegates.FragmentLightModelivSGIX)GetExtensionDelegateStatic("glFragmentLightModelivSGIX", typeof(Delegates.FragmentLightModelivSGIX)); + Delegates.glFragmentLightModelivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); + } + internal static void Load_FragmentMaterialfSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) + { + Delegates.glFragmentMaterialfSGIX = (Delegates.FragmentMaterialfSGIX)GetExtensionDelegateStatic("glFragmentMaterialfSGIX", typeof(Delegates.FragmentMaterialfSGIX)); + Delegates.glFragmentMaterialfSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); + } + internal static unsafe void Load_FragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) + { + Delegates.glFragmentMaterialfvSGIX = (Delegates.FragmentMaterialfvSGIX)GetExtensionDelegateStatic("glFragmentMaterialfvSGIX", typeof(Delegates.FragmentMaterialfvSGIX)); + Delegates.glFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + } + internal static void Load_FragmentMaterialiSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) + { + Delegates.glFragmentMaterialiSGIX = (Delegates.FragmentMaterialiSGIX)GetExtensionDelegateStatic("glFragmentMaterialiSGIX", typeof(Delegates.FragmentMaterialiSGIX)); + Delegates.glFragmentMaterialiSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); + } + internal static unsafe void Load_FragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) + { + Delegates.glFragmentMaterialivSGIX = (Delegates.FragmentMaterialivSGIX)GetExtensionDelegateStatic("glFragmentMaterialivSGIX", typeof(Delegates.FragmentMaterialivSGIX)); + Delegates.glFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + } + internal static void Load_FramebufferDrawBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.DrawBufferMode mode) + { + Delegates.glFramebufferDrawBufferEXT = (Delegates.FramebufferDrawBufferEXT)GetExtensionDelegateStatic("glFramebufferDrawBufferEXT", typeof(Delegates.FramebufferDrawBufferEXT)); + Delegates.glFramebufferDrawBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.DrawBufferMode)mode); + } + internal static unsafe void Load_FramebufferDrawBuffersEXT(UInt32 framebuffer, Int32 n, OpenTK.Graphics.OpenGL.DrawBufferMode* bufs) + { + Delegates.glFramebufferDrawBuffersEXT = (Delegates.FramebufferDrawBuffersEXT)GetExtensionDelegateStatic("glFramebufferDrawBuffersEXT", typeof(Delegates.FramebufferDrawBuffersEXT)); + Delegates.glFramebufferDrawBuffersEXT((UInt32)framebuffer, (Int32)n, (OpenTK.Graphics.OpenGL.DrawBufferMode*)bufs); + } + internal static void Load_FramebufferParameteri(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, Int32 param) + { + Delegates.glFramebufferParameteri = (Delegates.FramebufferParameteri)GetExtensionDelegateStatic("glFramebufferParameteri", typeof(Delegates.FramebufferParameteri)); + Delegates.glFramebufferParameteri((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32)param); + } + internal static void Load_FramebufferReadBufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ReadBufferMode mode) + { + Delegates.glFramebufferReadBufferEXT = (Delegates.FramebufferReadBufferEXT)GetExtensionDelegateStatic("glFramebufferReadBufferEXT", typeof(Delegates.FramebufferReadBufferEXT)); + Delegates.glFramebufferReadBufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ReadBufferMode)mode); + } + internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + } + internal static void Load_FramebufferRenderbufferEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + Delegates.glFramebufferRenderbufferEXT = (Delegates.FramebufferRenderbufferEXT)GetExtensionDelegateStatic("glFramebufferRenderbufferEXT", typeof(Delegates.FramebufferRenderbufferEXT)); + Delegates.glFramebufferRenderbufferEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + } + internal static void Load_FramebufferTexture(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture = (Delegates.FramebufferTexture)GetExtensionDelegateStatic("glFramebufferTexture", typeof(Delegates.FramebufferTexture)); + Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture1D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture1D = (Delegates.FramebufferTexture1D)GetExtensionDelegateStatic("glFramebufferTexture1D", typeof(Delegates.FramebufferTexture1D)); + Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture1DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture1DEXT = (Delegates.FramebufferTexture1DEXT)GetExtensionDelegateStatic("glFramebufferTexture1DEXT", typeof(Delegates.FramebufferTexture1DEXT)); + Delegates.glFramebufferTexture1DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture2D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); + Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture2DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture2DEXT = (Delegates.FramebufferTexture2DEXT)GetExtensionDelegateStatic("glFramebufferTexture2DEXT", typeof(Delegates.FramebufferTexture2DEXT)); + Delegates.glFramebufferTexture2DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture3D(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + Delegates.glFramebufferTexture3D = (Delegates.FramebufferTexture3D)GetExtensionDelegateStatic("glFramebufferTexture3D", typeof(Delegates.FramebufferTexture3D)); + Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + } + internal static void Load_FramebufferTexture3DEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + Delegates.glFramebufferTexture3DEXT = (Delegates.FramebufferTexture3DEXT)GetExtensionDelegateStatic("glFramebufferTexture3DEXT", typeof(Delegates.FramebufferTexture3DEXT)); + Delegates.glFramebufferTexture3DEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + } + internal static void Load_FramebufferTextureARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTextureARB = (Delegates.FramebufferTextureARB)GetExtensionDelegateStatic("glFramebufferTextureARB", typeof(Delegates.FramebufferTextureARB)); + Delegates.glFramebufferTextureARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTextureEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTextureEXT = (Delegates.FramebufferTextureEXT)GetExtensionDelegateStatic("glFramebufferTextureEXT", typeof(Delegates.FramebufferTextureEXT)); + Delegates.glFramebufferTextureEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTextureFaceARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + Delegates.glFramebufferTextureFaceARB = (Delegates.FramebufferTextureFaceARB)GetExtensionDelegateStatic("glFramebufferTextureFaceARB", typeof(Delegates.FramebufferTextureFaceARB)); + Delegates.glFramebufferTextureFaceARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + } + internal static void Load_FramebufferTextureFaceEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + Delegates.glFramebufferTextureFaceEXT = (Delegates.FramebufferTextureFaceEXT)GetExtensionDelegateStatic("glFramebufferTextureFaceEXT", typeof(Delegates.FramebufferTextureFaceEXT)); + Delegates.glFramebufferTextureFaceEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + } + internal static void Load_FramebufferTextureLayer(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + Delegates.glFramebufferTextureLayer = (Delegates.FramebufferTextureLayer)GetExtensionDelegateStatic("glFramebufferTextureLayer", typeof(Delegates.FramebufferTextureLayer)); + Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + } + internal static void Load_FramebufferTextureLayerARB(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + Delegates.glFramebufferTextureLayerARB = (Delegates.FramebufferTextureLayerARB)GetExtensionDelegateStatic("glFramebufferTextureLayerARB", typeof(Delegates.FramebufferTextureLayerARB)); + Delegates.glFramebufferTextureLayerARB((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + } + internal static void Load_FramebufferTextureLayerEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + Delegates.glFramebufferTextureLayerEXT = (Delegates.FramebufferTextureLayerEXT)GetExtensionDelegateStatic("glFramebufferTextureLayerEXT", typeof(Delegates.FramebufferTextureLayerEXT)); + Delegates.glFramebufferTextureLayerEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + } + internal static void Load_FrameTerminatorGREMEDY() + { + Delegates.glFrameTerminatorGREMEDY = (Delegates.FrameTerminatorGREMEDY)GetExtensionDelegateStatic("glFrameTerminatorGREMEDY", typeof(Delegates.FrameTerminatorGREMEDY)); + Delegates.glFrameTerminatorGREMEDY(); + } + internal static void Load_FrameZoomSGIX(Int32 factor) + { + Delegates.glFrameZoomSGIX = (Delegates.FrameZoomSGIX)GetExtensionDelegateStatic("glFrameZoomSGIX", typeof(Delegates.FrameZoomSGIX)); + Delegates.glFrameZoomSGIX((Int32)factor); + } + internal static void Load_FreeObjectBufferATI(UInt32 buffer) + { + Delegates.glFreeObjectBufferATI = (Delegates.FreeObjectBufferATI)GetExtensionDelegateStatic("glFreeObjectBufferATI", typeof(Delegates.FreeObjectBufferATI)); + Delegates.glFreeObjectBufferATI((UInt32)buffer); + } + internal static void Load_FrontFace(OpenTK.Graphics.OpenGL.FrontFaceDirection mode) + { + Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); + Delegates.glFrontFace((OpenTK.Graphics.OpenGL.FrontFaceDirection)mode); + } + internal static void Load_Frustum(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + Delegates.glFrustum = (Delegates.Frustum)GetExtensionDelegateStatic("glFrustum", typeof(Delegates.Frustum)); + Delegates.glFrustum((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + } + internal static void Load_FrustumfOES(Single l, Single r, Single b, Single t, Single n, Single f) + { + Delegates.glFrustumfOES = (Delegates.FrustumfOES)GetExtensionDelegateStatic("glFrustumfOES", typeof(Delegates.FrustumfOES)); + Delegates.glFrustumfOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); + } + internal static void Load_FrustumxOES(int l, int r, int b, int t, int n, int f) + { + Delegates.glFrustumxOES = (Delegates.FrustumxOES)GetExtensionDelegateStatic("glFrustumxOES", typeof(Delegates.FrustumxOES)); + Delegates.glFrustumxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); + } + internal static Int32 Load_GenAsyncMarkersSGIX(Int32 range) + { + Delegates.glGenAsyncMarkersSGIX = (Delegates.GenAsyncMarkersSGIX)GetExtensionDelegateStatic("glGenAsyncMarkersSGIX", typeof(Delegates.GenAsyncMarkersSGIX)); + return Delegates.glGenAsyncMarkersSGIX((Int32)range); + } + internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + } + internal static unsafe void Load_GenBuffersARB(Int32 n, [OutAttribute] UInt32* buffers) + { + Delegates.glGenBuffersARB = (Delegates.GenBuffersARB)GetExtensionDelegateStatic("glGenBuffersARB", typeof(Delegates.GenBuffersARB)); + Delegates.glGenBuffersARB((Int32)n, (UInt32*)buffers); + } + internal static void Load_GenerateMipmap(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) + { + Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); + Delegates.glGenerateMipmap((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); + } + internal static void Load_GenerateMipmapEXT(OpenTK.Graphics.OpenGL.GenerateMipmapTarget target) + { + Delegates.glGenerateMipmapEXT = (Delegates.GenerateMipmapEXT)GetExtensionDelegateStatic("glGenerateMipmapEXT", typeof(Delegates.GenerateMipmapEXT)); + Delegates.glGenerateMipmapEXT((OpenTK.Graphics.OpenGL.GenerateMipmapTarget)target); + } + internal static void Load_GenerateMultiTexMipmapEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target) + { + Delegates.glGenerateMultiTexMipmapEXT = (Delegates.GenerateMultiTexMipmapEXT)GetExtensionDelegateStatic("glGenerateMultiTexMipmapEXT", typeof(Delegates.GenerateMultiTexMipmapEXT)); + Delegates.glGenerateMultiTexMipmapEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target); + } + internal static void Load_GenerateTextureMipmapEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target) + { + Delegates.glGenerateTextureMipmapEXT = (Delegates.GenerateTextureMipmapEXT)GetExtensionDelegateStatic("glGenerateTextureMipmapEXT", typeof(Delegates.GenerateTextureMipmapEXT)); + Delegates.glGenerateTextureMipmapEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target); + } + internal static unsafe void Load_GenFencesAPPLE(Int32 n, [OutAttribute] UInt32* fences) + { + Delegates.glGenFencesAPPLE = (Delegates.GenFencesAPPLE)GetExtensionDelegateStatic("glGenFencesAPPLE", typeof(Delegates.GenFencesAPPLE)); + Delegates.glGenFencesAPPLE((Int32)n, (UInt32*)fences); + } + internal static unsafe void Load_GenFencesNV(Int32 n, [OutAttribute] UInt32* fences) + { + Delegates.glGenFencesNV = (Delegates.GenFencesNV)GetExtensionDelegateStatic("glGenFencesNV", typeof(Delegates.GenFencesNV)); + Delegates.glGenFencesNV((Int32)n, (UInt32*)fences); + } + internal static Int32 Load_GenFragmentShadersATI(UInt32 range) + { + Delegates.glGenFragmentShadersATI = (Delegates.GenFragmentShadersATI)GetExtensionDelegateStatic("glGenFragmentShadersATI", typeof(Delegates.GenFragmentShadersATI)); + return Delegates.glGenFragmentShadersATI((UInt32)range); + } + internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_GenFramebuffersEXT(Int32 n, [OutAttribute] UInt32* framebuffers) + { + Delegates.glGenFramebuffersEXT = (Delegates.GenFramebuffersEXT)GetExtensionDelegateStatic("glGenFramebuffersEXT", typeof(Delegates.GenFramebuffersEXT)); + Delegates.glGenFramebuffersEXT((Int32)n, (UInt32*)framebuffers); + } + internal static Int32 Load_GenLists(Int32 range) + { + Delegates.glGenLists = (Delegates.GenLists)GetExtensionDelegateStatic("glGenLists", typeof(Delegates.GenLists)); + return Delegates.glGenLists((Int32)range); + } + internal static unsafe void Load_GenNamesAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 num, [OutAttribute] UInt32* names) + { + Delegates.glGenNamesAMD = (Delegates.GenNamesAMD)GetExtensionDelegateStatic("glGenNamesAMD", typeof(Delegates.GenNamesAMD)); + Delegates.glGenNamesAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)num, (UInt32*)names); + } + internal static unsafe void Load_GenOcclusionQueriesNV(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenOcclusionQueriesNV = (Delegates.GenOcclusionQueriesNV)GetExtensionDelegateStatic("glGenOcclusionQueriesNV", typeof(Delegates.GenOcclusionQueriesNV)); + Delegates.glGenOcclusionQueriesNV((Int32)n, (UInt32*)ids); + } + internal static Int32 Load_GenPathsNV(Int32 range) + { + Delegates.glGenPathsNV = (Delegates.GenPathsNV)GetExtensionDelegateStatic("glGenPathsNV", typeof(Delegates.GenPathsNV)); + return Delegates.glGenPathsNV((Int32)range); + } + internal static unsafe void Load_GenPerfMonitorsAMD(Int32 n, [OutAttribute] UInt32* monitors) + { + Delegates.glGenPerfMonitorsAMD = (Delegates.GenPerfMonitorsAMD)GetExtensionDelegateStatic("glGenPerfMonitorsAMD", typeof(Delegates.GenPerfMonitorsAMD)); + Delegates.glGenPerfMonitorsAMD((Int32)n, (UInt32*)monitors); + } + internal static unsafe void Load_GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) + { + Delegates.glGenProgramPipelines = (Delegates.GenProgramPipelines)GetExtensionDelegateStatic("glGenProgramPipelines", typeof(Delegates.GenProgramPipelines)); + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_GenProgramPipelinesEXT(Int32 n, [OutAttribute] UInt32* pipelines) + { + Delegates.glGenProgramPipelinesEXT = (Delegates.GenProgramPipelinesEXT)GetExtensionDelegateStatic("glGenProgramPipelinesEXT", typeof(Delegates.GenProgramPipelinesEXT)); + Delegates.glGenProgramPipelinesEXT((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_GenProgramsARB(Int32 n, [OutAttribute] UInt32* programs) + { + Delegates.glGenProgramsARB = (Delegates.GenProgramsARB)GetExtensionDelegateStatic("glGenProgramsARB", typeof(Delegates.GenProgramsARB)); + Delegates.glGenProgramsARB((Int32)n, (UInt32*)programs); + } + internal static unsafe void Load_GenProgramsNV(Int32 n, [OutAttribute] UInt32* programs) + { + Delegates.glGenProgramsNV = (Delegates.GenProgramsNV)GetExtensionDelegateStatic("glGenProgramsNV", typeof(Delegates.GenProgramsNV)); + Delegates.glGenProgramsNV((Int32)n, (UInt32*)programs); + } + internal static unsafe void Load_GenQueries(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenQueries = (Delegates.GenQueries)GetExtensionDelegateStatic("glGenQueries", typeof(Delegates.GenQueries)); + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenQueriesARB(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenQueriesARB = (Delegates.GenQueriesARB)GetExtensionDelegateStatic("glGenQueriesARB", typeof(Delegates.GenQueriesARB)); + Delegates.glGenQueriesARB((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_GenRenderbuffersEXT(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + Delegates.glGenRenderbuffersEXT = (Delegates.GenRenderbuffersEXT)GetExtensionDelegateStatic("glGenRenderbuffersEXT", typeof(Delegates.GenRenderbuffersEXT)); + Delegates.glGenRenderbuffersEXT((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) + { + Delegates.glGenSamplers = (Delegates.GenSamplers)GetExtensionDelegateStatic("glGenSamplers", typeof(Delegates.GenSamplers)); + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); + } + internal static Int32 Load_GenSymbolsEXT(OpenTK.Graphics.OpenGL.ExtVertexShader datatype, OpenTK.Graphics.OpenGL.ExtVertexShader storagetype, OpenTK.Graphics.OpenGL.ExtVertexShader range, UInt32 components) + { + Delegates.glGenSymbolsEXT = (Delegates.GenSymbolsEXT)GetExtensionDelegateStatic("glGenSymbolsEXT", typeof(Delegates.GenSymbolsEXT)); + return Delegates.glGenSymbolsEXT((OpenTK.Graphics.OpenGL.ExtVertexShader)datatype, (OpenTK.Graphics.OpenGL.ExtVertexShader)storagetype, (OpenTK.Graphics.OpenGL.ExtVertexShader)range, (UInt32)components); + } + internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_GenTexturesEXT(Int32 n, [OutAttribute] UInt32* textures) + { + Delegates.glGenTexturesEXT = (Delegates.GenTexturesEXT)GetExtensionDelegateStatic("glGenTexturesEXT", typeof(Delegates.GenTexturesEXT)); + Delegates.glGenTexturesEXT((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenTransformFeedbacks = (Delegates.GenTransformFeedbacks)GetExtensionDelegateStatic("glGenTransformFeedbacks", typeof(Delegates.GenTransformFeedbacks)); + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenTransformFeedbacksNV(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenTransformFeedbacksNV = (Delegates.GenTransformFeedbacksNV)GetExtensionDelegateStatic("glGenTransformFeedbacksNV", typeof(Delegates.GenTransformFeedbacksNV)); + Delegates.glGenTransformFeedbacksNV((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) + { + Delegates.glGenVertexArrays = (Delegates.GenVertexArrays)GetExtensionDelegateStatic("glGenVertexArrays", typeof(Delegates.GenVertexArrays)); + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_GenVertexArraysAPPLE(Int32 n, [OutAttribute] UInt32* arrays) + { + Delegates.glGenVertexArraysAPPLE = (Delegates.GenVertexArraysAPPLE)GetExtensionDelegateStatic("glGenVertexArraysAPPLE", typeof(Delegates.GenVertexArraysAPPLE)); + Delegates.glGenVertexArraysAPPLE((Int32)n, (UInt32*)arrays); + } + internal static Int32 Load_GenVertexShadersEXT(UInt32 range) + { + Delegates.glGenVertexShadersEXT = (Delegates.GenVertexShadersEXT)GetExtensionDelegateStatic("glGenVertexShadersEXT", typeof(Delegates.GenVertexShadersEXT)); + return Delegates.glGenVertexShadersEXT((UInt32)range); + } + internal static unsafe void Load_GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveAtomicCounterBufferiv = (Delegates.GetActiveAtomicCounterBufferiv)GetExtensionDelegateStatic("glGetActiveAtomicCounterBufferiv", typeof(Delegates.GetActiveAtomicCounterBufferiv)); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL.AtomicCounterBufferParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveAttribType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveAttribARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbVertexShader* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveAttribARB = (Delegates.GetActiveAttribARB)GetExtensionDelegateStatic("glGetActiveAttribARB", typeof(Delegates.GetActiveAttribARB)); + Delegates.glGetActiveAttribARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbVertexShader*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveSubroutineName = (Delegates.GetActiveSubroutineName)GetExtensionDelegateStatic("glGetActiveSubroutineName", typeof(Delegates.GetActiveSubroutineName)); + Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) + { + Delegates.glGetActiveSubroutineUniformiv = (Delegates.GetActiveSubroutineUniformiv)GetExtensionDelegateStatic("glGetActiveSubroutineUniformiv", typeof(Delegates.GetActiveSubroutineUniformiv)); + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL.ActiveSubroutineUniformParameter)pname, (Int32*)values); + } + internal static unsafe void Load_GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveSubroutineUniformName = (Delegates.GetActiveSubroutineUniformName)GetExtensionDelegateStatic("glGetActiveSubroutineUniformName", typeof(Delegates.GetActiveSubroutineUniformName)); + Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ActiveUniformType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniformARB(UInt32 programObj, UInt32 index, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ArbShaderObjects* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveUniformARB = (Delegates.GetActiveUniformARB)GetExtensionDelegateStatic("glGetActiveUniformARB", typeof(Delegates.GetActiveUniformARB)); + Delegates.glGetActiveUniformARB((UInt32)programObj, (UInt32)index, (Int32)maxLength, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ArbShaderObjects*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveUniformBlockiv = (Delegates.GetActiveUniformBlockiv)GetExtensionDelegateStatic("glGetActiveUniformBlockiv", typeof(Delegates.GetActiveUniformBlockiv)); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL.ActiveUniformBlockParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) + { + Delegates.glGetActiveUniformBlockName = (Delegates.GetActiveUniformBlockName)GetExtensionDelegateStatic("glGetActiveUniformBlockName", typeof(Delegates.GetActiveUniformBlockName)); + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); + } + internal static unsafe void Load_GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) + { + Delegates.glGetActiveUniformName = (Delegates.GetActiveUniformName)GetExtensionDelegateStatic("glGetActiveUniformName", typeof(Delegates.GetActiveUniformName)); + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); + } + internal static unsafe void Load_GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL.ActiveUniformParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveUniformsiv = (Delegates.GetActiveUniformsiv)GetExtensionDelegateStatic("glGetActiveUniformsiv", typeof(Delegates.GetActiveUniformsiv)); + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL.ActiveUniformParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetActiveVaryingNV(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.NvTransformFeedback* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveVaryingNV = (Delegates.GetActiveVaryingNV)GetExtensionDelegateStatic("glGetActiveVaryingNV", typeof(Delegates.GetActiveVaryingNV)); + Delegates.glGetActiveVaryingNV((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.NvTransformFeedback*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetArrayObjectfvATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + Delegates.glGetArrayObjectfvATI = (Delegates.GetArrayObjectfvATI)GetExtensionDelegateStatic("glGetArrayObjectfvATI", typeof(Delegates.GetArrayObjectfvATI)); + Delegates.glGetArrayObjectfvATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + } + internal static unsafe void Load_GetArrayObjectivATI(OpenTK.Graphics.OpenGL.EnableCap array, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + Delegates.glGetArrayObjectivATI = (Delegates.GetArrayObjectivATI)GetExtensionDelegateStatic("glGetArrayObjectivATI", typeof(Delegates.GetArrayObjectivATI)); + Delegates.glGetArrayObjectivATI((OpenTK.Graphics.OpenGL.EnableCap)array, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + } + internal static unsafe void Load_GetAttachedObjectsARB(UInt32 containerObj, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* obj) + { + Delegates.glGetAttachedObjectsARB = (Delegates.GetAttachedObjectsARB)GetExtensionDelegateStatic("glGetAttachedObjectsARB", typeof(Delegates.GetAttachedObjectsARB)); + Delegates.glGetAttachedObjectsARB((UInt32)containerObj, (Int32)maxCount, (Int32*)count, (UInt32*)obj); + } + internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) + { + Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); + } + internal static Int32 Load_GetAttribLocation(UInt32 program, String name) + { + Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + } + internal static Int32 Load_GetAttribLocationARB(UInt32 programObj, String name) + { + Delegates.glGetAttribLocationARB = (Delegates.GetAttribLocationARB)GetExtensionDelegateStatic("glGetAttribLocationARB", typeof(Delegates.GetAttribLocationARB)); + return Delegates.glGetAttribLocationARB((UInt32)programObj, (String)name); + } + internal static unsafe void Load_GetBooleani_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) + { + Delegates.glGetBooleani_v = (Delegates.GetBooleani_v)GetExtensionDelegateStatic("glGetBooleani_v", typeof(Delegates.GetBooleani_v)); + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (bool*)data); + } + internal static unsafe void Load_GetBooleanIndexedvEXT(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] bool* data) + { + Delegates.glGetBooleanIndexedvEXT = (Delegates.GetBooleanIndexedvEXT)GetExtensionDelegateStatic("glGetBooleanIndexedvEXT", typeof(Delegates.GetBooleanIndexedvEXT)); + Delegates.glGetBooleanIndexedvEXT((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (bool*)data); + } + internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] bool* data) + { + Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); + Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL.GetPName)pname, (bool*)data); + } + internal static unsafe void Load_GetBufferParameteri64v(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int64* @params) + { + Delegates.glGetBufferParameteri64v = (Delegates.GetBufferParameteri64v)GetExtensionDelegateStatic("glGetBufferParameteri64v", typeof(Delegates.GetBufferParameteri64v)); + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int64*)@params); + } + internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); + Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetBufferParameterivARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferParameterNameArb pname, [OutAttribute] Int32* @params) + { + Delegates.glGetBufferParameterivARB = (Delegates.GetBufferParameterivARB)GetExtensionDelegateStatic("glGetBufferParameterivARB", typeof(Delegates.GetBufferParameterivARB)); + Delegates.glGetBufferParameterivARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferParameterNameArb)pname, (Int32*)@params); + } + internal static unsafe void Load_GetBufferParameterui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetBufferParameterui64vNV = (Delegates.GetBufferParameterui64vNV)GetExtensionDelegateStatic("glGetBufferParameterui64vNV", typeof(Delegates.GetBufferParameterui64vNV)); + Delegates.glGetBufferParameterui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); + } + internal static void Load_GetBufferPointerv(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferPointer pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetBufferPointerv = (Delegates.GetBufferPointerv)GetExtensionDelegateStatic("glGetBufferPointerv", typeof(Delegates.GetBufferPointerv)); + Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferPointer)pname, (IntPtr)@params); + } + internal static void Load_GetBufferPointervARB(OpenTK.Graphics.OpenGL.ArbVertexBufferObject target, OpenTK.Graphics.OpenGL.BufferPointerNameArb pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetBufferPointervARB = (Delegates.GetBufferPointervARB)GetExtensionDelegateStatic("glGetBufferPointervARB", typeof(Delegates.GetBufferPointervARB)); + Delegates.glGetBufferPointervARB((OpenTK.Graphics.OpenGL.ArbVertexBufferObject)target, (OpenTK.Graphics.OpenGL.BufferPointerNameArb)pname, (IntPtr)@params); + } + internal static void Load_GetBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + Delegates.glGetBufferSubData = (Delegates.GetBufferSubData)GetExtensionDelegateStatic("glGetBufferSubData", typeof(Delegates.GetBufferSubData)); + Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static void Load_GetBufferSubDataARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + Delegates.glGetBufferSubDataARB = (Delegates.GetBufferSubDataARB)GetExtensionDelegateStatic("glGetBufferSubDataARB", typeof(Delegates.GetBufferSubDataARB)); + Delegates.glGetBufferSubDataARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static unsafe void Load_GetClipPlane(OpenTK.Graphics.OpenGL.ClipPlaneName plane, [OutAttribute] Double* equation) + { + Delegates.glGetClipPlane = (Delegates.GetClipPlane)GetExtensionDelegateStatic("glGetClipPlane", typeof(Delegates.GetClipPlane)); + Delegates.glGetClipPlane((OpenTK.Graphics.OpenGL.ClipPlaneName)plane, (Double*)equation); + } + internal static unsafe void Load_GetClipPlanefOES(OpenTK.Graphics.OpenGL.OesSinglePrecision plane, [OutAttribute] Single* equation) + { + Delegates.glGetClipPlanefOES = (Delegates.GetClipPlanefOES)GetExtensionDelegateStatic("glGetClipPlanefOES", typeof(Delegates.GetClipPlanefOES)); + Delegates.glGetClipPlanefOES((OpenTK.Graphics.OpenGL.OesSinglePrecision)plane, (Single*)equation); + } + internal static unsafe void Load_GetClipPlanexOES(OpenTK.Graphics.OpenGL.OesFixedPoint plane, [OutAttribute] int* equation) + { + Delegates.glGetClipPlanexOES = (Delegates.GetClipPlanexOES)GetExtensionDelegateStatic("glGetClipPlanexOES", typeof(Delegates.GetClipPlanexOES)); + Delegates.glGetClipPlanexOES((OpenTK.Graphics.OpenGL.OesFixedPoint)plane, (int*)equation); + } + internal static void Load_GetColorTable(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) + { + Delegates.glGetColorTable = (Delegates.GetColorTable)GetExtensionDelegateStatic("glGetColorTable", typeof(Delegates.GetColorTable)); + Delegates.glGetColorTable((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + } + internal static void Load_GetColorTableEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr data) + { + Delegates.glGetColorTableEXT = (Delegates.GetColorTableEXT)GetExtensionDelegateStatic("glGetColorTableEXT", typeof(Delegates.GetColorTableEXT)); + Delegates.glGetColorTableEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)data); + } + internal static unsafe void Load_GetColorTableParameterfv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetColorTableParameterfv = (Delegates.GetColorTableParameterfv)GetExtensionDelegateStatic("glGetColorTableParameterfv", typeof(Delegates.GetColorTableParameterfv)); + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetColorTableParameterfvEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetColorTableParameterfvEXT = (Delegates.GetColorTableParameterfvEXT)GetExtensionDelegateStatic("glGetColorTableParameterfvEXT", typeof(Delegates.GetColorTableParameterfvEXT)); + Delegates.glGetColorTableParameterfvEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetColorTableParameterfvSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Single* @params) + { + Delegates.glGetColorTableParameterfvSGI = (Delegates.GetColorTableParameterfvSGI)GetExtensionDelegateStatic("glGetColorTableParameterfvSGI", typeof(Delegates.GetColorTableParameterfvSGI)); + Delegates.glGetColorTableParameterfvSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Single*)@params); + } + internal static unsafe void Load_GetColorTableParameteriv(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetColorTableParameteriv = (Delegates.GetColorTableParameteriv)GetExtensionDelegateStatic("glGetColorTableParameteriv", typeof(Delegates.GetColorTableParameteriv)); + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetColorTableParameterivEXT(OpenTK.Graphics.OpenGL.ColorTableTarget target, OpenTK.Graphics.OpenGL.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetColorTableParameterivEXT = (Delegates.GetColorTableParameterivEXT)GetExtensionDelegateStatic("glGetColorTableParameterivEXT", typeof(Delegates.GetColorTableParameterivEXT)); + Delegates.glGetColorTableParameterivEXT((OpenTK.Graphics.OpenGL.ColorTableTarget)target, (OpenTK.Graphics.OpenGL.GetColorTableParameterPName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetColorTableParameterivSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.SgiColorTable pname, [OutAttribute] Int32* @params) + { + Delegates.glGetColorTableParameterivSGI = (Delegates.GetColorTableParameterivSGI)GetExtensionDelegateStatic("glGetColorTableParameterivSGI", typeof(Delegates.GetColorTableParameterivSGI)); + Delegates.glGetColorTableParameterivSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.SgiColorTable)pname, (Int32*)@params); + } + internal static void Load_GetColorTableSGI(OpenTK.Graphics.OpenGL.SgiColorTable target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr table) + { + Delegates.glGetColorTableSGI = (Delegates.GetColorTableSGI)GetExtensionDelegateStatic("glGetColorTableSGI", typeof(Delegates.GetColorTableSGI)); + Delegates.glGetColorTableSGI((OpenTK.Graphics.OpenGL.SgiColorTable)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)table); + } + internal static unsafe void Load_GetCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) + { + Delegates.glGetCombinerInputParameterfvNV = (Delegates.GetCombinerInputParameterfvNV)GetExtensionDelegateStatic("glGetCombinerInputParameterfvNV", typeof(Delegates.GetCombinerInputParameterfvNV)); + Delegates.glGetCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + } + internal static unsafe void Load_GetCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) + { + Delegates.glGetCombinerInputParameterivNV = (Delegates.GetCombinerInputParameterivNV)GetExtensionDelegateStatic("glGetCombinerInputParameterivNV", typeof(Delegates.GetCombinerInputParameterivNV)); + Delegates.glGetCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + } + internal static unsafe void Load_GetCombinerOutputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) + { + Delegates.glGetCombinerOutputParameterfvNV = (Delegates.GetCombinerOutputParameterfvNV)GetExtensionDelegateStatic("glGetCombinerOutputParameterfvNV", typeof(Delegates.GetCombinerOutputParameterfvNV)); + Delegates.glGetCombinerOutputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + } + internal static unsafe void Load_GetCombinerOutputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners portion, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) + { + Delegates.glGetCombinerOutputParameterivNV = (Delegates.GetCombinerOutputParameterivNV)GetExtensionDelegateStatic("glGetCombinerOutputParameterivNV", typeof(Delegates.GetCombinerOutputParameterivNV)); + Delegates.glGetCombinerOutputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)portion, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + } + internal static unsafe void Load_GetCombinerStageParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners2 stage, OpenTK.Graphics.OpenGL.NvRegisterCombiners2 pname, [OutAttribute] Single* @params) + { + Delegates.glGetCombinerStageParameterfvNV = (Delegates.GetCombinerStageParameterfvNV)GetExtensionDelegateStatic("glGetCombinerStageParameterfvNV", typeof(Delegates.GetCombinerStageParameterfvNV)); + Delegates.glGetCombinerStageParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners2)stage, (OpenTK.Graphics.OpenGL.NvRegisterCombiners2)pname, (Single*)@params); + } + internal static void Load_GetCompressedMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) + { + Delegates.glGetCompressedMultiTexImageEXT = (Delegates.GetCompressedMultiTexImageEXT)GetExtensionDelegateStatic("glGetCompressedMultiTexImageEXT", typeof(Delegates.GetCompressedMultiTexImageEXT)); + Delegates.glGetCompressedMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); + } + internal static void Load_GetCompressedTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) + { + Delegates.glGetCompressedTexImage = (Delegates.GetCompressedTexImage)GetExtensionDelegateStatic("glGetCompressedTexImage", typeof(Delegates.GetCompressedTexImage)); + Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); + } + internal static void Load_GetCompressedTexImageARB(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) + { + Delegates.glGetCompressedTexImageARB = (Delegates.GetCompressedTexImageARB)GetExtensionDelegateStatic("glGetCompressedTexImageARB", typeof(Delegates.GetCompressedTexImageARB)); + Delegates.glGetCompressedTexImageARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (IntPtr)img); + } + internal static void Load_GetCompressedTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 lod, [OutAttribute] IntPtr img) + { + Delegates.glGetCompressedTextureImageEXT = (Delegates.GetCompressedTextureImageEXT)GetExtensionDelegateStatic("glGetCompressedTextureImageEXT", typeof(Delegates.GetCompressedTextureImageEXT)); + Delegates.glGetCompressedTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)lod, (IntPtr)img); + } + internal static void Load_GetConvolutionFilter(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) + { + Delegates.glGetConvolutionFilter = (Delegates.GetConvolutionFilter)GetExtensionDelegateStatic("glGetConvolutionFilter", typeof(Delegates.GetConvolutionFilter)); + Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + } + internal static void Load_GetConvolutionFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr image) + { + Delegates.glGetConvolutionFilterEXT = (Delegates.GetConvolutionFilterEXT)GetExtensionDelegateStatic("glGetConvolutionFilterEXT", typeof(Delegates.GetConvolutionFilterEXT)); + Delegates.glGetConvolutionFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)image); + } + internal static unsafe void Load_GetConvolutionParameterfv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetConvolutionParameterfv = (Delegates.GetConvolutionParameterfv)GetExtensionDelegateStatic("glGetConvolutionParameterfv", typeof(Delegates.GetConvolutionParameterfv)); + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetConvolutionParameterfvEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Single* @params) + { + Delegates.glGetConvolutionParameterfvEXT = (Delegates.GetConvolutionParameterfvEXT)GetExtensionDelegateStatic("glGetConvolutionParameterfvEXT", typeof(Delegates.GetConvolutionParameterfvEXT)); + Delegates.glGetConvolutionParameterfvEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Single*)@params); + } + internal static unsafe void Load_GetConvolutionParameteriv(OpenTK.Graphics.OpenGL.ConvolutionTarget target, OpenTK.Graphics.OpenGL.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetConvolutionParameteriv = (Delegates.GetConvolutionParameteriv)GetExtensionDelegateStatic("glGetConvolutionParameteriv", typeof(Delegates.GetConvolutionParameteriv)); + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL.GetConvolutionParameterPName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetConvolutionParameterivEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.ExtConvolution pname, [OutAttribute] Int32* @params) + { + Delegates.glGetConvolutionParameterivEXT = (Delegates.GetConvolutionParameterivEXT)GetExtensionDelegateStatic("glGetConvolutionParameterivEXT", typeof(Delegates.GetConvolutionParameterivEXT)); + Delegates.glGetConvolutionParameterivEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.ExtConvolution)pname, (Int32*)@params); + } + internal static unsafe void Load_GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetConvolutionParameterxvOES = (Delegates.GetConvolutionParameterxvOES)GetExtensionDelegateStatic("glGetConvolutionParameterxvOES", typeof(Delegates.GetConvolutionParameterxvOES)); + Delegates.glGetConvolutionParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); + return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe Int32 Load_GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message) + { + Delegates.glGetDebugMessageLogAMD = (Delegates.GetDebugMessageLogAMD)GetExtensionDelegateStatic("glGetDebugMessageLogAMD", typeof(Delegates.GetDebugMessageLogAMD)); + return Delegates.glGetDebugMessageLogAMD((UInt32)count, (Int32)bufsize, (OpenTK.Graphics.OpenGL.AmdDebugOutput*)categories, (UInt32*)severities, (UInt32*)ids, (Int32*)lengths, (StringBuilder)message); + } + internal static unsafe Int32 Load_GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* sources, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.ArbDebugOutput* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLogARB = (Delegates.GetDebugMessageLogARB)GetExtensionDelegateStatic("glGetDebugMessageLogARB", typeof(Delegates.GetDebugMessageLogARB)); + return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)sources, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.ArbDebugOutput*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* sources, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.KhrDebug* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); + return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.KhrDebug*)sources, (OpenTK.Graphics.OpenGL.KhrDebug*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.KhrDebug*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe void Load_GetDetailTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) + { + Delegates.glGetDetailTexFuncSGIS = (Delegates.GetDetailTexFuncSGIS)GetExtensionDelegateStatic("glGetDetailTexFuncSGIS", typeof(Delegates.GetDetailTexFuncSGIS)); + Delegates.glGetDetailTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); + } + internal static unsafe void Load_GetDoublei_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) + { + Delegates.glGetDoublei_v = (Delegates.GetDoublei_v)GetExtensionDelegateStatic("glGetDoublei_v", typeof(Delegates.GetDoublei_v)); + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Double*)data); + } + internal static unsafe void Load_GetDoublei_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Double* @params) + { + Delegates.glGetDoublei_vEXT = (Delegates.GetDoublei_vEXT)GetExtensionDelegateStatic("glGetDoublei_vEXT", typeof(Delegates.GetDoublei_vEXT)); + Delegates.glGetDoublei_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Double*)@params); + } + internal static unsafe void Load_GetDoubleIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* data) + { + Delegates.glGetDoubleIndexedvEXT = (Delegates.GetDoubleIndexedvEXT)GetExtensionDelegateStatic("glGetDoubleIndexedvEXT", typeof(Delegates.GetDoubleIndexedvEXT)); + Delegates.glGetDoubleIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)data); + } + internal static unsafe void Load_GetDoublev(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Double* data) + { + Delegates.glGetDoublev = (Delegates.GetDoublev)GetExtensionDelegateStatic("glGetDoublev", typeof(Delegates.GetDoublev)); + Delegates.glGetDoublev((OpenTK.Graphics.OpenGL.GetPName)pname, (Double*)data); + } + internal static OpenTK.Graphics.OpenGL.ErrorCode Load_GetError() + { + Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); + return Delegates.glGetError(); + } + internal static unsafe void Load_GetFenceivNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFenceivNV = (Delegates.GetFenceivNV)GetExtensionDelegateStatic("glGetFenceivNV", typeof(Delegates.GetFenceivNV)); + Delegates.glGetFenceivNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFinalCombinerInputParameterfvNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Single* @params) + { + Delegates.glGetFinalCombinerInputParameterfvNV = (Delegates.GetFinalCombinerInputParameterfvNV)GetExtensionDelegateStatic("glGetFinalCombinerInputParameterfvNV", typeof(Delegates.GetFinalCombinerInputParameterfvNV)); + Delegates.glGetFinalCombinerInputParameterfvNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Single*)@params); + } + internal static unsafe void Load_GetFinalCombinerInputParameterivNV(OpenTK.Graphics.OpenGL.NvRegisterCombiners variable, OpenTK.Graphics.OpenGL.NvRegisterCombiners pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFinalCombinerInputParameterivNV = (Delegates.GetFinalCombinerInputParameterivNV)GetExtensionDelegateStatic("glGetFinalCombinerInputParameterivNV", typeof(Delegates.GetFinalCombinerInputParameterivNV)); + Delegates.glGetFinalCombinerInputParameterivNV((OpenTK.Graphics.OpenGL.NvRegisterCombiners)variable, (OpenTK.Graphics.OpenGL.NvRegisterCombiners)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFixedvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetFixedvOES = (Delegates.GetFixedvOES)GetExtensionDelegateStatic("glGetFixedvOES", typeof(Delegates.GetFixedvOES)); + Delegates.glGetFixedvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static unsafe void Load_GetFloati_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) + { + Delegates.glGetFloati_v = (Delegates.GetFloati_v)GetExtensionDelegateStatic("glGetFloati_v", typeof(Delegates.GetFloati_v)); + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Single*)data); + } + internal static unsafe void Load_GetFloati_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] Single* @params) + { + Delegates.glGetFloati_vEXT = (Delegates.GetFloati_vEXT)GetExtensionDelegateStatic("glGetFloati_vEXT", typeof(Delegates.GetFloati_vEXT)); + Delegates.glGetFloati_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (Single*)@params); + } + internal static unsafe void Load_GetFloatIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* data) + { + Delegates.glGetFloatIndexedvEXT = (Delegates.GetFloatIndexedvEXT)GetExtensionDelegateStatic("glGetFloatIndexedvEXT", typeof(Delegates.GetFloatIndexedvEXT)); + Delegates.glGetFloatIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)data); + } + internal static unsafe void Load_GetFloatv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Single* data) + { + Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); + Delegates.glGetFloatv((OpenTK.Graphics.OpenGL.GetPName)pname, (Single*)data); + } + internal static unsafe void Load_GetFogFuncSGIS([OutAttribute] Single* points) + { + Delegates.glGetFogFuncSGIS = (Delegates.GetFogFuncSGIS)GetExtensionDelegateStatic("glGetFogFuncSGIS", typeof(Delegates.GetFogFuncSGIS)); + Delegates.glGetFogFuncSGIS((Single*)points); + } + internal static Int32 Load_GetFragDataIndex(UInt32 program, String name) + { + Delegates.glGetFragDataIndex = (Delegates.GetFragDataIndex)GetExtensionDelegateStatic("glGetFragDataIndex", typeof(Delegates.GetFragDataIndex)); + return Delegates.glGetFragDataIndex((UInt32)program, (String)name); + } + internal static Int32 Load_GetFragDataLocation(UInt32 program, String name) + { + Delegates.glGetFragDataLocation = (Delegates.GetFragDataLocation)GetExtensionDelegateStatic("glGetFragDataLocation", typeof(Delegates.GetFragDataLocation)); + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); + } + internal static Int32 Load_GetFragDataLocationEXT(UInt32 program, String name) + { + Delegates.glGetFragDataLocationEXT = (Delegates.GetFragDataLocationEXT)GetExtensionDelegateStatic("glGetFragDataLocationEXT", typeof(Delegates.GetFragDataLocationEXT)); + return Delegates.glGetFragDataLocationEXT((UInt32)program, (String)name); + } + internal static unsafe void Load_GetFragmentLightfvSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Single* @params) + { + Delegates.glGetFragmentLightfvSGIX = (Delegates.GetFragmentLightfvSGIX)GetExtensionDelegateStatic("glGetFragmentLightfvSGIX", typeof(Delegates.GetFragmentLightfvSGIX)); + Delegates.glGetFragmentLightfvSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Single*)@params); + } + internal static unsafe void Load_GetFragmentLightivSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting light, OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFragmentLightivSGIX = (Delegates.GetFragmentLightivSGIX)GetExtensionDelegateStatic("glGetFragmentLightivSGIX", typeof(Delegates.GetFragmentLightivSGIX)); + Delegates.glGetFragmentLightivSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)light, (OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFragmentMaterialfvSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetFragmentMaterialfvSGIX = (Delegates.GetFragmentMaterialfvSGIX)GetExtensionDelegateStatic("glGetFragmentMaterialfvSGIX", typeof(Delegates.GetFragmentMaterialfvSGIX)); + Delegates.glGetFragmentMaterialfvSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetFragmentMaterialivSGIX(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFragmentMaterialivSGIX = (Delegates.GetFragmentMaterialivSGIX)GetExtensionDelegateStatic("glGetFragmentMaterialivSGIX", typeof(Delegates.GetFragmentMaterialivSGIX)); + Delegates.glGetFragmentMaterialivSGIX((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFramebufferAttachmentParameterivEXT(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferAttachmentParameterivEXT = (Delegates.GetFramebufferAttachmentParameterivEXT)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameterivEXT", typeof(Delegates.GetFramebufferAttachmentParameterivEXT)); + Delegates.glGetFramebufferAttachmentParameterivEXT((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFramebufferParameteriv(OpenTK.Graphics.OpenGL.FramebufferTarget target, OpenTK.Graphics.OpenGL.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferParameteriv = (Delegates.GetFramebufferParameteriv)GetExtensionDelegateStatic("glGetFramebufferParameteriv", typeof(Delegates.GetFramebufferParameteriv)); + Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (OpenTK.Graphics.OpenGL.FramebufferDefaultParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferParameterivEXT = (Delegates.GetFramebufferParameterivEXT)GetExtensionDelegateStatic("glGetFramebufferParameterivEXT", typeof(Delegates.GetFramebufferParameterivEXT)); + Delegates.glGetFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + } + internal static OpenTK.Graphics.OpenGL.ArbRobustness Load_GetGraphicsResetStatusARB() + { + Delegates.glGetGraphicsResetStatusARB = (Delegates.GetGraphicsResetStatusARB)GetExtensionDelegateStatic("glGetGraphicsResetStatusARB", typeof(Delegates.GetGraphicsResetStatusARB)); + return Delegates.glGetGraphicsResetStatusARB(); + } + internal static Int32 Load_GetHandleARB(OpenTK.Graphics.OpenGL.ArbShaderObjects pname) + { + Delegates.glGetHandleARB = (Delegates.GetHandleARB)GetExtensionDelegateStatic("glGetHandleARB", typeof(Delegates.GetHandleARB)); + return Delegates.glGetHandleARB((OpenTK.Graphics.OpenGL.ArbShaderObjects)pname); + } + internal static void Load_GetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + Delegates.glGetHistogram = (Delegates.GetHistogram)GetExtensionDelegateStatic("glGetHistogram", typeof(Delegates.GetHistogram)); + Delegates.glGetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + } + internal static void Load_GetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + Delegates.glGetHistogramEXT = (Delegates.GetHistogramEXT)GetExtensionDelegateStatic("glGetHistogramEXT", typeof(Delegates.GetHistogramEXT)); + Delegates.glGetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + } + internal static unsafe void Load_GetHistogramParameterfv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetHistogramParameterfv = (Delegates.GetHistogramParameterfv)GetExtensionDelegateStatic("glGetHistogramParameterfv", typeof(Delegates.GetHistogramParameterfv)); + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetHistogramParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + { + Delegates.glGetHistogramParameterfvEXT = (Delegates.GetHistogramParameterfvEXT)GetExtensionDelegateStatic("glGetHistogramParameterfvEXT", typeof(Delegates.GetHistogramParameterfvEXT)); + Delegates.glGetHistogramParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); + } + internal static unsafe void Load_GetHistogramParameteriv(OpenTK.Graphics.OpenGL.HistogramTarget target, OpenTK.Graphics.OpenGL.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetHistogramParameteriv = (Delegates.GetHistogramParameteriv)GetExtensionDelegateStatic("glGetHistogramParameteriv", typeof(Delegates.GetHistogramParameteriv)); + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL.HistogramTarget)target, (OpenTK.Graphics.OpenGL.GetHistogramParameterPName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetHistogramParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + { + Delegates.glGetHistogramParameterivEXT = (Delegates.GetHistogramParameterivEXT)GetExtensionDelegateStatic("glGetHistogramParameterivEXT", typeof(Delegates.GetHistogramParameterivEXT)); + Delegates.glGetHistogramParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); + } + internal static unsafe void Load_GetHistogramParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetHistogramParameterxvOES = (Delegates.GetHistogramParameterxvOES)GetExtensionDelegateStatic("glGetHistogramParameterxvOES", typeof(Delegates.GetHistogramParameterxvOES)); + Delegates.glGetHistogramParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static Int64 Load_GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.ArbBindlessTexture format) + { + Delegates.glGetImageHandleARB = (Delegates.GetImageHandleARB)GetExtensionDelegateStatic("glGetImageHandleARB", typeof(Delegates.GetImageHandleARB)); + return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)format); + } + internal static Int64 Load_GetImageHandleNV(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL.NvBindlessTexture format) + { + Delegates.glGetImageHandleNV = (Delegates.GetImageHandleNV)GetExtensionDelegateStatic("glGetImageHandleNV", typeof(Delegates.GetImageHandleNV)); + return Delegates.glGetImageHandleNV((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL.NvBindlessTexture)format); + } + internal static unsafe void Load_GetImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Single* @params) + { + Delegates.glGetImageTransformParameterfvHP = (Delegates.GetImageTransformParameterfvHP)GetExtensionDelegateStatic("glGetImageTransformParameterfvHP", typeof(Delegates.GetImageTransformParameterfvHP)); + Delegates.glGetImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); + } + internal static unsafe void Load_GetImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, [OutAttribute] Int32* @params) + { + Delegates.glGetImageTransformParameterivHP = (Delegates.GetImageTransformParameterivHP)GetExtensionDelegateStatic("glGetImageTransformParameterivHP", typeof(Delegates.GetImageTransformParameterivHP)); + Delegates.glGetImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); + } + internal static unsafe void Load_GetInfoLogARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetInfoLogARB = (Delegates.GetInfoLogARB)GetExtensionDelegateStatic("glGetInfoLogARB", typeof(Delegates.GetInfoLogARB)); + Delegates.glGetInfoLogARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)infoLog); + } + internal static Int32 Load_GetInstrumentsSGIX() + { + Delegates.glGetInstrumentsSGIX = (Delegates.GetInstrumentsSGIX)GetExtensionDelegateStatic("glGetInstrumentsSGIX", typeof(Delegates.GetInstrumentsSGIX)); + return Delegates.glGetInstrumentsSGIX(); + } + internal static unsafe void Load_GetInteger64i_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) + { + Delegates.glGetInteger64i_v = (Delegates.GetInteger64i_v)GetExtensionDelegateStatic("glGetInteger64i_v", typeof(Delegates.GetInteger64i_v)); + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int64*)data); + } + internal static unsafe void Load_GetInteger64v(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int64* data) + { + Delegates.glGetInteger64v = (Delegates.GetInteger64v)GetExtensionDelegateStatic("glGetInteger64v", typeof(Delegates.GetInteger64v)); + Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL.GetPName)pname, (Int64*)data); + } + internal static unsafe void Load_GetIntegeri_v(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + Delegates.glGetIntegeri_v = (Delegates.GetIntegeri_v)GetExtensionDelegateStatic("glGetIntegeri_v", typeof(Delegates.GetIntegeri_v)); + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + } + internal static unsafe void Load_GetIntegerIndexedvEXT(OpenTK.Graphics.OpenGL.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + Delegates.glGetIntegerIndexedvEXT = (Delegates.GetIntegerIndexedvEXT)GetExtensionDelegateStatic("glGetIntegerIndexedvEXT", typeof(Delegates.GetIntegerIndexedvEXT)); + Delegates.glGetIntegerIndexedvEXT((OpenTK.Graphics.OpenGL.GetIndexedPName)target, (UInt32)index, (Int32*)data); + } + internal static unsafe void Load_GetIntegerui64i_vNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory value, UInt32 index, [OutAttribute] UInt64* result) + { + Delegates.glGetIntegerui64i_vNV = (Delegates.GetIntegerui64i_vNV)GetExtensionDelegateStatic("glGetIntegerui64i_vNV", typeof(Delegates.GetIntegerui64i_vNV)); + Delegates.glGetIntegerui64i_vNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)value, (UInt32)index, (UInt64*)result); + } + internal static unsafe void Load_GetIntegerui64vNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad value, [OutAttribute] UInt64* result) + { + Delegates.glGetIntegerui64vNV = (Delegates.GetIntegerui64vNV)GetExtensionDelegateStatic("glGetIntegerui64vNV", typeof(Delegates.GetIntegerui64vNV)); + Delegates.glGetIntegerui64vNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)value, (UInt64*)result); + } + internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.OpenGL.GetPName pname, [OutAttribute] Int32* data) + { + Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); + Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL.GetPName)pname, (Int32*)data); + } + internal static unsafe void Load_GetInternalformati64v(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) + { + Delegates.glGetInternalformati64v = (Delegates.GetInternalformati64v)GetExtensionDelegateStatic("glGetInternalformati64v", typeof(Delegates.GetInternalformati64v)); + Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params); + } + internal static unsafe void Load_GetInternalformativ(OpenTK.Graphics.OpenGL.ImageTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetInternalformativ = (Delegates.GetInternalformativ)GetExtensionDelegateStatic("glGetInternalformativ", typeof(Delegates.GetInternalformativ)); + Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL.ImageTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); + } + internal static unsafe void Load_GetInvariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + Delegates.glGetInvariantBooleanvEXT = (Delegates.GetInvariantBooleanvEXT)GetExtensionDelegateStatic("glGetInvariantBooleanvEXT", typeof(Delegates.GetInvariantBooleanvEXT)); + Delegates.glGetInvariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + } + internal static unsafe void Load_GetInvariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + Delegates.glGetInvariantFloatvEXT = (Delegates.GetInvariantFloatvEXT)GetExtensionDelegateStatic("glGetInvariantFloatvEXT", typeof(Delegates.GetInvariantFloatvEXT)); + Delegates.glGetInvariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + } + internal static unsafe void Load_GetInvariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + Delegates.glGetInvariantIntegervEXT = (Delegates.GetInvariantIntegervEXT)GetExtensionDelegateStatic("glGetInvariantIntegervEXT", typeof(Delegates.GetInvariantIntegervEXT)); + Delegates.glGetInvariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + } + internal static unsafe void Load_GetLightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetLightfv = (Delegates.GetLightfv)GetExtensionDelegateStatic("glGetLightfv", typeof(Delegates.GetLightfv)); + Delegates.glGetLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetLightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetLightiv = (Delegates.GetLightiv)GetExtensionDelegateStatic("glGetLightiv", typeof(Delegates.GetLightiv)); + Delegates.glGetLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetLightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetLightxOES = (Delegates.GetLightxOES)GetExtensionDelegateStatic("glGetLightxOES", typeof(Delegates.GetLightxOES)); + Delegates.glGetLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static unsafe void Load_GetLightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetLightxvOES = (Delegates.GetLightxvOES)GetExtensionDelegateStatic("glGetLightxvOES", typeof(Delegates.GetLightxvOES)); + Delegates.glGetLightxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static unsafe void Load_GetListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Single* @params) + { + Delegates.glGetListParameterfvSGIX = (Delegates.GetListParameterfvSGIX)GetExtensionDelegateStatic("glGetListParameterfvSGIX", typeof(Delegates.GetListParameterfvSGIX)); + Delegates.glGetListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); + } + internal static unsafe void Load_GetListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetListParameterivSGIX = (Delegates.GetListParameterivSGIX)GetExtensionDelegateStatic("glGetListParameterivSGIX", typeof(Delegates.GetListParameterivSGIX)); + Delegates.glGetListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetLocalConstantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + Delegates.glGetLocalConstantBooleanvEXT = (Delegates.GetLocalConstantBooleanvEXT)GetExtensionDelegateStatic("glGetLocalConstantBooleanvEXT", typeof(Delegates.GetLocalConstantBooleanvEXT)); + Delegates.glGetLocalConstantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + } + internal static unsafe void Load_GetLocalConstantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + Delegates.glGetLocalConstantFloatvEXT = (Delegates.GetLocalConstantFloatvEXT)GetExtensionDelegateStatic("glGetLocalConstantFloatvEXT", typeof(Delegates.GetLocalConstantFloatvEXT)); + Delegates.glGetLocalConstantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + } + internal static unsafe void Load_GetLocalConstantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + Delegates.glGetLocalConstantIntegervEXT = (Delegates.GetLocalConstantIntegervEXT)GetExtensionDelegateStatic("glGetLocalConstantIntegervEXT", typeof(Delegates.GetLocalConstantIntegervEXT)); + Delegates.glGetLocalConstantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + } + internal static unsafe void Load_GetMapAttribParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) + { + Delegates.glGetMapAttribParameterfvNV = (Delegates.GetMapAttribParameterfvNV)GetExtensionDelegateStatic("glGetMapAttribParameterfvNV", typeof(Delegates.GetMapAttribParameterfvNV)); + Delegates.glGetMapAttribParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); + } + internal static unsafe void Load_GetMapAttribParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMapAttribParameterivNV = (Delegates.GetMapAttribParameterivNV)GetExtensionDelegateStatic("glGetMapAttribParameterivNV", typeof(Delegates.GetMapAttribParameterivNV)); + Delegates.glGetMapAttribParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); + } + internal static void Load_GetMapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, bool packed, [OutAttribute] IntPtr points) + { + Delegates.glGetMapControlPointsNV = (Delegates.GetMapControlPointsNV)GetExtensionDelegateStatic("glGetMapControlPointsNV", typeof(Delegates.GetMapControlPointsNV)); + Delegates.glGetMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (bool)packed, (IntPtr)points); + } + internal static unsafe void Load_GetMapdv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Double* v) + { + Delegates.glGetMapdv = (Delegates.GetMapdv)GetExtensionDelegateStatic("glGetMapdv", typeof(Delegates.GetMapdv)); + Delegates.glGetMapdv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Double*)v); + } + internal static unsafe void Load_GetMapfv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Single* v) + { + Delegates.glGetMapfv = (Delegates.GetMapfv)GetExtensionDelegateStatic("glGetMapfv", typeof(Delegates.GetMapfv)); + Delegates.glGetMapfv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Single*)v); + } + internal static unsafe void Load_GetMapiv(OpenTK.Graphics.OpenGL.MapTarget target, OpenTK.Graphics.OpenGL.GetMapQuery query, [OutAttribute] Int32* v) + { + Delegates.glGetMapiv = (Delegates.GetMapiv)GetExtensionDelegateStatic("glGetMapiv", typeof(Delegates.GetMapiv)); + Delegates.glGetMapiv((OpenTK.Graphics.OpenGL.MapTarget)target, (OpenTK.Graphics.OpenGL.GetMapQuery)query, (Int32*)v); + } + internal static unsafe void Load_GetMapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Single* @params) + { + Delegates.glGetMapParameterfvNV = (Delegates.GetMapParameterfvNV)GetExtensionDelegateStatic("glGetMapParameterfvNV", typeof(Delegates.GetMapParameterfvNV)); + Delegates.glGetMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); + } + internal static unsafe void Load_GetMapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMapParameterivNV = (Delegates.GetMapParameterivNV)GetExtensionDelegateStatic("glGetMapParameterivNV", typeof(Delegates.GetMapParameterivNV)); + Delegates.glGetMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); + } + internal static unsafe void Load_GetMapxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint query, [OutAttribute] int* v) + { + Delegates.glGetMapxvOES = (Delegates.GetMapxvOES)GetExtensionDelegateStatic("glGetMapxvOES", typeof(Delegates.GetMapxvOES)); + Delegates.glGetMapxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)query, (int*)v); + } + internal static unsafe void Load_GetMaterialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetMaterialfv = (Delegates.GetMaterialfv)GetExtensionDelegateStatic("glGetMaterialfv", typeof(Delegates.GetMaterialfv)); + Delegates.glGetMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetMaterialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMaterialiv = (Delegates.GetMaterialiv)GetExtensionDelegateStatic("glGetMaterialiv", typeof(Delegates.GetMaterialiv)); + Delegates.glGetMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + } + internal static void Load_GetMaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glGetMaterialxOES = (Delegates.GetMaterialxOES)GetExtensionDelegateStatic("glGetMaterialxOES", typeof(Delegates.GetMaterialxOES)); + Delegates.glGetMaterialxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_GetMaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetMaterialxvOES = (Delegates.GetMaterialxvOES)GetExtensionDelegateStatic("glGetMaterialxvOES", typeof(Delegates.GetMaterialxvOES)); + Delegates.glGetMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static void Load_GetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + Delegates.glGetMinmax = (Delegates.GetMinmax)GetExtensionDelegateStatic("glGetMinmax", typeof(Delegates.GetMinmax)); + Delegates.glGetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + } + internal static void Load_GetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, bool reset, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr values) + { + Delegates.glGetMinmaxEXT = (Delegates.GetMinmaxEXT)GetExtensionDelegateStatic("glGetMinmaxEXT", typeof(Delegates.GetMinmaxEXT)); + Delegates.glGetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (bool)reset, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)values); + } + internal static unsafe void Load_GetMinmaxParameterfv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetMinmaxParameterfv = (Delegates.GetMinmaxParameterfv)GetExtensionDelegateStatic("glGetMinmaxParameterfv", typeof(Delegates.GetMinmaxParameterfv)); + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetMinmaxParameterfvEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Single* @params) + { + Delegates.glGetMinmaxParameterfvEXT = (Delegates.GetMinmaxParameterfvEXT)GetExtensionDelegateStatic("glGetMinmaxParameterfvEXT", typeof(Delegates.GetMinmaxParameterfvEXT)); + Delegates.glGetMinmaxParameterfvEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Single*)@params); + } + internal static unsafe void Load_GetMinmaxParameteriv(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMinmaxParameteriv = (Delegates.GetMinmaxParameteriv)GetExtensionDelegateStatic("glGetMinmaxParameteriv", typeof(Delegates.GetMinmaxParameteriv)); + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.GetMinmaxParameterPName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetMinmaxParameterivEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.ExtHistogram pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMinmaxParameterivEXT = (Delegates.GetMinmaxParameterivEXT)GetExtensionDelegateStatic("glGetMinmaxParameterivEXT", typeof(Delegates.GetMinmaxParameterivEXT)); + Delegates.glGetMinmaxParameterivEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.ExtHistogram)pname, (Int32*)@params); + } + internal static unsafe void Load_GetMultisamplefv(OpenTK.Graphics.OpenGL.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) + { + Delegates.glGetMultisamplefv = (Delegates.GetMultisamplefv)GetExtensionDelegateStatic("glGetMultisamplefv", typeof(Delegates.GetMultisamplefv)); + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL.GetMultisamplePName)pname, (UInt32)index, (Single*)val); + } + internal static unsafe void Load_GetMultisamplefvNV(OpenTK.Graphics.OpenGL.NvExplicitMultisample pname, UInt32 index, [OutAttribute] Single* val) + { + Delegates.glGetMultisamplefvNV = (Delegates.GetMultisamplefvNV)GetExtensionDelegateStatic("glGetMultisamplefvNV", typeof(Delegates.GetMultisamplefvNV)); + Delegates.glGetMultisamplefvNV((OpenTK.Graphics.OpenGL.NvExplicitMultisample)pname, (UInt32)index, (Single*)val); + } + internal static unsafe void Load_GetMultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetMultiTexEnvfvEXT = (Delegates.GetMultiTexEnvfvEXT)GetExtensionDelegateStatic("glGetMultiTexEnvfvEXT", typeof(Delegates.GetMultiTexEnvfvEXT)); + Delegates.glGetMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetMultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMultiTexEnvivEXT = (Delegates.GetMultiTexEnvivEXT)GetExtensionDelegateStatic("glGetMultiTexEnvivEXT", typeof(Delegates.GetMultiTexEnvivEXT)); + Delegates.glGetMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetMultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) + { + Delegates.glGetMultiTexGendvEXT = (Delegates.GetMultiTexGendvEXT)GetExtensionDelegateStatic("glGetMultiTexGendvEXT", typeof(Delegates.GetMultiTexGendvEXT)); + Delegates.glGetMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + } + internal static unsafe void Load_GetMultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetMultiTexGenfvEXT = (Delegates.GetMultiTexGenfvEXT)GetExtensionDelegateStatic("glGetMultiTexGenfvEXT", typeof(Delegates.GetMultiTexGenfvEXT)); + Delegates.glGetMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetMultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMultiTexGenivEXT = (Delegates.GetMultiTexGenivEXT)GetExtensionDelegateStatic("glGetMultiTexGenivEXT", typeof(Delegates.GetMultiTexGenivEXT)); + Delegates.glGetMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + } + internal static void Load_GetMultiTexImageEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glGetMultiTexImageEXT = (Delegates.GetMultiTexImageEXT)GetExtensionDelegateStatic("glGetMultiTexImageEXT", typeof(Delegates.GetMultiTexImageEXT)); + Delegates.glGetMultiTexImageEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static unsafe void Load_GetMultiTexLevelParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetMultiTexLevelParameterfvEXT = (Delegates.GetMultiTexLevelParameterfvEXT)GetExtensionDelegateStatic("glGetMultiTexLevelParameterfvEXT", typeof(Delegates.GetMultiTexLevelParameterfvEXT)); + Delegates.glGetMultiTexLevelParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetMultiTexLevelParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMultiTexLevelParameterivEXT = (Delegates.GetMultiTexLevelParameterivEXT)GetExtensionDelegateStatic("glGetMultiTexLevelParameterivEXT", typeof(Delegates.GetMultiTexLevelParameterivEXT)); + Delegates.glGetMultiTexLevelParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetMultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetMultiTexParameterfvEXT = (Delegates.GetMultiTexParameterfvEXT)GetExtensionDelegateStatic("glGetMultiTexParameterfvEXT", typeof(Delegates.GetMultiTexParameterfvEXT)); + Delegates.glGetMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetMultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMultiTexParameterIivEXT = (Delegates.GetMultiTexParameterIivEXT)GetExtensionDelegateStatic("glGetMultiTexParameterIivEXT", typeof(Delegates.GetMultiTexParameterIivEXT)); + Delegates.glGetMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetMultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetMultiTexParameterIuivEXT = (Delegates.GetMultiTexParameterIuivEXT)GetExtensionDelegateStatic("glGetMultiTexParameterIuivEXT", typeof(Delegates.GetMultiTexParameterIuivEXT)); + Delegates.glGetMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetMultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMultiTexParameterivEXT = (Delegates.GetMultiTexParameterivEXT)GetExtensionDelegateStatic("glGetMultiTexParameterivEXT", typeof(Delegates.GetMultiTexParameterivEXT)); + Delegates.glGetMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetNamedBufferParameterivEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedBufferParameterivEXT = (Delegates.GetNamedBufferParameterivEXT)GetExtensionDelegateStatic("glGetNamedBufferParameterivEXT", typeof(Delegates.GetNamedBufferParameterivEXT)); + Delegates.glGetNamedBufferParameterivEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + } + internal static unsafe void Load_GetNamedBufferParameterui64vNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetNamedBufferParameterui64vNV = (Delegates.GetNamedBufferParameterui64vNV)GetExtensionDelegateStatic("glGetNamedBufferParameterui64vNV", typeof(Delegates.GetNamedBufferParameterui64vNV)); + Delegates.glGetNamedBufferParameterui64vNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)pname, (UInt64*)@params); + } + internal static void Load_GetNamedBufferPointervEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetNamedBufferPointervEXT = (Delegates.GetNamedBufferPointervEXT)GetExtensionDelegateStatic("glGetNamedBufferPointervEXT", typeof(Delegates.GetNamedBufferPointervEXT)); + Delegates.glGetNamedBufferPointervEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@params); + } + internal static void Load_GetNamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + Delegates.glGetNamedBufferSubDataEXT = (Delegates.GetNamedBufferSubDataEXT)GetExtensionDelegateStatic("glGetNamedBufferSubDataEXT", typeof(Delegates.GetNamedBufferSubDataEXT)); + Delegates.glGetNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static unsafe void Load_GetNamedFramebufferAttachmentParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedFramebufferAttachmentParameterivEXT = (Delegates.GetNamedFramebufferAttachmentParameterivEXT)GetExtensionDelegateStatic("glGetNamedFramebufferAttachmentParameterivEXT", typeof(Delegates.GetNamedFramebufferAttachmentParameterivEXT)); + Delegates.glGetNamedFramebufferAttachmentParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + } + internal static unsafe void Load_GetNamedFramebufferParameterivEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedFramebufferParameterivEXT = (Delegates.GetNamedFramebufferParameterivEXT)GetExtensionDelegateStatic("glGetNamedFramebufferParameterivEXT", typeof(Delegates.GetNamedFramebufferParameterivEXT)); + Delegates.glGetNamedFramebufferParameterivEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)@params); + } + internal static unsafe void Load_GetNamedProgramivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ProgramProperty pname, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedProgramivEXT = (Delegates.GetNamedProgramivEXT)GetExtensionDelegateStatic("glGetNamedProgramivEXT", typeof(Delegates.GetNamedProgramivEXT)); + Delegates.glGetNamedProgramivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ProgramProperty)pname, (Int32*)@params); + } + internal static unsafe void Load_GetNamedProgramLocalParameterdvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Double* @params) + { + Delegates.glGetNamedProgramLocalParameterdvEXT = (Delegates.GetNamedProgramLocalParameterdvEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterdvEXT", typeof(Delegates.GetNamedProgramLocalParameterdvEXT)); + Delegates.glGetNamedProgramLocalParameterdvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + } + internal static unsafe void Load_GetNamedProgramLocalParameterfvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Single* @params) + { + Delegates.glGetNamedProgramLocalParameterfvEXT = (Delegates.GetNamedProgramLocalParameterfvEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterfvEXT", typeof(Delegates.GetNamedProgramLocalParameterfvEXT)); + Delegates.glGetNamedProgramLocalParameterfvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + } + internal static unsafe void Load_GetNamedProgramLocalParameterIivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedProgramLocalParameterIivEXT = (Delegates.GetNamedProgramLocalParameterIivEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterIivEXT", typeof(Delegates.GetNamedProgramLocalParameterIivEXT)); + Delegates.glGetNamedProgramLocalParameterIivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + } + internal static unsafe void Load_GetNamedProgramLocalParameterIuivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] UInt32* @params) + { + Delegates.glGetNamedProgramLocalParameterIuivEXT = (Delegates.GetNamedProgramLocalParameterIuivEXT)GetExtensionDelegateStatic("glGetNamedProgramLocalParameterIuivEXT", typeof(Delegates.GetNamedProgramLocalParameterIuivEXT)); + Delegates.glGetNamedProgramLocalParameterIuivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + } + internal static void Load_GetNamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr @string) + { + Delegates.glGetNamedProgramStringEXT = (Delegates.GetNamedProgramStringEXT)GetExtensionDelegateStatic("glGetNamedProgramStringEXT", typeof(Delegates.GetNamedProgramStringEXT)); + Delegates.glGetNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)@string); + } + internal static unsafe void Load_GetNamedRenderbufferParameterivEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedRenderbufferParameterivEXT = (Delegates.GetNamedRenderbufferParameterivEXT)GetExtensionDelegateStatic("glGetNamedRenderbufferParameterivEXT", typeof(Delegates.GetNamedRenderbufferParameterivEXT)); + Delegates.glGetNamedRenderbufferParameterivEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) + { + Delegates.glGetNamedStringARB = (Delegates.GetNamedStringARB)GetExtensionDelegateStatic("glGetNamedStringARB", typeof(Delegates.GetNamedStringARB)); + Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen, (StringBuilder)@string); + } + internal static unsafe void Load_GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude pname, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedStringivARB = (Delegates.GetNamedStringivARB)GetExtensionDelegateStatic("glGetNamedStringivARB", typeof(Delegates.GetNamedStringivARB)); + Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)pname, (Int32*)@params); + } + internal static void Load_GetnColorTableARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr table) + { + Delegates.glGetnColorTableARB = (Delegates.GetnColorTableARB)GetExtensionDelegateStatic("glGetnColorTableARB", typeof(Delegates.GetnColorTableARB)); + Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)table); + } + internal static void Load_GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) + { + Delegates.glGetnCompressedTexImageARB = (Delegates.GetnCompressedTexImageARB)GetExtensionDelegateStatic("glGetnCompressedTexImageARB", typeof(Delegates.GetnCompressedTexImageARB)); + Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)lod, (Int32)bufSize, (IntPtr)img); + } + internal static void Load_GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr image) + { + Delegates.glGetnConvolutionFilterARB = (Delegates.GetnConvolutionFilterARB)GetExtensionDelegateStatic("glGetnConvolutionFilterARB", typeof(Delegates.GetnConvolutionFilterARB)); + Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)image); + } + internal static void Load_GetnHistogramARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) + { + Delegates.glGetnHistogramARB = (Delegates.GetnHistogramARB)GetExtensionDelegateStatic("glGetnHistogramARB", typeof(Delegates.GetnHistogramARB)); + Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); + } + internal static unsafe void Load_GetnMapdvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Double* v) + { + Delegates.glGetnMapdvARB = (Delegates.GetnMapdvARB)GetExtensionDelegateStatic("glGetnMapdvARB", typeof(Delegates.GetnMapdvARB)); + Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Double*)v); + } + internal static unsafe void Load_GetnMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Single* v) + { + Delegates.glGetnMapfvARB = (Delegates.GetnMapfvARB)GetExtensionDelegateStatic("glGetnMapfvARB", typeof(Delegates.GetnMapfvARB)); + Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Single*)v); + } + internal static unsafe void Load_GetnMapivARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness query, Int32 bufSize, [OutAttribute] Int32* v) + { + Delegates.glGetnMapivARB = (Delegates.GetnMapivARB)GetExtensionDelegateStatic("glGetnMapivARB", typeof(Delegates.GetnMapivARB)); + Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)query, (Int32)bufSize, (Int32*)v); + } + internal static void Load_GetnMinmaxARB(OpenTK.Graphics.OpenGL.ArbRobustness target, bool reset, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr values) + { + Delegates.glGetnMinmaxARB = (Delegates.GetnMinmaxARB)GetExtensionDelegateStatic("glGetnMinmaxARB", typeof(Delegates.GetnMinmaxARB)); + Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (bool)reset, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)values); + } + internal static unsafe void Load_GetnPixelMapfvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] Single* values) + { + Delegates.glGetnPixelMapfvARB = (Delegates.GetnPixelMapfvARB)GetExtensionDelegateStatic("glGetnPixelMapfvARB", typeof(Delegates.GetnPixelMapfvARB)); + Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (Single*)values); + } + internal static unsafe void Load_GetnPixelMapuivARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt32* values) + { + Delegates.glGetnPixelMapuivARB = (Delegates.GetnPixelMapuivARB)GetExtensionDelegateStatic("glGetnPixelMapuivARB", typeof(Delegates.GetnPixelMapuivARB)); + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt32*)values); + } + internal static unsafe void Load_GetnPixelMapusvARB(OpenTK.Graphics.OpenGL.ArbRobustness map, Int32 bufSize, [OutAttribute] UInt16* values) + { + Delegates.glGetnPixelMapusvARB = (Delegates.GetnPixelMapusvARB)GetExtensionDelegateStatic("glGetnPixelMapusvARB", typeof(Delegates.GetnPixelMapusvARB)); + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL.ArbRobustness)map, (Int32)bufSize, (UInt16*)values); + } + internal static unsafe void Load_GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern) + { + Delegates.glGetnPolygonStippleARB = (Delegates.GetnPolygonStippleARB)GetExtensionDelegateStatic("glGetnPolygonStippleARB", typeof(Delegates.GetnPolygonStippleARB)); + Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern); + } + internal static void Load_GetnSeparableFilterARB(OpenTK.Graphics.OpenGL.ArbRobustness target, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + Delegates.glGetnSeparableFilterARB = (Delegates.GetnSeparableFilterARB)GetExtensionDelegateStatic("glGetnSeparableFilterARB", typeof(Delegates.GetnSeparableFilterARB)); + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span); + } + internal static void Load_GetnTexImageARB(OpenTK.Graphics.OpenGL.ArbRobustness target, Int32 level, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr img) + { + Delegates.glGetnTexImageARB = (Delegates.GetnTexImageARB)GetExtensionDelegateStatic("glGetnTexImageARB", typeof(Delegates.GetnTexImageARB)); + Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL.ArbRobustness)target, (Int32)level, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)img); + } + internal static unsafe void Load_GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) + { + Delegates.glGetnUniformdvARB = (Delegates.GetnUniformdvARB)GetExtensionDelegateStatic("glGetnUniformdvARB", typeof(Delegates.GetnUniformdvARB)); + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); + } + internal static unsafe void Load_GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) + { + Delegates.glGetnUniformfvARB = (Delegates.GetnUniformfvARB)GetExtensionDelegateStatic("glGetnUniformfvARB", typeof(Delegates.GetnUniformfvARB)); + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); + } + internal static unsafe void Load_GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetnUniformivARB = (Delegates.GetnUniformivARB)GetExtensionDelegateStatic("glGetnUniformivARB", typeof(Delegates.GetnUniformivARB)); + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); + } + internal static unsafe void Load_GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) + { + Delegates.glGetnUniformuivARB = (Delegates.GetnUniformuivARB)GetExtensionDelegateStatic("glGetnUniformuivARB", typeof(Delegates.GetnUniformuivARB)); + Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params); + } + internal static unsafe void Load_GetObjectBufferfvATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + Delegates.glGetObjectBufferfvATI = (Delegates.GetObjectBufferfvATI)GetExtensionDelegateStatic("glGetObjectBufferfvATI", typeof(Delegates.GetObjectBufferfvATI)); + Delegates.glGetObjectBufferfvATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + } + internal static unsafe void Load_GetObjectBufferivATI(UInt32 buffer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + Delegates.glGetObjectBufferivATI = (Delegates.GetObjectBufferivATI)GetExtensionDelegateStatic("glGetObjectBufferivATI", typeof(Delegates.GetObjectBufferivATI)); + Delegates.glGetObjectBufferivATI((UInt32)buffer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + } + internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); + Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectLabelEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabelEXT = (Delegates.GetObjectLabelEXT)GetExtensionDelegateStatic("glGetObjectLabelEXT", typeof(Delegates.GetObjectLabelEXT)); + Delegates.glGetObjectLabelEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); + Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectParameterfvARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Single* @params) + { + Delegates.glGetObjectParameterfvARB = (Delegates.GetObjectParameterfvARB)GetExtensionDelegateStatic("glGetObjectParameterfvARB", typeof(Delegates.GetObjectParameterfvARB)); + Delegates.glGetObjectParameterfvARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Single*)@params); + } + internal static unsafe void Load_GetObjectParameterivAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable pname, [OutAttribute] Int32* @params) + { + Delegates.glGetObjectParameterivAPPLE = (Delegates.GetObjectParameterivAPPLE)GetExtensionDelegateStatic("glGetObjectParameterivAPPLE", typeof(Delegates.GetObjectParameterivAPPLE)); + Delegates.glGetObjectParameterivAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)pname, (Int32*)@params); + } + internal static unsafe void Load_GetObjectParameterivARB(UInt32 obj, OpenTK.Graphics.OpenGL.ArbShaderObjects pname, [OutAttribute] Int32* @params) + { + Delegates.glGetObjectParameterivARB = (Delegates.GetObjectParameterivARB)GetExtensionDelegateStatic("glGetObjectParameterivARB", typeof(Delegates.GetObjectParameterivARB)); + Delegates.glGetObjectParameterivARB((UInt32)obj, (OpenTK.Graphics.OpenGL.ArbShaderObjects)pname, (Int32*)@params); + } + internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); + Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); + Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetOcclusionQueryivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] Int32* @params) + { + Delegates.glGetOcclusionQueryivNV = (Delegates.GetOcclusionQueryivNV)GetExtensionDelegateStatic("glGetOcclusionQueryivNV", typeof(Delegates.GetOcclusionQueryivNV)); + Delegates.glGetOcclusionQueryivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (Int32*)@params); + } + internal static unsafe void Load_GetOcclusionQueryuivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvOcclusionQuery pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetOcclusionQueryuivNV = (Delegates.GetOcclusionQueryuivNV)GetExtensionDelegateStatic("glGetOcclusionQueryuivNV", typeof(Delegates.GetOcclusionQueryuivNV)); + Delegates.glGetOcclusionQueryuivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvOcclusionQuery)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetPathColorGenfvNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) + { + Delegates.glGetPathColorGenfvNV = (Delegates.GetPathColorGenfvNV)GetExtensionDelegateStatic("glGetPathColorGenfvNV", typeof(Delegates.GetPathColorGenfvNV)); + Delegates.glGetPathColorGenfvNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); + } + internal static unsafe void Load_GetPathColorGenivNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) + { + Delegates.glGetPathColorGenivNV = (Delegates.GetPathColorGenivNV)GetExtensionDelegateStatic("glGetPathColorGenivNV", typeof(Delegates.GetPathColorGenivNV)); + Delegates.glGetPathColorGenivNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); + } + internal static unsafe void Load_GetPathCommandsNV(UInt32 path, [OutAttribute] Byte* commands) + { + Delegates.glGetPathCommandsNV = (Delegates.GetPathCommandsNV)GetExtensionDelegateStatic("glGetPathCommandsNV", typeof(Delegates.GetPathCommandsNV)); + Delegates.glGetPathCommandsNV((UInt32)path, (Byte*)commands); + } + internal static unsafe void Load_GetPathCoordsNV(UInt32 path, [OutAttribute] Single* coords) + { + Delegates.glGetPathCoordsNV = (Delegates.GetPathCoordsNV)GetExtensionDelegateStatic("glGetPathCoordsNV", typeof(Delegates.GetPathCoordsNV)); + Delegates.glGetPathCoordsNV((UInt32)path, (Single*)coords); + } + internal static unsafe void Load_GetPathDashArrayNV(UInt32 path, [OutAttribute] Single* dashArray) + { + Delegates.glGetPathDashArrayNV = (Delegates.GetPathDashArrayNV)GetExtensionDelegateStatic("glGetPathDashArrayNV", typeof(Delegates.GetPathDashArrayNV)); + Delegates.glGetPathDashArrayNV((UInt32)path, (Single*)dashArray); + } + internal static Single Load_GetPathLengthNV(UInt32 path, Int32 startSegment, Int32 numSegments) + { + Delegates.glGetPathLengthNV = (Delegates.GetPathLengthNV)GetExtensionDelegateStatic("glGetPathLengthNV", typeof(Delegates.GetPathLengthNV)); + return Delegates.glGetPathLengthNV((UInt32)path, (Int32)startSegment, (Int32)numSegments); + } + internal static unsafe void Load_GetPathMetricRangeNV(UInt32 metricQueryMask, UInt32 firstPathName, Int32 numPaths, Int32 stride, [OutAttribute] Single* metrics) + { + Delegates.glGetPathMetricRangeNV = (Delegates.GetPathMetricRangeNV)GetExtensionDelegateStatic("glGetPathMetricRangeNV", typeof(Delegates.GetPathMetricRangeNV)); + Delegates.glGetPathMetricRangeNV((UInt32)metricQueryMask, (UInt32)firstPathName, (Int32)numPaths, (Int32)stride, (Single*)metrics); + } + internal static unsafe void Load_GetPathMetricsNV(UInt32 metricQueryMask, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 stride, [OutAttribute] Single* metrics) + { + Delegates.glGetPathMetricsNV = (Delegates.GetPathMetricsNV)GetExtensionDelegateStatic("glGetPathMetricsNV", typeof(Delegates.GetPathMetricsNV)); + Delegates.glGetPathMetricsNV((UInt32)metricQueryMask, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)stride, (Single*)metrics); + } + internal static unsafe void Load_GetPathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) + { + Delegates.glGetPathParameterfvNV = (Delegates.GetPathParameterfvNV)GetExtensionDelegateStatic("glGetPathParameterfvNV", typeof(Delegates.GetPathParameterfvNV)); + Delegates.glGetPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); + } + internal static unsafe void Load_GetPathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) + { + Delegates.glGetPathParameterivNV = (Delegates.GetPathParameterivNV)GetExtensionDelegateStatic("glGetPathParameterivNV", typeof(Delegates.GetPathParameterivNV)); + Delegates.glGetPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); + } + internal static unsafe void Load_GetPathSpacingNV(OpenTK.Graphics.OpenGL.NvPathRendering pathListMode, Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Single advanceScale, Single kerningScale, OpenTK.Graphics.OpenGL.NvPathRendering transformType, [OutAttribute] Single* returnedSpacing) + { + Delegates.glGetPathSpacingNV = (Delegates.GetPathSpacingNV)GetExtensionDelegateStatic("glGetPathSpacingNV", typeof(Delegates.GetPathSpacingNV)); + Delegates.glGetPathSpacingNV((OpenTK.Graphics.OpenGL.NvPathRendering)pathListMode, (Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Single)advanceScale, (Single)kerningScale, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)returnedSpacing); + } + internal static unsafe void Load_GetPathTexGenfvNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Single* value) + { + Delegates.glGetPathTexGenfvNV = (Delegates.GetPathTexGenfvNV)GetExtensionDelegateStatic("glGetPathTexGenfvNV", typeof(Delegates.GetPathTexGenfvNV)); + Delegates.glGetPathTexGenfvNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); + } + internal static unsafe void Load_GetPathTexGenivNV(OpenTK.Graphics.OpenGL.TextureUnit texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering pname, [OutAttribute] Int32* value) + { + Delegates.glGetPathTexGenivNV = (Delegates.GetPathTexGenivNV)GetExtensionDelegateStatic("glGetPathTexGenivNV", typeof(Delegates.GetPathTexGenivNV)); + Delegates.glGetPathTexGenivNV((OpenTK.Graphics.OpenGL.TextureUnit)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); + } + internal static unsafe void Load_GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, Int32 dataSize, [OutAttribute] UInt32* data, [OutAttribute] Int32* bytesWritten) + { + Delegates.glGetPerfMonitorCounterDataAMD = (Delegates.GetPerfMonitorCounterDataAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterDataAMD", typeof(Delegates.GetPerfMonitorCounterDataAMD)); + Delegates.glGetPerfMonitorCounterDataAMD((UInt32)monitor, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (Int32)dataSize, (UInt32*)data, (Int32*)bytesWritten); + } + internal static void Load_GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.OpenGL.AmdPerformanceMonitor pname, [OutAttribute] IntPtr data) + { + Delegates.glGetPerfMonitorCounterInfoAMD = (Delegates.GetPerfMonitorCounterInfoAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterInfoAMD", typeof(Delegates.GetPerfMonitorCounterInfoAMD)); + Delegates.glGetPerfMonitorCounterInfoAMD((UInt32)group, (UInt32)counter, (OpenTK.Graphics.OpenGL.AmdPerformanceMonitor)pname, (IntPtr)data); + } + internal static unsafe void Load_GetPerfMonitorCountersAMD(UInt32 group, [OutAttribute] Int32* numCounters, [OutAttribute] Int32* maxActiveCounters, Int32 counterSize, [OutAttribute] UInt32* counters) + { + Delegates.glGetPerfMonitorCountersAMD = (Delegates.GetPerfMonitorCountersAMD)GetExtensionDelegateStatic("glGetPerfMonitorCountersAMD", typeof(Delegates.GetPerfMonitorCountersAMD)); + Delegates.glGetPerfMonitorCountersAMD((UInt32)group, (Int32*)numCounters, (Int32*)maxActiveCounters, (Int32)counterSize, (UInt32*)counters); + } + internal static unsafe void Load_GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder counterString) + { + Delegates.glGetPerfMonitorCounterStringAMD = (Delegates.GetPerfMonitorCounterStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorCounterStringAMD", typeof(Delegates.GetPerfMonitorCounterStringAMD)); + Delegates.glGetPerfMonitorCounterStringAMD((UInt32)group, (UInt32)counter, (Int32)bufSize, (Int32*)length, (StringBuilder)counterString); + } + internal static unsafe void Load_GetPerfMonitorGroupsAMD([OutAttribute] Int32* numGroups, Int32 groupsSize, [OutAttribute] UInt32* groups) + { + Delegates.glGetPerfMonitorGroupsAMD = (Delegates.GetPerfMonitorGroupsAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupsAMD", typeof(Delegates.GetPerfMonitorGroupsAMD)); + Delegates.glGetPerfMonitorGroupsAMD((Int32*)numGroups, (Int32)groupsSize, (UInt32*)groups); + } + internal static unsafe void Load_GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder groupString) + { + Delegates.glGetPerfMonitorGroupStringAMD = (Delegates.GetPerfMonitorGroupStringAMD)GetExtensionDelegateStatic("glGetPerfMonitorGroupStringAMD", typeof(Delegates.GetPerfMonitorGroupStringAMD)); + Delegates.glGetPerfMonitorGroupStringAMD((UInt32)group, (Int32)bufSize, (Int32*)length, (StringBuilder)groupString); + } + internal static unsafe void Load_GetPixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] Single* values) + { + Delegates.glGetPixelMapfv = (Delegates.GetPixelMapfv)GetExtensionDelegateStatic("glGetPixelMapfv", typeof(Delegates.GetPixelMapfv)); + Delegates.glGetPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Single*)values); + } + internal static unsafe void Load_GetPixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt32* values) + { + Delegates.glGetPixelMapuiv = (Delegates.GetPixelMapuiv)GetExtensionDelegateStatic("glGetPixelMapuiv", typeof(Delegates.GetPixelMapuiv)); + Delegates.glGetPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt32*)values); + } + internal static unsafe void Load_GetPixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, [OutAttribute] UInt16* values) + { + Delegates.glGetPixelMapusv = (Delegates.GetPixelMapusv)GetExtensionDelegateStatic("glGetPixelMapusv", typeof(Delegates.GetPixelMapusv)); + Delegates.glGetPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (UInt16*)values); + } + internal static unsafe void Load_GetPixelMapxv(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, [OutAttribute] int* values) + { + Delegates.glGetPixelMapxv = (Delegates.GetPixelMapxv)GetExtensionDelegateStatic("glGetPixelMapxv", typeof(Delegates.GetPixelMapxv)); + Delegates.glGetPixelMapxv((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values); + } + internal static unsafe void Load_GetPixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Single* @params) + { + Delegates.glGetPixelTexGenParameterfvSGIS = (Delegates.GetPixelTexGenParameterfvSGIS)GetExtensionDelegateStatic("glGetPixelTexGenParameterfvSGIS", typeof(Delegates.GetPixelTexGenParameterfvSGIS)); + Delegates.glGetPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); + } + internal static unsafe void Load_GetPixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, [OutAttribute] Int32* @params) + { + Delegates.glGetPixelTexGenParameterivSGIS = (Delegates.GetPixelTexGenParameterivSGIS)GetExtensionDelegateStatic("glGetPixelTexGenParameterivSGIS", typeof(Delegates.GetPixelTexGenParameterivSGIS)); + Delegates.glGetPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); + } + internal static unsafe void Load_GetPixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Single* @params) + { + Delegates.glGetPixelTransformParameterfvEXT = (Delegates.GetPixelTransformParameterfvEXT)GetExtensionDelegateStatic("glGetPixelTransformParameterfvEXT", typeof(Delegates.GetPixelTransformParameterfvEXT)); + Delegates.glGetPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params); + } + internal static unsafe void Load_GetPixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, [OutAttribute] Int32* @params) + { + Delegates.glGetPixelTransformParameterivEXT = (Delegates.GetPixelTransformParameterivEXT)GetExtensionDelegateStatic("glGetPixelTransformParameterivEXT", typeof(Delegates.GetPixelTransformParameterivEXT)); + Delegates.glGetPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params); + } + internal static void Load_GetPointeri_vEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, UInt32 index, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointeri_vEXT = (Delegates.GetPointeri_vEXT)GetExtensionDelegateStatic("glGetPointeri_vEXT", typeof(Delegates.GetPointeri_vEXT)); + Delegates.glGetPointeri_vEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (UInt32)index, (IntPtr)@params); + } + internal static void Load_GetPointerIndexedvEXT(OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, [OutAttribute] IntPtr data) + { + Delegates.glGetPointerIndexedvEXT = (Delegates.GetPointerIndexedvEXT)GetExtensionDelegateStatic("glGetPointerIndexedvEXT", typeof(Delegates.GetPointerIndexedvEXT)); + Delegates.glGetPointerIndexedvEXT((OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (IntPtr)data); + } + internal static void Load_GetPointerv(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); + Delegates.glGetPointerv((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); + } + internal static void Load_GetPointervEXT(OpenTK.Graphics.OpenGL.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointervEXT = (Delegates.GetPointervEXT)GetExtensionDelegateStatic("glGetPointervEXT", typeof(Delegates.GetPointervEXT)); + Delegates.glGetPointervEXT((OpenTK.Graphics.OpenGL.GetPointervPName)pname, (IntPtr)@params); + } + internal static void Load_GetPointervKHR(OpenTK.Graphics.OpenGL.KhrDebug pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); + Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL.KhrDebug)pname, (IntPtr)@params); + } + internal static unsafe void Load_GetPolygonStipple([OutAttribute] Byte* mask) + { + Delegates.glGetPolygonStipple = (Delegates.GetPolygonStipple)GetExtensionDelegateStatic("glGetPolygonStipple", typeof(Delegates.GetPolygonStipple)); + Delegates.glGetPolygonStipple((Byte*)mask); + } + internal static unsafe void Load_GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) + { + Delegates.glGetProgramBinary = (Delegates.GetProgramBinary)GetExtensionDelegateStatic("glGetProgramBinary", typeof(Delegates.GetProgramBinary)); + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL.BinaryFormat*)binaryFormat, (IntPtr)binary); + } + internal static unsafe void Load_GetProgramEnvParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) + { + Delegates.glGetProgramEnvParameterdvARB = (Delegates.GetProgramEnvParameterdvARB)GetExtensionDelegateStatic("glGetProgramEnvParameterdvARB", typeof(Delegates.GetProgramEnvParameterdvARB)); + Delegates.glGetProgramEnvParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); + } + internal static unsafe void Load_GetProgramEnvParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) + { + Delegates.glGetProgramEnvParameterfvARB = (Delegates.GetProgramEnvParameterfvARB)GetExtensionDelegateStatic("glGetProgramEnvParameterfvARB", typeof(Delegates.GetProgramEnvParameterfvARB)); + Delegates.glGetProgramEnvParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); + } + internal static unsafe void Load_GetProgramEnvParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramEnvParameterIivNV = (Delegates.GetProgramEnvParameterIivNV)GetExtensionDelegateStatic("glGetProgramEnvParameterIivNV", typeof(Delegates.GetProgramEnvParameterIivNV)); + Delegates.glGetProgramEnvParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + } + internal static unsafe void Load_GetProgramEnvParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) + { + Delegates.glGetProgramEnvParameterIuivNV = (Delegates.GetProgramEnvParameterIuivNV)GetExtensionDelegateStatic("glGetProgramEnvParameterIuivNV", typeof(Delegates.GetProgramEnvParameterIuivNV)); + Delegates.glGetProgramEnvParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + } + internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, OpenTK.Graphics.OpenGL.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramInterfaceiv = (Delegates.GetProgramInterfaceiv)GetExtensionDelegateStatic("glGetProgramInterfaceiv", typeof(Delegates.GetProgramInterfaceiv)); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL.ProgramInterfaceParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL.GetProgramParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL.GetProgramParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramivARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramivARB = (Delegates.GetProgramivARB)GetExtensionDelegateStatic("glGetProgramivARB", typeof(Delegates.GetProgramivARB)); + Delegates.glGetProgramivARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramivNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramivNV = (Delegates.GetProgramivNV)GetExtensionDelegateStatic("glGetProgramivNV", typeof(Delegates.GetProgramivNV)); + Delegates.glGetProgramivNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramLocalParameterdvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Double* @params) + { + Delegates.glGetProgramLocalParameterdvARB = (Delegates.GetProgramLocalParameterdvARB)GetExtensionDelegateStatic("glGetProgramLocalParameterdvARB", typeof(Delegates.GetProgramLocalParameterdvARB)); + Delegates.glGetProgramLocalParameterdvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Double*)@params); + } + internal static unsafe void Load_GetProgramLocalParameterfvARB(OpenTK.Graphics.OpenGL.All target, UInt32 index, [OutAttribute] Single* @params) + { + Delegates.glGetProgramLocalParameterfvARB = (Delegates.GetProgramLocalParameterfvARB)GetExtensionDelegateStatic("glGetProgramLocalParameterfvARB", typeof(Delegates.GetProgramLocalParameterfvARB)); + Delegates.glGetProgramLocalParameterfvARB((OpenTK.Graphics.OpenGL.All)target, (UInt32)index, (Single*)@params); + } + internal static unsafe void Load_GetProgramLocalParameterIivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramLocalParameterIivNV = (Delegates.GetProgramLocalParameterIivNV)GetExtensionDelegateStatic("glGetProgramLocalParameterIivNV", typeof(Delegates.GetProgramLocalParameterIivNV)); + Delegates.glGetProgramLocalParameterIivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + } + internal static unsafe void Load_GetProgramLocalParameterIuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, [OutAttribute] UInt32* @params) + { + Delegates.glGetProgramLocalParameterIuivNV = (Delegates.GetProgramLocalParameterIuivNV)GetExtensionDelegateStatic("glGetProgramLocalParameterIuivNV", typeof(Delegates.GetProgramLocalParameterIuivNV)); + Delegates.glGetProgramLocalParameterIuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + } + internal static unsafe void Load_GetProgramNamedParameterdvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Double* @params) + { + Delegates.glGetProgramNamedParameterdvNV = (Delegates.GetProgramNamedParameterdvNV)GetExtensionDelegateStatic("glGetProgramNamedParameterdvNV", typeof(Delegates.GetProgramNamedParameterdvNV)); + Delegates.glGetProgramNamedParameterdvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)@params); + } + internal static unsafe void Load_GetProgramNamedParameterfvNV(UInt32 id, Int32 len, Byte* name, [OutAttribute] Single* @params) + { + Delegates.glGetProgramNamedParameterfvNV = (Delegates.GetProgramNamedParameterfvNV)GetExtensionDelegateStatic("glGetProgramNamedParameterfvNV", typeof(Delegates.GetProgramNamedParameterfvNV)); + Delegates.glGetProgramNamedParameterfvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)@params); + } + internal static unsafe void Load_GetProgramParameterdvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Double* @params) + { + Delegates.glGetProgramParameterdvNV = (Delegates.GetProgramParameterdvNV)GetExtensionDelegateStatic("glGetProgramParameterdvNV", typeof(Delegates.GetProgramParameterdvNV)); + Delegates.glGetProgramParameterdvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Double*)@params); + } + internal static unsafe void Load_GetProgramParameterfvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Single* @params) + { + Delegates.glGetProgramParameterfvNV = (Delegates.GetProgramParameterfvNV)GetExtensionDelegateStatic("glGetProgramParameterfvNV", typeof(Delegates.GetProgramParameterfvNV)); + Delegates.glGetProgramParameterfvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Single*)@params); + } + internal static unsafe void Load_GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramPipelineInfoLog = (Delegates.GetProgramPipelineInfoLog)GetExtensionDelegateStatic("glGetProgramPipelineInfoLog", typeof(Delegates.GetProgramPipelineInfoLog)); + Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramPipelineInfoLogEXT(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramPipelineInfoLogEXT = (Delegates.GetProgramPipelineInfoLogEXT)GetExtensionDelegateStatic("glGetProgramPipelineInfoLogEXT", typeof(Delegates.GetProgramPipelineInfoLogEXT)); + Delegates.glGetProgramPipelineInfoLogEXT((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramPipelineiv = (Delegates.GetProgramPipelineiv)GetExtensionDelegateStatic("glGetProgramPipelineiv", typeof(Delegates.GetProgramPipelineiv)); + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramPipelineParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramPipelineivEXT(UInt32 pipeline, OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramPipelineivEXT = (Delegates.GetProgramPipelineivEXT)GetExtensionDelegateStatic("glGetProgramPipelineivEXT", typeof(Delegates.GetProgramPipelineivEXT)); + Delegates.glGetProgramPipelineivEXT((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)pname, (Int32*)@params); + } + internal static Int32 Load_GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) + { + Delegates.glGetProgramResourceIndex = (Delegates.GetProgramResourceIndex)GetExtensionDelegateStatic("glGetProgramResourceIndex", typeof(Delegates.GetProgramResourceIndex)); + return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); + } + internal static unsafe void Load_GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramResourceiv = (Delegates.GetProgramResourceiv)GetExtensionDelegateStatic("glGetProgramResourceiv", typeof(Delegates.GetProgramResourceiv)); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); + } + internal static Int32 Load_GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) + { + Delegates.glGetProgramResourceLocation = (Delegates.GetProgramResourceLocation)GetExtensionDelegateStatic("glGetProgramResourceLocation", typeof(Delegates.GetProgramResourceLocation)); + return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); + } + internal static Int32 Load_GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, String name) + { + Delegates.glGetProgramResourceLocationIndex = (Delegates.GetProgramResourceLocationIndex)GetExtensionDelegateStatic("glGetProgramResourceLocationIndex", typeof(Delegates.GetProgramResourceLocationIndex)); + return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (String)name); + } + internal static unsafe void Load_GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + Delegates.glGetProgramResourceName = (Delegates.GetProgramResourceName)GetExtensionDelegateStatic("glGetProgramResourceName", typeof(Delegates.GetProgramResourceName)); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); + } + internal static unsafe void Load_GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ProgramStageParameter pname, [OutAttribute] Int32* values) + { + Delegates.glGetProgramStageiv = (Delegates.GetProgramStageiv)GetExtensionDelegateStatic("glGetProgramStageiv", typeof(Delegates.GetProgramStageiv)); + Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ProgramStageParameter)pname, (Int32*)values); + } + internal static void Load_GetProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] IntPtr @string) + { + Delegates.glGetProgramStringARB = (Delegates.GetProgramStringARB)GetExtensionDelegateStatic("glGetProgramStringARB", typeof(Delegates.GetProgramStringARB)); + Delegates.glGetProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (IntPtr)@string); + } + internal static unsafe void Load_GetProgramStringNV(UInt32 id, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Byte* program) + { + Delegates.glGetProgramStringNV = (Delegates.GetProgramStringNV)GetExtensionDelegateStatic("glGetProgramStringNV", typeof(Delegates.GetProgramStringNV)); + Delegates.glGetProgramStringNV((UInt32)id, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Byte*)program); + } + internal static unsafe void Load_GetProgramSubroutineParameteruivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, UInt32 index, [OutAttribute] UInt32* param) + { + Delegates.glGetProgramSubroutineParameteruivNV = (Delegates.GetProgramSubroutineParameteruivNV)GetExtensionDelegateStatic("glGetProgramSubroutineParameteruivNV", typeof(Delegates.GetProgramSubroutineParameteruivNV)); + Delegates.glGetProgramSubroutineParameteruivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (UInt32)index, (UInt32*)param); + } + internal static unsafe void Load_GetQueryIndexediv(OpenTK.Graphics.OpenGL.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryIndexediv = (Delegates.GetQueryIndexediv)GetExtensionDelegateStatic("glGetQueryIndexediv", typeof(Delegates.GetQueryIndexediv)); + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryiv(OpenTK.Graphics.OpenGL.QueryTarget target, OpenTK.Graphics.OpenGL.GetQueryParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryiv = (Delegates.GetQueryiv)GetExtensionDelegateStatic("glGetQueryiv", typeof(Delegates.GetQueryiv)); + Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL.QueryTarget)target, (OpenTK.Graphics.OpenGL.GetQueryParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryivARB(OpenTK.Graphics.OpenGL.ArbOcclusionQuery target, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryivARB = (Delegates.GetQueryivARB)GetExtensionDelegateStatic("glGetQueryivARB", typeof(Delegates.GetQueryivARB)); + Delegates.glGetQueryivARB((OpenTK.Graphics.OpenGL.ArbOcclusionQuery)target, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int64* @params) + { + Delegates.glGetQueryObjecti64v = (Delegates.GetQueryObjecti64v)GetExtensionDelegateStatic("glGetQueryObjecti64v", typeof(Delegates.GetQueryObjecti64v)); + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int64*)@params); + } + internal static unsafe void Load_GetQueryObjecti64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] Int64* @params) + { + Delegates.glGetQueryObjecti64vEXT = (Delegates.GetQueryObjecti64vEXT)GetExtensionDelegateStatic("glGetQueryObjecti64vEXT", typeof(Delegates.GetQueryObjecti64vEXT)); + Delegates.glGetQueryObjecti64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (Int64*)@params); + } + internal static unsafe void Load_GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryObjectiv = (Delegates.GetQueryObjectiv)GetExtensionDelegateStatic("glGetQueryObjectiv", typeof(Delegates.GetQueryObjectiv)); + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjectivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryObjectivARB = (Delegates.GetQueryObjectivARB)GetExtensionDelegateStatic("glGetQueryObjectivARB", typeof(Delegates.GetQueryObjectivARB)); + Delegates.glGetQueryObjectivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetQueryObjectui64v = (Delegates.GetQueryObjectui64v)GetExtensionDelegateStatic("glGetQueryObjectui64v", typeof(Delegates.GetQueryObjectui64v)); + Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt64*)@params); + } + internal static unsafe void Load_GetQueryObjectui64vEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtTimerQuery pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetQueryObjectui64vEXT = (Delegates.GetQueryObjectui64vEXT)GetExtensionDelegateStatic("glGetQueryObjectui64vEXT", typeof(Delegates.GetQueryObjectui64vEXT)); + Delegates.glGetQueryObjectui64vEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtTimerQuery)pname, (UInt64*)@params); + } + internal static unsafe void Load_GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetQueryObjectuiv = (Delegates.GetQueryObjectuiv)GetExtensionDelegateStatic("glGetQueryObjectuiv", typeof(Delegates.GetQueryObjectuiv)); + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL.GetQueryObjectParam)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetQueryObjectuivARB(UInt32 id, OpenTK.Graphics.OpenGL.ArbOcclusionQuery pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetQueryObjectuivARB = (Delegates.GetQueryObjectuivARB)GetExtensionDelegateStatic("glGetQueryObjectuivARB", typeof(Delegates.GetQueryObjectuivARB)); + Delegates.glGetQueryObjectuivARB((UInt32)id, (OpenTK.Graphics.OpenGL.ArbOcclusionQuery)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetRenderbufferParameterivEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetRenderbufferParameterivEXT = (Delegates.GetRenderbufferParameterivEXT)GetExtensionDelegateStatic("glGetRenderbufferParameterivEXT", typeof(Delegates.GetRenderbufferParameterivEXT)); + Delegates.glGetRenderbufferParameterivEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Single* @params) + { + Delegates.glGetSamplerParameterfv = (Delegates.GetSamplerParameterfv)GetExtensionDelegateStatic("glGetSamplerParameterfv", typeof(Delegates.GetSamplerParameterfv)); + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)@params); + } + internal static unsafe void Load_GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetSamplerParameterIiv = (Delegates.GetSamplerParameterIiv)GetExtensionDelegateStatic("glGetSamplerParameterIiv", typeof(Delegates.GetSamplerParameterIiv)); + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.All pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetSamplerParameterIuiv = (Delegates.GetSamplerParameterIuiv)GetExtensionDelegateStatic("glGetSamplerParameterIuiv", typeof(Delegates.GetSamplerParameterIuiv)); + Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.All)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetSamplerParameteriv = (Delegates.GetSamplerParameteriv)GetExtensionDelegateStatic("glGetSamplerParameteriv", typeof(Delegates.GetSamplerParameteriv)); + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)@params); + } + internal static void Load_GetSeparableFilter(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + Delegates.glGetSeparableFilter = (Delegates.GetSeparableFilter)GetExtensionDelegateStatic("glGetSeparableFilter", typeof(Delegates.GetSeparableFilter)); + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + } + internal static void Load_GetSeparableFilterEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + Delegates.glGetSeparableFilterEXT = (Delegates.GetSeparableFilterEXT)GetExtensionDelegateStatic("glGetSeparableFilterEXT", typeof(Delegates.GetSeparableFilterEXT)); + Delegates.glGetSeparableFilterEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + } + internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL.ShaderParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL.ShaderParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL.ShaderType shadertype, OpenTK.Graphics.OpenGL.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (OpenTK.Graphics.OpenGL.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); + } + internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); + } + internal static unsafe void Load_GetShaderSourceARB(UInt32 obj, Int32 maxLength, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + Delegates.glGetShaderSourceARB = (Delegates.GetShaderSourceARB)GetExtensionDelegateStatic("glGetShaderSourceARB", typeof(Delegates.GetShaderSourceARB)); + Delegates.glGetShaderSourceARB((UInt32)obj, (Int32)maxLength, (Int32*)length, (StringBuilder)source); + } + internal static unsafe void Load_GetSharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, [OutAttribute] Single* points) + { + Delegates.glGetSharpenTexFuncSGIS = (Delegates.GetSharpenTexFuncSGIS)GetExtensionDelegateStatic("glGetSharpenTexFuncSGIS", typeof(Delegates.GetSharpenTexFuncSGIS)); + Delegates.glGetSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Single*)points); + } + internal static IntPtr Load_GetString(OpenTK.Graphics.OpenGL.StringName name) + { + Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); + return Delegates.glGetString((OpenTK.Graphics.OpenGL.StringName)name); + } + internal static IntPtr Load_GetStringi(OpenTK.Graphics.OpenGL.StringNameIndexed name, UInt32 index) + { + Delegates.glGetStringi = (Delegates.GetStringi)GetExtensionDelegateStatic("glGetStringi", typeof(Delegates.GetStringi)); + return Delegates.glGetStringi((OpenTK.Graphics.OpenGL.StringNameIndexed)name, (UInt32)index); + } + internal static Int32 Load_GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) + { + Delegates.glGetSubroutineIndex = (Delegates.GetSubroutineIndex)GetExtensionDelegateStatic("glGetSubroutineIndex", typeof(Delegates.GetSubroutineIndex)); + return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); + } + internal static Int32 Load_GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name) + { + Delegates.glGetSubroutineUniformLocation = (Delegates.GetSubroutineUniformLocation)GetExtensionDelegateStatic("glGetSubroutineUniformLocation", typeof(Delegates.GetSubroutineUniformLocation)); + return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL.ShaderType)shadertype, (String)name); + } + internal static unsafe void Load_GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + Delegates.glGetSynciv = (Delegates.GetSynciv)GetExtensionDelegateStatic("glGetSynciv", typeof(Delegates.GetSynciv)); + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + } + internal static unsafe void Load_GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param) + { + Delegates.glGetTexBumpParameterfvATI = (Delegates.GetTexBumpParameterfvATI)GetExtensionDelegateStatic("glGetTexBumpParameterfvATI", typeof(Delegates.GetTexBumpParameterfvATI)); + Delegates.glGetTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); + } + internal static unsafe void Load_GetTexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Int32* param) + { + Delegates.glGetTexBumpParameterivATI = (Delegates.GetTexBumpParameterivATI)GetExtensionDelegateStatic("glGetTexBumpParameterivATI", typeof(Delegates.GetTexBumpParameterivATI)); + Delegates.glGetTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); + } + internal static unsafe void Load_GetTexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexEnvfv = (Delegates.GetTexEnvfv)GetExtensionDelegateStatic("glGetTexEnvfv", typeof(Delegates.GetTexEnvfv)); + Delegates.glGetTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexEnviv = (Delegates.GetTexEnviv)GetExtensionDelegateStatic("glGetTexEnviv", typeof(Delegates.GetTexEnviv)); + Delegates.glGetTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetTexEnvxvOES = (Delegates.GetTexEnvxvOES)GetExtensionDelegateStatic("glGetTexEnvxvOES", typeof(Delegates.GetTexEnvxvOES)); + Delegates.glGetTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static unsafe void Load_GetTexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, [OutAttribute] Single* weights) + { + Delegates.glGetTexFilterFuncSGIS = (Delegates.GetTexFilterFuncSGIS)GetExtensionDelegateStatic("glGetTexFilterFuncSGIS", typeof(Delegates.GetTexFilterFuncSGIS)); + Delegates.glGetTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Single*)weights); + } + internal static unsafe void Load_GetTexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Double* @params) + { + Delegates.glGetTexGendv = (Delegates.GetTexGendv)GetExtensionDelegateStatic("glGetTexGendv", typeof(Delegates.GetTexGendv)); + Delegates.glGetTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + } + internal static unsafe void Load_GetTexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexGenfv = (Delegates.GetTexGenfv)GetExtensionDelegateStatic("glGetTexGenfv", typeof(Delegates.GetTexGenfv)); + Delegates.glGetTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexGeniv = (Delegates.GetTexGeniv)GetExtensionDelegateStatic("glGetTexGeniv", typeof(Delegates.GetTexGeniv)); + Delegates.glGetTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetTexGenxvOES = (Delegates.GetTexGenxvOES)GetExtensionDelegateStatic("glGetTexGenxvOES", typeof(Delegates.GetTexGenxvOES)); + Delegates.glGetTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static void Load_GetTexImage(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glGetTexImage = (Delegates.GetTexImage)GetExtensionDelegateStatic("glGetTexImage", typeof(Delegates.GetTexImage)); + Delegates.glGetTexImage((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static unsafe void Load_GetTexLevelParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexLevelParameterfv = (Delegates.GetTexLevelParameterfv)GetExtensionDelegateStatic("glGetTexLevelParameterfv", typeof(Delegates.GetTexLevelParameterfv)); + Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexLevelParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexLevelParameteriv = (Delegates.GetTexLevelParameteriv)GetExtensionDelegateStatic("glGetTexLevelParameteriv", typeof(Delegates.GetTexLevelParameteriv)); + Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexLevelParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, Int32 level, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetTexLevelParameterxvOES = (Delegates.GetTexLevelParameterxvOES)GetExtensionDelegateStatic("glGetTexLevelParameterxvOES", typeof(Delegates.GetTexLevelParameterxvOES)); + Delegates.glGetTexLevelParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (Int32)level, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); + Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameterIiv = (Delegates.GetTexParameterIiv)GetExtensionDelegateStatic("glGetTexParameterIiv", typeof(Delegates.GetTexParameterIiv)); + Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameterIivEXT = (Delegates.GetTexParameterIivEXT)GetExtensionDelegateStatic("glGetTexParameterIivEXT", typeof(Delegates.GetTexParameterIivEXT)); + Delegates.glGetTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetTexParameterIuiv = (Delegates.GetTexParameterIuiv)GetExtensionDelegateStatic("glGetTexParameterIuiv", typeof(Delegates.GetTexParameterIuiv)); + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetTexParameterIuivEXT = (Delegates.GetTexParameterIuivEXT)GetExtensionDelegateStatic("glGetTexParameterIuivEXT", typeof(Delegates.GetTexParameterIuivEXT)); + Delegates.glGetTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); + Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static void Load_GetTexParameterPointervAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, OpenTK.Graphics.OpenGL.AppleTextureRange pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetTexParameterPointervAPPLE = (Delegates.GetTexParameterPointervAPPLE)GetExtensionDelegateStatic("glGetTexParameterPointervAPPLE", typeof(Delegates.GetTexParameterPointervAPPLE)); + Delegates.glGetTexParameterPointervAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (OpenTK.Graphics.OpenGL.AppleTextureRange)pname, (IntPtr)@params); + } + internal static unsafe void Load_GetTexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params) + { + Delegates.glGetTexParameterxvOES = (Delegates.GetTexParameterxvOES)GetExtensionDelegateStatic("glGetTexParameterxvOES", typeof(Delegates.GetTexParameterxvOES)); + Delegates.glGetTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static Int64 Load_GetTextureHandleARB(UInt32 texture) + { + Delegates.glGetTextureHandleARB = (Delegates.GetTextureHandleARB)GetExtensionDelegateStatic("glGetTextureHandleARB", typeof(Delegates.GetTextureHandleARB)); + return Delegates.glGetTextureHandleARB((UInt32)texture); + } + internal static Int64 Load_GetTextureHandleNV(UInt32 texture) + { + Delegates.glGetTextureHandleNV = (Delegates.GetTextureHandleNV)GetExtensionDelegateStatic("glGetTextureHandleNV", typeof(Delegates.GetTextureHandleNV)); + return Delegates.glGetTextureHandleNV((UInt32)texture); + } + internal static void Load_GetTextureImageEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glGetTextureImageEXT = (Delegates.GetTextureImageEXT)GetExtensionDelegateStatic("glGetTextureImageEXT", typeof(Delegates.GetTextureImageEXT)); + Delegates.glGetTextureImageEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static unsafe void Load_GetTextureLevelParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTextureLevelParameterfvEXT = (Delegates.GetTextureLevelParameterfvEXT)GetExtensionDelegateStatic("glGetTextureLevelParameterfvEXT", typeof(Delegates.GetTextureLevelParameterfvEXT)); + Delegates.glGetTextureLevelParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTextureLevelParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTextureLevelParameterivEXT = (Delegates.GetTextureLevelParameterivEXT)GetExtensionDelegateStatic("glGetTextureLevelParameterivEXT", typeof(Delegates.GetTextureLevelParameterivEXT)); + Delegates.glGetTextureLevelParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTextureParameterfvEXT = (Delegates.GetTextureParameterfvEXT)GetExtensionDelegateStatic("glGetTextureParameterfvEXT", typeof(Delegates.GetTextureParameterfvEXT)); + Delegates.glGetTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTextureParameterIivEXT = (Delegates.GetTextureParameterIivEXT)GetExtensionDelegateStatic("glGetTextureParameterIivEXT", typeof(Delegates.GetTextureParameterIivEXT)); + Delegates.glGetTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetTextureParameterIuivEXT = (Delegates.GetTextureParameterIuivEXT)GetExtensionDelegateStatic("glGetTextureParameterIuivEXT", typeof(Delegates.GetTextureParameterIuivEXT)); + Delegates.glGetTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetTextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTextureParameterivEXT = (Delegates.GetTextureParameterivEXT)GetExtensionDelegateStatic("glGetTextureParameterivEXT", typeof(Delegates.GetTextureParameterivEXT)); + Delegates.glGetTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.GetTextureParameter)pname, (Int32*)@params); + } + internal static Int64 Load_GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler) + { + Delegates.glGetTextureSamplerHandleARB = (Delegates.GetTextureSamplerHandleARB)GetExtensionDelegateStatic("glGetTextureSamplerHandleARB", typeof(Delegates.GetTextureSamplerHandleARB)); + return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); + } + internal static Int64 Load_GetTextureSamplerHandleNV(UInt32 texture, UInt32 sampler) + { + Delegates.glGetTextureSamplerHandleNV = (Delegates.GetTextureSamplerHandleNV)GetExtensionDelegateStatic("glGetTextureSamplerHandleNV", typeof(Delegates.GetTextureSamplerHandleNV)); + return Delegates.glGetTextureSamplerHandleNV((UInt32)texture, (UInt32)sampler); + } + internal static unsafe void Load_GetTrackMatrixivNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTrackMatrixivNV = (Delegates.GetTrackMatrixivNV)GetExtensionDelegateStatic("glGetTrackMatrixivNV", typeof(Delegates.GetTrackMatrixivNV)); + Delegates.glGetTrackMatrixivNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.TransformFeedbackType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetTransformFeedbackVarying = (Delegates.GetTransformFeedbackVarying)GetExtensionDelegateStatic("glGetTransformFeedbackVarying", typeof(Delegates.GetTransformFeedbackVarying)); + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.TransformFeedbackType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL.ExtTransformFeedback* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetTransformFeedbackVaryingEXT = (Delegates.GetTransformFeedbackVaryingEXT)GetExtensionDelegateStatic("glGetTransformFeedbackVaryingEXT", typeof(Delegates.GetTransformFeedbackVaryingEXT)); + Delegates.glGetTransformFeedbackVaryingEXT((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL.ExtTransformFeedback*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetTransformFeedbackVaryingNV(UInt32 program, UInt32 index, [OutAttribute] Int32* location) + { + Delegates.glGetTransformFeedbackVaryingNV = (Delegates.GetTransformFeedbackVaryingNV)GetExtensionDelegateStatic("glGetTransformFeedbackVaryingNV", typeof(Delegates.GetTransformFeedbackVaryingNV)); + Delegates.glGetTransformFeedbackVaryingNV((UInt32)program, (UInt32)index, (Int32*)location); + } + internal static Int32 Load_GetUniformBlockIndex(UInt32 program, String uniformBlockName) + { + Delegates.glGetUniformBlockIndex = (Delegates.GetUniformBlockIndex)GetExtensionDelegateStatic("glGetUniformBlockIndex", typeof(Delegates.GetUniformBlockIndex)); + return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); + } + internal static Int32 Load_GetUniformBufferSizeEXT(UInt32 program, Int32 location) + { + Delegates.glGetUniformBufferSizeEXT = (Delegates.GetUniformBufferSizeEXT)GetExtensionDelegateStatic("glGetUniformBufferSizeEXT", typeof(Delegates.GetUniformBufferSizeEXT)); + return Delegates.glGetUniformBufferSizeEXT((UInt32)program, (Int32)location); + } + internal static unsafe void Load_GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params) + { + Delegates.glGetUniformdv = (Delegates.GetUniformdv)GetExtensionDelegateStatic("glGetUniformdv", typeof(Delegates.GetUniformdv)); + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); + } + internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) + { + Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + } + internal static unsafe void Load_GetUniformfvARB(UInt32 programObj, Int32 location, [OutAttribute] Single* @params) + { + Delegates.glGetUniformfvARB = (Delegates.GetUniformfvARB)GetExtensionDelegateStatic("glGetUniformfvARB", typeof(Delegates.GetUniformfvARB)); + Delegates.glGetUniformfvARB((UInt32)programObj, (Int32)location, (Single*)@params); + } + internal static unsafe void Load_GetUniformi64vNV(UInt32 program, Int32 location, [OutAttribute] Int64* @params) + { + Delegates.glGetUniformi64vNV = (Delegates.GetUniformi64vNV)GetExtensionDelegateStatic("glGetUniformi64vNV", typeof(Delegates.GetUniformi64vNV)); + Delegates.glGetUniformi64vNV((UInt32)program, (Int32)location, (Int64*)@params); + } + internal static unsafe void Load_GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) + { + Delegates.glGetUniformIndices = (Delegates.GetUniformIndices)GetExtensionDelegateStatic("glGetUniformIndices", typeof(Delegates.GetUniformIndices)); + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + } + internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) + { + Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + } + internal static unsafe void Load_GetUniformivARB(UInt32 programObj, Int32 location, [OutAttribute] Int32* @params) + { + Delegates.glGetUniformivARB = (Delegates.GetUniformivARB)GetExtensionDelegateStatic("glGetUniformivARB", typeof(Delegates.GetUniformivARB)); + Delegates.glGetUniformivARB((UInt32)programObj, (Int32)location, (Int32*)@params); + } + internal static Int32 Load_GetUniformLocation(UInt32 program, String name) + { + Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + } + internal static Int32 Load_GetUniformLocationARB(UInt32 programObj, String name) + { + Delegates.glGetUniformLocationARB = (Delegates.GetUniformLocationARB)GetExtensionDelegateStatic("glGetUniformLocationARB", typeof(Delegates.GetUniformLocationARB)); + return Delegates.glGetUniformLocationARB((UInt32)programObj, (String)name); + } + internal static IntPtr Load_GetUniformOffsetEXT(UInt32 program, Int32 location) + { + Delegates.glGetUniformOffsetEXT = (Delegates.GetUniformOffsetEXT)GetExtensionDelegateStatic("glGetUniformOffsetEXT", typeof(Delegates.GetUniformOffsetEXT)); + return Delegates.glGetUniformOffsetEXT((UInt32)program, (Int32)location); + } + internal static unsafe void Load_GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) + { + Delegates.glGetUniformSubroutineuiv = (Delegates.GetUniformSubroutineuiv)GetExtensionDelegateStatic("glGetUniformSubroutineuiv", typeof(Delegates.GetUniformSubroutineuiv)); + Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)location, (UInt32*)@params); + } + internal static unsafe void Load_GetUniformui64vNV(UInt32 program, Int32 location, [OutAttribute] UInt64* @params) + { + Delegates.glGetUniformui64vNV = (Delegates.GetUniformui64vNV)GetExtensionDelegateStatic("glGetUniformui64vNV", typeof(Delegates.GetUniformui64vNV)); + Delegates.glGetUniformui64vNV((UInt32)program, (Int32)location, (UInt64*)@params); + } + internal static unsafe void Load_GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) + { + Delegates.glGetUniformuiv = (Delegates.GetUniformuiv)GetExtensionDelegateStatic("glGetUniformuiv", typeof(Delegates.GetUniformuiv)); + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); + } + internal static unsafe void Load_GetUniformuivEXT(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) + { + Delegates.glGetUniformuivEXT = (Delegates.GetUniformuivEXT)GetExtensionDelegateStatic("glGetUniformuivEXT", typeof(Delegates.GetUniformuivEXT)); + Delegates.glGetUniformuivEXT((UInt32)program, (Int32)location, (UInt32*)@params); + } + internal static unsafe void Load_GetVariantArrayObjectfvATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Single* @params) + { + Delegates.glGetVariantArrayObjectfvATI = (Delegates.GetVariantArrayObjectfvATI)GetExtensionDelegateStatic("glGetVariantArrayObjectfvATI", typeof(Delegates.GetVariantArrayObjectfvATI)); + Delegates.glGetVariantArrayObjectfvATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Single*)@params); + } + internal static unsafe void Load_GetVariantArrayObjectivATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVariantArrayObjectivATI = (Delegates.GetVariantArrayObjectivATI)GetExtensionDelegateStatic("glGetVariantArrayObjectivATI", typeof(Delegates.GetVariantArrayObjectivATI)); + Delegates.glGetVariantArrayObjectivATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVariantBooleanvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] bool* data) + { + Delegates.glGetVariantBooleanvEXT = (Delegates.GetVariantBooleanvEXT)GetExtensionDelegateStatic("glGetVariantBooleanvEXT", typeof(Delegates.GetVariantBooleanvEXT)); + Delegates.glGetVariantBooleanvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (bool*)data); + } + internal static unsafe void Load_GetVariantFloatvEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Single* data) + { + Delegates.glGetVariantFloatvEXT = (Delegates.GetVariantFloatvEXT)GetExtensionDelegateStatic("glGetVariantFloatvEXT", typeof(Delegates.GetVariantFloatvEXT)); + Delegates.glGetVariantFloatvEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Single*)data); + } + internal static unsafe void Load_GetVariantIntegervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] Int32* data) + { + Delegates.glGetVariantIntegervEXT = (Delegates.GetVariantIntegervEXT)GetExtensionDelegateStatic("glGetVariantIntegervEXT", typeof(Delegates.GetVariantIntegervEXT)); + Delegates.glGetVariantIntegervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (Int32*)data); + } + internal static void Load_GetVariantPointervEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader value, [OutAttribute] IntPtr data) + { + Delegates.glGetVariantPointervEXT = (Delegates.GetVariantPointervEXT)GetExtensionDelegateStatic("glGetVariantPointervEXT", typeof(Delegates.GetVariantPointervEXT)); + Delegates.glGetVariantPointervEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)value, (IntPtr)data); + } + internal static Int32 Load_GetVaryingLocationNV(UInt32 program, String name) + { + Delegates.glGetVaryingLocationNV = (Delegates.GetVaryingLocationNV)GetExtensionDelegateStatic("glGetVaryingLocationNV", typeof(Delegates.GetVaryingLocationNV)); + return Delegates.glGetVaryingLocationNV((UInt32)program, (String)name); + } + internal static unsafe void Load_GetVertexArrayIntegeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) + { + Delegates.glGetVertexArrayIntegeri_vEXT = (Delegates.GetVertexArrayIntegeri_vEXT)GetExtensionDelegateStatic("glGetVertexArrayIntegeri_vEXT", typeof(Delegates.GetVertexArrayIntegeri_vEXT)); + Delegates.glGetVertexArrayIntegeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); + } + internal static unsafe void Load_GetVertexArrayIntegervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] Int32* param) + { + Delegates.glGetVertexArrayIntegervEXT = (Delegates.GetVertexArrayIntegervEXT)GetExtensionDelegateStatic("glGetVertexArrayIntegervEXT", typeof(Delegates.GetVertexArrayIntegervEXT)); + Delegates.glGetVertexArrayIntegervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (Int32*)param); + } + internal static void Load_GetVertexArrayPointeri_vEXT(UInt32 vaobj, UInt32 index, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) + { + Delegates.glGetVertexArrayPointeri_vEXT = (Delegates.GetVertexArrayPointeri_vEXT)GetExtensionDelegateStatic("glGetVertexArrayPointeri_vEXT", typeof(Delegates.GetVertexArrayPointeri_vEXT)); + Delegates.glGetVertexArrayPointeri_vEXT((UInt32)vaobj, (UInt32)index, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); + } + internal static void Load_GetVertexArrayPointervEXT(UInt32 vaobj, OpenTK.Graphics.OpenGL.ExtDirectStateAccess pname, [OutAttribute] IntPtr param) + { + Delegates.glGetVertexArrayPointervEXT = (Delegates.GetVertexArrayPointervEXT)GetExtensionDelegateStatic("glGetVertexArrayPointervEXT", typeof(Delegates.GetVertexArrayPointervEXT)); + Delegates.glGetVertexArrayPointervEXT((UInt32)vaobj, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)pname, (IntPtr)param); + } + internal static unsafe void Load_GetVertexAttribArrayObjectfvATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Single* @params) + { + Delegates.glGetVertexAttribArrayObjectfvATI = (Delegates.GetVertexAttribArrayObjectfvATI)GetExtensionDelegateStatic("glGetVertexAttribArrayObjectfvATI", typeof(Delegates.GetVertexAttribArrayObjectfvATI)); + Delegates.glGetVertexAttribArrayObjectfvATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Single*)@params); + } + internal static unsafe void Load_GetVertexAttribArrayObjectivATI(UInt32 index, OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribArrayObjectivATI = (Delegates.GetVertexAttribArrayObjectivATI)GetExtensionDelegateStatic("glGetVertexAttribArrayObjectivATI", typeof(Delegates.GetVertexAttribArrayObjectivATI)); + Delegates.glGetVertexAttribArrayObjectivATI((UInt32)index, (OpenTK.Graphics.OpenGL.AtiVertexAttribArrayObject)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + Delegates.glGetVertexAttribdv = (Delegates.GetVertexAttribdv)GetExtensionDelegateStatic("glGetVertexAttribdv", typeof(Delegates.GetVertexAttribdv)); + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); + } + internal static unsafe void Load_GetVertexAttribdvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Double* @params) + { + Delegates.glGetVertexAttribdvARB = (Delegates.GetVertexAttribdvARB)GetExtensionDelegateStatic("glGetVertexAttribdvARB", typeof(Delegates.GetVertexAttribdvARB)); + Delegates.glGetVertexAttribdvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Double*)@params); + } + internal static unsafe void Load_GetVertexAttribdvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Double* @params) + { + Delegates.glGetVertexAttribdvNV = (Delegates.GetVertexAttribdvNV)GetExtensionDelegateStatic("glGetVertexAttribdvNV", typeof(Delegates.GetVertexAttribdvNV)); + Delegates.glGetVertexAttribdvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Double*)@params); + } + internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetVertexAttribfvARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Single* @params) + { + Delegates.glGetVertexAttribfvARB = (Delegates.GetVertexAttribfvARB)GetExtensionDelegateStatic("glGetVertexAttribfvARB", typeof(Delegates.GetVertexAttribfvARB)); + Delegates.glGetVertexAttribfvARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Single*)@params); + } + internal static unsafe void Load_GetVertexAttribfvNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Single* @params) + { + Delegates.glGetVertexAttribfvNV = (Delegates.GetVertexAttribfvNV)GetExtensionDelegateStatic("glGetVertexAttribfvNV", typeof(Delegates.GetVertexAttribfvNV)); + Delegates.glGetVertexAttribfvNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Single*)@params); + } + internal static unsafe void Load_GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribIiv = (Delegates.GetVertexAttribIiv)GetExtensionDelegateStatic("glGetVertexAttribIiv", typeof(Delegates.GetVertexAttribIiv)); + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribIivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribIivEXT = (Delegates.GetVertexAttribIivEXT)GetExtensionDelegateStatic("glGetVertexAttribIivEXT", typeof(Delegates.GetVertexAttribIivEXT)); + Delegates.glGetVertexAttribIivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetVertexAttribIuiv = (Delegates.GetVertexAttribIuiv)GetExtensionDelegateStatic("glGetVertexAttribIuiv", typeof(Delegates.GetVertexAttribIuiv)); + Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetVertexAttribIuivEXT(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram4 pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetVertexAttribIuivEXT = (Delegates.GetVertexAttribIuivEXT)GetExtensionDelegateStatic("glGetVertexAttribIuivEXT", typeof(Delegates.GetVertexAttribIuivEXT)); + Delegates.glGetVertexAttribIuivEXT((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram4)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribivARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribivARB = (Delegates.GetVertexAttribivARB)GetExtensionDelegateStatic("glGetVertexAttribivARB", typeof(Delegates.GetVertexAttribivARB)); + Delegates.glGetVertexAttribivARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribivNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribivNV = (Delegates.GetVertexAttribivNV)GetExtensionDelegateStatic("glGetVertexAttribivNV", typeof(Delegates.GetVertexAttribivNV)); + Delegates.glGetVertexAttribivNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + Delegates.glGetVertexAttribLdv = (Delegates.GetVertexAttribLdv)GetExtensionDelegateStatic("glGetVertexAttribLdv", typeof(Delegates.GetVertexAttribLdv)); + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameter)pname, (Double*)@params); + } + internal static unsafe void Load_GetVertexAttribLdvEXT(UInt32 index, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit pname, [OutAttribute] Double* @params) + { + Delegates.glGetVertexAttribLdvEXT = (Delegates.GetVertexAttribLdvEXT)GetExtensionDelegateStatic("glGetVertexAttribLdvEXT", typeof(Delegates.GetVertexAttribLdvEXT)); + Delegates.glGetVertexAttribLdvEXT((UInt32)index, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)pname, (Double*)@params); + } + internal static unsafe void Load_GetVertexAttribLi64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] Int64* @params) + { + Delegates.glGetVertexAttribLi64vNV = (Delegates.GetVertexAttribLi64vNV)GetExtensionDelegateStatic("glGetVertexAttribLi64vNV", typeof(Delegates.GetVertexAttribLi64vNV)); + Delegates.glGetVertexAttribLi64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (Int64*)@params); + } + internal static unsafe void Load_GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetVertexAttribLui64vARB = (Delegates.GetVertexAttribLui64vARB)GetExtensionDelegateStatic("glGetVertexAttribLui64vARB", typeof(Delegates.GetVertexAttribLui64vARB)); + Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)pname, (UInt64*)@params); + } + internal static unsafe void Load_GetVertexAttribLui64vNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetVertexAttribLui64vNV = (Delegates.GetVertexAttribLui64vNV)GetExtensionDelegateStatic("glGetVertexAttribLui64vNV", typeof(Delegates.GetVertexAttribLui64vNV)); + Delegates.glGetVertexAttribLui64vNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)pname, (UInt64*)@params); + } + internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameter)pname, (IntPtr)pointer); + } + internal static void Load_GetVertexAttribPointervARB(UInt32 index, OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb pname, [OutAttribute] IntPtr pointer) + { + Delegates.glGetVertexAttribPointervARB = (Delegates.GetVertexAttribPointervARB)GetExtensionDelegateStatic("glGetVertexAttribPointervARB", typeof(Delegates.GetVertexAttribPointervARB)); + Delegates.glGetVertexAttribPointervARB((UInt32)index, (OpenTK.Graphics.OpenGL.VertexAttribPointerParameterArb)pname, (IntPtr)pointer); + } + internal static void Load_GetVertexAttribPointervNV(UInt32 index, OpenTK.Graphics.OpenGL.NvVertexProgram pname, [OutAttribute] IntPtr pointer) + { + Delegates.glGetVertexAttribPointervNV = (Delegates.GetVertexAttribPointervNV)GetExtensionDelegateStatic("glGetVertexAttribPointervNV", typeof(Delegates.GetVertexAttribPointervNV)); + Delegates.glGetVertexAttribPointervNV((UInt32)index, (OpenTK.Graphics.OpenGL.NvVertexProgram)pname, (IntPtr)pointer); + } + internal static unsafe void Load_GetVideoCaptureivNV(UInt32 video_capture_slot, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVideoCaptureivNV = (Delegates.GetVideoCaptureivNV)GetExtensionDelegateStatic("glGetVideoCaptureivNV", typeof(Delegates.GetVideoCaptureivNV)); + Delegates.glGetVideoCaptureivNV((UInt32)video_capture_slot, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVideoCaptureStreamdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Double* @params) + { + Delegates.glGetVideoCaptureStreamdvNV = (Delegates.GetVideoCaptureStreamdvNV)GetExtensionDelegateStatic("glGetVideoCaptureStreamdvNV", typeof(Delegates.GetVideoCaptureStreamdvNV)); + Delegates.glGetVideoCaptureStreamdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); + } + internal static unsafe void Load_GetVideoCaptureStreamfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Single* @params) + { + Delegates.glGetVideoCaptureStreamfvNV = (Delegates.GetVideoCaptureStreamfvNV)GetExtensionDelegateStatic("glGetVideoCaptureStreamfvNV", typeof(Delegates.GetVideoCaptureStreamfvNV)); + Delegates.glGetVideoCaptureStreamfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); + } + internal static unsafe void Load_GetVideoCaptureStreamivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVideoCaptureStreamivNV = (Delegates.GetVideoCaptureStreamivNV)GetExtensionDelegateStatic("glGetVideoCaptureStreamivNV", typeof(Delegates.GetVideoCaptureStreamivNV)); + Delegates.glGetVideoCaptureStreamivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int64* @params) + { + Delegates.glGetVideoi64vNV = (Delegates.GetVideoi64vNV)GetExtensionDelegateStatic("glGetVideoi64vNV", typeof(Delegates.GetVideoi64vNV)); + Delegates.glGetVideoi64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int64*)@params); + } + internal static unsafe void Load_GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVideoivNV = (Delegates.GetVideoivNV)GetExtensionDelegateStatic("glGetVideoivNV", typeof(Delegates.GetVideoivNV)); + Delegates.glGetVideoivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetVideoui64vNV = (Delegates.GetVideoui64vNV)GetExtensionDelegateStatic("glGetVideoui64vNV", typeof(Delegates.GetVideoui64vNV)); + Delegates.glGetVideoui64vNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt64*)@params); + } + internal static unsafe void Load_GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.OpenGL.NvPresentVideo pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetVideouivNV = (Delegates.GetVideouivNV)GetExtensionDelegateStatic("glGetVideouivNV", typeof(Delegates.GetVideouivNV)); + Delegates.glGetVideouivNV((UInt32)video_slot, (OpenTK.Graphics.OpenGL.NvPresentVideo)pname, (UInt32*)@params); + } + internal static void Load_GlobalAlphaFactorbSUN(SByte factor) + { + Delegates.glGlobalAlphaFactorbSUN = (Delegates.GlobalAlphaFactorbSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorbSUN", typeof(Delegates.GlobalAlphaFactorbSUN)); + Delegates.glGlobalAlphaFactorbSUN((SByte)factor); + } + internal static void Load_GlobalAlphaFactordSUN(Double factor) + { + Delegates.glGlobalAlphaFactordSUN = (Delegates.GlobalAlphaFactordSUN)GetExtensionDelegateStatic("glGlobalAlphaFactordSUN", typeof(Delegates.GlobalAlphaFactordSUN)); + Delegates.glGlobalAlphaFactordSUN((Double)factor); + } + internal static void Load_GlobalAlphaFactorfSUN(Single factor) + { + Delegates.glGlobalAlphaFactorfSUN = (Delegates.GlobalAlphaFactorfSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorfSUN", typeof(Delegates.GlobalAlphaFactorfSUN)); + Delegates.glGlobalAlphaFactorfSUN((Single)factor); + } + internal static void Load_GlobalAlphaFactoriSUN(Int32 factor) + { + Delegates.glGlobalAlphaFactoriSUN = (Delegates.GlobalAlphaFactoriSUN)GetExtensionDelegateStatic("glGlobalAlphaFactoriSUN", typeof(Delegates.GlobalAlphaFactoriSUN)); + Delegates.glGlobalAlphaFactoriSUN((Int32)factor); + } + internal static void Load_GlobalAlphaFactorsSUN(Int16 factor) + { + Delegates.glGlobalAlphaFactorsSUN = (Delegates.GlobalAlphaFactorsSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorsSUN", typeof(Delegates.GlobalAlphaFactorsSUN)); + Delegates.glGlobalAlphaFactorsSUN((Int16)factor); + } + internal static void Load_GlobalAlphaFactorubSUN(Byte factor) + { + Delegates.glGlobalAlphaFactorubSUN = (Delegates.GlobalAlphaFactorubSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorubSUN", typeof(Delegates.GlobalAlphaFactorubSUN)); + Delegates.glGlobalAlphaFactorubSUN((Byte)factor); + } + internal static void Load_GlobalAlphaFactoruiSUN(UInt32 factor) + { + Delegates.glGlobalAlphaFactoruiSUN = (Delegates.GlobalAlphaFactoruiSUN)GetExtensionDelegateStatic("glGlobalAlphaFactoruiSUN", typeof(Delegates.GlobalAlphaFactoruiSUN)); + Delegates.glGlobalAlphaFactoruiSUN((UInt32)factor); + } + internal static void Load_GlobalAlphaFactorusSUN(UInt16 factor) + { + Delegates.glGlobalAlphaFactorusSUN = (Delegates.GlobalAlphaFactorusSUN)GetExtensionDelegateStatic("glGlobalAlphaFactorusSUN", typeof(Delegates.GlobalAlphaFactorusSUN)); + Delegates.glGlobalAlphaFactorusSUN((UInt16)factor); + } + internal static void Load_Hint(OpenTK.Graphics.OpenGL.HintTarget target, OpenTK.Graphics.OpenGL.HintMode mode) + { + Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); + Delegates.glHint((OpenTK.Graphics.OpenGL.HintTarget)target, (OpenTK.Graphics.OpenGL.HintMode)mode); + } + internal static void Load_HintPGI(OpenTK.Graphics.OpenGL.PgiMiscHints target, Int32 mode) + { + Delegates.glHintPGI = (Delegates.HintPGI)GetExtensionDelegateStatic("glHintPGI", typeof(Delegates.HintPGI)); + Delegates.glHintPGI((OpenTK.Graphics.OpenGL.PgiMiscHints)target, (Int32)mode); + } + internal static void Load_Histogram(OpenTK.Graphics.OpenGL.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + Delegates.glHistogram = (Delegates.Histogram)GetExtensionDelegateStatic("glHistogram", typeof(Delegates.Histogram)); + Delegates.glHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + } + internal static void Load_HistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, Int32 width, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + Delegates.glHistogramEXT = (Delegates.HistogramEXT)GetExtensionDelegateStatic("glHistogramEXT", typeof(Delegates.HistogramEXT)); + Delegates.glHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (Int32)width, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + } + internal static void Load_IglooInterfaceSGIX(OpenTK.Graphics.OpenGL.SgixIglooInterface pname, IntPtr @params) + { + Delegates.glIglooInterfaceSGIX = (Delegates.IglooInterfaceSGIX)GetExtensionDelegateStatic("glIglooInterfaceSGIX", typeof(Delegates.IglooInterfaceSGIX)); + Delegates.glIglooInterfaceSGIX((OpenTK.Graphics.OpenGL.SgixIglooInterface)pname, (IntPtr)@params); + } + internal static void Load_ImageTransformParameterfHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single param) + { + Delegates.glImageTransformParameterfHP = (Delegates.ImageTransformParameterfHP)GetExtensionDelegateStatic("glImageTransformParameterfHP", typeof(Delegates.ImageTransformParameterfHP)); + Delegates.glImageTransformParameterfHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single)param); + } + internal static unsafe void Load_ImageTransformParameterfvHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Single* @params) + { + Delegates.glImageTransformParameterfvHP = (Delegates.ImageTransformParameterfvHP)GetExtensionDelegateStatic("glImageTransformParameterfvHP", typeof(Delegates.ImageTransformParameterfvHP)); + Delegates.glImageTransformParameterfvHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Single*)@params); + } + internal static void Load_ImageTransformParameteriHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32 param) + { + Delegates.glImageTransformParameteriHP = (Delegates.ImageTransformParameteriHP)GetExtensionDelegateStatic("glImageTransformParameteriHP", typeof(Delegates.ImageTransformParameteriHP)); + Delegates.glImageTransformParameteriHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32)param); + } + internal static unsafe void Load_ImageTransformParameterivHP(OpenTK.Graphics.OpenGL.HpImageTransform target, OpenTK.Graphics.OpenGL.HpImageTransform pname, Int32* @params) + { + Delegates.glImageTransformParameterivHP = (Delegates.ImageTransformParameterivHP)GetExtensionDelegateStatic("glImageTransformParameterivHP", typeof(Delegates.ImageTransformParameterivHP)); + Delegates.glImageTransformParameterivHP((OpenTK.Graphics.OpenGL.HpImageTransform)target, (OpenTK.Graphics.OpenGL.HpImageTransform)pname, (Int32*)@params); + } + internal static IntPtr Load_ImportSyncEXT(OpenTK.Graphics.OpenGL.ExtX11SyncObject external_sync_type, IntPtr external_sync, UInt32 flags) + { + Delegates.glImportSyncEXT = (Delegates.ImportSyncEXT)GetExtensionDelegateStatic("glImportSyncEXT", typeof(Delegates.ImportSyncEXT)); + return Delegates.glImportSyncEXT((OpenTK.Graphics.OpenGL.ExtX11SyncObject)external_sync_type, (IntPtr)external_sync, (UInt32)flags); + } + internal static void Load_Indexd(Double c) + { + Delegates.glIndexd = (Delegates.Indexd)GetExtensionDelegateStatic("glIndexd", typeof(Delegates.Indexd)); + Delegates.glIndexd((Double)c); + } + internal static unsafe void Load_Indexdv(Double* c) + { + Delegates.glIndexdv = (Delegates.Indexdv)GetExtensionDelegateStatic("glIndexdv", typeof(Delegates.Indexdv)); + Delegates.glIndexdv((Double*)c); + } + internal static void Load_Indexf(Single c) + { + Delegates.glIndexf = (Delegates.Indexf)GetExtensionDelegateStatic("glIndexf", typeof(Delegates.Indexf)); + Delegates.glIndexf((Single)c); + } + internal static void Load_IndexFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glIndexFormatNV = (Delegates.IndexFormatNV)GetExtensionDelegateStatic("glIndexFormatNV", typeof(Delegates.IndexFormatNV)); + Delegates.glIndexFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static void Load_IndexFuncEXT(OpenTK.Graphics.OpenGL.ExtIndexFunc func, Single @ref) + { + Delegates.glIndexFuncEXT = (Delegates.IndexFuncEXT)GetExtensionDelegateStatic("glIndexFuncEXT", typeof(Delegates.IndexFuncEXT)); + Delegates.glIndexFuncEXT((OpenTK.Graphics.OpenGL.ExtIndexFunc)func, (Single)@ref); + } + internal static unsafe void Load_Indexfv(Single* c) + { + Delegates.glIndexfv = (Delegates.Indexfv)GetExtensionDelegateStatic("glIndexfv", typeof(Delegates.Indexfv)); + Delegates.glIndexfv((Single*)c); + } + internal static void Load_Indexi(Int32 c) + { + Delegates.glIndexi = (Delegates.Indexi)GetExtensionDelegateStatic("glIndexi", typeof(Delegates.Indexi)); + Delegates.glIndexi((Int32)c); + } + internal static unsafe void Load_Indexiv(Int32* c) + { + Delegates.glIndexiv = (Delegates.Indexiv)GetExtensionDelegateStatic("glIndexiv", typeof(Delegates.Indexiv)); + Delegates.glIndexiv((Int32*)c); + } + internal static void Load_IndexMask(UInt32 mask) + { + Delegates.glIndexMask = (Delegates.IndexMask)GetExtensionDelegateStatic("glIndexMask", typeof(Delegates.IndexMask)); + Delegates.glIndexMask((UInt32)mask); + } + internal static void Load_IndexMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.ExtIndexMaterial mode) + { + Delegates.glIndexMaterialEXT = (Delegates.IndexMaterialEXT)GetExtensionDelegateStatic("glIndexMaterialEXT", typeof(Delegates.IndexMaterialEXT)); + Delegates.glIndexMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.ExtIndexMaterial)mode); + } + internal static void Load_IndexPointer(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glIndexPointer = (Delegates.IndexPointer)GetExtensionDelegateStatic("glIndexPointer", typeof(Delegates.IndexPointer)); + Delegates.glIndexPointer((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_IndexPointerEXT(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + Delegates.glIndexPointerEXT = (Delegates.IndexPointerEXT)GetExtensionDelegateStatic("glIndexPointerEXT", typeof(Delegates.IndexPointerEXT)); + Delegates.glIndexPointerEXT((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + } + internal static void Load_IndexPointerListIBM(OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + Delegates.glIndexPointerListIBM = (Delegates.IndexPointerListIBM)GetExtensionDelegateStatic("glIndexPointerListIBM", typeof(Delegates.IndexPointerListIBM)); + Delegates.glIndexPointerListIBM((OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + } + internal static void Load_Indexs(Int16 c) + { + Delegates.glIndexs = (Delegates.Indexs)GetExtensionDelegateStatic("glIndexs", typeof(Delegates.Indexs)); + Delegates.glIndexs((Int16)c); + } + internal static unsafe void Load_Indexsv(Int16* c) + { + Delegates.glIndexsv = (Delegates.Indexsv)GetExtensionDelegateStatic("glIndexsv", typeof(Delegates.Indexsv)); + Delegates.glIndexsv((Int16*)c); + } + internal static void Load_Indexub(Byte c) + { + Delegates.glIndexub = (Delegates.Indexub)GetExtensionDelegateStatic("glIndexub", typeof(Delegates.Indexub)); + Delegates.glIndexub((Byte)c); + } + internal static unsafe void Load_Indexubv(Byte* c) + { + Delegates.glIndexubv = (Delegates.Indexubv)GetExtensionDelegateStatic("glIndexubv", typeof(Delegates.Indexubv)); + Delegates.glIndexubv((Byte*)c); + } + internal static void Load_IndexxOES(int component) + { + Delegates.glIndexxOES = (Delegates.IndexxOES)GetExtensionDelegateStatic("glIndexxOES", typeof(Delegates.IndexxOES)); + Delegates.glIndexxOES((int)component); + } + internal static unsafe void Load_IndexxvOES(int* component) + { + Delegates.glIndexxvOES = (Delegates.IndexxvOES)GetExtensionDelegateStatic("glIndexxvOES", typeof(Delegates.IndexxvOES)); + Delegates.glIndexxvOES((int*)component); + } + internal static void Load_InitNames() + { + Delegates.glInitNames = (Delegates.InitNames)GetExtensionDelegateStatic("glInitNames", typeof(Delegates.InitNames)); + Delegates.glInitNames(); + } + internal static void Load_InsertComponentEXT(UInt32 res, UInt32 src, UInt32 num) + { + Delegates.glInsertComponentEXT = (Delegates.InsertComponentEXT)GetExtensionDelegateStatic("glInsertComponentEXT", typeof(Delegates.InsertComponentEXT)); + Delegates.glInsertComponentEXT((UInt32)res, (UInt32)src, (UInt32)num); + } + internal static void Load_InsertEventMarkerEXT(Int32 length, String marker) + { + Delegates.glInsertEventMarkerEXT = (Delegates.InsertEventMarkerEXT)GetExtensionDelegateStatic("glInsertEventMarkerEXT", typeof(Delegates.InsertEventMarkerEXT)); + Delegates.glInsertEventMarkerEXT((Int32)length, (String)marker); + } + internal static unsafe void Load_InstrumentsBufferSGIX(Int32 size, [OutAttribute] Int32* buffer) + { + Delegates.glInstrumentsBufferSGIX = (Delegates.InstrumentsBufferSGIX)GetExtensionDelegateStatic("glInstrumentsBufferSGIX", typeof(Delegates.InstrumentsBufferSGIX)); + Delegates.glInstrumentsBufferSGIX((Int32)size, (Int32*)buffer); + } + internal static void Load_InterleavedArrays(OpenTK.Graphics.OpenGL.InterleavedArrayFormat format, Int32 stride, IntPtr pointer) + { + Delegates.glInterleavedArrays = (Delegates.InterleavedArrays)GetExtensionDelegateStatic("glInterleavedArrays", typeof(Delegates.InterleavedArrays)); + Delegates.glInterleavedArrays((OpenTK.Graphics.OpenGL.InterleavedArrayFormat)format, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_InterpolatePathsNV(UInt32 resultPath, UInt32 pathA, UInt32 pathB, Single weight) + { + Delegates.glInterpolatePathsNV = (Delegates.InterpolatePathsNV)GetExtensionDelegateStatic("glInterpolatePathsNV", typeof(Delegates.InterpolatePathsNV)); + Delegates.glInterpolatePathsNV((UInt32)resultPath, (UInt32)pathA, (UInt32)pathB, (Single)weight); + } + internal static void Load_InvalidateBufferData(UInt32 buffer) + { + Delegates.glInvalidateBufferData = (Delegates.InvalidateBufferData)GetExtensionDelegateStatic("glInvalidateBufferData", typeof(Delegates.InvalidateBufferData)); + Delegates.glInvalidateBufferData((UInt32)buffer); + } + internal static void Load_InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) + { + Delegates.glInvalidateBufferSubData = (Delegates.InvalidateBufferSubData)GetExtensionDelegateStatic("glInvalidateBufferSubData", typeof(Delegates.InvalidateBufferSubData)); + Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); + } + internal static unsafe void Load_InvalidateFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments) + { + Delegates.glInvalidateFramebuffer = (Delegates.InvalidateFramebuffer)GetExtensionDelegateStatic("glInvalidateFramebuffer", typeof(Delegates.InvalidateFramebuffer)); + Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments); + } + internal static unsafe void Load_InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glInvalidateSubFramebuffer = (Delegates.InvalidateSubFramebuffer)GetExtensionDelegateStatic("glInvalidateSubFramebuffer", typeof(Delegates.InvalidateSubFramebuffer)); + Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_InvalidateTexImage(UInt32 texture, Int32 level) + { + Delegates.glInvalidateTexImage = (Delegates.InvalidateTexImage)GetExtensionDelegateStatic("glInvalidateTexImage", typeof(Delegates.InvalidateTexImage)); + Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); + } + internal static void Load_InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) + { + Delegates.glInvalidateTexSubImage = (Delegates.InvalidateTexSubImage)GetExtensionDelegateStatic("glInvalidateTexSubImage", typeof(Delegates.InvalidateTexSubImage)); + Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); + } + internal static bool Load_IsAsyncMarkerSGIX(UInt32 marker) + { + Delegates.glIsAsyncMarkerSGIX = (Delegates.IsAsyncMarkerSGIX)GetExtensionDelegateStatic("glIsAsyncMarkerSGIX", typeof(Delegates.IsAsyncMarkerSGIX)); + return Delegates.glIsAsyncMarkerSGIX((UInt32)marker); + } + internal static bool Load_IsBuffer(UInt32 buffer) + { + Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); + return Delegates.glIsBuffer((UInt32)buffer); + } + internal static bool Load_IsBufferARB(UInt32 buffer) + { + Delegates.glIsBufferARB = (Delegates.IsBufferARB)GetExtensionDelegateStatic("glIsBufferARB", typeof(Delegates.IsBufferARB)); + return Delegates.glIsBufferARB((UInt32)buffer); + } + internal static bool Load_IsBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) + { + Delegates.glIsBufferResidentNV = (Delegates.IsBufferResidentNV)GetExtensionDelegateStatic("glIsBufferResidentNV", typeof(Delegates.IsBufferResidentNV)); + return Delegates.glIsBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); + } + internal static bool Load_IsEnabled(OpenTK.Graphics.OpenGL.EnableCap cap) + { + Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); + return Delegates.glIsEnabled((OpenTK.Graphics.OpenGL.EnableCap)cap); + } + internal static bool Load_IsEnabledi(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + Delegates.glIsEnabledi = (Delegates.IsEnabledi)GetExtensionDelegateStatic("glIsEnabledi", typeof(Delegates.IsEnabledi)); + return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + } + internal static bool Load_IsEnabledIndexedEXT(OpenTK.Graphics.OpenGL.IndexedEnableCap target, UInt32 index) + { + Delegates.glIsEnabledIndexedEXT = (Delegates.IsEnabledIndexedEXT)GetExtensionDelegateStatic("glIsEnabledIndexedEXT", typeof(Delegates.IsEnabledIndexedEXT)); + return Delegates.glIsEnabledIndexedEXT((OpenTK.Graphics.OpenGL.IndexedEnableCap)target, (UInt32)index); + } + internal static bool Load_IsFenceAPPLE(UInt32 fence) + { + Delegates.glIsFenceAPPLE = (Delegates.IsFenceAPPLE)GetExtensionDelegateStatic("glIsFenceAPPLE", typeof(Delegates.IsFenceAPPLE)); + return Delegates.glIsFenceAPPLE((UInt32)fence); + } + internal static bool Load_IsFenceNV(UInt32 fence) + { + Delegates.glIsFenceNV = (Delegates.IsFenceNV)GetExtensionDelegateStatic("glIsFenceNV", typeof(Delegates.IsFenceNV)); + return Delegates.glIsFenceNV((UInt32)fence); + } + internal static bool Load_IsFramebuffer(UInt32 framebuffer) + { + Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); + return Delegates.glIsFramebuffer((UInt32)framebuffer); + } + internal static bool Load_IsFramebufferEXT(UInt32 framebuffer) + { + Delegates.glIsFramebufferEXT = (Delegates.IsFramebufferEXT)GetExtensionDelegateStatic("glIsFramebufferEXT", typeof(Delegates.IsFramebufferEXT)); + return Delegates.glIsFramebufferEXT((UInt32)framebuffer); + } + internal static bool Load_IsImageHandleResidentARB(UInt64 handle) + { + Delegates.glIsImageHandleResidentARB = (Delegates.IsImageHandleResidentARB)GetExtensionDelegateStatic("glIsImageHandleResidentARB", typeof(Delegates.IsImageHandleResidentARB)); + return Delegates.glIsImageHandleResidentARB((UInt64)handle); + } + internal static bool Load_IsImageHandleResidentNV(UInt64 handle) + { + Delegates.glIsImageHandleResidentNV = (Delegates.IsImageHandleResidentNV)GetExtensionDelegateStatic("glIsImageHandleResidentNV", typeof(Delegates.IsImageHandleResidentNV)); + return Delegates.glIsImageHandleResidentNV((UInt64)handle); + } + internal static bool Load_IsList(UInt32 list) + { + Delegates.glIsList = (Delegates.IsList)GetExtensionDelegateStatic("glIsList", typeof(Delegates.IsList)); + return Delegates.glIsList((UInt32)list); + } + internal static bool Load_IsNameAMD(OpenTK.Graphics.OpenGL.AmdNameGenDelete identifier, UInt32 name) + { + Delegates.glIsNameAMD = (Delegates.IsNameAMD)GetExtensionDelegateStatic("glIsNameAMD", typeof(Delegates.IsNameAMD)); + return Delegates.glIsNameAMD((OpenTK.Graphics.OpenGL.AmdNameGenDelete)identifier, (UInt32)name); + } + internal static bool Load_IsNamedBufferResidentNV(UInt32 buffer) + { + Delegates.glIsNamedBufferResidentNV = (Delegates.IsNamedBufferResidentNV)GetExtensionDelegateStatic("glIsNamedBufferResidentNV", typeof(Delegates.IsNamedBufferResidentNV)); + return Delegates.glIsNamedBufferResidentNV((UInt32)buffer); + } + internal static bool Load_IsNamedStringARB(Int32 namelen, String name) + { + Delegates.glIsNamedStringARB = (Delegates.IsNamedStringARB)GetExtensionDelegateStatic("glIsNamedStringARB", typeof(Delegates.IsNamedStringARB)); + return Delegates.glIsNamedStringARB((Int32)namelen, (String)name); + } + internal static bool Load_IsObjectBufferATI(UInt32 buffer) + { + Delegates.glIsObjectBufferATI = (Delegates.IsObjectBufferATI)GetExtensionDelegateStatic("glIsObjectBufferATI", typeof(Delegates.IsObjectBufferATI)); + return Delegates.glIsObjectBufferATI((UInt32)buffer); + } + internal static bool Load_IsOcclusionQueryNV(UInt32 id) + { + Delegates.glIsOcclusionQueryNV = (Delegates.IsOcclusionQueryNV)GetExtensionDelegateStatic("glIsOcclusionQueryNV", typeof(Delegates.IsOcclusionQueryNV)); + return Delegates.glIsOcclusionQueryNV((UInt32)id); + } + internal static bool Load_IsPathNV(UInt32 path) + { + Delegates.glIsPathNV = (Delegates.IsPathNV)GetExtensionDelegateStatic("glIsPathNV", typeof(Delegates.IsPathNV)); + return Delegates.glIsPathNV((UInt32)path); + } + internal static bool Load_IsPointInFillPathNV(UInt32 path, UInt32 mask, Single x, Single y) + { + Delegates.glIsPointInFillPathNV = (Delegates.IsPointInFillPathNV)GetExtensionDelegateStatic("glIsPointInFillPathNV", typeof(Delegates.IsPointInFillPathNV)); + return Delegates.glIsPointInFillPathNV((UInt32)path, (UInt32)mask, (Single)x, (Single)y); + } + internal static bool Load_IsPointInStrokePathNV(UInt32 path, Single x, Single y) + { + Delegates.glIsPointInStrokePathNV = (Delegates.IsPointInStrokePathNV)GetExtensionDelegateStatic("glIsPointInStrokePathNV", typeof(Delegates.IsPointInStrokePathNV)); + return Delegates.glIsPointInStrokePathNV((UInt32)path, (Single)x, (Single)y); + } + internal static bool Load_IsProgram(UInt32 program) + { + Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); + return Delegates.glIsProgram((UInt32)program); + } + internal static bool Load_IsProgramARB(UInt32 program) + { + Delegates.glIsProgramARB = (Delegates.IsProgramARB)GetExtensionDelegateStatic("glIsProgramARB", typeof(Delegates.IsProgramARB)); + return Delegates.glIsProgramARB((UInt32)program); + } + internal static bool Load_IsProgramNV(UInt32 id) + { + Delegates.glIsProgramNV = (Delegates.IsProgramNV)GetExtensionDelegateStatic("glIsProgramNV", typeof(Delegates.IsProgramNV)); + return Delegates.glIsProgramNV((UInt32)id); + } + internal static bool Load_IsProgramPipeline(UInt32 pipeline) + { + Delegates.glIsProgramPipeline = (Delegates.IsProgramPipeline)GetExtensionDelegateStatic("glIsProgramPipeline", typeof(Delegates.IsProgramPipeline)); + return Delegates.glIsProgramPipeline((UInt32)pipeline); + } + internal static bool Load_IsProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glIsProgramPipelineEXT = (Delegates.IsProgramPipelineEXT)GetExtensionDelegateStatic("glIsProgramPipelineEXT", typeof(Delegates.IsProgramPipelineEXT)); + return Delegates.glIsProgramPipelineEXT((UInt32)pipeline); + } + internal static bool Load_IsQuery(UInt32 id) + { + Delegates.glIsQuery = (Delegates.IsQuery)GetExtensionDelegateStatic("glIsQuery", typeof(Delegates.IsQuery)); + return Delegates.glIsQuery((UInt32)id); + } + internal static bool Load_IsQueryARB(UInt32 id) + { + Delegates.glIsQueryARB = (Delegates.IsQueryARB)GetExtensionDelegateStatic("glIsQueryARB", typeof(Delegates.IsQueryARB)); + return Delegates.glIsQueryARB((UInt32)id); + } + internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) + { + Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + } + internal static bool Load_IsRenderbufferEXT(UInt32 renderbuffer) + { + Delegates.glIsRenderbufferEXT = (Delegates.IsRenderbufferEXT)GetExtensionDelegateStatic("glIsRenderbufferEXT", typeof(Delegates.IsRenderbufferEXT)); + return Delegates.glIsRenderbufferEXT((UInt32)renderbuffer); + } + internal static bool Load_IsSampler(UInt32 sampler) + { + Delegates.glIsSampler = (Delegates.IsSampler)GetExtensionDelegateStatic("glIsSampler", typeof(Delegates.IsSampler)); + return Delegates.glIsSampler((UInt32)sampler); + } + internal static bool Load_IsShader(UInt32 shader) + { + Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); + return Delegates.glIsShader((UInt32)shader); + } + internal static bool Load_IsSync(IntPtr sync) + { + Delegates.glIsSync = (Delegates.IsSync)GetExtensionDelegateStatic("glIsSync", typeof(Delegates.IsSync)); + return Delegates.glIsSync((IntPtr)sync); + } + internal static bool Load_IsTexture(UInt32 texture) + { + Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); + return Delegates.glIsTexture((UInt32)texture); + } + internal static bool Load_IsTextureEXT(UInt32 texture) + { + Delegates.glIsTextureEXT = (Delegates.IsTextureEXT)GetExtensionDelegateStatic("glIsTextureEXT", typeof(Delegates.IsTextureEXT)); + return Delegates.glIsTextureEXT((UInt32)texture); + } + internal static bool Load_IsTextureHandleResidentARB(UInt64 handle) + { + Delegates.glIsTextureHandleResidentARB = (Delegates.IsTextureHandleResidentARB)GetExtensionDelegateStatic("glIsTextureHandleResidentARB", typeof(Delegates.IsTextureHandleResidentARB)); + return Delegates.glIsTextureHandleResidentARB((UInt64)handle); + } + internal static bool Load_IsTextureHandleResidentNV(UInt64 handle) + { + Delegates.glIsTextureHandleResidentNV = (Delegates.IsTextureHandleResidentNV)GetExtensionDelegateStatic("glIsTextureHandleResidentNV", typeof(Delegates.IsTextureHandleResidentNV)); + return Delegates.glIsTextureHandleResidentNV((UInt64)handle); + } + internal static bool Load_IsTransformFeedback(UInt32 id) + { + Delegates.glIsTransformFeedback = (Delegates.IsTransformFeedback)GetExtensionDelegateStatic("glIsTransformFeedback", typeof(Delegates.IsTransformFeedback)); + return Delegates.glIsTransformFeedback((UInt32)id); + } + internal static bool Load_IsTransformFeedbackNV(UInt32 id) + { + Delegates.glIsTransformFeedbackNV = (Delegates.IsTransformFeedbackNV)GetExtensionDelegateStatic("glIsTransformFeedbackNV", typeof(Delegates.IsTransformFeedbackNV)); + return Delegates.glIsTransformFeedbackNV((UInt32)id); + } + internal static bool Load_IsVariantEnabledEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader cap) + { + Delegates.glIsVariantEnabledEXT = (Delegates.IsVariantEnabledEXT)GetExtensionDelegateStatic("glIsVariantEnabledEXT", typeof(Delegates.IsVariantEnabledEXT)); + return Delegates.glIsVariantEnabledEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)cap); + } + internal static bool Load_IsVertexArray(UInt32 array) + { + Delegates.glIsVertexArray = (Delegates.IsVertexArray)GetExtensionDelegateStatic("glIsVertexArray", typeof(Delegates.IsVertexArray)); + return Delegates.glIsVertexArray((UInt32)array); + } + internal static bool Load_IsVertexArrayAPPLE(UInt32 array) + { + Delegates.glIsVertexArrayAPPLE = (Delegates.IsVertexArrayAPPLE)GetExtensionDelegateStatic("glIsVertexArrayAPPLE", typeof(Delegates.IsVertexArrayAPPLE)); + return Delegates.glIsVertexArrayAPPLE((UInt32)array); + } + internal static bool Load_IsVertexAttribEnabledAPPLE(UInt32 index, OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators pname) + { + Delegates.glIsVertexAttribEnabledAPPLE = (Delegates.IsVertexAttribEnabledAPPLE)GetExtensionDelegateStatic("glIsVertexAttribEnabledAPPLE", typeof(Delegates.IsVertexAttribEnabledAPPLE)); + return Delegates.glIsVertexAttribEnabledAPPLE((UInt32)index, (OpenTK.Graphics.OpenGL.AppleVertexProgramEvaluators)pname); + } + internal static void Load_LabelObjectEXT(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 length, String label) + { + Delegates.glLabelObjectEXT = (Delegates.LabelObjectEXT)GetExtensionDelegateStatic("glLabelObjectEXT", typeof(Delegates.LabelObjectEXT)); + Delegates.glLabelObjectEXT((OpenTK.Graphics.OpenGL.ExtDebugLabel)type, (UInt32)@object, (Int32)length, (String)label); + } + internal static void Load_LightEnviSGIX(OpenTK.Graphics.OpenGL.SgixFragmentLighting pname, Int32 param) + { + Delegates.glLightEnviSGIX = (Delegates.LightEnviSGIX)GetExtensionDelegateStatic("glLightEnviSGIX", typeof(Delegates.LightEnviSGIX)); + Delegates.glLightEnviSGIX((OpenTK.Graphics.OpenGL.SgixFragmentLighting)pname, (Int32)param); + } + internal static void Load_Lightf(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single param) + { + Delegates.glLightf = (Delegates.Lightf)GetExtensionDelegateStatic("glLightf", typeof(Delegates.Lightf)); + Delegates.glLightf((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single)param); + } + internal static unsafe void Load_Lightfv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Single* @params) + { + Delegates.glLightfv = (Delegates.Lightfv)GetExtensionDelegateStatic("glLightfv", typeof(Delegates.Lightfv)); + Delegates.glLightfv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Single*)@params); + } + internal static void Load_Lighti(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32 param) + { + Delegates.glLighti = (Delegates.Lighti)GetExtensionDelegateStatic("glLighti", typeof(Delegates.Lighti)); + Delegates.glLighti((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32)param); + } + internal static unsafe void Load_Lightiv(OpenTK.Graphics.OpenGL.LightName light, OpenTK.Graphics.OpenGL.LightParameter pname, Int32* @params) + { + Delegates.glLightiv = (Delegates.Lightiv)GetExtensionDelegateStatic("glLightiv", typeof(Delegates.Lightiv)); + Delegates.glLightiv((OpenTK.Graphics.OpenGL.LightName)light, (OpenTK.Graphics.OpenGL.LightParameter)pname, (Int32*)@params); + } + internal static void Load_LightModelf(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single param) + { + Delegates.glLightModelf = (Delegates.LightModelf)GetExtensionDelegateStatic("glLightModelf", typeof(Delegates.LightModelf)); + Delegates.glLightModelf((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single)param); + } + internal static unsafe void Load_LightModelfv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Single* @params) + { + Delegates.glLightModelfv = (Delegates.LightModelfv)GetExtensionDelegateStatic("glLightModelfv", typeof(Delegates.LightModelfv)); + Delegates.glLightModelfv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Single*)@params); + } + internal static void Load_LightModeli(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32 param) + { + Delegates.glLightModeli = (Delegates.LightModeli)GetExtensionDelegateStatic("glLightModeli", typeof(Delegates.LightModeli)); + Delegates.glLightModeli((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32)param); + } + internal static unsafe void Load_LightModeliv(OpenTK.Graphics.OpenGL.LightModelParameter pname, Int32* @params) + { + Delegates.glLightModeliv = (Delegates.LightModeliv)GetExtensionDelegateStatic("glLightModeliv", typeof(Delegates.LightModeliv)); + Delegates.glLightModeliv((OpenTK.Graphics.OpenGL.LightModelParameter)pname, (Int32*)@params); + } + internal static void Load_LightModelxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glLightModelxOES = (Delegates.LightModelxOES)GetExtensionDelegateStatic("glLightModelxOES", typeof(Delegates.LightModelxOES)); + Delegates.glLightModelxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_LightModelxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) + { + Delegates.glLightModelxvOES = (Delegates.LightModelxvOES)GetExtensionDelegateStatic("glLightModelxvOES", typeof(Delegates.LightModelxvOES)); + Delegates.glLightModelxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); + } + internal static void Load_LightxOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glLightxOES = (Delegates.LightxOES)GetExtensionDelegateStatic("glLightxOES", typeof(Delegates.LightxOES)); + Delegates.glLightxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_LightxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint light, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) + { + Delegates.glLightxvOES = (Delegates.LightxvOES)GetExtensionDelegateStatic("glLightxvOES", typeof(Delegates.LightxvOES)); + Delegates.glLightxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)light, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static void Load_LineStipple(Int32 factor, UInt16 pattern) + { + Delegates.glLineStipple = (Delegates.LineStipple)GetExtensionDelegateStatic("glLineStipple", typeof(Delegates.LineStipple)); + Delegates.glLineStipple((Int32)factor, (UInt16)pattern); + } + internal static void Load_LineWidth(Single width) + { + Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); + Delegates.glLineWidth((Single)width); + } + internal static void Load_LineWidthxOES(int width) + { + Delegates.glLineWidthxOES = (Delegates.LineWidthxOES)GetExtensionDelegateStatic("glLineWidthxOES", typeof(Delegates.LineWidthxOES)); + Delegates.glLineWidthxOES((int)width); + } + internal static void Load_LinkProgram(UInt32 program) + { + Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); + Delegates.glLinkProgram((UInt32)program); + } + internal static void Load_LinkProgramARB(UInt32 programObj) + { + Delegates.glLinkProgramARB = (Delegates.LinkProgramARB)GetExtensionDelegateStatic("glLinkProgramARB", typeof(Delegates.LinkProgramARB)); + Delegates.glLinkProgramARB((UInt32)programObj); + } + internal static void Load_ListBase(UInt32 @base) + { + Delegates.glListBase = (Delegates.ListBase)GetExtensionDelegateStatic("glListBase", typeof(Delegates.ListBase)); + Delegates.glListBase((UInt32)@base); + } + internal static void Load_ListParameterfSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single param) + { + Delegates.glListParameterfSGIX = (Delegates.ListParameterfSGIX)GetExtensionDelegateStatic("glListParameterfSGIX", typeof(Delegates.ListParameterfSGIX)); + Delegates.glListParameterfSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single)param); + } + internal static unsafe void Load_ListParameterfvSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Single* @params) + { + Delegates.glListParameterfvSGIX = (Delegates.ListParameterfvSGIX)GetExtensionDelegateStatic("glListParameterfvSGIX", typeof(Delegates.ListParameterfvSGIX)); + Delegates.glListParameterfvSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Single*)@params); + } + internal static void Load_ListParameteriSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32 param) + { + Delegates.glListParameteriSGIX = (Delegates.ListParameteriSGIX)GetExtensionDelegateStatic("glListParameteriSGIX", typeof(Delegates.ListParameteriSGIX)); + Delegates.glListParameteriSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32)param); + } + internal static unsafe void Load_ListParameterivSGIX(UInt32 list, OpenTK.Graphics.OpenGL.ListParameterName pname, Int32* @params) + { + Delegates.glListParameterivSGIX = (Delegates.ListParameterivSGIX)GetExtensionDelegateStatic("glListParameterivSGIX", typeof(Delegates.ListParameterivSGIX)); + Delegates.glListParameterivSGIX((UInt32)list, (OpenTK.Graphics.OpenGL.ListParameterName)pname, (Int32*)@params); + } + internal static void Load_LoadIdentity() + { + Delegates.glLoadIdentity = (Delegates.LoadIdentity)GetExtensionDelegateStatic("glLoadIdentity", typeof(Delegates.LoadIdentity)); + Delegates.glLoadIdentity(); + } + internal static void Load_LoadIdentityDeformationMapSGIX(UInt32 mask) + { + Delegates.glLoadIdentityDeformationMapSGIX = (Delegates.LoadIdentityDeformationMapSGIX)GetExtensionDelegateStatic("glLoadIdentityDeformationMapSGIX", typeof(Delegates.LoadIdentityDeformationMapSGIX)); + Delegates.glLoadIdentityDeformationMapSGIX((UInt32)mask); + } + internal static unsafe void Load_LoadMatrixd(Double* m) + { + Delegates.glLoadMatrixd = (Delegates.LoadMatrixd)GetExtensionDelegateStatic("glLoadMatrixd", typeof(Delegates.LoadMatrixd)); + Delegates.glLoadMatrixd((Double*)m); + } + internal static unsafe void Load_LoadMatrixf(Single* m) + { + Delegates.glLoadMatrixf = (Delegates.LoadMatrixf)GetExtensionDelegateStatic("glLoadMatrixf", typeof(Delegates.LoadMatrixf)); + Delegates.glLoadMatrixf((Single*)m); + } + internal static unsafe void Load_LoadMatrixxOES(int* m) + { + Delegates.glLoadMatrixxOES = (Delegates.LoadMatrixxOES)GetExtensionDelegateStatic("glLoadMatrixxOES", typeof(Delegates.LoadMatrixxOES)); + Delegates.glLoadMatrixxOES((int*)m); + } + internal static void Load_LoadName(UInt32 name) + { + Delegates.glLoadName = (Delegates.LoadName)GetExtensionDelegateStatic("glLoadName", typeof(Delegates.LoadName)); + Delegates.glLoadName((UInt32)name); + } + internal static unsafe void Load_LoadProgramNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 id, Int32 len, Byte* program) + { + Delegates.glLoadProgramNV = (Delegates.LoadProgramNV)GetExtensionDelegateStatic("glLoadProgramNV", typeof(Delegates.LoadProgramNV)); + Delegates.glLoadProgramNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)id, (Int32)len, (Byte*)program); + } + internal static unsafe void Load_LoadTransposeMatrixd(Double* m) + { + Delegates.glLoadTransposeMatrixd = (Delegates.LoadTransposeMatrixd)GetExtensionDelegateStatic("glLoadTransposeMatrixd", typeof(Delegates.LoadTransposeMatrixd)); + Delegates.glLoadTransposeMatrixd((Double*)m); + } + internal static unsafe void Load_LoadTransposeMatrixdARB(Double* m) + { + Delegates.glLoadTransposeMatrixdARB = (Delegates.LoadTransposeMatrixdARB)GetExtensionDelegateStatic("glLoadTransposeMatrixdARB", typeof(Delegates.LoadTransposeMatrixdARB)); + Delegates.glLoadTransposeMatrixdARB((Double*)m); + } + internal static unsafe void Load_LoadTransposeMatrixf(Single* m) + { + Delegates.glLoadTransposeMatrixf = (Delegates.LoadTransposeMatrixf)GetExtensionDelegateStatic("glLoadTransposeMatrixf", typeof(Delegates.LoadTransposeMatrixf)); + Delegates.glLoadTransposeMatrixf((Single*)m); + } + internal static unsafe void Load_LoadTransposeMatrixfARB(Single* m) + { + Delegates.glLoadTransposeMatrixfARB = (Delegates.LoadTransposeMatrixfARB)GetExtensionDelegateStatic("glLoadTransposeMatrixfARB", typeof(Delegates.LoadTransposeMatrixfARB)); + Delegates.glLoadTransposeMatrixfARB((Single*)m); + } + internal static unsafe void Load_LoadTransposeMatrixxOES(int* m) + { + Delegates.glLoadTransposeMatrixxOES = (Delegates.LoadTransposeMatrixxOES)GetExtensionDelegateStatic("glLoadTransposeMatrixxOES", typeof(Delegates.LoadTransposeMatrixxOES)); + Delegates.glLoadTransposeMatrixxOES((int*)m); + } + internal static void Load_LockArraysEXT(Int32 first, Int32 count) + { + Delegates.glLockArraysEXT = (Delegates.LockArraysEXT)GetExtensionDelegateStatic("glLockArraysEXT", typeof(Delegates.LockArraysEXT)); + Delegates.glLockArraysEXT((Int32)first, (Int32)count); + } + internal static void Load_LogicOp(OpenTK.Graphics.OpenGL.LogicOp opcode) + { + Delegates.glLogicOp = (Delegates.LogicOp)GetExtensionDelegateStatic("glLogicOp", typeof(Delegates.LogicOp)); + Delegates.glLogicOp((OpenTK.Graphics.OpenGL.LogicOp)opcode); + } + internal static void Load_MakeBufferNonResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target) + { + Delegates.glMakeBufferNonResidentNV = (Delegates.MakeBufferNonResidentNV)GetExtensionDelegateStatic("glMakeBufferNonResidentNV", typeof(Delegates.MakeBufferNonResidentNV)); + Delegates.glMakeBufferNonResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target); + } + internal static void Load_MakeBufferResidentNV(OpenTK.Graphics.OpenGL.NvShaderBufferLoad target, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) + { + Delegates.glMakeBufferResidentNV = (Delegates.MakeBufferResidentNV)GetExtensionDelegateStatic("glMakeBufferResidentNV", typeof(Delegates.MakeBufferResidentNV)); + Delegates.glMakeBufferResidentNV((OpenTK.Graphics.OpenGL.NvShaderBufferLoad)target, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); + } + internal static void Load_MakeImageHandleNonResidentARB(UInt64 handle) + { + Delegates.glMakeImageHandleNonResidentARB = (Delegates.MakeImageHandleNonResidentARB)GetExtensionDelegateStatic("glMakeImageHandleNonResidentARB", typeof(Delegates.MakeImageHandleNonResidentARB)); + Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); + } + internal static void Load_MakeImageHandleNonResidentNV(UInt64 handle) + { + Delegates.glMakeImageHandleNonResidentNV = (Delegates.MakeImageHandleNonResidentNV)GetExtensionDelegateStatic("glMakeImageHandleNonResidentNV", typeof(Delegates.MakeImageHandleNonResidentNV)); + Delegates.glMakeImageHandleNonResidentNV((UInt64)handle); + } + internal static void Load_MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL.ArbBindlessTexture access) + { + Delegates.glMakeImageHandleResidentARB = (Delegates.MakeImageHandleResidentARB)GetExtensionDelegateStatic("glMakeImageHandleResidentARB", typeof(Delegates.MakeImageHandleResidentARB)); + Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL.ArbBindlessTexture)access); + } + internal static void Load_MakeImageHandleResidentNV(UInt64 handle, OpenTK.Graphics.OpenGL.NvBindlessTexture access) + { + Delegates.glMakeImageHandleResidentNV = (Delegates.MakeImageHandleResidentNV)GetExtensionDelegateStatic("glMakeImageHandleResidentNV", typeof(Delegates.MakeImageHandleResidentNV)); + Delegates.glMakeImageHandleResidentNV((UInt64)handle, (OpenTK.Graphics.OpenGL.NvBindlessTexture)access); + } + internal static void Load_MakeNamedBufferNonResidentNV(UInt32 buffer) + { + Delegates.glMakeNamedBufferNonResidentNV = (Delegates.MakeNamedBufferNonResidentNV)GetExtensionDelegateStatic("glMakeNamedBufferNonResidentNV", typeof(Delegates.MakeNamedBufferNonResidentNV)); + Delegates.glMakeNamedBufferNonResidentNV((UInt32)buffer); + } + internal static void Load_MakeNamedBufferResidentNV(UInt32 buffer, OpenTK.Graphics.OpenGL.NvShaderBufferLoad access) + { + Delegates.glMakeNamedBufferResidentNV = (Delegates.MakeNamedBufferResidentNV)GetExtensionDelegateStatic("glMakeNamedBufferResidentNV", typeof(Delegates.MakeNamedBufferResidentNV)); + Delegates.glMakeNamedBufferResidentNV((UInt32)buffer, (OpenTK.Graphics.OpenGL.NvShaderBufferLoad)access); + } + internal static void Load_MakeTextureHandleNonResidentARB(UInt64 handle) + { + Delegates.glMakeTextureHandleNonResidentARB = (Delegates.MakeTextureHandleNonResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleNonResidentARB", typeof(Delegates.MakeTextureHandleNonResidentARB)); + Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); + } + internal static void Load_MakeTextureHandleNonResidentNV(UInt64 handle) + { + Delegates.glMakeTextureHandleNonResidentNV = (Delegates.MakeTextureHandleNonResidentNV)GetExtensionDelegateStatic("glMakeTextureHandleNonResidentNV", typeof(Delegates.MakeTextureHandleNonResidentNV)); + Delegates.glMakeTextureHandleNonResidentNV((UInt64)handle); + } + internal static void Load_MakeTextureHandleResidentARB(UInt64 handle) + { + Delegates.glMakeTextureHandleResidentARB = (Delegates.MakeTextureHandleResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleResidentARB", typeof(Delegates.MakeTextureHandleResidentARB)); + Delegates.glMakeTextureHandleResidentARB((UInt64)handle); + } + internal static void Load_MakeTextureHandleResidentNV(UInt64 handle) + { + Delegates.glMakeTextureHandleResidentNV = (Delegates.MakeTextureHandleResidentNV)GetExtensionDelegateStatic("glMakeTextureHandleResidentNV", typeof(Delegates.MakeTextureHandleResidentNV)); + Delegates.glMakeTextureHandleResidentNV((UInt64)handle); + } + internal static unsafe void Load_Map1d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + Delegates.glMap1d = (Delegates.Map1d)GetExtensionDelegateStatic("glMap1d", typeof(Delegates.Map1d)); + Delegates.glMap1d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + } + internal static unsafe void Load_Map1f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + Delegates.glMap1f = (Delegates.Map1f)GetExtensionDelegateStatic("glMap1f", typeof(Delegates.Map1f)); + Delegates.glMap1f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + } + internal static void Load_Map1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 stride, Int32 order, int points) + { + Delegates.glMap1xOES = (Delegates.Map1xOES)GetExtensionDelegateStatic("glMap1xOES", typeof(Delegates.Map1xOES)); + Delegates.glMap1xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)stride, (Int32)order, (int)points); + } + internal static unsafe void Load_Map2d(OpenTK.Graphics.OpenGL.MapTarget target, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + { + Delegates.glMap2d = (Delegates.Map2d)GetExtensionDelegateStatic("glMap2d", typeof(Delegates.Map2d)); + Delegates.glMap2d((OpenTK.Graphics.OpenGL.MapTarget)target, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + } + internal static unsafe void Load_Map2f(OpenTK.Graphics.OpenGL.MapTarget target, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + Delegates.glMap2f = (Delegates.Map2f)GetExtensionDelegateStatic("glMap2f", typeof(Delegates.Map2f)); + Delegates.glMap2f((OpenTK.Graphics.OpenGL.MapTarget)target, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + } + internal static void Load_Map2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, int u1, int u2, Int32 ustride, Int32 uorder, int v1, int v2, Int32 vstride, Int32 vorder, int points) + { + Delegates.glMap2xOES = (Delegates.Map2xOES)GetExtensionDelegateStatic("glMap2xOES", typeof(Delegates.Map2xOES)); + Delegates.glMap2xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (int)u1, (int)u2, (Int32)ustride, (Int32)uorder, (int)v1, (int)v2, (Int32)vstride, (Int32)vorder, (int)points); + } + internal static IntPtr Load_MapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.BufferAccess access) + { + Delegates.glMapBuffer = (Delegates.MapBuffer)GetExtensionDelegateStatic("glMapBuffer", typeof(Delegates.MapBuffer)); + return Delegates.glMapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.BufferAccess)access); + } + internal static IntPtr Load_MapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, OpenTK.Graphics.OpenGL.ArbVertexBufferObject access) + { + Delegates.glMapBufferARB = (Delegates.MapBufferARB)GetExtensionDelegateStatic("glMapBufferARB", typeof(Delegates.MapBufferARB)); + return Delegates.glMapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target, (OpenTK.Graphics.OpenGL.ArbVertexBufferObject)access); + } + internal static IntPtr Load_MapBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) + { + Delegates.glMapBufferRange = (Delegates.MapBufferRange)GetExtensionDelegateStatic("glMapBufferRange", typeof(Delegates.MapBufferRange)); + return Delegates.glMapBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); + } + internal static void Load_MapControlPointsNV(OpenTK.Graphics.OpenGL.NvEvaluators target, UInt32 index, OpenTK.Graphics.OpenGL.NvEvaluators type, Int32 ustride, Int32 vstride, Int32 uorder, Int32 vorder, bool packed, IntPtr points) + { + Delegates.glMapControlPointsNV = (Delegates.MapControlPointsNV)GetExtensionDelegateStatic("glMapControlPointsNV", typeof(Delegates.MapControlPointsNV)); + Delegates.glMapControlPointsNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (UInt32)index, (OpenTK.Graphics.OpenGL.NvEvaluators)type, (Int32)ustride, (Int32)vstride, (Int32)uorder, (Int32)vorder, (bool)packed, (IntPtr)points); + } + internal static void Load_MapGrid1d(Int32 un, Double u1, Double u2) + { + Delegates.glMapGrid1d = (Delegates.MapGrid1d)GetExtensionDelegateStatic("glMapGrid1d", typeof(Delegates.MapGrid1d)); + Delegates.glMapGrid1d((Int32)un, (Double)u1, (Double)u2); + } + internal static void Load_MapGrid1f(Int32 un, Single u1, Single u2) + { + Delegates.glMapGrid1f = (Delegates.MapGrid1f)GetExtensionDelegateStatic("glMapGrid1f", typeof(Delegates.MapGrid1f)); + Delegates.glMapGrid1f((Int32)un, (Single)u1, (Single)u2); + } + internal static void Load_MapGrid1xOES(Int32 n, int u1, int u2) + { + Delegates.glMapGrid1xOES = (Delegates.MapGrid1xOES)GetExtensionDelegateStatic("glMapGrid1xOES", typeof(Delegates.MapGrid1xOES)); + Delegates.glMapGrid1xOES((Int32)n, (int)u1, (int)u2); + } + internal static void Load_MapGrid2d(Int32 un, Double u1, Double u2, Int32 vn, Double v1, Double v2) + { + Delegates.glMapGrid2d = (Delegates.MapGrid2d)GetExtensionDelegateStatic("glMapGrid2d", typeof(Delegates.MapGrid2d)); + Delegates.glMapGrid2d((Int32)un, (Double)u1, (Double)u2, (Int32)vn, (Double)v1, (Double)v2); + } + internal static void Load_MapGrid2f(Int32 un, Single u1, Single u2, Int32 vn, Single v1, Single v2) + { + Delegates.glMapGrid2f = (Delegates.MapGrid2f)GetExtensionDelegateStatic("glMapGrid2f", typeof(Delegates.MapGrid2f)); + Delegates.glMapGrid2f((Int32)un, (Single)u1, (Single)u2, (Int32)vn, (Single)v1, (Single)v2); + } + internal static void Load_MapGrid2xOES(Int32 n, int u1, int u2, int v1, int v2) + { + Delegates.glMapGrid2xOES = (Delegates.MapGrid2xOES)GetExtensionDelegateStatic("glMapGrid2xOES", typeof(Delegates.MapGrid2xOES)); + Delegates.glMapGrid2xOES((Int32)n, (int)u1, (int)u2, (int)v1, (int)v2); + } + internal static IntPtr Load_MapNamedBufferEXT(UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess access) + { + Delegates.glMapNamedBufferEXT = (Delegates.MapNamedBufferEXT)GetExtensionDelegateStatic("glMapNamedBufferEXT", typeof(Delegates.MapNamedBufferEXT)); + return Delegates.glMapNamedBufferEXT((UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)access); + } + internal static IntPtr Load_MapNamedBufferRangeEXT(UInt32 buffer, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL.BufferAccessMask access) + { + Delegates.glMapNamedBufferRangeEXT = (Delegates.MapNamedBufferRangeEXT)GetExtensionDelegateStatic("glMapNamedBufferRangeEXT", typeof(Delegates.MapNamedBufferRangeEXT)); + return Delegates.glMapNamedBufferRangeEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL.BufferAccessMask)access); + } + internal static IntPtr Load_MapObjectBufferATI(UInt32 buffer) + { + Delegates.glMapObjectBufferATI = (Delegates.MapObjectBufferATI)GetExtensionDelegateStatic("glMapObjectBufferATI", typeof(Delegates.MapObjectBufferATI)); + return Delegates.glMapObjectBufferATI((UInt32)buffer); + } + internal static unsafe void Load_MapParameterfvNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Single* @params) + { + Delegates.glMapParameterfvNV = (Delegates.MapParameterfvNV)GetExtensionDelegateStatic("glMapParameterfvNV", typeof(Delegates.MapParameterfvNV)); + Delegates.glMapParameterfvNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Single*)@params); + } + internal static unsafe void Load_MapParameterivNV(OpenTK.Graphics.OpenGL.NvEvaluators target, OpenTK.Graphics.OpenGL.NvEvaluators pname, Int32* @params) + { + Delegates.glMapParameterivNV = (Delegates.MapParameterivNV)GetExtensionDelegateStatic("glMapParameterivNV", typeof(Delegates.MapParameterivNV)); + Delegates.glMapParameterivNV((OpenTK.Graphics.OpenGL.NvEvaluators)target, (OpenTK.Graphics.OpenGL.NvEvaluators)pname, (Int32*)@params); + } + internal static unsafe IntPtr Load_MapTexture2DINTEL(UInt32 texture, Int32 level, UInt32 access, [OutAttribute] Int32* stride, [OutAttribute] OpenTK.Graphics.OpenGL.IntelMapTexture* layout) + { + Delegates.glMapTexture2DINTEL = (Delegates.MapTexture2DINTEL)GetExtensionDelegateStatic("glMapTexture2DINTEL", typeof(Delegates.MapTexture2DINTEL)); + return Delegates.glMapTexture2DINTEL((UInt32)texture, (Int32)level, (UInt32)access, (Int32*)stride, (OpenTK.Graphics.OpenGL.IntelMapTexture*)layout); + } + internal static unsafe void Load_MapVertexAttrib1dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 stride, Int32 order, Double* points) + { + Delegates.glMapVertexAttrib1dAPPLE = (Delegates.MapVertexAttrib1dAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib1dAPPLE", typeof(Delegates.MapVertexAttrib1dAPPLE)); + Delegates.glMapVertexAttrib1dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)stride, (Int32)order, (Double*)points); + } + internal static unsafe void Load_MapVertexAttrib1fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 stride, Int32 order, Single* points) + { + Delegates.glMapVertexAttrib1fAPPLE = (Delegates.MapVertexAttrib1fAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib1fAPPLE", typeof(Delegates.MapVertexAttrib1fAPPLE)); + Delegates.glMapVertexAttrib1fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)stride, (Int32)order, (Single*)points); + } + internal static unsafe void Load_MapVertexAttrib2dAPPLE(UInt32 index, UInt32 size, Double u1, Double u2, Int32 ustride, Int32 uorder, Double v1, Double v2, Int32 vstride, Int32 vorder, Double* points) + { + Delegates.glMapVertexAttrib2dAPPLE = (Delegates.MapVertexAttrib2dAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib2dAPPLE", typeof(Delegates.MapVertexAttrib2dAPPLE)); + Delegates.glMapVertexAttrib2dAPPLE((UInt32)index, (UInt32)size, (Double)u1, (Double)u2, (Int32)ustride, (Int32)uorder, (Double)v1, (Double)v2, (Int32)vstride, (Int32)vorder, (Double*)points); + } + internal static unsafe void Load_MapVertexAttrib2fAPPLE(UInt32 index, UInt32 size, Single u1, Single u2, Int32 ustride, Int32 uorder, Single v1, Single v2, Int32 vstride, Int32 vorder, Single* points) + { + Delegates.glMapVertexAttrib2fAPPLE = (Delegates.MapVertexAttrib2fAPPLE)GetExtensionDelegateStatic("glMapVertexAttrib2fAPPLE", typeof(Delegates.MapVertexAttrib2fAPPLE)); + Delegates.glMapVertexAttrib2fAPPLE((UInt32)index, (UInt32)size, (Single)u1, (Single)u2, (Int32)ustride, (Int32)uorder, (Single)v1, (Single)v2, (Int32)vstride, (Int32)vorder, (Single*)points); + } + internal static void Load_Materialf(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single param) + { + Delegates.glMaterialf = (Delegates.Materialf)GetExtensionDelegateStatic("glMaterialf", typeof(Delegates.Materialf)); + Delegates.glMaterialf((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single)param); + } + internal static unsafe void Load_Materialfv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Single* @params) + { + Delegates.glMaterialfv = (Delegates.Materialfv)GetExtensionDelegateStatic("glMaterialfv", typeof(Delegates.Materialfv)); + Delegates.glMaterialfv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Single*)@params); + } + internal static void Load_Materiali(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32 param) + { + Delegates.glMateriali = (Delegates.Materiali)GetExtensionDelegateStatic("glMateriali", typeof(Delegates.Materiali)); + Delegates.glMateriali((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32)param); + } + internal static unsafe void Load_Materialiv(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter pname, Int32* @params) + { + Delegates.glMaterialiv = (Delegates.Materialiv)GetExtensionDelegateStatic("glMaterialiv", typeof(Delegates.Materialiv)); + Delegates.glMaterialiv((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)pname, (Int32*)@params); + } + internal static void Load_MaterialxOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glMaterialxOES = (Delegates.MaterialxOES)GetExtensionDelegateStatic("glMaterialxOES", typeof(Delegates.MaterialxOES)); + Delegates.glMaterialxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_MaterialxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint face, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* param) + { + Delegates.glMaterialxvOES = (Delegates.MaterialxvOES)GetExtensionDelegateStatic("glMaterialxvOES", typeof(Delegates.MaterialxvOES)); + Delegates.glMaterialxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)face, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)param); + } + internal static void Load_MatrixFrustumEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + Delegates.glMatrixFrustumEXT = (Delegates.MatrixFrustumEXT)GetExtensionDelegateStatic("glMatrixFrustumEXT", typeof(Delegates.MatrixFrustumEXT)); + Delegates.glMatrixFrustumEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + } + internal static void Load_MatrixIndexPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbMatrixPalette type, Int32 stride, IntPtr pointer) + { + Delegates.glMatrixIndexPointerARB = (Delegates.MatrixIndexPointerARB)GetExtensionDelegateStatic("glMatrixIndexPointerARB", typeof(Delegates.MatrixIndexPointerARB)); + Delegates.glMatrixIndexPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbMatrixPalette)type, (Int32)stride, (IntPtr)pointer); + } + internal static unsafe void Load_MatrixIndexubvARB(Int32 size, Byte* indices) + { + Delegates.glMatrixIndexubvARB = (Delegates.MatrixIndexubvARB)GetExtensionDelegateStatic("glMatrixIndexubvARB", typeof(Delegates.MatrixIndexubvARB)); + Delegates.glMatrixIndexubvARB((Int32)size, (Byte*)indices); + } + internal static unsafe void Load_MatrixIndexuivARB(Int32 size, UInt32* indices) + { + Delegates.glMatrixIndexuivARB = (Delegates.MatrixIndexuivARB)GetExtensionDelegateStatic("glMatrixIndexuivARB", typeof(Delegates.MatrixIndexuivARB)); + Delegates.glMatrixIndexuivARB((Int32)size, (UInt32*)indices); + } + internal static unsafe void Load_MatrixIndexusvARB(Int32 size, UInt16* indices) + { + Delegates.glMatrixIndexusvARB = (Delegates.MatrixIndexusvARB)GetExtensionDelegateStatic("glMatrixIndexusvARB", typeof(Delegates.MatrixIndexusvARB)); + Delegates.glMatrixIndexusvARB((Int32)size, (UInt16*)indices); + } + internal static unsafe void Load_MatrixLoaddEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + Delegates.glMatrixLoaddEXT = (Delegates.MatrixLoaddEXT)GetExtensionDelegateStatic("glMatrixLoaddEXT", typeof(Delegates.MatrixLoaddEXT)); + Delegates.glMatrixLoaddEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + } + internal static unsafe void Load_MatrixLoadfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + Delegates.glMatrixLoadfEXT = (Delegates.MatrixLoadfEXT)GetExtensionDelegateStatic("glMatrixLoadfEXT", typeof(Delegates.MatrixLoadfEXT)); + Delegates.glMatrixLoadfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + } + internal static void Load_MatrixLoadIdentityEXT(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + Delegates.glMatrixLoadIdentityEXT = (Delegates.MatrixLoadIdentityEXT)GetExtensionDelegateStatic("glMatrixLoadIdentityEXT", typeof(Delegates.MatrixLoadIdentityEXT)); + Delegates.glMatrixLoadIdentityEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); + } + internal static unsafe void Load_MatrixLoadTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + Delegates.glMatrixLoadTransposedEXT = (Delegates.MatrixLoadTransposedEXT)GetExtensionDelegateStatic("glMatrixLoadTransposedEXT", typeof(Delegates.MatrixLoadTransposedEXT)); + Delegates.glMatrixLoadTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + } + internal static unsafe void Load_MatrixLoadTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + Delegates.glMatrixLoadTransposefEXT = (Delegates.MatrixLoadTransposefEXT)GetExtensionDelegateStatic("glMatrixLoadTransposefEXT", typeof(Delegates.MatrixLoadTransposefEXT)); + Delegates.glMatrixLoadTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + } + internal static void Load_MatrixMode(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + Delegates.glMatrixMode = (Delegates.MatrixMode)GetExtensionDelegateStatic("glMatrixMode", typeof(Delegates.MatrixMode)); + Delegates.glMatrixMode((OpenTK.Graphics.OpenGL.MatrixMode)mode); + } + internal static unsafe void Load_MatrixMultdEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + Delegates.glMatrixMultdEXT = (Delegates.MatrixMultdEXT)GetExtensionDelegateStatic("glMatrixMultdEXT", typeof(Delegates.MatrixMultdEXT)); + Delegates.glMatrixMultdEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + } + internal static unsafe void Load_MatrixMultfEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + Delegates.glMatrixMultfEXT = (Delegates.MatrixMultfEXT)GetExtensionDelegateStatic("glMatrixMultfEXT", typeof(Delegates.MatrixMultfEXT)); + Delegates.glMatrixMultfEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + } + internal static unsafe void Load_MatrixMultTransposedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double* m) + { + Delegates.glMatrixMultTransposedEXT = (Delegates.MatrixMultTransposedEXT)GetExtensionDelegateStatic("glMatrixMultTransposedEXT", typeof(Delegates.MatrixMultTransposedEXT)); + Delegates.glMatrixMultTransposedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double*)m); + } + internal static unsafe void Load_MatrixMultTransposefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single* m) + { + Delegates.glMatrixMultTransposefEXT = (Delegates.MatrixMultTransposefEXT)GetExtensionDelegateStatic("glMatrixMultTransposefEXT", typeof(Delegates.MatrixMultTransposefEXT)); + Delegates.glMatrixMultTransposefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single*)m); + } + internal static void Load_MatrixOrthoEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + Delegates.glMatrixOrthoEXT = (Delegates.MatrixOrthoEXT)GetExtensionDelegateStatic("glMatrixOrthoEXT", typeof(Delegates.MatrixOrthoEXT)); + Delegates.glMatrixOrthoEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + } + internal static void Load_MatrixPopEXT(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + Delegates.glMatrixPopEXT = (Delegates.MatrixPopEXT)GetExtensionDelegateStatic("glMatrixPopEXT", typeof(Delegates.MatrixPopEXT)); + Delegates.glMatrixPopEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); + } + internal static void Load_MatrixPushEXT(OpenTK.Graphics.OpenGL.MatrixMode mode) + { + Delegates.glMatrixPushEXT = (Delegates.MatrixPushEXT)GetExtensionDelegateStatic("glMatrixPushEXT", typeof(Delegates.MatrixPushEXT)); + Delegates.glMatrixPushEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode); + } + internal static void Load_MatrixRotatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double angle, Double x, Double y, Double z) + { + Delegates.glMatrixRotatedEXT = (Delegates.MatrixRotatedEXT)GetExtensionDelegateStatic("glMatrixRotatedEXT", typeof(Delegates.MatrixRotatedEXT)); + Delegates.glMatrixRotatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)angle, (Double)x, (Double)y, (Double)z); + } + internal static void Load_MatrixRotatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single angle, Single x, Single y, Single z) + { + Delegates.glMatrixRotatefEXT = (Delegates.MatrixRotatefEXT)GetExtensionDelegateStatic("glMatrixRotatefEXT", typeof(Delegates.MatrixRotatefEXT)); + Delegates.glMatrixRotatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)angle, (Single)x, (Single)y, (Single)z); + } + internal static void Load_MatrixScaledEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) + { + Delegates.glMatrixScaledEXT = (Delegates.MatrixScaledEXT)GetExtensionDelegateStatic("glMatrixScaledEXT", typeof(Delegates.MatrixScaledEXT)); + Delegates.glMatrixScaledEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + } + internal static void Load_MatrixScalefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) + { + Delegates.glMatrixScalefEXT = (Delegates.MatrixScalefEXT)GetExtensionDelegateStatic("glMatrixScalefEXT", typeof(Delegates.MatrixScalefEXT)); + Delegates.glMatrixScalefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + } + internal static void Load_MatrixTranslatedEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Double x, Double y, Double z) + { + Delegates.glMatrixTranslatedEXT = (Delegates.MatrixTranslatedEXT)GetExtensionDelegateStatic("glMatrixTranslatedEXT", typeof(Delegates.MatrixTranslatedEXT)); + Delegates.glMatrixTranslatedEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Double)x, (Double)y, (Double)z); + } + internal static void Load_MatrixTranslatefEXT(OpenTK.Graphics.OpenGL.MatrixMode mode, Single x, Single y, Single z) + { + Delegates.glMatrixTranslatefEXT = (Delegates.MatrixTranslatefEXT)GetExtensionDelegateStatic("glMatrixTranslatefEXT", typeof(Delegates.MatrixTranslatefEXT)); + Delegates.glMatrixTranslatefEXT((OpenTK.Graphics.OpenGL.MatrixMode)mode, (Single)x, (Single)y, (Single)z); + } + internal static void Load_MemoryBarrier(OpenTK.Graphics.OpenGL.MemoryBarrierFlags barriers) + { + Delegates.glMemoryBarrier = (Delegates.MemoryBarrier)GetExtensionDelegateStatic("glMemoryBarrier", typeof(Delegates.MemoryBarrier)); + Delegates.glMemoryBarrier((OpenTK.Graphics.OpenGL.MemoryBarrierFlags)barriers); + } + internal static void Load_MemoryBarrierEXT(UInt32 barriers) + { + Delegates.glMemoryBarrierEXT = (Delegates.MemoryBarrierEXT)GetExtensionDelegateStatic("glMemoryBarrierEXT", typeof(Delegates.MemoryBarrierEXT)); + Delegates.glMemoryBarrierEXT((UInt32)barriers); + } + internal static void Load_Minmax(OpenTK.Graphics.OpenGL.MinmaxTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + Delegates.glMinmax = (Delegates.Minmax)GetExtensionDelegateStatic("glMinmax", typeof(Delegates.Minmax)); + Delegates.glMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + } + internal static void Load_MinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, bool sink) + { + Delegates.glMinmaxEXT = (Delegates.MinmaxEXT)GetExtensionDelegateStatic("glMinmaxEXT", typeof(Delegates.MinmaxEXT)); + Delegates.glMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (bool)sink); + } + internal static void Load_MinSampleShading(Single value) + { + Delegates.glMinSampleShading = (Delegates.MinSampleShading)GetExtensionDelegateStatic("glMinSampleShading", typeof(Delegates.MinSampleShading)); + Delegates.glMinSampleShading((Single)value); + } + internal static void Load_MinSampleShadingARB(Single value) + { + Delegates.glMinSampleShadingARB = (Delegates.MinSampleShadingARB)GetExtensionDelegateStatic("glMinSampleShadingARB", typeof(Delegates.MinSampleShadingARB)); + Delegates.glMinSampleShadingARB((Single)value); + } + internal static unsafe void Load_MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) + { + Delegates.glMultiDrawArrays = (Delegates.MultiDrawArrays)GetExtensionDelegateStatic("glMultiDrawArrays", typeof(Delegates.MultiDrawArrays)); + Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount); + } + internal static unsafe void Load_MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawArraysEXT = (Delegates.MultiDrawArraysEXT)GetExtensionDelegateStatic("glMultiDrawArraysEXT", typeof(Delegates.MultiDrawArraysEXT)); + Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + internal static void Load_MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) + { + Delegates.glMultiDrawArraysIndirect = (Delegates.MultiDrawArraysIndirect)GetExtensionDelegateStatic("glMultiDrawArraysIndirect", typeof(Delegates.MultiDrawArraysIndirect)); + Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); + } + internal static void Load_MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride) + { + Delegates.glMultiDrawArraysIndirectAMD = (Delegates.MultiDrawArraysIndirectAMD)GetExtensionDelegateStatic("glMultiDrawArraysIndirectAMD", typeof(Delegates.MultiDrawArraysIndirectAMD)); + Delegates.glMultiDrawArraysIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)primcount, (Int32)stride); + } + internal static void Load_MultiDrawArraysIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + { + Delegates.glMultiDrawArraysIndirectBindlessNV = (Delegates.MultiDrawArraysIndirectBindlessNV)GetExtensionDelegateStatic("glMultiDrawArraysIndirectBindlessNV", typeof(Delegates.MultiDrawArraysIndirectBindlessNV)); + Delegates.glMultiDrawArraysIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); + } + internal static void Load_MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) + { + Delegates.glMultiDrawArraysIndirectCountARB = (Delegates.MultiDrawArraysIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawArraysIndirectCountARB", typeof(Delegates.MultiDrawArraysIndirectCountARB)); + Delegates.glMultiDrawArraysIndirectCountARB((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); + } + internal static unsafe void Load_MultiDrawElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawElementArrayAPPLE = (Delegates.MultiDrawElementArrayAPPLE)GetExtensionDelegateStatic("glMultiDrawElementArrayAPPLE", typeof(Delegates.MultiDrawElementArrayAPPLE)); + Delegates.glMultiDrawElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount); + } + internal static unsafe void Load_MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount) + { + Delegates.glMultiDrawElements = (Delegates.MultiDrawElements)GetExtensionDelegateStatic("glMultiDrawElements", typeof(Delegates.MultiDrawElements)); + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); + } + internal static unsafe void Load_MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) + { + Delegates.glMultiDrawElementsBaseVertex = (Delegates.MultiDrawElementsBaseVertex)GetExtensionDelegateStatic("glMultiDrawElementsBaseVertex", typeof(Delegates.MultiDrawElementsBaseVertex)); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); + } + internal static unsafe void Load_MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount) + { + Delegates.glMultiDrawElementsEXT = (Delegates.MultiDrawElementsEXT)GetExtensionDelegateStatic("glMultiDrawElementsEXT", typeof(Delegates.MultiDrawElementsEXT)); + Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount); + } + internal static void Load_MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride) + { + Delegates.glMultiDrawElementsIndirect = (Delegates.MultiDrawElementsIndirect)GetExtensionDelegateStatic("glMultiDrawElementsIndirect", typeof(Delegates.MultiDrawElementsIndirect)); + Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL.All)mode, (OpenTK.Graphics.OpenGL.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); + } + internal static void Load_MultiDrawElementsIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect type, IntPtr indirect, Int32 primcount, Int32 stride) + { + Delegates.glMultiDrawElementsIndirectAMD = (Delegates.MultiDrawElementsIndirectAMD)GetExtensionDelegateStatic("glMultiDrawElementsIndirectAMD", typeof(Delegates.MultiDrawElementsIndirectAMD)); + Delegates.glMultiDrawElementsIndirectAMD((OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect)type, (IntPtr)indirect, (Int32)primcount, (Int32)stride); + } + internal static void Load_MultiDrawElementsIndirectBindlessNV(OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect mode, OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect type, IntPtr indirect, Int32 drawCount, Int32 stride, Int32 vertexBufferCount) + { + Delegates.glMultiDrawElementsIndirectBindlessNV = (Delegates.MultiDrawElementsIndirectBindlessNV)GetExtensionDelegateStatic("glMultiDrawElementsIndirectBindlessNV", typeof(Delegates.MultiDrawElementsIndirectBindlessNV)); + Delegates.glMultiDrawElementsIndirectBindlessNV((OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)mode, (OpenTK.Graphics.OpenGL.NvBindlessMultiDrawIndirect)type, (IntPtr)indirect, (Int32)drawCount, (Int32)stride, (Int32)vertexBufferCount); + } + internal static void Load_MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL.ArbIndirectParameters mode, OpenTK.Graphics.OpenGL.ArbIndirectParameters type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) + { + Delegates.glMultiDrawElementsIndirectCountARB = (Delegates.MultiDrawElementsIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawElementsIndirectCountARB", typeof(Delegates.MultiDrawElementsIndirectCountARB)); + Delegates.glMultiDrawElementsIndirectCountARB((OpenTK.Graphics.OpenGL.ArbIndirectParameters)mode, (OpenTK.Graphics.OpenGL.ArbIndirectParameters)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); + } + internal static unsafe void Load_MultiDrawRangeElementArrayAPPLE(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32* first, Int32* count, Int32 primcount) + { + Delegates.glMultiDrawRangeElementArrayAPPLE = (Delegates.MultiDrawRangeElementArrayAPPLE)GetExtensionDelegateStatic("glMultiDrawRangeElementArrayAPPLE", typeof(Delegates.MultiDrawRangeElementArrayAPPLE)); + Delegates.glMultiDrawRangeElementArrayAPPLE((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32*)first, (Int32*)count, (Int32)primcount); + } + internal static unsafe void Load_MultiModeDrawArraysIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* first, Int32* count, Int32 primcount, Int32 modestride) + { + Delegates.glMultiModeDrawArraysIBM = (Delegates.MultiModeDrawArraysIBM)GetExtensionDelegateStatic("glMultiModeDrawArraysIBM", typeof(Delegates.MultiModeDrawArraysIBM)); + Delegates.glMultiModeDrawArraysIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)first, (Int32*)count, (Int32)primcount, (Int32)modestride); + } + internal static unsafe void Load_MultiModeDrawElementsIBM(OpenTK.Graphics.OpenGL.PrimitiveType* mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount, Int32 modestride) + { + Delegates.glMultiModeDrawElementsIBM = (Delegates.MultiModeDrawElementsIBM)GetExtensionDelegateStatic("glMultiModeDrawElementsIBM", typeof(Delegates.MultiModeDrawElementsIBM)); + Delegates.glMultiModeDrawElementsIBM((OpenTK.Graphics.OpenGL.PrimitiveType*)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount, (Int32)modestride); + } + internal static void Load_MultiTexBufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) + { + Delegates.glMultiTexBufferEXT = (Delegates.MultiTexBufferEXT)GetExtensionDelegateStatic("glMultiTexBufferEXT", typeof(Delegates.MultiTexBufferEXT)); + Delegates.glMultiTexBufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); + } + internal static void Load_MultiTexCoord1bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s) + { + Delegates.glMultiTexCoord1bOES = (Delegates.MultiTexCoord1bOES)GetExtensionDelegateStatic("glMultiTexCoord1bOES", typeof(Delegates.MultiTexCoord1bOES)); + Delegates.glMultiTexCoord1bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s); + } + internal static unsafe void Load_MultiTexCoord1bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) + { + Delegates.glMultiTexCoord1bvOES = (Delegates.MultiTexCoord1bvOES)GetExtensionDelegateStatic("glMultiTexCoord1bvOES", typeof(Delegates.MultiTexCoord1bvOES)); + Delegates.glMultiTexCoord1bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord1d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) + { + Delegates.glMultiTexCoord1d = (Delegates.MultiTexCoord1d)GetExtensionDelegateStatic("glMultiTexCoord1d", typeof(Delegates.MultiTexCoord1d)); + Delegates.glMultiTexCoord1d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); + } + internal static void Load_MultiTexCoord1dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s) + { + Delegates.glMultiTexCoord1dARB = (Delegates.MultiTexCoord1dARB)GetExtensionDelegateStatic("glMultiTexCoord1dARB", typeof(Delegates.MultiTexCoord1dARB)); + Delegates.glMultiTexCoord1dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s); + } + internal static unsafe void Load_MultiTexCoord1dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord1dv = (Delegates.MultiTexCoord1dv)GetExtensionDelegateStatic("glMultiTexCoord1dv", typeof(Delegates.MultiTexCoord1dv)); + Delegates.glMultiTexCoord1dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static unsafe void Load_MultiTexCoord1dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord1dvARB = (Delegates.MultiTexCoord1dvARB)GetExtensionDelegateStatic("glMultiTexCoord1dvARB", typeof(Delegates.MultiTexCoord1dvARB)); + Delegates.glMultiTexCoord1dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static void Load_MultiTexCoord1f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) + { + Delegates.glMultiTexCoord1f = (Delegates.MultiTexCoord1f)GetExtensionDelegateStatic("glMultiTexCoord1f", typeof(Delegates.MultiTexCoord1f)); + Delegates.glMultiTexCoord1f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); + } + internal static void Load_MultiTexCoord1fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s) + { + Delegates.glMultiTexCoord1fARB = (Delegates.MultiTexCoord1fARB)GetExtensionDelegateStatic("glMultiTexCoord1fARB", typeof(Delegates.MultiTexCoord1fARB)); + Delegates.glMultiTexCoord1fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s); + } + internal static unsafe void Load_MultiTexCoord1fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord1fv = (Delegates.MultiTexCoord1fv)GetExtensionDelegateStatic("glMultiTexCoord1fv", typeof(Delegates.MultiTexCoord1fv)); + Delegates.glMultiTexCoord1fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static unsafe void Load_MultiTexCoord1fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord1fvARB = (Delegates.MultiTexCoord1fvARB)GetExtensionDelegateStatic("glMultiTexCoord1fvARB", typeof(Delegates.MultiTexCoord1fvARB)); + Delegates.glMultiTexCoord1fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static void Load_MultiTexCoord1hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s) + { + Delegates.glMultiTexCoord1hNV = (Delegates.MultiTexCoord1hNV)GetExtensionDelegateStatic("glMultiTexCoord1hNV", typeof(Delegates.MultiTexCoord1hNV)); + Delegates.glMultiTexCoord1hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s); + } + internal static unsafe void Load_MultiTexCoord1hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + Delegates.glMultiTexCoord1hvNV = (Delegates.MultiTexCoord1hvNV)GetExtensionDelegateStatic("glMultiTexCoord1hvNV", typeof(Delegates.MultiTexCoord1hvNV)); + Delegates.glMultiTexCoord1hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + } + internal static void Load_MultiTexCoord1i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) + { + Delegates.glMultiTexCoord1i = (Delegates.MultiTexCoord1i)GetExtensionDelegateStatic("glMultiTexCoord1i", typeof(Delegates.MultiTexCoord1i)); + Delegates.glMultiTexCoord1i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); + } + internal static void Load_MultiTexCoord1iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s) + { + Delegates.glMultiTexCoord1iARB = (Delegates.MultiTexCoord1iARB)GetExtensionDelegateStatic("glMultiTexCoord1iARB", typeof(Delegates.MultiTexCoord1iARB)); + Delegates.glMultiTexCoord1iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s); + } + internal static unsafe void Load_MultiTexCoord1iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord1iv = (Delegates.MultiTexCoord1iv)GetExtensionDelegateStatic("glMultiTexCoord1iv", typeof(Delegates.MultiTexCoord1iv)); + Delegates.glMultiTexCoord1iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static unsafe void Load_MultiTexCoord1ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord1ivARB = (Delegates.MultiTexCoord1ivARB)GetExtensionDelegateStatic("glMultiTexCoord1ivARB", typeof(Delegates.MultiTexCoord1ivARB)); + Delegates.glMultiTexCoord1ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static void Load_MultiTexCoord1s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) + { + Delegates.glMultiTexCoord1s = (Delegates.MultiTexCoord1s)GetExtensionDelegateStatic("glMultiTexCoord1s", typeof(Delegates.MultiTexCoord1s)); + Delegates.glMultiTexCoord1s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); + } + internal static void Load_MultiTexCoord1sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s) + { + Delegates.glMultiTexCoord1sARB = (Delegates.MultiTexCoord1sARB)GetExtensionDelegateStatic("glMultiTexCoord1sARB", typeof(Delegates.MultiTexCoord1sARB)); + Delegates.glMultiTexCoord1sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s); + } + internal static unsafe void Load_MultiTexCoord1sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord1sv = (Delegates.MultiTexCoord1sv)GetExtensionDelegateStatic("glMultiTexCoord1sv", typeof(Delegates.MultiTexCoord1sv)); + Delegates.glMultiTexCoord1sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static unsafe void Load_MultiTexCoord1svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord1svARB = (Delegates.MultiTexCoord1svARB)GetExtensionDelegateStatic("glMultiTexCoord1svARB", typeof(Delegates.MultiTexCoord1svARB)); + Delegates.glMultiTexCoord1svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static void Load_MultiTexCoord1xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s) + { + Delegates.glMultiTexCoord1xOES = (Delegates.MultiTexCoord1xOES)GetExtensionDelegateStatic("glMultiTexCoord1xOES", typeof(Delegates.MultiTexCoord1xOES)); + Delegates.glMultiTexCoord1xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s); + } + internal static unsafe void Load_MultiTexCoord1xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) + { + Delegates.glMultiTexCoord1xvOES = (Delegates.MultiTexCoord1xvOES)GetExtensionDelegateStatic("glMultiTexCoord1xvOES", typeof(Delegates.MultiTexCoord1xvOES)); + Delegates.glMultiTexCoord1xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); + } + internal static void Load_MultiTexCoord2bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t) + { + Delegates.glMultiTexCoord2bOES = (Delegates.MultiTexCoord2bOES)GetExtensionDelegateStatic("glMultiTexCoord2bOES", typeof(Delegates.MultiTexCoord2bOES)); + Delegates.glMultiTexCoord2bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t); + } + internal static unsafe void Load_MultiTexCoord2bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) + { + Delegates.glMultiTexCoord2bvOES = (Delegates.MultiTexCoord2bvOES)GetExtensionDelegateStatic("glMultiTexCoord2bvOES", typeof(Delegates.MultiTexCoord2bvOES)); + Delegates.glMultiTexCoord2bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord2d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) + { + Delegates.glMultiTexCoord2d = (Delegates.MultiTexCoord2d)GetExtensionDelegateStatic("glMultiTexCoord2d", typeof(Delegates.MultiTexCoord2d)); + Delegates.glMultiTexCoord2d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); + } + internal static void Load_MultiTexCoord2dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t) + { + Delegates.glMultiTexCoord2dARB = (Delegates.MultiTexCoord2dARB)GetExtensionDelegateStatic("glMultiTexCoord2dARB", typeof(Delegates.MultiTexCoord2dARB)); + Delegates.glMultiTexCoord2dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t); + } + internal static unsafe void Load_MultiTexCoord2dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord2dv = (Delegates.MultiTexCoord2dv)GetExtensionDelegateStatic("glMultiTexCoord2dv", typeof(Delegates.MultiTexCoord2dv)); + Delegates.glMultiTexCoord2dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static unsafe void Load_MultiTexCoord2dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord2dvARB = (Delegates.MultiTexCoord2dvARB)GetExtensionDelegateStatic("glMultiTexCoord2dvARB", typeof(Delegates.MultiTexCoord2dvARB)); + Delegates.glMultiTexCoord2dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static void Load_MultiTexCoord2f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) + { + Delegates.glMultiTexCoord2f = (Delegates.MultiTexCoord2f)GetExtensionDelegateStatic("glMultiTexCoord2f", typeof(Delegates.MultiTexCoord2f)); + Delegates.glMultiTexCoord2f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); + } + internal static void Load_MultiTexCoord2fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t) + { + Delegates.glMultiTexCoord2fARB = (Delegates.MultiTexCoord2fARB)GetExtensionDelegateStatic("glMultiTexCoord2fARB", typeof(Delegates.MultiTexCoord2fARB)); + Delegates.glMultiTexCoord2fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t); + } + internal static unsafe void Load_MultiTexCoord2fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord2fv = (Delegates.MultiTexCoord2fv)GetExtensionDelegateStatic("glMultiTexCoord2fv", typeof(Delegates.MultiTexCoord2fv)); + Delegates.glMultiTexCoord2fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static unsafe void Load_MultiTexCoord2fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord2fvARB = (Delegates.MultiTexCoord2fvARB)GetExtensionDelegateStatic("glMultiTexCoord2fvARB", typeof(Delegates.MultiTexCoord2fvARB)); + Delegates.glMultiTexCoord2fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static void Load_MultiTexCoord2hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t) + { + Delegates.glMultiTexCoord2hNV = (Delegates.MultiTexCoord2hNV)GetExtensionDelegateStatic("glMultiTexCoord2hNV", typeof(Delegates.MultiTexCoord2hNV)); + Delegates.glMultiTexCoord2hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t); + } + internal static unsafe void Load_MultiTexCoord2hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + Delegates.glMultiTexCoord2hvNV = (Delegates.MultiTexCoord2hvNV)GetExtensionDelegateStatic("glMultiTexCoord2hvNV", typeof(Delegates.MultiTexCoord2hvNV)); + Delegates.glMultiTexCoord2hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + } + internal static void Load_MultiTexCoord2i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) + { + Delegates.glMultiTexCoord2i = (Delegates.MultiTexCoord2i)GetExtensionDelegateStatic("glMultiTexCoord2i", typeof(Delegates.MultiTexCoord2i)); + Delegates.glMultiTexCoord2i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); + } + internal static void Load_MultiTexCoord2iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t) + { + Delegates.glMultiTexCoord2iARB = (Delegates.MultiTexCoord2iARB)GetExtensionDelegateStatic("glMultiTexCoord2iARB", typeof(Delegates.MultiTexCoord2iARB)); + Delegates.glMultiTexCoord2iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t); + } + internal static unsafe void Load_MultiTexCoord2iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord2iv = (Delegates.MultiTexCoord2iv)GetExtensionDelegateStatic("glMultiTexCoord2iv", typeof(Delegates.MultiTexCoord2iv)); + Delegates.glMultiTexCoord2iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static unsafe void Load_MultiTexCoord2ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord2ivARB = (Delegates.MultiTexCoord2ivARB)GetExtensionDelegateStatic("glMultiTexCoord2ivARB", typeof(Delegates.MultiTexCoord2ivARB)); + Delegates.glMultiTexCoord2ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static void Load_MultiTexCoord2s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) + { + Delegates.glMultiTexCoord2s = (Delegates.MultiTexCoord2s)GetExtensionDelegateStatic("glMultiTexCoord2s", typeof(Delegates.MultiTexCoord2s)); + Delegates.glMultiTexCoord2s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); + } + internal static void Load_MultiTexCoord2sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t) + { + Delegates.glMultiTexCoord2sARB = (Delegates.MultiTexCoord2sARB)GetExtensionDelegateStatic("glMultiTexCoord2sARB", typeof(Delegates.MultiTexCoord2sARB)); + Delegates.glMultiTexCoord2sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t); + } + internal static unsafe void Load_MultiTexCoord2sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord2sv = (Delegates.MultiTexCoord2sv)GetExtensionDelegateStatic("glMultiTexCoord2sv", typeof(Delegates.MultiTexCoord2sv)); + Delegates.glMultiTexCoord2sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static unsafe void Load_MultiTexCoord2svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord2svARB = (Delegates.MultiTexCoord2svARB)GetExtensionDelegateStatic("glMultiTexCoord2svARB", typeof(Delegates.MultiTexCoord2svARB)); + Delegates.glMultiTexCoord2svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static void Load_MultiTexCoord2xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t) + { + Delegates.glMultiTexCoord2xOES = (Delegates.MultiTexCoord2xOES)GetExtensionDelegateStatic("glMultiTexCoord2xOES", typeof(Delegates.MultiTexCoord2xOES)); + Delegates.glMultiTexCoord2xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t); + } + internal static unsafe void Load_MultiTexCoord2xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) + { + Delegates.glMultiTexCoord2xvOES = (Delegates.MultiTexCoord2xvOES)GetExtensionDelegateStatic("glMultiTexCoord2xvOES", typeof(Delegates.MultiTexCoord2xvOES)); + Delegates.glMultiTexCoord2xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); + } + internal static void Load_MultiTexCoord3bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r) + { + Delegates.glMultiTexCoord3bOES = (Delegates.MultiTexCoord3bOES)GetExtensionDelegateStatic("glMultiTexCoord3bOES", typeof(Delegates.MultiTexCoord3bOES)); + Delegates.glMultiTexCoord3bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r); + } + internal static unsafe void Load_MultiTexCoord3bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) + { + Delegates.glMultiTexCoord3bvOES = (Delegates.MultiTexCoord3bvOES)GetExtensionDelegateStatic("glMultiTexCoord3bvOES", typeof(Delegates.MultiTexCoord3bvOES)); + Delegates.glMultiTexCoord3bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord3d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) + { + Delegates.glMultiTexCoord3d = (Delegates.MultiTexCoord3d)GetExtensionDelegateStatic("glMultiTexCoord3d", typeof(Delegates.MultiTexCoord3d)); + Delegates.glMultiTexCoord3d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); + } + internal static void Load_MultiTexCoord3dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r) + { + Delegates.glMultiTexCoord3dARB = (Delegates.MultiTexCoord3dARB)GetExtensionDelegateStatic("glMultiTexCoord3dARB", typeof(Delegates.MultiTexCoord3dARB)); + Delegates.glMultiTexCoord3dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r); + } + internal static unsafe void Load_MultiTexCoord3dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord3dv = (Delegates.MultiTexCoord3dv)GetExtensionDelegateStatic("glMultiTexCoord3dv", typeof(Delegates.MultiTexCoord3dv)); + Delegates.glMultiTexCoord3dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static unsafe void Load_MultiTexCoord3dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord3dvARB = (Delegates.MultiTexCoord3dvARB)GetExtensionDelegateStatic("glMultiTexCoord3dvARB", typeof(Delegates.MultiTexCoord3dvARB)); + Delegates.glMultiTexCoord3dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static void Load_MultiTexCoord3f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) + { + Delegates.glMultiTexCoord3f = (Delegates.MultiTexCoord3f)GetExtensionDelegateStatic("glMultiTexCoord3f", typeof(Delegates.MultiTexCoord3f)); + Delegates.glMultiTexCoord3f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); + } + internal static void Load_MultiTexCoord3fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r) + { + Delegates.glMultiTexCoord3fARB = (Delegates.MultiTexCoord3fARB)GetExtensionDelegateStatic("glMultiTexCoord3fARB", typeof(Delegates.MultiTexCoord3fARB)); + Delegates.glMultiTexCoord3fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r); + } + internal static unsafe void Load_MultiTexCoord3fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord3fv = (Delegates.MultiTexCoord3fv)GetExtensionDelegateStatic("glMultiTexCoord3fv", typeof(Delegates.MultiTexCoord3fv)); + Delegates.glMultiTexCoord3fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static unsafe void Load_MultiTexCoord3fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord3fvARB = (Delegates.MultiTexCoord3fvARB)GetExtensionDelegateStatic("glMultiTexCoord3fvARB", typeof(Delegates.MultiTexCoord3fvARB)); + Delegates.glMultiTexCoord3fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static void Load_MultiTexCoord3hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r) + { + Delegates.glMultiTexCoord3hNV = (Delegates.MultiTexCoord3hNV)GetExtensionDelegateStatic("glMultiTexCoord3hNV", typeof(Delegates.MultiTexCoord3hNV)); + Delegates.glMultiTexCoord3hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r); + } + internal static unsafe void Load_MultiTexCoord3hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + Delegates.glMultiTexCoord3hvNV = (Delegates.MultiTexCoord3hvNV)GetExtensionDelegateStatic("glMultiTexCoord3hvNV", typeof(Delegates.MultiTexCoord3hvNV)); + Delegates.glMultiTexCoord3hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + } + internal static void Load_MultiTexCoord3i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) + { + Delegates.glMultiTexCoord3i = (Delegates.MultiTexCoord3i)GetExtensionDelegateStatic("glMultiTexCoord3i", typeof(Delegates.MultiTexCoord3i)); + Delegates.glMultiTexCoord3i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); + } + internal static void Load_MultiTexCoord3iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r) + { + Delegates.glMultiTexCoord3iARB = (Delegates.MultiTexCoord3iARB)GetExtensionDelegateStatic("glMultiTexCoord3iARB", typeof(Delegates.MultiTexCoord3iARB)); + Delegates.glMultiTexCoord3iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r); + } + internal static unsafe void Load_MultiTexCoord3iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord3iv = (Delegates.MultiTexCoord3iv)GetExtensionDelegateStatic("glMultiTexCoord3iv", typeof(Delegates.MultiTexCoord3iv)); + Delegates.glMultiTexCoord3iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static unsafe void Load_MultiTexCoord3ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord3ivARB = (Delegates.MultiTexCoord3ivARB)GetExtensionDelegateStatic("glMultiTexCoord3ivARB", typeof(Delegates.MultiTexCoord3ivARB)); + Delegates.glMultiTexCoord3ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static void Load_MultiTexCoord3s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) + { + Delegates.glMultiTexCoord3s = (Delegates.MultiTexCoord3s)GetExtensionDelegateStatic("glMultiTexCoord3s", typeof(Delegates.MultiTexCoord3s)); + Delegates.glMultiTexCoord3s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + } + internal static void Load_MultiTexCoord3sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r) + { + Delegates.glMultiTexCoord3sARB = (Delegates.MultiTexCoord3sARB)GetExtensionDelegateStatic("glMultiTexCoord3sARB", typeof(Delegates.MultiTexCoord3sARB)); + Delegates.glMultiTexCoord3sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r); + } + internal static unsafe void Load_MultiTexCoord3sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord3sv = (Delegates.MultiTexCoord3sv)GetExtensionDelegateStatic("glMultiTexCoord3sv", typeof(Delegates.MultiTexCoord3sv)); + Delegates.glMultiTexCoord3sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static unsafe void Load_MultiTexCoord3svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord3svARB = (Delegates.MultiTexCoord3svARB)GetExtensionDelegateStatic("glMultiTexCoord3svARB", typeof(Delegates.MultiTexCoord3svARB)); + Delegates.glMultiTexCoord3svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static void Load_MultiTexCoord3xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r) + { + Delegates.glMultiTexCoord3xOES = (Delegates.MultiTexCoord3xOES)GetExtensionDelegateStatic("glMultiTexCoord3xOES", typeof(Delegates.MultiTexCoord3xOES)); + Delegates.glMultiTexCoord3xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r); + } + internal static unsafe void Load_MultiTexCoord3xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) + { + Delegates.glMultiTexCoord3xvOES = (Delegates.MultiTexCoord3xvOES)GetExtensionDelegateStatic("glMultiTexCoord3xvOES", typeof(Delegates.MultiTexCoord3xvOES)); + Delegates.glMultiTexCoord3xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); + } + internal static void Load_MultiTexCoord4bOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte s, SByte t, SByte r, SByte q) + { + Delegates.glMultiTexCoord4bOES = (Delegates.MultiTexCoord4bOES)GetExtensionDelegateStatic("glMultiTexCoord4bOES", typeof(Delegates.MultiTexCoord4bOES)); + Delegates.glMultiTexCoord4bOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte)s, (SByte)t, (SByte)r, (SByte)q); + } + internal static unsafe void Load_MultiTexCoord4bvOES(OpenTK.Graphics.OpenGL.OesByteCoordinates texture, SByte* coords) + { + Delegates.glMultiTexCoord4bvOES = (Delegates.MultiTexCoord4bvOES)GetExtensionDelegateStatic("glMultiTexCoord4bvOES", typeof(Delegates.MultiTexCoord4bvOES)); + Delegates.glMultiTexCoord4bvOES((OpenTK.Graphics.OpenGL.OesByteCoordinates)texture, (SByte*)coords); + } + internal static void Load_MultiTexCoord4d(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) + { + Delegates.glMultiTexCoord4d = (Delegates.MultiTexCoord4d)GetExtensionDelegateStatic("glMultiTexCoord4d", typeof(Delegates.MultiTexCoord4d)); + Delegates.glMultiTexCoord4d((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + } + internal static void Load_MultiTexCoord4dARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double s, Double t, Double r, Double q) + { + Delegates.glMultiTexCoord4dARB = (Delegates.MultiTexCoord4dARB)GetExtensionDelegateStatic("glMultiTexCoord4dARB", typeof(Delegates.MultiTexCoord4dARB)); + Delegates.glMultiTexCoord4dARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double)s, (Double)t, (Double)r, (Double)q); + } + internal static unsafe void Load_MultiTexCoord4dv(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord4dv = (Delegates.MultiTexCoord4dv)GetExtensionDelegateStatic("glMultiTexCoord4dv", typeof(Delegates.MultiTexCoord4dv)); + Delegates.glMultiTexCoord4dv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static unsafe void Load_MultiTexCoord4dvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Double* v) + { + Delegates.glMultiTexCoord4dvARB = (Delegates.MultiTexCoord4dvARB)GetExtensionDelegateStatic("glMultiTexCoord4dvARB", typeof(Delegates.MultiTexCoord4dvARB)); + Delegates.glMultiTexCoord4dvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Double*)v); + } + internal static void Load_MultiTexCoord4f(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) + { + Delegates.glMultiTexCoord4f = (Delegates.MultiTexCoord4f)GetExtensionDelegateStatic("glMultiTexCoord4f", typeof(Delegates.MultiTexCoord4f)); + Delegates.glMultiTexCoord4f((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + } + internal static void Load_MultiTexCoord4fARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single s, Single t, Single r, Single q) + { + Delegates.glMultiTexCoord4fARB = (Delegates.MultiTexCoord4fARB)GetExtensionDelegateStatic("glMultiTexCoord4fARB", typeof(Delegates.MultiTexCoord4fARB)); + Delegates.glMultiTexCoord4fARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single)s, (Single)t, (Single)r, (Single)q); + } + internal static unsafe void Load_MultiTexCoord4fv(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord4fv = (Delegates.MultiTexCoord4fv)GetExtensionDelegateStatic("glMultiTexCoord4fv", typeof(Delegates.MultiTexCoord4fv)); + Delegates.glMultiTexCoord4fv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static unsafe void Load_MultiTexCoord4fvARB(OpenTK.Graphics.OpenGL.TextureUnit target, Single* v) + { + Delegates.glMultiTexCoord4fvARB = (Delegates.MultiTexCoord4fvARB)GetExtensionDelegateStatic("glMultiTexCoord4fvARB", typeof(Delegates.MultiTexCoord4fvARB)); + Delegates.glMultiTexCoord4fvARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Single*)v); + } + internal static void Load_MultiTexCoord4hNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half s, Half t, Half r, Half q) + { + Delegates.glMultiTexCoord4hNV = (Delegates.MultiTexCoord4hNV)GetExtensionDelegateStatic("glMultiTexCoord4hNV", typeof(Delegates.MultiTexCoord4hNV)); + Delegates.glMultiTexCoord4hNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half)s, (Half)t, (Half)r, (Half)q); + } + internal static unsafe void Load_MultiTexCoord4hvNV(OpenTK.Graphics.OpenGL.TextureUnit target, Half* v) + { + Delegates.glMultiTexCoord4hvNV = (Delegates.MultiTexCoord4hvNV)GetExtensionDelegateStatic("glMultiTexCoord4hvNV", typeof(Delegates.MultiTexCoord4hvNV)); + Delegates.glMultiTexCoord4hvNV((OpenTK.Graphics.OpenGL.TextureUnit)target, (Half*)v); + } + internal static void Load_MultiTexCoord4i(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + { + Delegates.glMultiTexCoord4i = (Delegates.MultiTexCoord4i)GetExtensionDelegateStatic("glMultiTexCoord4i", typeof(Delegates.MultiTexCoord4i)); + Delegates.glMultiTexCoord4i((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + } + internal static void Load_MultiTexCoord4iARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32 s, Int32 t, Int32 r, Int32 q) + { + Delegates.glMultiTexCoord4iARB = (Delegates.MultiTexCoord4iARB)GetExtensionDelegateStatic("glMultiTexCoord4iARB", typeof(Delegates.MultiTexCoord4iARB)); + Delegates.glMultiTexCoord4iARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32)s, (Int32)t, (Int32)r, (Int32)q); + } + internal static unsafe void Load_MultiTexCoord4iv(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord4iv = (Delegates.MultiTexCoord4iv)GetExtensionDelegateStatic("glMultiTexCoord4iv", typeof(Delegates.MultiTexCoord4iv)); + Delegates.glMultiTexCoord4iv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static unsafe void Load_MultiTexCoord4ivARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int32* v) + { + Delegates.glMultiTexCoord4ivARB = (Delegates.MultiTexCoord4ivARB)GetExtensionDelegateStatic("glMultiTexCoord4ivARB", typeof(Delegates.MultiTexCoord4ivARB)); + Delegates.glMultiTexCoord4ivARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int32*)v); + } + internal static void Load_MultiTexCoord4s(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + Delegates.glMultiTexCoord4s = (Delegates.MultiTexCoord4s)GetExtensionDelegateStatic("glMultiTexCoord4s", typeof(Delegates.MultiTexCoord4s)); + Delegates.glMultiTexCoord4s((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + } + internal static void Load_MultiTexCoord4sARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16 s, Int16 t, Int16 r, Int16 q) + { + Delegates.glMultiTexCoord4sARB = (Delegates.MultiTexCoord4sARB)GetExtensionDelegateStatic("glMultiTexCoord4sARB", typeof(Delegates.MultiTexCoord4sARB)); + Delegates.glMultiTexCoord4sARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16)s, (Int16)t, (Int16)r, (Int16)q); + } + internal static unsafe void Load_MultiTexCoord4sv(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord4sv = (Delegates.MultiTexCoord4sv)GetExtensionDelegateStatic("glMultiTexCoord4sv", typeof(Delegates.MultiTexCoord4sv)); + Delegates.glMultiTexCoord4sv((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static unsafe void Load_MultiTexCoord4svARB(OpenTK.Graphics.OpenGL.TextureUnit target, Int16* v) + { + Delegates.glMultiTexCoord4svARB = (Delegates.MultiTexCoord4svARB)GetExtensionDelegateStatic("glMultiTexCoord4svARB", typeof(Delegates.MultiTexCoord4svARB)); + Delegates.glMultiTexCoord4svARB((OpenTK.Graphics.OpenGL.TextureUnit)target, (Int16*)v); + } + internal static void Load_MultiTexCoord4xOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int s, int t, int r, int q) + { + Delegates.glMultiTexCoord4xOES = (Delegates.MultiTexCoord4xOES)GetExtensionDelegateStatic("glMultiTexCoord4xOES", typeof(Delegates.MultiTexCoord4xOES)); + Delegates.glMultiTexCoord4xOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int)s, (int)t, (int)r, (int)q); + } + internal static unsafe void Load_MultiTexCoord4xvOES(OpenTK.Graphics.OpenGL.OesFixedPoint texture, int* coords) + { + Delegates.glMultiTexCoord4xvOES = (Delegates.MultiTexCoord4xvOES)GetExtensionDelegateStatic("glMultiTexCoord4xvOES", typeof(Delegates.MultiTexCoord4xvOES)); + Delegates.glMultiTexCoord4xvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)texture, (int*)coords); + } + internal static void Load_MultiTexCoordP1ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP1ui = (Delegates.MultiTexCoordP1ui)GetExtensionDelegateStatic("glMultiTexCoordP1ui", typeof(Delegates.MultiTexCoordP1ui)); + Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP1uiv = (Delegates.MultiTexCoordP1uiv)GetExtensionDelegateStatic("glMultiTexCoordP1uiv", typeof(Delegates.MultiTexCoordP1uiv)); + Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_MultiTexCoordP2ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP2ui = (Delegates.MultiTexCoordP2ui)GetExtensionDelegateStatic("glMultiTexCoordP2ui", typeof(Delegates.MultiTexCoordP2ui)); + Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP2uiv = (Delegates.MultiTexCoordP2uiv)GetExtensionDelegateStatic("glMultiTexCoordP2uiv", typeof(Delegates.MultiTexCoordP2uiv)); + Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_MultiTexCoordP3ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP3ui = (Delegates.MultiTexCoordP3ui)GetExtensionDelegateStatic("glMultiTexCoordP3ui", typeof(Delegates.MultiTexCoordP3ui)); + Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP3uiv = (Delegates.MultiTexCoordP3uiv)GetExtensionDelegateStatic("glMultiTexCoordP3uiv", typeof(Delegates.MultiTexCoordP3uiv)); + Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_MultiTexCoordP4ui(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP4ui = (Delegates.MultiTexCoordP4ui)GetExtensionDelegateStatic("glMultiTexCoordP4ui", typeof(Delegates.MultiTexCoordP4ui)); + Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL.TextureUnit texture, OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP4uiv = (Delegates.MultiTexCoordP4uiv)GetExtensionDelegateStatic("glMultiTexCoordP4uiv", typeof(Delegates.MultiTexCoordP4uiv)); + Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL.TextureUnit)texture, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_MultiTexCoordPointerEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glMultiTexCoordPointerEXT = (Delegates.MultiTexCoordPointerEXT)GetExtensionDelegateStatic("glMultiTexCoordPointerEXT", typeof(Delegates.MultiTexCoordPointerEXT)); + Delegates.glMultiTexCoordPointerEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_MultiTexEnvfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) + { + Delegates.glMultiTexEnvfEXT = (Delegates.MultiTexEnvfEXT)GetExtensionDelegateStatic("glMultiTexEnvfEXT", typeof(Delegates.MultiTexEnvfEXT)); + Delegates.glMultiTexEnvfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); + } + internal static unsafe void Load_MultiTexEnvfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) + { + Delegates.glMultiTexEnvfvEXT = (Delegates.MultiTexEnvfvEXT)GetExtensionDelegateStatic("glMultiTexEnvfvEXT", typeof(Delegates.MultiTexEnvfvEXT)); + Delegates.glMultiTexEnvfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + } + internal static void Load_MultiTexEnviEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) + { + Delegates.glMultiTexEnviEXT = (Delegates.MultiTexEnviEXT)GetExtensionDelegateStatic("glMultiTexEnviEXT", typeof(Delegates.MultiTexEnviEXT)); + Delegates.glMultiTexEnviEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); + } + internal static unsafe void Load_MultiTexEnvivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) + { + Delegates.glMultiTexEnvivEXT = (Delegates.MultiTexEnvivEXT)GetExtensionDelegateStatic("glMultiTexEnvivEXT", typeof(Delegates.MultiTexEnvivEXT)); + Delegates.glMultiTexEnvivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + } + internal static void Load_MultiTexGendEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) + { + Delegates.glMultiTexGendEXT = (Delegates.MultiTexGendEXT)GetExtensionDelegateStatic("glMultiTexGendEXT", typeof(Delegates.MultiTexGendEXT)); + Delegates.glMultiTexGendEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); + } + internal static unsafe void Load_MultiTexGendvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) + { + Delegates.glMultiTexGendvEXT = (Delegates.MultiTexGendvEXT)GetExtensionDelegateStatic("glMultiTexGendvEXT", typeof(Delegates.MultiTexGendvEXT)); + Delegates.glMultiTexGendvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + } + internal static void Load_MultiTexGenfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) + { + Delegates.glMultiTexGenfEXT = (Delegates.MultiTexGenfEXT)GetExtensionDelegateStatic("glMultiTexGenfEXT", typeof(Delegates.MultiTexGenfEXT)); + Delegates.glMultiTexGenfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); + } + internal static unsafe void Load_MultiTexGenfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) + { + Delegates.glMultiTexGenfvEXT = (Delegates.MultiTexGenfvEXT)GetExtensionDelegateStatic("glMultiTexGenfvEXT", typeof(Delegates.MultiTexGenfvEXT)); + Delegates.glMultiTexGenfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + } + internal static void Load_MultiTexGeniEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) + { + Delegates.glMultiTexGeniEXT = (Delegates.MultiTexGeniEXT)GetExtensionDelegateStatic("glMultiTexGeniEXT", typeof(Delegates.MultiTexGeniEXT)); + Delegates.glMultiTexGeniEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); + } + internal static unsafe void Load_MultiTexGenivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) + { + Delegates.glMultiTexGenivEXT = (Delegates.MultiTexGenivEXT)GetExtensionDelegateStatic("glMultiTexGenivEXT", typeof(Delegates.MultiTexGenivEXT)); + Delegates.glMultiTexGenivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + } + internal static void Load_MultiTexImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glMultiTexImage1DEXT = (Delegates.MultiTexImage1DEXT)GetExtensionDelegateStatic("glMultiTexImage1DEXT", typeof(Delegates.MultiTexImage1DEXT)); + Delegates.glMultiTexImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_MultiTexImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glMultiTexImage2DEXT = (Delegates.MultiTexImage2DEXT)GetExtensionDelegateStatic("glMultiTexImage2DEXT", typeof(Delegates.MultiTexImage2DEXT)); + Delegates.glMultiTexImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_MultiTexImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glMultiTexImage3DEXT = (Delegates.MultiTexImage3DEXT)GetExtensionDelegateStatic("glMultiTexImage3DEXT", typeof(Delegates.MultiTexImage3DEXT)); + Delegates.glMultiTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_MultiTexParameterfEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) + { + Delegates.glMultiTexParameterfEXT = (Delegates.MultiTexParameterfEXT)GetExtensionDelegateStatic("glMultiTexParameterfEXT", typeof(Delegates.MultiTexParameterfEXT)); + Delegates.glMultiTexParameterfEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); + } + internal static unsafe void Load_MultiTexParameterfvEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) + { + Delegates.glMultiTexParameterfvEXT = (Delegates.MultiTexParameterfvEXT)GetExtensionDelegateStatic("glMultiTexParameterfvEXT", typeof(Delegates.MultiTexParameterfvEXT)); + Delegates.glMultiTexParameterfvEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); + } + internal static void Load_MultiTexParameteriEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) + { + Delegates.glMultiTexParameteriEXT = (Delegates.MultiTexParameteriEXT)GetExtensionDelegateStatic("glMultiTexParameteriEXT", typeof(Delegates.MultiTexParameteriEXT)); + Delegates.glMultiTexParameteriEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); + } + internal static unsafe void Load_MultiTexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + Delegates.glMultiTexParameterIivEXT = (Delegates.MultiTexParameterIivEXT)GetExtensionDelegateStatic("glMultiTexParameterIivEXT", typeof(Delegates.MultiTexParameterIivEXT)); + Delegates.glMultiTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_MultiTexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + Delegates.glMultiTexParameterIuivEXT = (Delegates.MultiTexParameterIuivEXT)GetExtensionDelegateStatic("glMultiTexParameterIuivEXT", typeof(Delegates.MultiTexParameterIuivEXT)); + Delegates.glMultiTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + } + internal static unsafe void Load_MultiTexParameterivEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + Delegates.glMultiTexParameterivEXT = (Delegates.MultiTexParameterivEXT)GetExtensionDelegateStatic("glMultiTexParameterivEXT", typeof(Delegates.MultiTexParameterivEXT)); + Delegates.glMultiTexParameterivEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + } + internal static void Load_MultiTexRenderbufferEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) + { + Delegates.glMultiTexRenderbufferEXT = (Delegates.MultiTexRenderbufferEXT)GetExtensionDelegateStatic("glMultiTexRenderbufferEXT", typeof(Delegates.MultiTexRenderbufferEXT)); + Delegates.glMultiTexRenderbufferEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + } + internal static void Load_MultiTexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glMultiTexSubImage1DEXT = (Delegates.MultiTexSubImage1DEXT)GetExtensionDelegateStatic("glMultiTexSubImage1DEXT", typeof(Delegates.MultiTexSubImage1DEXT)); + Delegates.glMultiTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_MultiTexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glMultiTexSubImage2DEXT = (Delegates.MultiTexSubImage2DEXT)GetExtensionDelegateStatic("glMultiTexSubImage2DEXT", typeof(Delegates.MultiTexSubImage2DEXT)); + Delegates.glMultiTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_MultiTexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureUnit texunit, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glMultiTexSubImage3DEXT = (Delegates.MultiTexSubImage3DEXT)GetExtensionDelegateStatic("glMultiTexSubImage3DEXT", typeof(Delegates.MultiTexSubImage3DEXT)); + Delegates.glMultiTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureUnit)texunit, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static unsafe void Load_MultMatrixd(Double* m) + { + Delegates.glMultMatrixd = (Delegates.MultMatrixd)GetExtensionDelegateStatic("glMultMatrixd", typeof(Delegates.MultMatrixd)); + Delegates.glMultMatrixd((Double*)m); + } + internal static unsafe void Load_MultMatrixf(Single* m) + { + Delegates.glMultMatrixf = (Delegates.MultMatrixf)GetExtensionDelegateStatic("glMultMatrixf", typeof(Delegates.MultMatrixf)); + Delegates.glMultMatrixf((Single*)m); + } + internal static unsafe void Load_MultMatrixxOES(int* m) + { + Delegates.glMultMatrixxOES = (Delegates.MultMatrixxOES)GetExtensionDelegateStatic("glMultMatrixxOES", typeof(Delegates.MultMatrixxOES)); + Delegates.glMultMatrixxOES((int*)m); + } + internal static unsafe void Load_MultTransposeMatrixd(Double* m) + { + Delegates.glMultTransposeMatrixd = (Delegates.MultTransposeMatrixd)GetExtensionDelegateStatic("glMultTransposeMatrixd", typeof(Delegates.MultTransposeMatrixd)); + Delegates.glMultTransposeMatrixd((Double*)m); + } + internal static unsafe void Load_MultTransposeMatrixdARB(Double* m) + { + Delegates.glMultTransposeMatrixdARB = (Delegates.MultTransposeMatrixdARB)GetExtensionDelegateStatic("glMultTransposeMatrixdARB", typeof(Delegates.MultTransposeMatrixdARB)); + Delegates.glMultTransposeMatrixdARB((Double*)m); + } + internal static unsafe void Load_MultTransposeMatrixf(Single* m) + { + Delegates.glMultTransposeMatrixf = (Delegates.MultTransposeMatrixf)GetExtensionDelegateStatic("glMultTransposeMatrixf", typeof(Delegates.MultTransposeMatrixf)); + Delegates.glMultTransposeMatrixf((Single*)m); + } + internal static unsafe void Load_MultTransposeMatrixfARB(Single* m) + { + Delegates.glMultTransposeMatrixfARB = (Delegates.MultTransposeMatrixfARB)GetExtensionDelegateStatic("glMultTransposeMatrixfARB", typeof(Delegates.MultTransposeMatrixfARB)); + Delegates.glMultTransposeMatrixfARB((Single*)m); + } + internal static unsafe void Load_MultTransposeMatrixxOES(int* m) + { + Delegates.glMultTransposeMatrixxOES = (Delegates.MultTransposeMatrixxOES)GetExtensionDelegateStatic("glMultTransposeMatrixxOES", typeof(Delegates.MultTransposeMatrixxOES)); + Delegates.glMultTransposeMatrixxOES((int*)m); + } + internal static void Load_NamedBufferDataEXT(UInt32 buffer, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL.ExtDirectStateAccess usage) + { + Delegates.glNamedBufferDataEXT = (Delegates.NamedBufferDataEXT)GetExtensionDelegateStatic("glNamedBufferDataEXT", typeof(Delegates.NamedBufferDataEXT)); + Delegates.glNamedBufferDataEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)usage); + } + internal static void Load_NamedBufferStorageEXT(UInt32 buffer, IntPtr size, IntPtr data, UInt32 flags) + { + Delegates.glNamedBufferStorageEXT = (Delegates.NamedBufferStorageEXT)GetExtensionDelegateStatic("glNamedBufferStorageEXT", typeof(Delegates.NamedBufferStorageEXT)); + Delegates.glNamedBufferStorageEXT((UInt32)buffer, (IntPtr)size, (IntPtr)data, (UInt32)flags); + } + internal static void Load_NamedBufferSubDataEXT(UInt32 buffer, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glNamedBufferSubDataEXT = (Delegates.NamedBufferSubDataEXT)GetExtensionDelegateStatic("glNamedBufferSubDataEXT", typeof(Delegates.NamedBufferSubDataEXT)); + Delegates.glNamedBufferSubDataEXT((UInt32)buffer, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static void Load_NamedCopyBufferSubDataEXT(UInt32 readBuffer, UInt32 writeBuffer, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + Delegates.glNamedCopyBufferSubDataEXT = (Delegates.NamedCopyBufferSubDataEXT)GetExtensionDelegateStatic("glNamedCopyBufferSubDataEXT", typeof(Delegates.NamedCopyBufferSubDataEXT)); + Delegates.glNamedCopyBufferSubDataEXT((UInt32)readBuffer, (UInt32)writeBuffer, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + } + internal static void Load_NamedFramebufferParameteriEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferParameterName pname, Int32 param) + { + Delegates.glNamedFramebufferParameteriEXT = (Delegates.NamedFramebufferParameteriEXT)GetExtensionDelegateStatic("glNamedFramebufferParameteriEXT", typeof(Delegates.NamedFramebufferParameteriEXT)); + Delegates.glNamedFramebufferParameteriEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferParameterName)pname, (Int32)param); + } + internal static void Load_NamedFramebufferRenderbufferEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + Delegates.glNamedFramebufferRenderbufferEXT = (Delegates.NamedFramebufferRenderbufferEXT)GetExtensionDelegateStatic("glNamedFramebufferRenderbufferEXT", typeof(Delegates.NamedFramebufferRenderbufferEXT)); + Delegates.glNamedFramebufferRenderbufferEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + } + internal static void Load_NamedFramebufferTexture1DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glNamedFramebufferTexture1DEXT = (Delegates.NamedFramebufferTexture1DEXT)GetExtensionDelegateStatic("glNamedFramebufferTexture1DEXT", typeof(Delegates.NamedFramebufferTexture1DEXT)); + Delegates.glNamedFramebufferTexture1DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_NamedFramebufferTexture2DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glNamedFramebufferTexture2DEXT = (Delegates.NamedFramebufferTexture2DEXT)GetExtensionDelegateStatic("glNamedFramebufferTexture2DEXT", typeof(Delegates.NamedFramebufferTexture2DEXT)); + Delegates.glNamedFramebufferTexture2DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_NamedFramebufferTexture3DEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + Delegates.glNamedFramebufferTexture3DEXT = (Delegates.NamedFramebufferTexture3DEXT)GetExtensionDelegateStatic("glNamedFramebufferTexture3DEXT", typeof(Delegates.NamedFramebufferTexture3DEXT)); + Delegates.glNamedFramebufferTexture3DEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + } + internal static void Load_NamedFramebufferTextureEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + Delegates.glNamedFramebufferTextureEXT = (Delegates.NamedFramebufferTextureEXT)GetExtensionDelegateStatic("glNamedFramebufferTextureEXT", typeof(Delegates.NamedFramebufferTextureEXT)); + Delegates.glNamedFramebufferTextureEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + } + internal static void Load_NamedFramebufferTextureFaceEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL.TextureTarget face) + { + Delegates.glNamedFramebufferTextureFaceEXT = (Delegates.NamedFramebufferTextureFaceEXT)GetExtensionDelegateStatic("glNamedFramebufferTextureFaceEXT", typeof(Delegates.NamedFramebufferTextureFaceEXT)); + Delegates.glNamedFramebufferTextureFaceEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL.TextureTarget)face); + } + internal static void Load_NamedFramebufferTextureLayerEXT(UInt32 framebuffer, OpenTK.Graphics.OpenGL.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + Delegates.glNamedFramebufferTextureLayerEXT = (Delegates.NamedFramebufferTextureLayerEXT)GetExtensionDelegateStatic("glNamedFramebufferTextureLayerEXT", typeof(Delegates.NamedFramebufferTextureLayerEXT)); + Delegates.glNamedFramebufferTextureLayerEXT((UInt32)framebuffer, (OpenTK.Graphics.OpenGL.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + } + internal static void Load_NamedProgramLocalParameter4dEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glNamedProgramLocalParameter4dEXT = (Delegates.NamedProgramLocalParameter4dEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4dEXT", typeof(Delegates.NamedProgramLocalParameter4dEXT)); + Delegates.glNamedProgramLocalParameter4dEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_NamedProgramLocalParameter4dvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Double* @params) + { + Delegates.glNamedProgramLocalParameter4dvEXT = (Delegates.NamedProgramLocalParameter4dvEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4dvEXT", typeof(Delegates.NamedProgramLocalParameter4dvEXT)); + Delegates.glNamedProgramLocalParameter4dvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Double*)@params); + } + internal static void Load_NamedProgramLocalParameter4fEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glNamedProgramLocalParameter4fEXT = (Delegates.NamedProgramLocalParameter4fEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4fEXT", typeof(Delegates.NamedProgramLocalParameter4fEXT)); + Delegates.glNamedProgramLocalParameter4fEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_NamedProgramLocalParameter4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Single* @params) + { + Delegates.glNamedProgramLocalParameter4fvEXT = (Delegates.NamedProgramLocalParameter4fvEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameter4fvEXT", typeof(Delegates.NamedProgramLocalParameter4fvEXT)); + Delegates.glNamedProgramLocalParameter4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Single*)@params); + } + internal static void Load_NamedProgramLocalParameterI4iEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glNamedProgramLocalParameterI4iEXT = (Delegates.NamedProgramLocalParameterI4iEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4iEXT", typeof(Delegates.NamedProgramLocalParameterI4iEXT)); + Delegates.glNamedProgramLocalParameterI4iEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_NamedProgramLocalParameterI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32* @params) + { + Delegates.glNamedProgramLocalParameterI4ivEXT = (Delegates.NamedProgramLocalParameterI4ivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4ivEXT", typeof(Delegates.NamedProgramLocalParameterI4ivEXT)); + Delegates.glNamedProgramLocalParameterI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32*)@params); + } + internal static void Load_NamedProgramLocalParameterI4uiEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + Delegates.glNamedProgramLocalParameterI4uiEXT = (Delegates.NamedProgramLocalParameterI4uiEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4uiEXT", typeof(Delegates.NamedProgramLocalParameterI4uiEXT)); + Delegates.glNamedProgramLocalParameterI4uiEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + internal static unsafe void Load_NamedProgramLocalParameterI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, UInt32* @params) + { + Delegates.glNamedProgramLocalParameterI4uivEXT = (Delegates.NamedProgramLocalParameterI4uivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameterI4uivEXT", typeof(Delegates.NamedProgramLocalParameterI4uivEXT)); + Delegates.glNamedProgramLocalParameterI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (UInt32*)@params); + } + internal static unsafe void Load_NamedProgramLocalParameters4fvEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Single* @params) + { + Delegates.glNamedProgramLocalParameters4fvEXT = (Delegates.NamedProgramLocalParameters4fvEXT)GetExtensionDelegateStatic("glNamedProgramLocalParameters4fvEXT", typeof(Delegates.NamedProgramLocalParameters4fvEXT)); + Delegates.glNamedProgramLocalParameters4fvEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Single*)@params); + } + internal static unsafe void Load_NamedProgramLocalParametersI4ivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, Int32* @params) + { + Delegates.glNamedProgramLocalParametersI4ivEXT = (Delegates.NamedProgramLocalParametersI4ivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParametersI4ivEXT", typeof(Delegates.NamedProgramLocalParametersI4ivEXT)); + Delegates.glNamedProgramLocalParametersI4ivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (Int32*)@params); + } + internal static unsafe void Load_NamedProgramLocalParametersI4uivEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, UInt32 index, Int32 count, UInt32* @params) + { + Delegates.glNamedProgramLocalParametersI4uivEXT = (Delegates.NamedProgramLocalParametersI4uivEXT)GetExtensionDelegateStatic("glNamedProgramLocalParametersI4uivEXT", typeof(Delegates.NamedProgramLocalParametersI4uivEXT)); + Delegates.glNamedProgramLocalParametersI4uivEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (UInt32)index, (Int32)count, (UInt32*)@params); + } + internal static void Load_NamedProgramStringEXT(UInt32 program, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess format, Int32 len, IntPtr @string) + { + Delegates.glNamedProgramStringEXT = (Delegates.NamedProgramStringEXT)GetExtensionDelegateStatic("glNamedProgramStringEXT", typeof(Delegates.NamedProgramStringEXT)); + Delegates.glNamedProgramStringEXT((UInt32)program, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)format, (Int32)len, (IntPtr)@string); + } + internal static void Load_NamedRenderbufferStorageEXT(UInt32 renderbuffer, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glNamedRenderbufferStorageEXT = (Delegates.NamedRenderbufferStorageEXT)GetExtensionDelegateStatic("glNamedRenderbufferStorageEXT", typeof(Delegates.NamedRenderbufferStorageEXT)); + Delegates.glNamedRenderbufferStorageEXT((UInt32)renderbuffer, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_NamedRenderbufferStorageMultisampleCoverageEXT(UInt32 renderbuffer, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT = (Delegates.NamedRenderbufferStorageMultisampleCoverageEXT)GetExtensionDelegateStatic("glNamedRenderbufferStorageMultisampleCoverageEXT", typeof(Delegates.NamedRenderbufferStorageMultisampleCoverageEXT)); + Delegates.glNamedRenderbufferStorageMultisampleCoverageEXT((UInt32)renderbuffer, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_NamedRenderbufferStorageMultisampleEXT(UInt32 renderbuffer, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glNamedRenderbufferStorageMultisampleEXT = (Delegates.NamedRenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glNamedRenderbufferStorageMultisampleEXT", typeof(Delegates.NamedRenderbufferStorageMultisampleEXT)); + Delegates.glNamedRenderbufferStorageMultisampleEXT((UInt32)renderbuffer, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_NamedStringARB(OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude type, Int32 namelen, String name, Int32 stringlen, String @string) + { + Delegates.glNamedStringARB = (Delegates.NamedStringARB)GetExtensionDelegateStatic("glNamedStringARB", typeof(Delegates.NamedStringARB)); + Delegates.glNamedStringARB((OpenTK.Graphics.OpenGL.ArbShadingLanguageInclude)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string); + } + internal static void Load_NewList(UInt32 list, OpenTK.Graphics.OpenGL.ListMode mode) + { + Delegates.glNewList = (Delegates.NewList)GetExtensionDelegateStatic("glNewList", typeof(Delegates.NewList)); + Delegates.glNewList((UInt32)list, (OpenTK.Graphics.OpenGL.ListMode)mode); + } + internal static Int32 Load_NewObjectBufferATI(Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject usage) + { + Delegates.glNewObjectBufferATI = (Delegates.NewObjectBufferATI)GetExtensionDelegateStatic("glNewObjectBufferATI", typeof(Delegates.NewObjectBufferATI)); + return Delegates.glNewObjectBufferATI((Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)usage); + } + internal static void Load_Normal3b(SByte nx, SByte ny, SByte nz) + { + Delegates.glNormal3b = (Delegates.Normal3b)GetExtensionDelegateStatic("glNormal3b", typeof(Delegates.Normal3b)); + Delegates.glNormal3b((SByte)nx, (SByte)ny, (SByte)nz); + } + internal static unsafe void Load_Normal3bv(SByte* v) + { + Delegates.glNormal3bv = (Delegates.Normal3bv)GetExtensionDelegateStatic("glNormal3bv", typeof(Delegates.Normal3bv)); + Delegates.glNormal3bv((SByte*)v); + } + internal static void Load_Normal3d(Double nx, Double ny, Double nz) + { + Delegates.glNormal3d = (Delegates.Normal3d)GetExtensionDelegateStatic("glNormal3d", typeof(Delegates.Normal3d)); + Delegates.glNormal3d((Double)nx, (Double)ny, (Double)nz); + } + internal static unsafe void Load_Normal3dv(Double* v) + { + Delegates.glNormal3dv = (Delegates.Normal3dv)GetExtensionDelegateStatic("glNormal3dv", typeof(Delegates.Normal3dv)); + Delegates.glNormal3dv((Double*)v); + } + internal static void Load_Normal3f(Single nx, Single ny, Single nz) + { + Delegates.glNormal3f = (Delegates.Normal3f)GetExtensionDelegateStatic("glNormal3f", typeof(Delegates.Normal3f)); + Delegates.glNormal3f((Single)nx, (Single)ny, (Single)nz); + } + internal static unsafe void Load_Normal3fv(Single* v) + { + Delegates.glNormal3fv = (Delegates.Normal3fv)GetExtensionDelegateStatic("glNormal3fv", typeof(Delegates.Normal3fv)); + Delegates.glNormal3fv((Single*)v); + } + internal static void Load_Normal3fVertex3fSUN(Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glNormal3fVertex3fSUN = (Delegates.Normal3fVertex3fSUN)GetExtensionDelegateStatic("glNormal3fVertex3fSUN", typeof(Delegates.Normal3fVertex3fSUN)); + Delegates.glNormal3fVertex3fSUN((Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_Normal3fVertex3fvSUN(Single* n, Single* v) + { + Delegates.glNormal3fVertex3fvSUN = (Delegates.Normal3fVertex3fvSUN)GetExtensionDelegateStatic("glNormal3fVertex3fvSUN", typeof(Delegates.Normal3fVertex3fvSUN)); + Delegates.glNormal3fVertex3fvSUN((Single*)n, (Single*)v); + } + internal static void Load_Normal3hNV(Half nx, Half ny, Half nz) + { + Delegates.glNormal3hNV = (Delegates.Normal3hNV)GetExtensionDelegateStatic("glNormal3hNV", typeof(Delegates.Normal3hNV)); + Delegates.glNormal3hNV((Half)nx, (Half)ny, (Half)nz); + } + internal static unsafe void Load_Normal3hvNV(Half* v) + { + Delegates.glNormal3hvNV = (Delegates.Normal3hvNV)GetExtensionDelegateStatic("glNormal3hvNV", typeof(Delegates.Normal3hvNV)); + Delegates.glNormal3hvNV((Half*)v); + } + internal static void Load_Normal3i(Int32 nx, Int32 ny, Int32 nz) + { + Delegates.glNormal3i = (Delegates.Normal3i)GetExtensionDelegateStatic("glNormal3i", typeof(Delegates.Normal3i)); + Delegates.glNormal3i((Int32)nx, (Int32)ny, (Int32)nz); + } + internal static unsafe void Load_Normal3iv(Int32* v) + { + Delegates.glNormal3iv = (Delegates.Normal3iv)GetExtensionDelegateStatic("glNormal3iv", typeof(Delegates.Normal3iv)); + Delegates.glNormal3iv((Int32*)v); + } + internal static void Load_Normal3s(Int16 nx, Int16 ny, Int16 nz) + { + Delegates.glNormal3s = (Delegates.Normal3s)GetExtensionDelegateStatic("glNormal3s", typeof(Delegates.Normal3s)); + Delegates.glNormal3s((Int16)nx, (Int16)ny, (Int16)nz); + } + internal static unsafe void Load_Normal3sv(Int16* v) + { + Delegates.glNormal3sv = (Delegates.Normal3sv)GetExtensionDelegateStatic("glNormal3sv", typeof(Delegates.Normal3sv)); + Delegates.glNormal3sv((Int16*)v); + } + internal static void Load_Normal3xOES(int nx, int ny, int nz) + { + Delegates.glNormal3xOES = (Delegates.Normal3xOES)GetExtensionDelegateStatic("glNormal3xOES", typeof(Delegates.Normal3xOES)); + Delegates.glNormal3xOES((int)nx, (int)ny, (int)nz); + } + internal static unsafe void Load_Normal3xvOES(int* coords) + { + Delegates.glNormal3xvOES = (Delegates.Normal3xvOES)GetExtensionDelegateStatic("glNormal3xvOES", typeof(Delegates.Normal3xvOES)); + Delegates.glNormal3xvOES((int*)coords); + } + internal static void Load_NormalFormatNV(OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glNormalFormatNV = (Delegates.NormalFormatNV)GetExtensionDelegateStatic("glNormalFormatNV", typeof(Delegates.NormalFormatNV)); + Delegates.glNormalFormatNV((OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static void Load_NormalP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glNormalP3ui = (Delegates.NormalP3ui)GetExtensionDelegateStatic("glNormalP3ui", typeof(Delegates.NormalP3ui)); + Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_NormalP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glNormalP3uiv = (Delegates.NormalP3uiv)GetExtensionDelegateStatic("glNormalP3uiv", typeof(Delegates.NormalP3uiv)); + Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_NormalPointer(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glNormalPointer = (Delegates.NormalPointer)GetExtensionDelegateStatic("glNormalPointer", typeof(Delegates.NormalPointer)); + Delegates.glNormalPointer((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_NormalPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + Delegates.glNormalPointerEXT = (Delegates.NormalPointerEXT)GetExtensionDelegateStatic("glNormalPointerEXT", typeof(Delegates.NormalPointerEXT)); + Delegates.glNormalPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + } + internal static void Load_NormalPointerListIBM(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + Delegates.glNormalPointerListIBM = (Delegates.NormalPointerListIBM)GetExtensionDelegateStatic("glNormalPointerListIBM", typeof(Delegates.NormalPointerListIBM)); + Delegates.glNormalPointerListIBM((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + } + internal static void Load_NormalPointervINTEL(OpenTK.Graphics.OpenGL.NormalPointerType type, IntPtr pointer) + { + Delegates.glNormalPointervINTEL = (Delegates.NormalPointervINTEL)GetExtensionDelegateStatic("glNormalPointervINTEL", typeof(Delegates.NormalPointervINTEL)); + Delegates.glNormalPointervINTEL((OpenTK.Graphics.OpenGL.NormalPointerType)type, (IntPtr)pointer); + } + internal static void Load_NormalStream3bATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte nx, SByte ny, SByte nz) + { + Delegates.glNormalStream3bATI = (Delegates.NormalStream3bATI)GetExtensionDelegateStatic("glNormalStream3bATI", typeof(Delegates.NormalStream3bATI)); + Delegates.glNormalStream3bATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte)nx, (SByte)ny, (SByte)nz); + } + internal static unsafe void Load_NormalStream3bvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, SByte* coords) + { + Delegates.glNormalStream3bvATI = (Delegates.NormalStream3bvATI)GetExtensionDelegateStatic("glNormalStream3bvATI", typeof(Delegates.NormalStream3bvATI)); + Delegates.glNormalStream3bvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (SByte*)coords); + } + internal static void Load_NormalStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double nx, Double ny, Double nz) + { + Delegates.glNormalStream3dATI = (Delegates.NormalStream3dATI)GetExtensionDelegateStatic("glNormalStream3dATI", typeof(Delegates.NormalStream3dATI)); + Delegates.glNormalStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)nx, (Double)ny, (Double)nz); + } + internal static unsafe void Load_NormalStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + Delegates.glNormalStream3dvATI = (Delegates.NormalStream3dvATI)GetExtensionDelegateStatic("glNormalStream3dvATI", typeof(Delegates.NormalStream3dvATI)); + Delegates.glNormalStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + } + internal static void Load_NormalStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single nx, Single ny, Single nz) + { + Delegates.glNormalStream3fATI = (Delegates.NormalStream3fATI)GetExtensionDelegateStatic("glNormalStream3fATI", typeof(Delegates.NormalStream3fATI)); + Delegates.glNormalStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)nx, (Single)ny, (Single)nz); + } + internal static unsafe void Load_NormalStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + Delegates.glNormalStream3fvATI = (Delegates.NormalStream3fvATI)GetExtensionDelegateStatic("glNormalStream3fvATI", typeof(Delegates.NormalStream3fvATI)); + Delegates.glNormalStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + } + internal static void Load_NormalStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 nx, Int32 ny, Int32 nz) + { + Delegates.glNormalStream3iATI = (Delegates.NormalStream3iATI)GetExtensionDelegateStatic("glNormalStream3iATI", typeof(Delegates.NormalStream3iATI)); + Delegates.glNormalStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)nx, (Int32)ny, (Int32)nz); + } + internal static unsafe void Load_NormalStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + Delegates.glNormalStream3ivATI = (Delegates.NormalStream3ivATI)GetExtensionDelegateStatic("glNormalStream3ivATI", typeof(Delegates.NormalStream3ivATI)); + Delegates.glNormalStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + } + internal static void Load_NormalStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 nx, Int16 ny, Int16 nz) + { + Delegates.glNormalStream3sATI = (Delegates.NormalStream3sATI)GetExtensionDelegateStatic("glNormalStream3sATI", typeof(Delegates.NormalStream3sATI)); + Delegates.glNormalStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)nx, (Int16)ny, (Int16)nz); + } + internal static unsafe void Load_NormalStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + Delegates.glNormalStream3svATI = (Delegates.NormalStream3svATI)GetExtensionDelegateStatic("glNormalStream3svATI", typeof(Delegates.NormalStream3svATI)); + Delegates.glNormalStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + } + internal static void Load_ObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); + Delegates.glObjectLabel((OpenTK.Graphics.OpenGL.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectLabelKHR(OpenTK.Graphics.OpenGL.KhrDebug identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); + Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL.KhrDebug)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); + Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); + Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); + } + internal static OpenTK.Graphics.OpenGL.AppleObjectPurgeable Load_ObjectPurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) + { + Delegates.glObjectPurgeableAPPLE = (Delegates.ObjectPurgeableAPPLE)GetExtensionDelegateStatic("glObjectPurgeableAPPLE", typeof(Delegates.ObjectPurgeableAPPLE)); + return Delegates.glObjectPurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); + } + internal static OpenTK.Graphics.OpenGL.AppleObjectPurgeable Load_ObjectUnpurgeableAPPLE(OpenTK.Graphics.OpenGL.AppleObjectPurgeable objectType, UInt32 name, OpenTK.Graphics.OpenGL.AppleObjectPurgeable option) + { + Delegates.glObjectUnpurgeableAPPLE = (Delegates.ObjectUnpurgeableAPPLE)GetExtensionDelegateStatic("glObjectUnpurgeableAPPLE", typeof(Delegates.ObjectUnpurgeableAPPLE)); + return Delegates.glObjectUnpurgeableAPPLE((OpenTK.Graphics.OpenGL.AppleObjectPurgeable)objectType, (UInt32)name, (OpenTK.Graphics.OpenGL.AppleObjectPurgeable)option); + } + internal static void Load_Ortho(Double left, Double right, Double bottom, Double top, Double zNear, Double zFar) + { + Delegates.glOrtho = (Delegates.Ortho)GetExtensionDelegateStatic("glOrtho", typeof(Delegates.Ortho)); + Delegates.glOrtho((Double)left, (Double)right, (Double)bottom, (Double)top, (Double)zNear, (Double)zFar); + } + internal static void Load_OrthofOES(Single l, Single r, Single b, Single t, Single n, Single f) + { + Delegates.glOrthofOES = (Delegates.OrthofOES)GetExtensionDelegateStatic("glOrthofOES", typeof(Delegates.OrthofOES)); + Delegates.glOrthofOES((Single)l, (Single)r, (Single)b, (Single)t, (Single)n, (Single)f); + } + internal static void Load_OrthoxOES(int l, int r, int b, int t, int n, int f) + { + Delegates.glOrthoxOES = (Delegates.OrthoxOES)GetExtensionDelegateStatic("glOrthoxOES", typeof(Delegates.OrthoxOES)); + Delegates.glOrthoxOES((int)l, (int)r, (int)b, (int)t, (int)n, (int)f); + } + internal static void Load_PassTexCoordATI(UInt32 dst, UInt32 coord, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) + { + Delegates.glPassTexCoordATI = (Delegates.PassTexCoordATI)GetExtensionDelegateStatic("glPassTexCoordATI", typeof(Delegates.PassTexCoordATI)); + Delegates.glPassTexCoordATI((UInt32)dst, (UInt32)coord, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); + } + internal static void Load_PassThrough(Single token) + { + Delegates.glPassThrough = (Delegates.PassThrough)GetExtensionDelegateStatic("glPassThrough", typeof(Delegates.PassThrough)); + Delegates.glPassThrough((Single)token); + } + internal static void Load_PassThroughxOES(int token) + { + Delegates.glPassThroughxOES = (Delegates.PassThroughxOES)GetExtensionDelegateStatic("glPassThroughxOES", typeof(Delegates.PassThroughxOES)); + Delegates.glPassThroughxOES((int)token); + } + internal static unsafe void Load_PatchParameterfv(OpenTK.Graphics.OpenGL.PatchParameterFloat pname, Single* values) + { + Delegates.glPatchParameterfv = (Delegates.PatchParameterfv)GetExtensionDelegateStatic("glPatchParameterfv", typeof(Delegates.PatchParameterfv)); + Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL.PatchParameterFloat)pname, (Single*)values); + } + internal static void Load_PatchParameteri(OpenTK.Graphics.OpenGL.PatchParameterInt pname, Int32 value) + { + Delegates.glPatchParameteri = (Delegates.PatchParameteri)GetExtensionDelegateStatic("glPatchParameteri", typeof(Delegates.PatchParameteri)); + Delegates.glPatchParameteri((OpenTK.Graphics.OpenGL.PatchParameterInt)pname, (Int32)value); + } + internal static unsafe void Load_PathColorGenNV(OpenTK.Graphics.OpenGL.NvPathRendering color, OpenTK.Graphics.OpenGL.NvPathRendering genMode, OpenTK.Graphics.OpenGL.NvPathRendering colorFormat, Single* coeffs) + { + Delegates.glPathColorGenNV = (Delegates.PathColorGenNV)GetExtensionDelegateStatic("glPathColorGenNV", typeof(Delegates.PathColorGenNV)); + Delegates.glPathColorGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)color, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (OpenTK.Graphics.OpenGL.NvPathRendering)colorFormat, (Single*)coeffs); + } + internal static unsafe void Load_PathCommandsNV(UInt32 path, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) + { + Delegates.glPathCommandsNV = (Delegates.PathCommandsNV)GetExtensionDelegateStatic("glPathCommandsNV", typeof(Delegates.PathCommandsNV)); + Delegates.glPathCommandsNV((UInt32)path, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); + } + internal static void Load_PathCoordsNV(UInt32 path, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) + { + Delegates.glPathCoordsNV = (Delegates.PathCoordsNV)GetExtensionDelegateStatic("glPathCoordsNV", typeof(Delegates.PathCoordsNV)); + Delegates.glPathCoordsNV((UInt32)path, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); + } + internal static void Load_PathCoverDepthFuncNV(OpenTK.Graphics.OpenGL.DepthFunction func) + { + Delegates.glPathCoverDepthFuncNV = (Delegates.PathCoverDepthFuncNV)GetExtensionDelegateStatic("glPathCoverDepthFuncNV", typeof(Delegates.PathCoverDepthFuncNV)); + Delegates.glPathCoverDepthFuncNV((OpenTK.Graphics.OpenGL.DepthFunction)func); + } + internal static unsafe void Load_PathDashArrayNV(UInt32 path, Int32 dashCount, Single* dashArray) + { + Delegates.glPathDashArrayNV = (Delegates.PathDashArrayNV)GetExtensionDelegateStatic("glPathDashArrayNV", typeof(Delegates.PathDashArrayNV)); + Delegates.glPathDashArrayNV((UInt32)path, (Int32)dashCount, (Single*)dashArray); + } + internal static void Load_PathFogGenNV(OpenTK.Graphics.OpenGL.NvPathRendering genMode) + { + Delegates.glPathFogGenNV = (Delegates.PathFogGenNV)GetExtensionDelegateStatic("glPathFogGenNV", typeof(Delegates.PathFogGenNV)); + Delegates.glPathFogGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)genMode); + } + internal static void Load_PathGlyphRangeNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, UInt32 firstGlyph, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + { + Delegates.glPathGlyphRangeNV = (Delegates.PathGlyphRangeNV)GetExtensionDelegateStatic("glPathGlyphRangeNV", typeof(Delegates.PathGlyphRangeNV)); + Delegates.glPathGlyphRangeNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (UInt32)firstGlyph, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); + } + internal static void Load_PathGlyphsNV(UInt32 firstPathName, OpenTK.Graphics.OpenGL.NvPathRendering fontTarget, IntPtr fontName, UInt32 fontStyle, Int32 numGlyphs, OpenTK.Graphics.OpenGL.NvPathRendering type, IntPtr charcodes, OpenTK.Graphics.OpenGL.NvPathRendering handleMissingGlyphs, UInt32 pathParameterTemplate, Single emScale) + { + Delegates.glPathGlyphsNV = (Delegates.PathGlyphsNV)GetExtensionDelegateStatic("glPathGlyphsNV", typeof(Delegates.PathGlyphsNV)); + Delegates.glPathGlyphsNV((UInt32)firstPathName, (OpenTK.Graphics.OpenGL.NvPathRendering)fontTarget, (IntPtr)fontName, (UInt32)fontStyle, (Int32)numGlyphs, (OpenTK.Graphics.OpenGL.NvPathRendering)type, (IntPtr)charcodes, (OpenTK.Graphics.OpenGL.NvPathRendering)handleMissingGlyphs, (UInt32)pathParameterTemplate, (Single)emScale); + } + internal static void Load_PathParameterfNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single value) + { + Delegates.glPathParameterfNV = (Delegates.PathParameterfNV)GetExtensionDelegateStatic("glPathParameterfNV", typeof(Delegates.PathParameterfNV)); + Delegates.glPathParameterfNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single)value); + } + internal static unsafe void Load_PathParameterfvNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Single* value) + { + Delegates.glPathParameterfvNV = (Delegates.PathParameterfvNV)GetExtensionDelegateStatic("glPathParameterfvNV", typeof(Delegates.PathParameterfvNV)); + Delegates.glPathParameterfvNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Single*)value); + } + internal static void Load_PathParameteriNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32 value) + { + Delegates.glPathParameteriNV = (Delegates.PathParameteriNV)GetExtensionDelegateStatic("glPathParameteriNV", typeof(Delegates.PathParameteriNV)); + Delegates.glPathParameteriNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32)value); + } + internal static unsafe void Load_PathParameterivNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering pname, Int32* value) + { + Delegates.glPathParameterivNV = (Delegates.PathParameterivNV)GetExtensionDelegateStatic("glPathParameterivNV", typeof(Delegates.PathParameterivNV)); + Delegates.glPathParameterivNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)pname, (Int32*)value); + } + internal static void Load_PathStencilDepthOffsetNV(Single factor, Single units) + { + Delegates.glPathStencilDepthOffsetNV = (Delegates.PathStencilDepthOffsetNV)GetExtensionDelegateStatic("glPathStencilDepthOffsetNV", typeof(Delegates.PathStencilDepthOffsetNV)); + Delegates.glPathStencilDepthOffsetNV((Single)factor, (Single)units); + } + internal static void Load_PathStencilFuncNV(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glPathStencilFuncNV = (Delegates.PathStencilFuncNV)GetExtensionDelegateStatic("glPathStencilFuncNV", typeof(Delegates.PathStencilFuncNV)); + Delegates.glPathStencilFuncNV((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_PathStringNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering format, Int32 length, IntPtr pathString) + { + Delegates.glPathStringNV = (Delegates.PathStringNV)GetExtensionDelegateStatic("glPathStringNV", typeof(Delegates.PathStringNV)); + Delegates.glPathStringNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)format, (Int32)length, (IntPtr)pathString); + } + internal static unsafe void Load_PathSubCommandsNV(UInt32 path, Int32 commandStart, Int32 commandsToDelete, Int32 numCommands, Byte* commands, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) + { + Delegates.glPathSubCommandsNV = (Delegates.PathSubCommandsNV)GetExtensionDelegateStatic("glPathSubCommandsNV", typeof(Delegates.PathSubCommandsNV)); + Delegates.glPathSubCommandsNV((UInt32)path, (Int32)commandStart, (Int32)commandsToDelete, (Int32)numCommands, (Byte*)commands, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); + } + internal static void Load_PathSubCoordsNV(UInt32 path, Int32 coordStart, Int32 numCoords, OpenTK.Graphics.OpenGL.NvPathRendering coordType, IntPtr coords) + { + Delegates.glPathSubCoordsNV = (Delegates.PathSubCoordsNV)GetExtensionDelegateStatic("glPathSubCoordsNV", typeof(Delegates.PathSubCoordsNV)); + Delegates.glPathSubCoordsNV((UInt32)path, (Int32)coordStart, (Int32)numCoords, (OpenTK.Graphics.OpenGL.NvPathRendering)coordType, (IntPtr)coords); + } + internal static unsafe void Load_PathTexGenNV(OpenTK.Graphics.OpenGL.NvPathRendering texCoordSet, OpenTK.Graphics.OpenGL.NvPathRendering genMode, Int32 components, Single* coeffs) + { + Delegates.glPathTexGenNV = (Delegates.PathTexGenNV)GetExtensionDelegateStatic("glPathTexGenNV", typeof(Delegates.PathTexGenNV)); + Delegates.glPathTexGenNV((OpenTK.Graphics.OpenGL.NvPathRendering)texCoordSet, (OpenTK.Graphics.OpenGL.NvPathRendering)genMode, (Int32)components, (Single*)coeffs); + } + internal static void Load_PauseTransformFeedback() + { + Delegates.glPauseTransformFeedback = (Delegates.PauseTransformFeedback)GetExtensionDelegateStatic("glPauseTransformFeedback", typeof(Delegates.PauseTransformFeedback)); + Delegates.glPauseTransformFeedback(); + } + internal static void Load_PauseTransformFeedbackNV() + { + Delegates.glPauseTransformFeedbackNV = (Delegates.PauseTransformFeedbackNV)GetExtensionDelegateStatic("glPauseTransformFeedbackNV", typeof(Delegates.PauseTransformFeedbackNV)); + Delegates.glPauseTransformFeedbackNV(); + } + internal static void Load_PixelDataRangeNV(OpenTK.Graphics.OpenGL.NvPixelDataRange target, Int32 length, IntPtr pointer) + { + Delegates.glPixelDataRangeNV = (Delegates.PixelDataRangeNV)GetExtensionDelegateStatic("glPixelDataRangeNV", typeof(Delegates.PixelDataRangeNV)); + Delegates.glPixelDataRangeNV((OpenTK.Graphics.OpenGL.NvPixelDataRange)target, (Int32)length, (IntPtr)pointer); + } + internal static unsafe void Load_PixelMapfv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, Single* values) + { + Delegates.glPixelMapfv = (Delegates.PixelMapfv)GetExtensionDelegateStatic("glPixelMapfv", typeof(Delegates.PixelMapfv)); + Delegates.glPixelMapfv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (Single*)values); + } + internal static unsafe void Load_PixelMapuiv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt32* values) + { + Delegates.glPixelMapuiv = (Delegates.PixelMapuiv)GetExtensionDelegateStatic("glPixelMapuiv", typeof(Delegates.PixelMapuiv)); + Delegates.glPixelMapuiv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt32*)values); + } + internal static unsafe void Load_PixelMapusv(OpenTK.Graphics.OpenGL.PixelMap map, Int32 mapsize, UInt16* values) + { + Delegates.glPixelMapusv = (Delegates.PixelMapusv)GetExtensionDelegateStatic("glPixelMapusv", typeof(Delegates.PixelMapusv)); + Delegates.glPixelMapusv((OpenTK.Graphics.OpenGL.PixelMap)map, (Int32)mapsize, (UInt16*)values); + } + internal static unsafe void Load_PixelMapx(OpenTK.Graphics.OpenGL.OesFixedPoint map, Int32 size, int* values) + { + Delegates.glPixelMapx = (Delegates.PixelMapx)GetExtensionDelegateStatic("glPixelMapx", typeof(Delegates.PixelMapx)); + Delegates.glPixelMapx((OpenTK.Graphics.OpenGL.OesFixedPoint)map, (Int32)size, (int*)values); + } + internal static void Load_PixelStoref(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Single param) + { + Delegates.glPixelStoref = (Delegates.PixelStoref)GetExtensionDelegateStatic("glPixelStoref", typeof(Delegates.PixelStoref)); + Delegates.glPixelStoref((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Single)param); + } + internal static void Load_PixelStorei(OpenTK.Graphics.OpenGL.PixelStoreParameter pname, Int32 param) + { + Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); + Delegates.glPixelStorei((OpenTK.Graphics.OpenGL.PixelStoreParameter)pname, (Int32)param); + } + internal static void Load_PixelStorex(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glPixelStorex = (Delegates.PixelStorex)GetExtensionDelegateStatic("glPixelStorex", typeof(Delegates.PixelStorex)); + Delegates.glPixelStorex((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static void Load_PixelTexGenParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single param) + { + Delegates.glPixelTexGenParameterfSGIS = (Delegates.PixelTexGenParameterfSGIS)GetExtensionDelegateStatic("glPixelTexGenParameterfSGIS", typeof(Delegates.PixelTexGenParameterfSGIS)); + Delegates.glPixelTexGenParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single)param); + } + internal static unsafe void Load_PixelTexGenParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Single* @params) + { + Delegates.glPixelTexGenParameterfvSGIS = (Delegates.PixelTexGenParameterfvSGIS)GetExtensionDelegateStatic("glPixelTexGenParameterfvSGIS", typeof(Delegates.PixelTexGenParameterfvSGIS)); + Delegates.glPixelTexGenParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Single*)@params); + } + internal static void Load_PixelTexGenParameteriSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32 param) + { + Delegates.glPixelTexGenParameteriSGIS = (Delegates.PixelTexGenParameteriSGIS)GetExtensionDelegateStatic("glPixelTexGenParameteriSGIS", typeof(Delegates.PixelTexGenParameteriSGIS)); + Delegates.glPixelTexGenParameteriSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32)param); + } + internal static unsafe void Load_PixelTexGenParameterivSGIS(OpenTK.Graphics.OpenGL.SgisPixelTexture pname, Int32* @params) + { + Delegates.glPixelTexGenParameterivSGIS = (Delegates.PixelTexGenParameterivSGIS)GetExtensionDelegateStatic("glPixelTexGenParameterivSGIS", typeof(Delegates.PixelTexGenParameterivSGIS)); + Delegates.glPixelTexGenParameterivSGIS((OpenTK.Graphics.OpenGL.SgisPixelTexture)pname, (Int32*)@params); + } + internal static void Load_PixelTexGenSGIX(OpenTK.Graphics.OpenGL.SgixPixelTexture mode) + { + Delegates.glPixelTexGenSGIX = (Delegates.PixelTexGenSGIX)GetExtensionDelegateStatic("glPixelTexGenSGIX", typeof(Delegates.PixelTexGenSGIX)); + Delegates.glPixelTexGenSGIX((OpenTK.Graphics.OpenGL.SgixPixelTexture)mode); + } + internal static void Load_PixelTransferf(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Single param) + { + Delegates.glPixelTransferf = (Delegates.PixelTransferf)GetExtensionDelegateStatic("glPixelTransferf", typeof(Delegates.PixelTransferf)); + Delegates.glPixelTransferf((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Single)param); + } + internal static void Load_PixelTransferi(OpenTK.Graphics.OpenGL.PixelTransferParameter pname, Int32 param) + { + Delegates.glPixelTransferi = (Delegates.PixelTransferi)GetExtensionDelegateStatic("glPixelTransferi", typeof(Delegates.PixelTransferi)); + Delegates.glPixelTransferi((OpenTK.Graphics.OpenGL.PixelTransferParameter)pname, (Int32)param); + } + internal static void Load_PixelTransferxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glPixelTransferxOES = (Delegates.PixelTransferxOES)GetExtensionDelegateStatic("glPixelTransferxOES", typeof(Delegates.PixelTransferxOES)); + Delegates.glPixelTransferxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static void Load_PixelTransformParameterfEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single param) + { + Delegates.glPixelTransformParameterfEXT = (Delegates.PixelTransformParameterfEXT)GetExtensionDelegateStatic("glPixelTransformParameterfEXT", typeof(Delegates.PixelTransformParameterfEXT)); + Delegates.glPixelTransformParameterfEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single)param); + } + internal static unsafe void Load_PixelTransformParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Single* @params) + { + Delegates.glPixelTransformParameterfvEXT = (Delegates.PixelTransformParameterfvEXT)GetExtensionDelegateStatic("glPixelTransformParameterfvEXT", typeof(Delegates.PixelTransformParameterfvEXT)); + Delegates.glPixelTransformParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Single*)@params); + } + internal static void Load_PixelTransformParameteriEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32 param) + { + Delegates.glPixelTransformParameteriEXT = (Delegates.PixelTransformParameteriEXT)GetExtensionDelegateStatic("glPixelTransformParameteriEXT", typeof(Delegates.PixelTransformParameteriEXT)); + Delegates.glPixelTransformParameteriEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32)param); + } + internal static unsafe void Load_PixelTransformParameterivEXT(OpenTK.Graphics.OpenGL.ExtPixelTransform target, OpenTK.Graphics.OpenGL.ExtPixelTransform pname, Int32* @params) + { + Delegates.glPixelTransformParameterivEXT = (Delegates.PixelTransformParameterivEXT)GetExtensionDelegateStatic("glPixelTransformParameterivEXT", typeof(Delegates.PixelTransformParameterivEXT)); + Delegates.glPixelTransformParameterivEXT((OpenTK.Graphics.OpenGL.ExtPixelTransform)target, (OpenTK.Graphics.OpenGL.ExtPixelTransform)pname, (Int32*)@params); + } + internal static void Load_PixelZoom(Single xfactor, Single yfactor) + { + Delegates.glPixelZoom = (Delegates.PixelZoom)GetExtensionDelegateStatic("glPixelZoom", typeof(Delegates.PixelZoom)); + Delegates.glPixelZoom((Single)xfactor, (Single)yfactor); + } + internal static void Load_PixelZoomxOES(int xfactor, int yfactor) + { + Delegates.glPixelZoomxOES = (Delegates.PixelZoomxOES)GetExtensionDelegateStatic("glPixelZoomxOES", typeof(Delegates.PixelZoomxOES)); + Delegates.glPixelZoomxOES((int)xfactor, (int)yfactor); + } + internal static void Load_PNTrianglesfATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Single param) + { + Delegates.glPNTrianglesfATI = (Delegates.PNTrianglesfATI)GetExtensionDelegateStatic("glPNTrianglesfATI", typeof(Delegates.PNTrianglesfATI)); + Delegates.glPNTrianglesfATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Single)param); + } + internal static void Load_PNTrianglesiATI(OpenTK.Graphics.OpenGL.AtiPnTriangles pname, Int32 param) + { + Delegates.glPNTrianglesiATI = (Delegates.PNTrianglesiATI)GetExtensionDelegateStatic("glPNTrianglesiATI", typeof(Delegates.PNTrianglesiATI)); + Delegates.glPNTrianglesiATI((OpenTK.Graphics.OpenGL.AtiPnTriangles)pname, (Int32)param); + } + internal static unsafe bool Load_PointAlongPathNV(UInt32 path, Int32 startSegment, Int32 numSegments, Single distance, [OutAttribute] Single* x, [OutAttribute] Single* y, [OutAttribute] Single* tangentX, [OutAttribute] Single* tangentY) + { + Delegates.glPointAlongPathNV = (Delegates.PointAlongPathNV)GetExtensionDelegateStatic("glPointAlongPathNV", typeof(Delegates.PointAlongPathNV)); + return Delegates.glPointAlongPathNV((UInt32)path, (Int32)startSegment, (Int32)numSegments, (Single)distance, (Single*)x, (Single*)y, (Single*)tangentX, (Single*)tangentY); + } + internal static void Load_PointParameterf(OpenTK.Graphics.OpenGL.PointParameterName pname, Single param) + { + Delegates.glPointParameterf = (Delegates.PointParameterf)GetExtensionDelegateStatic("glPointParameterf", typeof(Delegates.PointParameterf)); + Delegates.glPointParameterf((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single)param); + } + internal static void Load_PointParameterfARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single param) + { + Delegates.glPointParameterfARB = (Delegates.PointParameterfARB)GetExtensionDelegateStatic("glPointParameterfARB", typeof(Delegates.PointParameterfARB)); + Delegates.glPointParameterfARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single)param); + } + internal static void Load_PointParameterfEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single param) + { + Delegates.glPointParameterfEXT = (Delegates.PointParameterfEXT)GetExtensionDelegateStatic("glPointParameterfEXT", typeof(Delegates.PointParameterfEXT)); + Delegates.glPointParameterfEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single)param); + } + internal static void Load_PointParameterfSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single param) + { + Delegates.glPointParameterfSGIS = (Delegates.PointParameterfSGIS)GetExtensionDelegateStatic("glPointParameterfSGIS", typeof(Delegates.PointParameterfSGIS)); + Delegates.glPointParameterfSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single)param); + } + internal static unsafe void Load_PointParameterfv(OpenTK.Graphics.OpenGL.PointParameterName pname, Single* @params) + { + Delegates.glPointParameterfv = (Delegates.PointParameterfv)GetExtensionDelegateStatic("glPointParameterfv", typeof(Delegates.PointParameterfv)); + Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Single*)@params); + } + internal static unsafe void Load_PointParameterfvARB(OpenTK.Graphics.OpenGL.ArbPointParameters pname, Single* @params) + { + Delegates.glPointParameterfvARB = (Delegates.PointParameterfvARB)GetExtensionDelegateStatic("glPointParameterfvARB", typeof(Delegates.PointParameterfvARB)); + Delegates.glPointParameterfvARB((OpenTK.Graphics.OpenGL.ArbPointParameters)pname, (Single*)@params); + } + internal static unsafe void Load_PointParameterfvEXT(OpenTK.Graphics.OpenGL.ExtPointParameters pname, Single* @params) + { + Delegates.glPointParameterfvEXT = (Delegates.PointParameterfvEXT)GetExtensionDelegateStatic("glPointParameterfvEXT", typeof(Delegates.PointParameterfvEXT)); + Delegates.glPointParameterfvEXT((OpenTK.Graphics.OpenGL.ExtPointParameters)pname, (Single*)@params); + } + internal static unsafe void Load_PointParameterfvSGIS(OpenTK.Graphics.OpenGL.SgisPointParameters pname, Single* @params) + { + Delegates.glPointParameterfvSGIS = (Delegates.PointParameterfvSGIS)GetExtensionDelegateStatic("glPointParameterfvSGIS", typeof(Delegates.PointParameterfvSGIS)); + Delegates.glPointParameterfvSGIS((OpenTK.Graphics.OpenGL.SgisPointParameters)pname, (Single*)@params); + } + internal static void Load_PointParameteri(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32 param) + { + Delegates.glPointParameteri = (Delegates.PointParameteri)GetExtensionDelegateStatic("glPointParameteri", typeof(Delegates.PointParameteri)); + Delegates.glPointParameteri((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32)param); + } + internal static void Load_PointParameteriNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32 param) + { + Delegates.glPointParameteriNV = (Delegates.PointParameteriNV)GetExtensionDelegateStatic("glPointParameteriNV", typeof(Delegates.PointParameteriNV)); + Delegates.glPointParameteriNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32)param); + } + internal static unsafe void Load_PointParameteriv(OpenTK.Graphics.OpenGL.PointParameterName pname, Int32* @params) + { + Delegates.glPointParameteriv = (Delegates.PointParameteriv)GetExtensionDelegateStatic("glPointParameteriv", typeof(Delegates.PointParameteriv)); + Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL.PointParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_PointParameterivNV(OpenTK.Graphics.OpenGL.NvPointSprite pname, Int32* @params) + { + Delegates.glPointParameterivNV = (Delegates.PointParameterivNV)GetExtensionDelegateStatic("glPointParameterivNV", typeof(Delegates.PointParameterivNV)); + Delegates.glPointParameterivNV((OpenTK.Graphics.OpenGL.NvPointSprite)pname, (Int32*)@params); + } + internal static void Load_PointParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glPointParameterxOES = (Delegates.PointParameterxOES)GetExtensionDelegateStatic("glPointParameterxOES", typeof(Delegates.PointParameterxOES)); + Delegates.glPointParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_PointParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) + { + Delegates.glPointParameterxvOES = (Delegates.PointParameterxvOES)GetExtensionDelegateStatic("glPointParameterxvOES", typeof(Delegates.PointParameterxvOES)); + Delegates.glPointParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static void Load_PointSize(Single size) + { + Delegates.glPointSize = (Delegates.PointSize)GetExtensionDelegateStatic("glPointSize", typeof(Delegates.PointSize)); + Delegates.glPointSize((Single)size); + } + internal static void Load_PointSizexOES(int size) + { + Delegates.glPointSizexOES = (Delegates.PointSizexOES)GetExtensionDelegateStatic("glPointSizexOES", typeof(Delegates.PointSizexOES)); + Delegates.glPointSizexOES((int)size); + } + internal static unsafe Int32 Load_PollAsyncSGIX([OutAttribute] UInt32* markerp) + { + Delegates.glPollAsyncSGIX = (Delegates.PollAsyncSGIX)GetExtensionDelegateStatic("glPollAsyncSGIX", typeof(Delegates.PollAsyncSGIX)); + return Delegates.glPollAsyncSGIX((UInt32*)markerp); + } + internal static unsafe Int32 Load_PollInstrumentsSGIX([OutAttribute] Int32* marker_p) + { + Delegates.glPollInstrumentsSGIX = (Delegates.PollInstrumentsSGIX)GetExtensionDelegateStatic("glPollInstrumentsSGIX", typeof(Delegates.PollInstrumentsSGIX)); + return Delegates.glPollInstrumentsSGIX((Int32*)marker_p); + } + internal static void Load_PolygonMode(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.PolygonMode mode) + { + Delegates.glPolygonMode = (Delegates.PolygonMode)GetExtensionDelegateStatic("glPolygonMode", typeof(Delegates.PolygonMode)); + Delegates.glPolygonMode((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.PolygonMode)mode); + } + internal static void Load_PolygonOffset(Single factor, Single units) + { + Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); + Delegates.glPolygonOffset((Single)factor, (Single)units); + } + internal static void Load_PolygonOffsetEXT(Single factor, Single bias) + { + Delegates.glPolygonOffsetEXT = (Delegates.PolygonOffsetEXT)GetExtensionDelegateStatic("glPolygonOffsetEXT", typeof(Delegates.PolygonOffsetEXT)); + Delegates.glPolygonOffsetEXT((Single)factor, (Single)bias); + } + internal static void Load_PolygonOffsetxOES(int factor, int units) + { + Delegates.glPolygonOffsetxOES = (Delegates.PolygonOffsetxOES)GetExtensionDelegateStatic("glPolygonOffsetxOES", typeof(Delegates.PolygonOffsetxOES)); + Delegates.glPolygonOffsetxOES((int)factor, (int)units); + } + internal static unsafe void Load_PolygonStipple(Byte* mask) + { + Delegates.glPolygonStipple = (Delegates.PolygonStipple)GetExtensionDelegateStatic("glPolygonStipple", typeof(Delegates.PolygonStipple)); + Delegates.glPolygonStipple((Byte*)mask); + } + internal static void Load_PopAttrib() + { + Delegates.glPopAttrib = (Delegates.PopAttrib)GetExtensionDelegateStatic("glPopAttrib", typeof(Delegates.PopAttrib)); + Delegates.glPopAttrib(); + } + internal static void Load_PopClientAttrib() + { + Delegates.glPopClientAttrib = (Delegates.PopClientAttrib)GetExtensionDelegateStatic("glPopClientAttrib", typeof(Delegates.PopClientAttrib)); + Delegates.glPopClientAttrib(); + } + internal static void Load_PopDebugGroup() + { + Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); + Delegates.glPopDebugGroup(); + } + internal static void Load_PopDebugGroupKHR() + { + Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); + Delegates.glPopDebugGroupKHR(); + } + internal static void Load_PopGroupMarkerEXT() + { + Delegates.glPopGroupMarkerEXT = (Delegates.PopGroupMarkerEXT)GetExtensionDelegateStatic("glPopGroupMarkerEXT", typeof(Delegates.PopGroupMarkerEXT)); + Delegates.glPopGroupMarkerEXT(); + } + internal static void Load_PopMatrix() + { + Delegates.glPopMatrix = (Delegates.PopMatrix)GetExtensionDelegateStatic("glPopMatrix", typeof(Delegates.PopMatrix)); + Delegates.glPopMatrix(); + } + internal static void Load_PopName() + { + Delegates.glPopName = (Delegates.PopName)GetExtensionDelegateStatic("glPopName", typeof(Delegates.PopName)); + Delegates.glPopName(); + } + internal static void Load_PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.OpenGL.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.OpenGL.NvPresentVideo target3, UInt32 fill3) + { + Delegates.glPresentFrameDualFillNV = (Delegates.PresentFrameDualFillNV)GetExtensionDelegateStatic("glPresentFrameDualFillNV", typeof(Delegates.PresentFrameDualFillNV)); + Delegates.glPresentFrameDualFillNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (OpenTK.Graphics.OpenGL.NvPresentVideo)target2, (UInt32)fill2, (OpenTK.Graphics.OpenGL.NvPresentVideo)target3, (UInt32)fill3); + } + internal static void Load_PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.OpenGL.NvPresentVideo type, OpenTK.Graphics.OpenGL.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.OpenGL.NvPresentVideo target1, UInt32 fill1, UInt32 key1) + { + Delegates.glPresentFrameKeyedNV = (Delegates.PresentFrameKeyedNV)GetExtensionDelegateStatic("glPresentFrameKeyedNV", typeof(Delegates.PresentFrameKeyedNV)); + Delegates.glPresentFrameKeyedNV((UInt32)video_slot, (UInt64)minPresentTime, (UInt32)beginPresentTimeId, (UInt32)presentDurationId, (OpenTK.Graphics.OpenGL.NvPresentVideo)type, (OpenTK.Graphics.OpenGL.NvPresentVideo)target0, (UInt32)fill0, (UInt32)key0, (OpenTK.Graphics.OpenGL.NvPresentVideo)target1, (UInt32)fill1, (UInt32)key1); + } + internal static void Load_PrimitiveRestartIndex(UInt32 index) + { + Delegates.glPrimitiveRestartIndex = (Delegates.PrimitiveRestartIndex)GetExtensionDelegateStatic("glPrimitiveRestartIndex", typeof(Delegates.PrimitiveRestartIndex)); + Delegates.glPrimitiveRestartIndex((UInt32)index); + } + internal static void Load_PrimitiveRestartIndexNV(UInt32 index) + { + Delegates.glPrimitiveRestartIndexNV = (Delegates.PrimitiveRestartIndexNV)GetExtensionDelegateStatic("glPrimitiveRestartIndexNV", typeof(Delegates.PrimitiveRestartIndexNV)); + Delegates.glPrimitiveRestartIndexNV((UInt32)index); + } + internal static void Load_PrimitiveRestartNV() + { + Delegates.glPrimitiveRestartNV = (Delegates.PrimitiveRestartNV)GetExtensionDelegateStatic("glPrimitiveRestartNV", typeof(Delegates.PrimitiveRestartNV)); + Delegates.glPrimitiveRestartNV(); + } + internal static unsafe void Load_PrioritizeTextures(Int32 n, UInt32* textures, Single* priorities) + { + Delegates.glPrioritizeTextures = (Delegates.PrioritizeTextures)GetExtensionDelegateStatic("glPrioritizeTextures", typeof(Delegates.PrioritizeTextures)); + Delegates.glPrioritizeTextures((Int32)n, (UInt32*)textures, (Single*)priorities); + } + internal static unsafe void Load_PrioritizeTexturesEXT(Int32 n, UInt32* textures, Single* priorities) + { + Delegates.glPrioritizeTexturesEXT = (Delegates.PrioritizeTexturesEXT)GetExtensionDelegateStatic("glPrioritizeTexturesEXT", typeof(Delegates.PrioritizeTexturesEXT)); + Delegates.glPrioritizeTexturesEXT((Int32)n, (UInt32*)textures, (Single*)priorities); + } + internal static unsafe void Load_PrioritizeTexturesxOES(Int32 n, UInt32* textures, int* priorities) + { + Delegates.glPrioritizeTexturesxOES = (Delegates.PrioritizeTexturesxOES)GetExtensionDelegateStatic("glPrioritizeTexturesxOES", typeof(Delegates.PrioritizeTexturesxOES)); + Delegates.glPrioritizeTexturesxOES((Int32)n, (UInt32*)textures, (int*)priorities); + } + internal static void Load_ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL.BinaryFormat binaryFormat, IntPtr binary, Int32 length) + { + Delegates.glProgramBinary = (Delegates.ProgramBinary)GetExtensionDelegateStatic("glProgramBinary", typeof(Delegates.ProgramBinary)); + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); + } + internal static unsafe void Load_ProgramBufferParametersfvNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Single* @params) + { + Delegates.glProgramBufferParametersfvNV = (Delegates.ProgramBufferParametersfvNV)GetExtensionDelegateStatic("glProgramBufferParametersfvNV", typeof(Delegates.ProgramBufferParametersfvNV)); + Delegates.glProgramBufferParametersfvNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Single*)@params); + } + internal static unsafe void Load_ProgramBufferParametersIivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, Int32* @params) + { + Delegates.glProgramBufferParametersIivNV = (Delegates.ProgramBufferParametersIivNV)GetExtensionDelegateStatic("glProgramBufferParametersIivNV", typeof(Delegates.ProgramBufferParametersIivNV)); + Delegates.glProgramBufferParametersIivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (Int32*)@params); + } + internal static unsafe void Load_ProgramBufferParametersIuivNV(OpenTK.Graphics.OpenGL.NvParameterBufferObject target, UInt32 bindingIndex, UInt32 wordIndex, Int32 count, UInt32* @params) + { + Delegates.glProgramBufferParametersIuivNV = (Delegates.ProgramBufferParametersIuivNV)GetExtensionDelegateStatic("glProgramBufferParametersIuivNV", typeof(Delegates.ProgramBufferParametersIuivNV)); + Delegates.glProgramBufferParametersIuivNV((OpenTK.Graphics.OpenGL.NvParameterBufferObject)target, (UInt32)bindingIndex, (UInt32)wordIndex, (Int32)count, (UInt32*)@params); + } + internal static void Load_ProgramEnvParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glProgramEnvParameter4dARB = (Delegates.ProgramEnvParameter4dARB)GetExtensionDelegateStatic("glProgramEnvParameter4dARB", typeof(Delegates.ProgramEnvParameter4dARB)); + Delegates.glProgramEnvParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_ProgramEnvParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + Delegates.glProgramEnvParameter4dvARB = (Delegates.ProgramEnvParameter4dvARB)GetExtensionDelegateStatic("glProgramEnvParameter4dvARB", typeof(Delegates.ProgramEnvParameter4dvARB)); + Delegates.glProgramEnvParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + } + internal static void Load_ProgramEnvParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glProgramEnvParameter4fARB = (Delegates.ProgramEnvParameter4fARB)GetExtensionDelegateStatic("glProgramEnvParameter4fARB", typeof(Delegates.ProgramEnvParameter4fARB)); + Delegates.glProgramEnvParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_ProgramEnvParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + Delegates.glProgramEnvParameter4fvARB = (Delegates.ProgramEnvParameter4fvARB)GetExtensionDelegateStatic("glProgramEnvParameter4fvARB", typeof(Delegates.ProgramEnvParameter4fvARB)); + Delegates.glProgramEnvParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + } + internal static void Load_ProgramEnvParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glProgramEnvParameterI4iNV = (Delegates.ProgramEnvParameterI4iNV)GetExtensionDelegateStatic("glProgramEnvParameterI4iNV", typeof(Delegates.ProgramEnvParameterI4iNV)); + Delegates.glProgramEnvParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_ProgramEnvParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + Delegates.glProgramEnvParameterI4ivNV = (Delegates.ProgramEnvParameterI4ivNV)GetExtensionDelegateStatic("glProgramEnvParameterI4ivNV", typeof(Delegates.ProgramEnvParameterI4ivNV)); + Delegates.glProgramEnvParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + } + internal static void Load_ProgramEnvParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + Delegates.glProgramEnvParameterI4uiNV = (Delegates.ProgramEnvParameterI4uiNV)GetExtensionDelegateStatic("glProgramEnvParameterI4uiNV", typeof(Delegates.ProgramEnvParameterI4uiNV)); + Delegates.glProgramEnvParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + internal static unsafe void Load_ProgramEnvParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + Delegates.glProgramEnvParameterI4uivNV = (Delegates.ProgramEnvParameterI4uivNV)GetExtensionDelegateStatic("glProgramEnvParameterI4uivNV", typeof(Delegates.ProgramEnvParameterI4uivNV)); + Delegates.glProgramEnvParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + } + internal static unsafe void Load_ProgramEnvParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + { + Delegates.glProgramEnvParameters4fvEXT = (Delegates.ProgramEnvParameters4fvEXT)GetExtensionDelegateStatic("glProgramEnvParameters4fvEXT", typeof(Delegates.ProgramEnvParameters4fvEXT)); + Delegates.glProgramEnvParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + } + internal static unsafe void Load_ProgramEnvParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + Delegates.glProgramEnvParametersI4ivNV = (Delegates.ProgramEnvParametersI4ivNV)GetExtensionDelegateStatic("glProgramEnvParametersI4ivNV", typeof(Delegates.ProgramEnvParametersI4ivNV)); + Delegates.glProgramEnvParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + } + internal static unsafe void Load_ProgramEnvParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + Delegates.glProgramEnvParametersI4uivNV = (Delegates.ProgramEnvParametersI4uivNV)GetExtensionDelegateStatic("glProgramEnvParametersI4uivNV", typeof(Delegates.ProgramEnvParametersI4uivNV)); + Delegates.glProgramEnvParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + } + internal static void Load_ProgramLocalParameter4dARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glProgramLocalParameter4dARB = (Delegates.ProgramLocalParameter4dARB)GetExtensionDelegateStatic("glProgramLocalParameter4dARB", typeof(Delegates.ProgramLocalParameter4dARB)); + Delegates.glProgramLocalParameter4dARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_ProgramLocalParameter4dvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* @params) + { + Delegates.glProgramLocalParameter4dvARB = (Delegates.ProgramLocalParameter4dvARB)GetExtensionDelegateStatic("glProgramLocalParameter4dvARB", typeof(Delegates.ProgramLocalParameter4dvARB)); + Delegates.glProgramLocalParameter4dvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)@params); + } + internal static void Load_ProgramLocalParameter4fARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glProgramLocalParameter4fARB = (Delegates.ProgramLocalParameter4fARB)GetExtensionDelegateStatic("glProgramLocalParameter4fARB", typeof(Delegates.ProgramLocalParameter4fARB)); + Delegates.glProgramLocalParameter4fARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_ProgramLocalParameter4fvARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* @params) + { + Delegates.glProgramLocalParameter4fvARB = (Delegates.ProgramLocalParameter4fvARB)GetExtensionDelegateStatic("glProgramLocalParameter4fvARB", typeof(Delegates.ProgramLocalParameter4fvARB)); + Delegates.glProgramLocalParameter4fvARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)@params); + } + internal static void Load_ProgramLocalParameterI4iNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glProgramLocalParameterI4iNV = (Delegates.ProgramLocalParameterI4iNV)GetExtensionDelegateStatic("glProgramLocalParameterI4iNV", typeof(Delegates.ProgramLocalParameterI4iNV)); + Delegates.glProgramLocalParameterI4iNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_ProgramLocalParameterI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32* @params) + { + Delegates.glProgramLocalParameterI4ivNV = (Delegates.ProgramLocalParameterI4ivNV)GetExtensionDelegateStatic("glProgramLocalParameterI4ivNV", typeof(Delegates.ProgramLocalParameterI4ivNV)); + Delegates.glProgramLocalParameterI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32*)@params); + } + internal static void Load_ProgramLocalParameterI4uiNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + Delegates.glProgramLocalParameterI4uiNV = (Delegates.ProgramLocalParameterI4uiNV)GetExtensionDelegateStatic("glProgramLocalParameterI4uiNV", typeof(Delegates.ProgramLocalParameterI4uiNV)); + Delegates.glProgramLocalParameterI4uiNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + internal static unsafe void Load_ProgramLocalParameterI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, UInt32* @params) + { + Delegates.glProgramLocalParameterI4uivNV = (Delegates.ProgramLocalParameterI4uivNV)GetExtensionDelegateStatic("glProgramLocalParameterI4uivNV", typeof(Delegates.ProgramLocalParameterI4uivNV)); + Delegates.glProgramLocalParameterI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (UInt32*)@params); + } + internal static unsafe void Load_ProgramLocalParameters4fvEXT(OpenTK.Graphics.OpenGL.ExtGpuProgramParameters target, UInt32 index, Int32 count, Single* @params) + { + Delegates.glProgramLocalParameters4fvEXT = (Delegates.ProgramLocalParameters4fvEXT)GetExtensionDelegateStatic("glProgramLocalParameters4fvEXT", typeof(Delegates.ProgramLocalParameters4fvEXT)); + Delegates.glProgramLocalParameters4fvEXT((OpenTK.Graphics.OpenGL.ExtGpuProgramParameters)target, (UInt32)index, (Int32)count, (Single*)@params); + } + internal static unsafe void Load_ProgramLocalParametersI4ivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, Int32* @params) + { + Delegates.glProgramLocalParametersI4ivNV = (Delegates.ProgramLocalParametersI4ivNV)GetExtensionDelegateStatic("glProgramLocalParametersI4ivNV", typeof(Delegates.ProgramLocalParametersI4ivNV)); + Delegates.glProgramLocalParametersI4ivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (Int32*)@params); + } + internal static unsafe void Load_ProgramLocalParametersI4uivNV(OpenTK.Graphics.OpenGL.NvGpuProgram4 target, UInt32 index, Int32 count, UInt32* @params) + { + Delegates.glProgramLocalParametersI4uivNV = (Delegates.ProgramLocalParametersI4uivNV)GetExtensionDelegateStatic("glProgramLocalParametersI4uivNV", typeof(Delegates.ProgramLocalParametersI4uivNV)); + Delegates.glProgramLocalParametersI4uivNV((OpenTK.Graphics.OpenGL.NvGpuProgram4)target, (UInt32)index, (Int32)count, (UInt32*)@params); + } + internal static unsafe void Load_ProgramNamedParameter4dNV(UInt32 id, Int32 len, Byte* name, Double x, Double y, Double z, Double w) + { + Delegates.glProgramNamedParameter4dNV = (Delegates.ProgramNamedParameter4dNV)GetExtensionDelegateStatic("glProgramNamedParameter4dNV", typeof(Delegates.ProgramNamedParameter4dNV)); + Delegates.glProgramNamedParameter4dNV((UInt32)id, (Int32)len, (Byte*)name, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_ProgramNamedParameter4dvNV(UInt32 id, Int32 len, Byte* name, Double* v) + { + Delegates.glProgramNamedParameter4dvNV = (Delegates.ProgramNamedParameter4dvNV)GetExtensionDelegateStatic("glProgramNamedParameter4dvNV", typeof(Delegates.ProgramNamedParameter4dvNV)); + Delegates.glProgramNamedParameter4dvNV((UInt32)id, (Int32)len, (Byte*)name, (Double*)v); + } + internal static unsafe void Load_ProgramNamedParameter4fNV(UInt32 id, Int32 len, Byte* name, Single x, Single y, Single z, Single w) + { + Delegates.glProgramNamedParameter4fNV = (Delegates.ProgramNamedParameter4fNV)GetExtensionDelegateStatic("glProgramNamedParameter4fNV", typeof(Delegates.ProgramNamedParameter4fNV)); + Delegates.glProgramNamedParameter4fNV((UInt32)id, (Int32)len, (Byte*)name, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_ProgramNamedParameter4fvNV(UInt32 id, Int32 len, Byte* name, Single* v) + { + Delegates.glProgramNamedParameter4fvNV = (Delegates.ProgramNamedParameter4fvNV)GetExtensionDelegateStatic("glProgramNamedParameter4fvNV", typeof(Delegates.ProgramNamedParameter4fvNV)); + Delegates.glProgramNamedParameter4fvNV((UInt32)id, (Int32)len, (Byte*)name, (Single*)v); + } + internal static void Load_ProgramParameter4dNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glProgramParameter4dNV = (Delegates.ProgramParameter4dNV)GetExtensionDelegateStatic("glProgramParameter4dNV", typeof(Delegates.ProgramParameter4dNV)); + Delegates.glProgramParameter4dNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_ProgramParameter4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Double* v) + { + Delegates.glProgramParameter4dvNV = (Delegates.ProgramParameter4dvNV)GetExtensionDelegateStatic("glProgramParameter4dvNV", typeof(Delegates.ProgramParameter4dvNV)); + Delegates.glProgramParameter4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Double*)v); + } + internal static void Load_ProgramParameter4fNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glProgramParameter4fNV = (Delegates.ProgramParameter4fNV)GetExtensionDelegateStatic("glProgramParameter4fNV", typeof(Delegates.ProgramParameter4fNV)); + Delegates.glProgramParameter4fNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_ProgramParameter4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Single* v) + { + Delegates.glProgramParameter4fvNV = (Delegates.ProgramParameter4fvNV)GetExtensionDelegateStatic("glProgramParameter4fvNV", typeof(Delegates.ProgramParameter4fvNV)); + Delegates.glProgramParameter4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Single*)v); + } + internal static void Load_ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL.ProgramParameterName pname, Int32 value) + { + Delegates.glProgramParameteri = (Delegates.ProgramParameteri)GetExtensionDelegateStatic("glProgramParameteri", typeof(Delegates.ProgramParameteri)); + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL.ProgramParameterName)pname, (Int32)value); + } + internal static void Load_ProgramParameteriARB(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + Delegates.glProgramParameteriARB = (Delegates.ProgramParameteriARB)GetExtensionDelegateStatic("glProgramParameteriARB", typeof(Delegates.ProgramParameteriARB)); + Delegates.glProgramParameteriARB((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + } + internal static void Load_ProgramParameteriEXT(UInt32 program, OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb pname, Int32 value) + { + Delegates.glProgramParameteriEXT = (Delegates.ProgramParameteriEXT)GetExtensionDelegateStatic("glProgramParameteriEXT", typeof(Delegates.ProgramParameteriEXT)); + Delegates.glProgramParameteriEXT((UInt32)program, (OpenTK.Graphics.OpenGL.AssemblyProgramParameterArb)pname, (Int32)value); + } + internal static unsafe void Load_ProgramParameters4dvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Double* v) + { + Delegates.glProgramParameters4dvNV = (Delegates.ProgramParameters4dvNV)GetExtensionDelegateStatic("glProgramParameters4dvNV", typeof(Delegates.ProgramParameters4dvNV)); + Delegates.glProgramParameters4dvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Double*)v); + } + internal static unsafe void Load_ProgramParameters4fvNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 index, Int32 count, Single* v) + { + Delegates.glProgramParameters4fvNV = (Delegates.ProgramParameters4fvNV)GetExtensionDelegateStatic("glProgramParameters4fvNV", typeof(Delegates.ProgramParameters4fvNV)); + Delegates.glProgramParameters4fvNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)index, (Int32)count, (Single*)v); + } + internal static void Load_ProgramStringARB(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, OpenTK.Graphics.OpenGL.All format, Int32 len, IntPtr @string) + { + Delegates.glProgramStringARB = (Delegates.ProgramStringARB)GetExtensionDelegateStatic("glProgramStringARB", typeof(Delegates.ProgramStringARB)); + Delegates.glProgramStringARB((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (OpenTK.Graphics.OpenGL.All)format, (Int32)len, (IntPtr)@string); + } + internal static unsafe void Load_ProgramSubroutineParametersuivNV(OpenTK.Graphics.OpenGL.NvGpuProgram5 target, Int32 count, UInt32* @params) + { + Delegates.glProgramSubroutineParametersuivNV = (Delegates.ProgramSubroutineParametersuivNV)GetExtensionDelegateStatic("glProgramSubroutineParametersuivNV", typeof(Delegates.ProgramSubroutineParametersuivNV)); + Delegates.glProgramSubroutineParametersuivNV((OpenTK.Graphics.OpenGL.NvGpuProgram5)target, (Int32)count, (UInt32*)@params); + } + internal static void Load_ProgramUniform1d(UInt32 program, Int32 location, Double v0) + { + Delegates.glProgramUniform1d = (Delegates.ProgramUniform1d)GetExtensionDelegateStatic("glProgramUniform1d", typeof(Delegates.ProgramUniform1d)); + Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); + } + internal static void Load_ProgramUniform1dEXT(UInt32 program, Int32 location, Double x) + { + Delegates.glProgramUniform1dEXT = (Delegates.ProgramUniform1dEXT)GetExtensionDelegateStatic("glProgramUniform1dEXT", typeof(Delegates.ProgramUniform1dEXT)); + Delegates.glProgramUniform1dEXT((UInt32)program, (Int32)location, (Double)x); + } + internal static unsafe void Load_ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform1dv = (Delegates.ProgramUniform1dv)GetExtensionDelegateStatic("glProgramUniform1dv", typeof(Delegates.ProgramUniform1dv)); + Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static unsafe void Load_ProgramUniform1dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform1dvEXT = (Delegates.ProgramUniform1dvEXT)GetExtensionDelegateStatic("glProgramUniform1dvEXT", typeof(Delegates.ProgramUniform1dvEXT)); + Delegates.glProgramUniform1dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform1f(UInt32 program, Int32 location, Single v0) + { + Delegates.glProgramUniform1f = (Delegates.ProgramUniform1f)GetExtensionDelegateStatic("glProgramUniform1f", typeof(Delegates.ProgramUniform1f)); + Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); + } + internal static void Load_ProgramUniform1fEXT(UInt32 program, Int32 location, Single v0) + { + Delegates.glProgramUniform1fEXT = (Delegates.ProgramUniform1fEXT)GetExtensionDelegateStatic("glProgramUniform1fEXT", typeof(Delegates.ProgramUniform1fEXT)); + Delegates.glProgramUniform1fEXT((UInt32)program, (Int32)location, (Single)v0); + } + internal static unsafe void Load_ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform1fv = (Delegates.ProgramUniform1fv)GetExtensionDelegateStatic("glProgramUniform1fv", typeof(Delegates.ProgramUniform1fv)); + Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_ProgramUniform1fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform1fvEXT = (Delegates.ProgramUniform1fvEXT)GetExtensionDelegateStatic("glProgramUniform1fvEXT", typeof(Delegates.ProgramUniform1fvEXT)); + Delegates.glProgramUniform1fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform1i(UInt32 program, Int32 location, Int32 v0) + { + Delegates.glProgramUniform1i = (Delegates.ProgramUniform1i)GetExtensionDelegateStatic("glProgramUniform1i", typeof(Delegates.ProgramUniform1i)); + Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); + } + internal static void Load_ProgramUniform1i64NV(UInt32 program, Int32 location, Int64 x) + { + Delegates.glProgramUniform1i64NV = (Delegates.ProgramUniform1i64NV)GetExtensionDelegateStatic("glProgramUniform1i64NV", typeof(Delegates.ProgramUniform1i64NV)); + Delegates.glProgramUniform1i64NV((UInt32)program, (Int32)location, (Int64)x); + } + internal static unsafe void Load_ProgramUniform1i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) + { + Delegates.glProgramUniform1i64vNV = (Delegates.ProgramUniform1i64vNV)GetExtensionDelegateStatic("glProgramUniform1i64vNV", typeof(Delegates.ProgramUniform1i64vNV)); + Delegates.glProgramUniform1i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_ProgramUniform1iEXT(UInt32 program, Int32 location, Int32 v0) + { + Delegates.glProgramUniform1iEXT = (Delegates.ProgramUniform1iEXT)GetExtensionDelegateStatic("glProgramUniform1iEXT", typeof(Delegates.ProgramUniform1iEXT)); + Delegates.glProgramUniform1iEXT((UInt32)program, (Int32)location, (Int32)v0); + } + internal static unsafe void Load_ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform1iv = (Delegates.ProgramUniform1iv)GetExtensionDelegateStatic("glProgramUniform1iv", typeof(Delegates.ProgramUniform1iv)); + Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_ProgramUniform1ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform1ivEXT = (Delegates.ProgramUniform1ivEXT)GetExtensionDelegateStatic("glProgramUniform1ivEXT", typeof(Delegates.ProgramUniform1ivEXT)); + Delegates.glProgramUniform1ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0) + { + Delegates.glProgramUniform1ui = (Delegates.ProgramUniform1ui)GetExtensionDelegateStatic("glProgramUniform1ui", typeof(Delegates.ProgramUniform1ui)); + Delegates.glProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); + } + internal static void Load_ProgramUniform1ui64NV(UInt32 program, Int32 location, UInt64 x) + { + Delegates.glProgramUniform1ui64NV = (Delegates.ProgramUniform1ui64NV)GetExtensionDelegateStatic("glProgramUniform1ui64NV", typeof(Delegates.ProgramUniform1ui64NV)); + Delegates.glProgramUniform1ui64NV((UInt32)program, (Int32)location, (UInt64)x); + } + internal static unsafe void Load_ProgramUniform1ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + Delegates.glProgramUniform1ui64vNV = (Delegates.ProgramUniform1ui64vNV)GetExtensionDelegateStatic("glProgramUniform1ui64vNV", typeof(Delegates.ProgramUniform1ui64vNV)); + Delegates.glProgramUniform1ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_ProgramUniform1uiEXT(UInt32 program, Int32 location, UInt32 v0) + { + Delegates.glProgramUniform1uiEXT = (Delegates.ProgramUniform1uiEXT)GetExtensionDelegateStatic("glProgramUniform1uiEXT", typeof(Delegates.ProgramUniform1uiEXT)); + Delegates.glProgramUniform1uiEXT((UInt32)program, (Int32)location, (UInt32)v0); + } + internal static unsafe void Load_ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform1uiv = (Delegates.ProgramUniform1uiv)GetExtensionDelegateStatic("glProgramUniform1uiv", typeof(Delegates.ProgramUniform1uiv)); + Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_ProgramUniform1uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform1uivEXT = (Delegates.ProgramUniform1uivEXT)GetExtensionDelegateStatic("glProgramUniform1uivEXT", typeof(Delegates.ProgramUniform1uivEXT)); + Delegates.glProgramUniform1uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1) + { + Delegates.glProgramUniform2d = (Delegates.ProgramUniform2d)GetExtensionDelegateStatic("glProgramUniform2d", typeof(Delegates.ProgramUniform2d)); + Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); + } + internal static void Load_ProgramUniform2dEXT(UInt32 program, Int32 location, Double x, Double y) + { + Delegates.glProgramUniform2dEXT = (Delegates.ProgramUniform2dEXT)GetExtensionDelegateStatic("glProgramUniform2dEXT", typeof(Delegates.ProgramUniform2dEXT)); + Delegates.glProgramUniform2dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y); + } + internal static unsafe void Load_ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform2dv = (Delegates.ProgramUniform2dv)GetExtensionDelegateStatic("glProgramUniform2dv", typeof(Delegates.ProgramUniform2dv)); + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static unsafe void Load_ProgramUniform2dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform2dvEXT = (Delegates.ProgramUniform2dvEXT)GetExtensionDelegateStatic("glProgramUniform2dvEXT", typeof(Delegates.ProgramUniform2dvEXT)); + Delegates.glProgramUniform2dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1) + { + Delegates.glProgramUniform2f = (Delegates.ProgramUniform2f)GetExtensionDelegateStatic("glProgramUniform2f", typeof(Delegates.ProgramUniform2f)); + Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + } + internal static void Load_ProgramUniform2fEXT(UInt32 program, Int32 location, Single v0, Single v1) + { + Delegates.glProgramUniform2fEXT = (Delegates.ProgramUniform2fEXT)GetExtensionDelegateStatic("glProgramUniform2fEXT", typeof(Delegates.ProgramUniform2fEXT)); + Delegates.glProgramUniform2fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform2fv = (Delegates.ProgramUniform2fv)GetExtensionDelegateStatic("glProgramUniform2fv", typeof(Delegates.ProgramUniform2fv)); + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_ProgramUniform2fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform2fvEXT = (Delegates.ProgramUniform2fvEXT)GetExtensionDelegateStatic("glProgramUniform2fvEXT", typeof(Delegates.ProgramUniform2fvEXT)); + Delegates.glProgramUniform2fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + Delegates.glProgramUniform2i = (Delegates.ProgramUniform2i)GetExtensionDelegateStatic("glProgramUniform2i", typeof(Delegates.ProgramUniform2i)); + Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + } + internal static void Load_ProgramUniform2i64NV(UInt32 program, Int32 location, Int64 x, Int64 y) + { + Delegates.glProgramUniform2i64NV = (Delegates.ProgramUniform2i64NV)GetExtensionDelegateStatic("glProgramUniform2i64NV", typeof(Delegates.ProgramUniform2i64NV)); + Delegates.glProgramUniform2i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y); + } + internal static unsafe void Load_ProgramUniform2i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) + { + Delegates.glProgramUniform2i64vNV = (Delegates.ProgramUniform2i64vNV)GetExtensionDelegateStatic("glProgramUniform2i64vNV", typeof(Delegates.ProgramUniform2i64vNV)); + Delegates.glProgramUniform2i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_ProgramUniform2iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + Delegates.glProgramUniform2iEXT = (Delegates.ProgramUniform2iEXT)GetExtensionDelegateStatic("glProgramUniform2iEXT", typeof(Delegates.ProgramUniform2iEXT)); + Delegates.glProgramUniform2iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform2iv = (Delegates.ProgramUniform2iv)GetExtensionDelegateStatic("glProgramUniform2iv", typeof(Delegates.ProgramUniform2iv)); + Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_ProgramUniform2ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform2ivEXT = (Delegates.ProgramUniform2ivEXT)GetExtensionDelegateStatic("glProgramUniform2ivEXT", typeof(Delegates.ProgramUniform2ivEXT)); + Delegates.glProgramUniform2ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glProgramUniform2ui = (Delegates.ProgramUniform2ui)GetExtensionDelegateStatic("glProgramUniform2ui", typeof(Delegates.ProgramUniform2ui)); + Delegates.glProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static void Load_ProgramUniform2ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y) + { + Delegates.glProgramUniform2ui64NV = (Delegates.ProgramUniform2ui64NV)GetExtensionDelegateStatic("glProgramUniform2ui64NV", typeof(Delegates.ProgramUniform2ui64NV)); + Delegates.glProgramUniform2ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y); + } + internal static unsafe void Load_ProgramUniform2ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + Delegates.glProgramUniform2ui64vNV = (Delegates.ProgramUniform2ui64vNV)GetExtensionDelegateStatic("glProgramUniform2ui64vNV", typeof(Delegates.ProgramUniform2ui64vNV)); + Delegates.glProgramUniform2ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_ProgramUniform2uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glProgramUniform2uiEXT = (Delegates.ProgramUniform2uiEXT)GetExtensionDelegateStatic("glProgramUniform2uiEXT", typeof(Delegates.ProgramUniform2uiEXT)); + Delegates.glProgramUniform2uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static unsafe void Load_ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform2uiv = (Delegates.ProgramUniform2uiv)GetExtensionDelegateStatic("glProgramUniform2uiv", typeof(Delegates.ProgramUniform2uiv)); + Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_ProgramUniform2uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform2uivEXT = (Delegates.ProgramUniform2uivEXT)GetExtensionDelegateStatic("glProgramUniform2uivEXT", typeof(Delegates.ProgramUniform2uivEXT)); + Delegates.glProgramUniform2uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2) + { + Delegates.glProgramUniform3d = (Delegates.ProgramUniform3d)GetExtensionDelegateStatic("glProgramUniform3d", typeof(Delegates.ProgramUniform3d)); + Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); + } + internal static void Load_ProgramUniform3dEXT(UInt32 program, Int32 location, Double x, Double y, Double z) + { + Delegates.glProgramUniform3dEXT = (Delegates.ProgramUniform3dEXT)GetExtensionDelegateStatic("glProgramUniform3dEXT", typeof(Delegates.ProgramUniform3dEXT)); + Delegates.glProgramUniform3dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform3dv = (Delegates.ProgramUniform3dv)GetExtensionDelegateStatic("glProgramUniform3dv", typeof(Delegates.ProgramUniform3dv)); + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static unsafe void Load_ProgramUniform3dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform3dvEXT = (Delegates.ProgramUniform3dvEXT)GetExtensionDelegateStatic("glProgramUniform3dvEXT", typeof(Delegates.ProgramUniform3dvEXT)); + Delegates.glProgramUniform3dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glProgramUniform3f = (Delegates.ProgramUniform3f)GetExtensionDelegateStatic("glProgramUniform3f", typeof(Delegates.ProgramUniform3f)); + Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static void Load_ProgramUniform3fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glProgramUniform3fEXT = (Delegates.ProgramUniform3fEXT)GetExtensionDelegateStatic("glProgramUniform3fEXT", typeof(Delegates.ProgramUniform3fEXT)); + Delegates.glProgramUniform3fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform3fv = (Delegates.ProgramUniform3fv)GetExtensionDelegateStatic("glProgramUniform3fv", typeof(Delegates.ProgramUniform3fv)); + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_ProgramUniform3fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform3fvEXT = (Delegates.ProgramUniform3fvEXT)GetExtensionDelegateStatic("glProgramUniform3fvEXT", typeof(Delegates.ProgramUniform3fvEXT)); + Delegates.glProgramUniform3fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glProgramUniform3i = (Delegates.ProgramUniform3i)GetExtensionDelegateStatic("glProgramUniform3i", typeof(Delegates.ProgramUniform3i)); + Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static void Load_ProgramUniform3i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z) + { + Delegates.glProgramUniform3i64NV = (Delegates.ProgramUniform3i64NV)GetExtensionDelegateStatic("glProgramUniform3i64NV", typeof(Delegates.ProgramUniform3i64NV)); + Delegates.glProgramUniform3i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z); + } + internal static unsafe void Load_ProgramUniform3i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) + { + Delegates.glProgramUniform3i64vNV = (Delegates.ProgramUniform3i64vNV)GetExtensionDelegateStatic("glProgramUniform3i64vNV", typeof(Delegates.ProgramUniform3i64vNV)); + Delegates.glProgramUniform3i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_ProgramUniform3iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glProgramUniform3iEXT = (Delegates.ProgramUniform3iEXT)GetExtensionDelegateStatic("glProgramUniform3iEXT", typeof(Delegates.ProgramUniform3iEXT)); + Delegates.glProgramUniform3iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform3iv = (Delegates.ProgramUniform3iv)GetExtensionDelegateStatic("glProgramUniform3iv", typeof(Delegates.ProgramUniform3iv)); + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_ProgramUniform3ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform3ivEXT = (Delegates.ProgramUniform3ivEXT)GetExtensionDelegateStatic("glProgramUniform3ivEXT", typeof(Delegates.ProgramUniform3ivEXT)); + Delegates.glProgramUniform3ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glProgramUniform3ui = (Delegates.ProgramUniform3ui)GetExtensionDelegateStatic("glProgramUniform3ui", typeof(Delegates.ProgramUniform3ui)); + Delegates.glProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static void Load_ProgramUniform3ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z) + { + Delegates.glProgramUniform3ui64NV = (Delegates.ProgramUniform3ui64NV)GetExtensionDelegateStatic("glProgramUniform3ui64NV", typeof(Delegates.ProgramUniform3ui64NV)); + Delegates.glProgramUniform3ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); + } + internal static unsafe void Load_ProgramUniform3ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + Delegates.glProgramUniform3ui64vNV = (Delegates.ProgramUniform3ui64vNV)GetExtensionDelegateStatic("glProgramUniform3ui64vNV", typeof(Delegates.ProgramUniform3ui64vNV)); + Delegates.glProgramUniform3ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_ProgramUniform3uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glProgramUniform3uiEXT = (Delegates.ProgramUniform3uiEXT)GetExtensionDelegateStatic("glProgramUniform3uiEXT", typeof(Delegates.ProgramUniform3uiEXT)); + Delegates.glProgramUniform3uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static unsafe void Load_ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform3uiv = (Delegates.ProgramUniform3uiv)GetExtensionDelegateStatic("glProgramUniform3uiv", typeof(Delegates.ProgramUniform3uiv)); + Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_ProgramUniform3uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform3uivEXT = (Delegates.ProgramUniform3uivEXT)GetExtensionDelegateStatic("glProgramUniform3uivEXT", typeof(Delegates.ProgramUniform3uivEXT)); + Delegates.glProgramUniform3uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) + { + Delegates.glProgramUniform4d = (Delegates.ProgramUniform4d)GetExtensionDelegateStatic("glProgramUniform4d", typeof(Delegates.ProgramUniform4d)); + Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); + } + internal static void Load_ProgramUniform4dEXT(UInt32 program, Int32 location, Double x, Double y, Double z, Double w) + { + Delegates.glProgramUniform4dEXT = (Delegates.ProgramUniform4dEXT)GetExtensionDelegateStatic("glProgramUniform4dEXT", typeof(Delegates.ProgramUniform4dEXT)); + Delegates.glProgramUniform4dEXT((UInt32)program, (Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform4dv = (Delegates.ProgramUniform4dv)GetExtensionDelegateStatic("glProgramUniform4dv", typeof(Delegates.ProgramUniform4dv)); + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static unsafe void Load_ProgramUniform4dvEXT(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform4dvEXT = (Delegates.ProgramUniform4dvEXT)GetExtensionDelegateStatic("glProgramUniform4dvEXT", typeof(Delegates.ProgramUniform4dvEXT)); + Delegates.glProgramUniform4dvEXT((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glProgramUniform4f = (Delegates.ProgramUniform4f)GetExtensionDelegateStatic("glProgramUniform4f", typeof(Delegates.ProgramUniform4f)); + Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static void Load_ProgramUniform4fEXT(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glProgramUniform4fEXT = (Delegates.ProgramUniform4fEXT)GetExtensionDelegateStatic("glProgramUniform4fEXT", typeof(Delegates.ProgramUniform4fEXT)); + Delegates.glProgramUniform4fEXT((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform4fv = (Delegates.ProgramUniform4fv)GetExtensionDelegateStatic("glProgramUniform4fv", typeof(Delegates.ProgramUniform4fv)); + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_ProgramUniform4fvEXT(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform4fvEXT = (Delegates.ProgramUniform4fvEXT)GetExtensionDelegateStatic("glProgramUniform4fvEXT", typeof(Delegates.ProgramUniform4fvEXT)); + Delegates.glProgramUniform4fvEXT((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glProgramUniform4i = (Delegates.ProgramUniform4i)GetExtensionDelegateStatic("glProgramUniform4i", typeof(Delegates.ProgramUniform4i)); + Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static void Load_ProgramUniform4i64NV(UInt32 program, Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) + { + Delegates.glProgramUniform4i64NV = (Delegates.ProgramUniform4i64NV)GetExtensionDelegateStatic("glProgramUniform4i64NV", typeof(Delegates.ProgramUniform4i64NV)); + Delegates.glProgramUniform4i64NV((UInt32)program, (Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + } + internal static unsafe void Load_ProgramUniform4i64vNV(UInt32 program, Int32 location, Int32 count, Int64* value) + { + Delegates.glProgramUniform4i64vNV = (Delegates.ProgramUniform4i64vNV)GetExtensionDelegateStatic("glProgramUniform4i64vNV", typeof(Delegates.ProgramUniform4i64vNV)); + Delegates.glProgramUniform4i64vNV((UInt32)program, (Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_ProgramUniform4iEXT(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glProgramUniform4iEXT = (Delegates.ProgramUniform4iEXT)GetExtensionDelegateStatic("glProgramUniform4iEXT", typeof(Delegates.ProgramUniform4iEXT)); + Delegates.glProgramUniform4iEXT((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform4iv = (Delegates.ProgramUniform4iv)GetExtensionDelegateStatic("glProgramUniform4iv", typeof(Delegates.ProgramUniform4iv)); + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_ProgramUniform4ivEXT(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform4ivEXT = (Delegates.ProgramUniform4ivEXT)GetExtensionDelegateStatic("glProgramUniform4ivEXT", typeof(Delegates.ProgramUniform4ivEXT)); + Delegates.glProgramUniform4ivEXT((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glProgramUniform4ui = (Delegates.ProgramUniform4ui)GetExtensionDelegateStatic("glProgramUniform4ui", typeof(Delegates.ProgramUniform4ui)); + Delegates.glProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static void Load_ProgramUniform4ui64NV(UInt32 program, Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) + { + Delegates.glProgramUniform4ui64NV = (Delegates.ProgramUniform4ui64NV)GetExtensionDelegateStatic("glProgramUniform4ui64NV", typeof(Delegates.ProgramUniform4ui64NV)); + Delegates.glProgramUniform4ui64NV((UInt32)program, (Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); + } + internal static unsafe void Load_ProgramUniform4ui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + Delegates.glProgramUniform4ui64vNV = (Delegates.ProgramUniform4ui64vNV)GetExtensionDelegateStatic("glProgramUniform4ui64vNV", typeof(Delegates.ProgramUniform4ui64vNV)); + Delegates.glProgramUniform4ui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_ProgramUniform4uiEXT(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glProgramUniform4uiEXT = (Delegates.ProgramUniform4uiEXT)GetExtensionDelegateStatic("glProgramUniform4uiEXT", typeof(Delegates.ProgramUniform4uiEXT)); + Delegates.glProgramUniform4uiEXT((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static unsafe void Load_ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform4uiv = (Delegates.ProgramUniform4uiv)GetExtensionDelegateStatic("glProgramUniform4uiv", typeof(Delegates.ProgramUniform4uiv)); + Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_ProgramUniform4uivEXT(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform4uivEXT = (Delegates.ProgramUniform4uivEXT)GetExtensionDelegateStatic("glProgramUniform4uivEXT", typeof(Delegates.ProgramUniform4uivEXT)); + Delegates.glProgramUniform4uivEXT((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value) + { + Delegates.glProgramUniformHandleui64ARB = (Delegates.ProgramUniformHandleui64ARB)GetExtensionDelegateStatic("glProgramUniformHandleui64ARB", typeof(Delegates.ProgramUniformHandleui64ARB)); + Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); + } + internal static void Load_ProgramUniformHandleui64NV(UInt32 program, Int32 location, UInt64 value) + { + Delegates.glProgramUniformHandleui64NV = (Delegates.ProgramUniformHandleui64NV)GetExtensionDelegateStatic("glProgramUniformHandleui64NV", typeof(Delegates.ProgramUniformHandleui64NV)); + Delegates.glProgramUniformHandleui64NV((UInt32)program, (Int32)location, (UInt64)value); + } + internal static unsafe void Load_ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values) + { + Delegates.glProgramUniformHandleui64vARB = (Delegates.ProgramUniformHandleui64vARB)GetExtensionDelegateStatic("glProgramUniformHandleui64vARB", typeof(Delegates.ProgramUniformHandleui64vARB)); + Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); + } + internal static unsafe void Load_ProgramUniformHandleui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* values) + { + Delegates.glProgramUniformHandleui64vNV = (Delegates.ProgramUniformHandleui64vNV)GetExtensionDelegateStatic("glProgramUniformHandleui64vNV", typeof(Delegates.ProgramUniformHandleui64vNV)); + Delegates.glProgramUniformHandleui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); + } + internal static unsafe void Load_ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2dv = (Delegates.ProgramUniformMatrix2dv)GetExtensionDelegateStatic("glProgramUniformMatrix2dv", typeof(Delegates.ProgramUniformMatrix2dv)); + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2dvEXT = (Delegates.ProgramUniformMatrix2dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2dvEXT", typeof(Delegates.ProgramUniformMatrix2dvEXT)); + Delegates.glProgramUniformMatrix2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2fv = (Delegates.ProgramUniformMatrix2fv)GetExtensionDelegateStatic("glProgramUniformMatrix2fv", typeof(Delegates.ProgramUniformMatrix2fv)); + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2fvEXT = (Delegates.ProgramUniformMatrix2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2fvEXT", typeof(Delegates.ProgramUniformMatrix2fvEXT)); + Delegates.glProgramUniformMatrix2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2x3dv = (Delegates.ProgramUniformMatrix2x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3dv", typeof(Delegates.ProgramUniformMatrix2x3dv)); + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2x3dvEXT = (Delegates.ProgramUniformMatrix2x3dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3dvEXT", typeof(Delegates.ProgramUniformMatrix2x3dvEXT)); + Delegates.glProgramUniformMatrix2x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x3fv = (Delegates.ProgramUniformMatrix2x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fv", typeof(Delegates.ProgramUniformMatrix2x3fv)); + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x3fvEXT = (Delegates.ProgramUniformMatrix2x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fvEXT", typeof(Delegates.ProgramUniformMatrix2x3fvEXT)); + Delegates.glProgramUniformMatrix2x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2x4dv = (Delegates.ProgramUniformMatrix2x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4dv", typeof(Delegates.ProgramUniformMatrix2x4dv)); + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2x4dvEXT = (Delegates.ProgramUniformMatrix2x4dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4dvEXT", typeof(Delegates.ProgramUniformMatrix2x4dvEXT)); + Delegates.glProgramUniformMatrix2x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x4fv = (Delegates.ProgramUniformMatrix2x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fv", typeof(Delegates.ProgramUniformMatrix2x4fv)); + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x4fvEXT = (Delegates.ProgramUniformMatrix2x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fvEXT", typeof(Delegates.ProgramUniformMatrix2x4fvEXT)); + Delegates.glProgramUniformMatrix2x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3dv = (Delegates.ProgramUniformMatrix3dv)GetExtensionDelegateStatic("glProgramUniformMatrix3dv", typeof(Delegates.ProgramUniformMatrix3dv)); + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3dvEXT = (Delegates.ProgramUniformMatrix3dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3dvEXT", typeof(Delegates.ProgramUniformMatrix3dvEXT)); + Delegates.glProgramUniformMatrix3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3fv = (Delegates.ProgramUniformMatrix3fv)GetExtensionDelegateStatic("glProgramUniformMatrix3fv", typeof(Delegates.ProgramUniformMatrix3fv)); + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3fvEXT = (Delegates.ProgramUniformMatrix3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3fvEXT", typeof(Delegates.ProgramUniformMatrix3fvEXT)); + Delegates.glProgramUniformMatrix3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3x2dv = (Delegates.ProgramUniformMatrix3x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2dv", typeof(Delegates.ProgramUniformMatrix3x2dv)); + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3x2dvEXT = (Delegates.ProgramUniformMatrix3x2dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2dvEXT", typeof(Delegates.ProgramUniformMatrix3x2dvEXT)); + Delegates.glProgramUniformMatrix3x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x2fv = (Delegates.ProgramUniformMatrix3x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fv", typeof(Delegates.ProgramUniformMatrix3x2fv)); + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x2fvEXT = (Delegates.ProgramUniformMatrix3x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fvEXT", typeof(Delegates.ProgramUniformMatrix3x2fvEXT)); + Delegates.glProgramUniformMatrix3x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3x4dv = (Delegates.ProgramUniformMatrix3x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4dv", typeof(Delegates.ProgramUniformMatrix3x4dv)); + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3x4dvEXT = (Delegates.ProgramUniformMatrix3x4dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4dvEXT", typeof(Delegates.ProgramUniformMatrix3x4dvEXT)); + Delegates.glProgramUniformMatrix3x4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x4fv = (Delegates.ProgramUniformMatrix3x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fv", typeof(Delegates.ProgramUniformMatrix3x4fv)); + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x4fvEXT = (Delegates.ProgramUniformMatrix3x4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fvEXT", typeof(Delegates.ProgramUniformMatrix3x4fvEXT)); + Delegates.glProgramUniformMatrix3x4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4dv = (Delegates.ProgramUniformMatrix4dv)GetExtensionDelegateStatic("glProgramUniformMatrix4dv", typeof(Delegates.ProgramUniformMatrix4dv)); + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4dvEXT = (Delegates.ProgramUniformMatrix4dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4dvEXT", typeof(Delegates.ProgramUniformMatrix4dvEXT)); + Delegates.glProgramUniformMatrix4dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4fv = (Delegates.ProgramUniformMatrix4fv)GetExtensionDelegateStatic("glProgramUniformMatrix4fv", typeof(Delegates.ProgramUniformMatrix4fv)); + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4fvEXT = (Delegates.ProgramUniformMatrix4fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4fvEXT", typeof(Delegates.ProgramUniformMatrix4fvEXT)); + Delegates.glProgramUniformMatrix4fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4x2dv = (Delegates.ProgramUniformMatrix4x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2dv", typeof(Delegates.ProgramUniformMatrix4x2dv)); + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4x2dvEXT = (Delegates.ProgramUniformMatrix4x2dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2dvEXT", typeof(Delegates.ProgramUniformMatrix4x2dvEXT)); + Delegates.glProgramUniformMatrix4x2dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x2fv = (Delegates.ProgramUniformMatrix4x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fv", typeof(Delegates.ProgramUniformMatrix4x2fv)); + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x2fvEXT = (Delegates.ProgramUniformMatrix4x2fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fvEXT", typeof(Delegates.ProgramUniformMatrix4x2fvEXT)); + Delegates.glProgramUniformMatrix4x2fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4x3dv = (Delegates.ProgramUniformMatrix4x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3dv", typeof(Delegates.ProgramUniformMatrix4x3dv)); + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3dvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4x3dvEXT = (Delegates.ProgramUniformMatrix4x3dvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3dvEXT", typeof(Delegates.ProgramUniformMatrix4x3dvEXT)); + Delegates.glProgramUniformMatrix4x3dvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x3fv = (Delegates.ProgramUniformMatrix4x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fv", typeof(Delegates.ProgramUniformMatrix4x3fv)); + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3fvEXT(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x3fvEXT = (Delegates.ProgramUniformMatrix4x3fvEXT)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fvEXT", typeof(Delegates.ProgramUniformMatrix4x3fvEXT)); + Delegates.glProgramUniformMatrix4x3fvEXT((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static void Load_ProgramUniformui64NV(UInt32 program, Int32 location, UInt64 value) + { + Delegates.glProgramUniformui64NV = (Delegates.ProgramUniformui64NV)GetExtensionDelegateStatic("glProgramUniformui64NV", typeof(Delegates.ProgramUniformui64NV)); + Delegates.glProgramUniformui64NV((UInt32)program, (Int32)location, (UInt64)value); + } + internal static unsafe void Load_ProgramUniformui64vNV(UInt32 program, Int32 location, Int32 count, UInt64* value) + { + Delegates.glProgramUniformui64vNV = (Delegates.ProgramUniformui64vNV)GetExtensionDelegateStatic("glProgramUniformui64vNV", typeof(Delegates.ProgramUniformui64vNV)); + Delegates.glProgramUniformui64vNV((UInt32)program, (Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_ProgramVertexLimitNV(OpenTK.Graphics.OpenGL.NvGeometryProgram4 target, Int32 limit) + { + Delegates.glProgramVertexLimitNV = (Delegates.ProgramVertexLimitNV)GetExtensionDelegateStatic("glProgramVertexLimitNV", typeof(Delegates.ProgramVertexLimitNV)); + Delegates.glProgramVertexLimitNV((OpenTK.Graphics.OpenGL.NvGeometryProgram4)target, (Int32)limit); + } + internal static void Load_ProvokingVertex(OpenTK.Graphics.OpenGL.ProvokingVertexMode mode) + { + Delegates.glProvokingVertex = (Delegates.ProvokingVertex)GetExtensionDelegateStatic("glProvokingVertex", typeof(Delegates.ProvokingVertex)); + Delegates.glProvokingVertex((OpenTK.Graphics.OpenGL.ProvokingVertexMode)mode); + } + internal static void Load_ProvokingVertexEXT(OpenTK.Graphics.OpenGL.ExtProvokingVertex mode) + { + Delegates.glProvokingVertexEXT = (Delegates.ProvokingVertexEXT)GetExtensionDelegateStatic("glProvokingVertexEXT", typeof(Delegates.ProvokingVertexEXT)); + Delegates.glProvokingVertexEXT((OpenTK.Graphics.OpenGL.ExtProvokingVertex)mode); + } + internal static void Load_PushAttrib(OpenTK.Graphics.OpenGL.AttribMask mask) + { + Delegates.glPushAttrib = (Delegates.PushAttrib)GetExtensionDelegateStatic("glPushAttrib", typeof(Delegates.PushAttrib)); + Delegates.glPushAttrib((OpenTK.Graphics.OpenGL.AttribMask)mask); + } + internal static void Load_PushClientAttrib(OpenTK.Graphics.OpenGL.ClientAttribMask mask) + { + Delegates.glPushClientAttrib = (Delegates.PushClientAttrib)GetExtensionDelegateStatic("glPushClientAttrib", typeof(Delegates.PushClientAttrib)); + Delegates.glPushClientAttrib((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); + } + internal static void Load_PushClientAttribDefaultEXT(OpenTK.Graphics.OpenGL.ClientAttribMask mask) + { + Delegates.glPushClientAttribDefaultEXT = (Delegates.PushClientAttribDefaultEXT)GetExtensionDelegateStatic("glPushClientAttribDefaultEXT", typeof(Delegates.PushClientAttribDefaultEXT)); + Delegates.glPushClientAttribDefaultEXT((OpenTK.Graphics.OpenGL.ClientAttribMask)mask); + } + internal static void Load_PushDebugGroup(OpenTK.Graphics.OpenGL.DebugSourceExternal source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); + Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.OpenGL.KhrDebug source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); + Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL.KhrDebug)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_PushGroupMarkerEXT(Int32 length, String marker) + { + Delegates.glPushGroupMarkerEXT = (Delegates.PushGroupMarkerEXT)GetExtensionDelegateStatic("glPushGroupMarkerEXT", typeof(Delegates.PushGroupMarkerEXT)); + Delegates.glPushGroupMarkerEXT((Int32)length, (String)marker); + } + internal static void Load_PushMatrix() + { + Delegates.glPushMatrix = (Delegates.PushMatrix)GetExtensionDelegateStatic("glPushMatrix", typeof(Delegates.PushMatrix)); + Delegates.glPushMatrix(); + } + internal static void Load_PushName(UInt32 name) + { + Delegates.glPushName = (Delegates.PushName)GetExtensionDelegateStatic("glPushName", typeof(Delegates.PushName)); + Delegates.glPushName((UInt32)name); + } + internal static void Load_QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL.QueryCounterTarget target) + { + Delegates.glQueryCounter = (Delegates.QueryCounter)GetExtensionDelegateStatic("glQueryCounter", typeof(Delegates.QueryCounter)); + Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL.QueryCounterTarget)target); + } + internal static unsafe Int32 Load_QueryMatrixxOES([OutAttribute] int* mantissa, [OutAttribute] Int32* exponent) + { + Delegates.glQueryMatrixxOES = (Delegates.QueryMatrixxOES)GetExtensionDelegateStatic("glQueryMatrixxOES", typeof(Delegates.QueryMatrixxOES)); + return Delegates.glQueryMatrixxOES((int*)mantissa, (Int32*)exponent); + } + internal static void Load_RasterPos2d(Double x, Double y) + { + Delegates.glRasterPos2d = (Delegates.RasterPos2d)GetExtensionDelegateStatic("glRasterPos2d", typeof(Delegates.RasterPos2d)); + Delegates.glRasterPos2d((Double)x, (Double)y); + } + internal static unsafe void Load_RasterPos2dv(Double* v) + { + Delegates.glRasterPos2dv = (Delegates.RasterPos2dv)GetExtensionDelegateStatic("glRasterPos2dv", typeof(Delegates.RasterPos2dv)); + Delegates.glRasterPos2dv((Double*)v); + } + internal static void Load_RasterPos2f(Single x, Single y) + { + Delegates.glRasterPos2f = (Delegates.RasterPos2f)GetExtensionDelegateStatic("glRasterPos2f", typeof(Delegates.RasterPos2f)); + Delegates.glRasterPos2f((Single)x, (Single)y); + } + internal static unsafe void Load_RasterPos2fv(Single* v) + { + Delegates.glRasterPos2fv = (Delegates.RasterPos2fv)GetExtensionDelegateStatic("glRasterPos2fv", typeof(Delegates.RasterPos2fv)); + Delegates.glRasterPos2fv((Single*)v); + } + internal static void Load_RasterPos2i(Int32 x, Int32 y) + { + Delegates.glRasterPos2i = (Delegates.RasterPos2i)GetExtensionDelegateStatic("glRasterPos2i", typeof(Delegates.RasterPos2i)); + Delegates.glRasterPos2i((Int32)x, (Int32)y); + } + internal static unsafe void Load_RasterPos2iv(Int32* v) + { + Delegates.glRasterPos2iv = (Delegates.RasterPos2iv)GetExtensionDelegateStatic("glRasterPos2iv", typeof(Delegates.RasterPos2iv)); + Delegates.glRasterPos2iv((Int32*)v); + } + internal static void Load_RasterPos2s(Int16 x, Int16 y) + { + Delegates.glRasterPos2s = (Delegates.RasterPos2s)GetExtensionDelegateStatic("glRasterPos2s", typeof(Delegates.RasterPos2s)); + Delegates.glRasterPos2s((Int16)x, (Int16)y); + } + internal static unsafe void Load_RasterPos2sv(Int16* v) + { + Delegates.glRasterPos2sv = (Delegates.RasterPos2sv)GetExtensionDelegateStatic("glRasterPos2sv", typeof(Delegates.RasterPos2sv)); + Delegates.glRasterPos2sv((Int16*)v); + } + internal static void Load_RasterPos2xOES(int x, int y) + { + Delegates.glRasterPos2xOES = (Delegates.RasterPos2xOES)GetExtensionDelegateStatic("glRasterPos2xOES", typeof(Delegates.RasterPos2xOES)); + Delegates.glRasterPos2xOES((int)x, (int)y); + } + internal static unsafe void Load_RasterPos2xvOES(int* coords) + { + Delegates.glRasterPos2xvOES = (Delegates.RasterPos2xvOES)GetExtensionDelegateStatic("glRasterPos2xvOES", typeof(Delegates.RasterPos2xvOES)); + Delegates.glRasterPos2xvOES((int*)coords); + } + internal static void Load_RasterPos3d(Double x, Double y, Double z) + { + Delegates.glRasterPos3d = (Delegates.RasterPos3d)GetExtensionDelegateStatic("glRasterPos3d", typeof(Delegates.RasterPos3d)); + Delegates.glRasterPos3d((Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_RasterPos3dv(Double* v) + { + Delegates.glRasterPos3dv = (Delegates.RasterPos3dv)GetExtensionDelegateStatic("glRasterPos3dv", typeof(Delegates.RasterPos3dv)); + Delegates.glRasterPos3dv((Double*)v); + } + internal static void Load_RasterPos3f(Single x, Single y, Single z) + { + Delegates.glRasterPos3f = (Delegates.RasterPos3f)GetExtensionDelegateStatic("glRasterPos3f", typeof(Delegates.RasterPos3f)); + Delegates.glRasterPos3f((Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_RasterPos3fv(Single* v) + { + Delegates.glRasterPos3fv = (Delegates.RasterPos3fv)GetExtensionDelegateStatic("glRasterPos3fv", typeof(Delegates.RasterPos3fv)); + Delegates.glRasterPos3fv((Single*)v); + } + internal static void Load_RasterPos3i(Int32 x, Int32 y, Int32 z) + { + Delegates.glRasterPos3i = (Delegates.RasterPos3i)GetExtensionDelegateStatic("glRasterPos3i", typeof(Delegates.RasterPos3i)); + Delegates.glRasterPos3i((Int32)x, (Int32)y, (Int32)z); + } + internal static unsafe void Load_RasterPos3iv(Int32* v) + { + Delegates.glRasterPos3iv = (Delegates.RasterPos3iv)GetExtensionDelegateStatic("glRasterPos3iv", typeof(Delegates.RasterPos3iv)); + Delegates.glRasterPos3iv((Int32*)v); + } + internal static void Load_RasterPos3s(Int16 x, Int16 y, Int16 z) + { + Delegates.glRasterPos3s = (Delegates.RasterPos3s)GetExtensionDelegateStatic("glRasterPos3s", typeof(Delegates.RasterPos3s)); + Delegates.glRasterPos3s((Int16)x, (Int16)y, (Int16)z); + } + internal static unsafe void Load_RasterPos3sv(Int16* v) + { + Delegates.glRasterPos3sv = (Delegates.RasterPos3sv)GetExtensionDelegateStatic("glRasterPos3sv", typeof(Delegates.RasterPos3sv)); + Delegates.glRasterPos3sv((Int16*)v); + } + internal static void Load_RasterPos3xOES(int x, int y, int z) + { + Delegates.glRasterPos3xOES = (Delegates.RasterPos3xOES)GetExtensionDelegateStatic("glRasterPos3xOES", typeof(Delegates.RasterPos3xOES)); + Delegates.glRasterPos3xOES((int)x, (int)y, (int)z); + } + internal static unsafe void Load_RasterPos3xvOES(int* coords) + { + Delegates.glRasterPos3xvOES = (Delegates.RasterPos3xvOES)GetExtensionDelegateStatic("glRasterPos3xvOES", typeof(Delegates.RasterPos3xvOES)); + Delegates.glRasterPos3xvOES((int*)coords); + } + internal static void Load_RasterPos4d(Double x, Double y, Double z, Double w) + { + Delegates.glRasterPos4d = (Delegates.RasterPos4d)GetExtensionDelegateStatic("glRasterPos4d", typeof(Delegates.RasterPos4d)); + Delegates.glRasterPos4d((Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_RasterPos4dv(Double* v) + { + Delegates.glRasterPos4dv = (Delegates.RasterPos4dv)GetExtensionDelegateStatic("glRasterPos4dv", typeof(Delegates.RasterPos4dv)); + Delegates.glRasterPos4dv((Double*)v); + } + internal static void Load_RasterPos4f(Single x, Single y, Single z, Single w) + { + Delegates.glRasterPos4f = (Delegates.RasterPos4f)GetExtensionDelegateStatic("glRasterPos4f", typeof(Delegates.RasterPos4f)); + Delegates.glRasterPos4f((Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_RasterPos4fv(Single* v) + { + Delegates.glRasterPos4fv = (Delegates.RasterPos4fv)GetExtensionDelegateStatic("glRasterPos4fv", typeof(Delegates.RasterPos4fv)); + Delegates.glRasterPos4fv((Single*)v); + } + internal static void Load_RasterPos4i(Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glRasterPos4i = (Delegates.RasterPos4i)GetExtensionDelegateStatic("glRasterPos4i", typeof(Delegates.RasterPos4i)); + Delegates.glRasterPos4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_RasterPos4iv(Int32* v) + { + Delegates.glRasterPos4iv = (Delegates.RasterPos4iv)GetExtensionDelegateStatic("glRasterPos4iv", typeof(Delegates.RasterPos4iv)); + Delegates.glRasterPos4iv((Int32*)v); + } + internal static void Load_RasterPos4s(Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glRasterPos4s = (Delegates.RasterPos4s)GetExtensionDelegateStatic("glRasterPos4s", typeof(Delegates.RasterPos4s)); + Delegates.glRasterPos4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static unsafe void Load_RasterPos4sv(Int16* v) + { + Delegates.glRasterPos4sv = (Delegates.RasterPos4sv)GetExtensionDelegateStatic("glRasterPos4sv", typeof(Delegates.RasterPos4sv)); + Delegates.glRasterPos4sv((Int16*)v); + } + internal static void Load_RasterPos4xOES(int x, int y, int z, int w) + { + Delegates.glRasterPos4xOES = (Delegates.RasterPos4xOES)GetExtensionDelegateStatic("glRasterPos4xOES", typeof(Delegates.RasterPos4xOES)); + Delegates.glRasterPos4xOES((int)x, (int)y, (int)z, (int)w); + } + internal static unsafe void Load_RasterPos4xvOES(int* coords) + { + Delegates.glRasterPos4xvOES = (Delegates.RasterPos4xvOES)GetExtensionDelegateStatic("glRasterPos4xvOES", typeof(Delegates.RasterPos4xvOES)); + Delegates.glRasterPos4xvOES((int*)coords); + } + internal static void Load_ReadBuffer(OpenTK.Graphics.OpenGL.ReadBufferMode mode) + { + Delegates.glReadBuffer = (Delegates.ReadBuffer)GetExtensionDelegateStatic("glReadBuffer", typeof(Delegates.ReadBuffer)); + Delegates.glReadBuffer((OpenTK.Graphics.OpenGL.ReadBufferMode)mode); + } + internal static void Load_ReadInstrumentsSGIX(Int32 marker) + { + Delegates.glReadInstrumentsSGIX = (Delegates.ReadInstrumentsSGIX)GetExtensionDelegateStatic("glReadInstrumentsSGIX", typeof(Delegates.ReadInstrumentsSGIX)); + Delegates.glReadInstrumentsSGIX((Int32)marker); + } + internal static void Load_ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.ArbRobustness format, OpenTK.Graphics.OpenGL.ArbRobustness type, Int32 bufSize, [OutAttribute] IntPtr data) + { + Delegates.glReadnPixelsARB = (Delegates.ReadnPixelsARB)GetExtensionDelegateStatic("glReadnPixelsARB", typeof(Delegates.ReadnPixelsARB)); + Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.ArbRobustness)format, (OpenTK.Graphics.OpenGL.ArbRobustness)type, (Int32)bufSize, (IntPtr)data); + } + internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_Rectd(Double x1, Double y1, Double x2, Double y2) + { + Delegates.glRectd = (Delegates.Rectd)GetExtensionDelegateStatic("glRectd", typeof(Delegates.Rectd)); + Delegates.glRectd((Double)x1, (Double)y1, (Double)x2, (Double)y2); + } + internal static unsafe void Load_Rectdv(Double* v1, Double* v2) + { + Delegates.glRectdv = (Delegates.Rectdv)GetExtensionDelegateStatic("glRectdv", typeof(Delegates.Rectdv)); + Delegates.glRectdv((Double*)v1, (Double*)v2); + } + internal static void Load_Rectf(Single x1, Single y1, Single x2, Single y2) + { + Delegates.glRectf = (Delegates.Rectf)GetExtensionDelegateStatic("glRectf", typeof(Delegates.Rectf)); + Delegates.glRectf((Single)x1, (Single)y1, (Single)x2, (Single)y2); + } + internal static unsafe void Load_Rectfv(Single* v1, Single* v2) + { + Delegates.glRectfv = (Delegates.Rectfv)GetExtensionDelegateStatic("glRectfv", typeof(Delegates.Rectfv)); + Delegates.glRectfv((Single*)v1, (Single*)v2); + } + internal static void Load_Recti(Int32 x1, Int32 y1, Int32 x2, Int32 y2) + { + Delegates.glRecti = (Delegates.Recti)GetExtensionDelegateStatic("glRecti", typeof(Delegates.Recti)); + Delegates.glRecti((Int32)x1, (Int32)y1, (Int32)x2, (Int32)y2); + } + internal static unsafe void Load_Rectiv(Int32* v1, Int32* v2) + { + Delegates.glRectiv = (Delegates.Rectiv)GetExtensionDelegateStatic("glRectiv", typeof(Delegates.Rectiv)); + Delegates.glRectiv((Int32*)v1, (Int32*)v2); + } + internal static void Load_Rects(Int16 x1, Int16 y1, Int16 x2, Int16 y2) + { + Delegates.glRects = (Delegates.Rects)GetExtensionDelegateStatic("glRects", typeof(Delegates.Rects)); + Delegates.glRects((Int16)x1, (Int16)y1, (Int16)x2, (Int16)y2); + } + internal static unsafe void Load_Rectsv(Int16* v1, Int16* v2) + { + Delegates.glRectsv = (Delegates.Rectsv)GetExtensionDelegateStatic("glRectsv", typeof(Delegates.Rectsv)); + Delegates.glRectsv((Int16*)v1, (Int16*)v2); + } + internal static void Load_RectxOES(int x1, int y1, int x2, int y2) + { + Delegates.glRectxOES = (Delegates.RectxOES)GetExtensionDelegateStatic("glRectxOES", typeof(Delegates.RectxOES)); + Delegates.glRectxOES((int)x1, (int)y1, (int)x2, (int)y2); + } + internal static unsafe void Load_RectxvOES(int* v1, int* v2) + { + Delegates.glRectxvOES = (Delegates.RectxvOES)GetExtensionDelegateStatic("glRectxvOES", typeof(Delegates.RectxvOES)); + Delegates.glRectxvOES((int*)v1, (int*)v2); + } + internal static unsafe void Load_ReferencePlaneSGIX(Double* equation) + { + Delegates.glReferencePlaneSGIX = (Delegates.ReferencePlaneSGIX)GetExtensionDelegateStatic("glReferencePlaneSGIX", typeof(Delegates.ReferencePlaneSGIX)); + Delegates.glReferencePlaneSGIX((Double*)equation); + } + internal static void Load_ReleaseShaderCompiler() + { + Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); + Delegates.glReleaseShaderCompiler(); + } + internal static void Load_RenderbufferStorage(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); + Delegates.glRenderbufferStorage((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageEXT = (Delegates.RenderbufferStorageEXT)GetExtensionDelegateStatic("glRenderbufferStorageEXT", typeof(Delegates.RenderbufferStorageEXT)); + Delegates.glRenderbufferStorageEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisample = (Delegates.RenderbufferStorageMultisample)GetExtensionDelegateStatic("glRenderbufferStorageMultisample", typeof(Delegates.RenderbufferStorageMultisample)); + Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleCoverageNV(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 coverageSamples, Int32 colorSamples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleCoverageNV = (Delegates.RenderbufferStorageMultisampleCoverageNV)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleCoverageNV", typeof(Delegates.RenderbufferStorageMultisampleCoverageNV)); + Delegates.glRenderbufferStorageMultisampleCoverageNV((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)coverageSamples, (Int32)colorSamples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisampleEXT(OpenTK.Graphics.OpenGL.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisampleEXT = (Delegates.RenderbufferStorageMultisampleEXT)GetExtensionDelegateStatic("glRenderbufferStorageMultisampleEXT", typeof(Delegates.RenderbufferStorageMultisampleEXT)); + Delegates.glRenderbufferStorageMultisampleEXT((OpenTK.Graphics.OpenGL.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + } + internal static Int32 Load_RenderMode(OpenTK.Graphics.OpenGL.RenderingMode mode) + { + Delegates.glRenderMode = (Delegates.RenderMode)GetExtensionDelegateStatic("glRenderMode", typeof(Delegates.RenderMode)); + return Delegates.glRenderMode((OpenTK.Graphics.OpenGL.RenderingMode)mode); + } + internal static void Load_ReplacementCodePointerSUN(OpenTK.Graphics.OpenGL.SunTriangleList type, Int32 stride, IntPtr pointer) + { + Delegates.glReplacementCodePointerSUN = (Delegates.ReplacementCodePointerSUN)GetExtensionDelegateStatic("glReplacementCodePointerSUN", typeof(Delegates.ReplacementCodePointerSUN)); + Delegates.glReplacementCodePointerSUN((OpenTK.Graphics.OpenGL.SunTriangleList)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_ReplacementCodeubSUN(Byte code) + { + Delegates.glReplacementCodeubSUN = (Delegates.ReplacementCodeubSUN)GetExtensionDelegateStatic("glReplacementCodeubSUN", typeof(Delegates.ReplacementCodeubSUN)); + Delegates.glReplacementCodeubSUN((Byte)code); + } + internal static unsafe void Load_ReplacementCodeubvSUN(Byte* code) + { + Delegates.glReplacementCodeubvSUN = (Delegates.ReplacementCodeubvSUN)GetExtensionDelegateStatic("glReplacementCodeubvSUN", typeof(Delegates.ReplacementCodeubvSUN)); + Delegates.glReplacementCodeubvSUN((Byte*)code); + } + internal static void Load_ReplacementCodeuiColor3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiColor3fVertex3fSUN = (Delegates.ReplacementCodeuiColor3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiColor3fVertex3fSUN)); + Delegates.glReplacementCodeuiColor3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiColor3fVertex3fvSUN(UInt32* rc, Single* c, Single* v) + { + Delegates.glReplacementCodeuiColor3fVertex3fvSUN = (Delegates.ReplacementCodeuiColor3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiColor3fVertex3fvSUN)); + Delegates.glReplacementCodeuiColor3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)v); + } + internal static void Load_ReplacementCodeuiColor4fNormal3fVertex3fSUN(UInt32 rc, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiColor4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4fNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiColor4fNormal3fVertex3fSUN)); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* c, Single* n, Single* v) + { + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiColor4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4fNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiColor4fNormal3fVertex3fvSUN)); + Delegates.glReplacementCodeuiColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)c, (Single*)n, (Single*)v); + } + internal static void Load_ReplacementCodeuiColor4ubVertex3fSUN(UInt32 rc, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiColor4ubVertex3fSUN = (Delegates.ReplacementCodeuiColor4ubVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4ubVertex3fSUN", typeof(Delegates.ReplacementCodeuiColor4ubVertex3fSUN)); + Delegates.glReplacementCodeuiColor4ubVertex3fSUN((UInt32)rc, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiColor4ubVertex3fvSUN(UInt32* rc, Byte* c, Single* v) + { + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN = (Delegates.ReplacementCodeuiColor4ubVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiColor4ubVertex3fvSUN", typeof(Delegates.ReplacementCodeuiColor4ubVertex3fvSUN)); + Delegates.glReplacementCodeuiColor4ubVertex3fvSUN((UInt32*)rc, (Byte*)c, (Single*)v); + } + internal static void Load_ReplacementCodeuiNormal3fVertex3fSUN(UInt32 rc, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiNormal3fVertex3fSUN)); + Delegates.glReplacementCodeuiNormal3fVertex3fSUN((UInt32)rc, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiNormal3fVertex3fvSUN(UInt32* rc, Single* n, Single* v) + { + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiNormal3fVertex3fvSUN)); + Delegates.glReplacementCodeuiNormal3fVertex3fvSUN((UInt32*)rc, (Single*)n, (Single*)v); + } + internal static void Load_ReplacementCodeuiSUN(UInt32 code) + { + Delegates.glReplacementCodeuiSUN = (Delegates.ReplacementCodeuiSUN)GetExtensionDelegateStatic("glReplacementCodeuiSUN", typeof(Delegates.ReplacementCodeuiSUN)); + Delegates.glReplacementCodeuiSUN((UInt32)code); + } + internal static void Load_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* c, Single* n, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)); + Delegates.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } + internal static void Load_ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(UInt32 rc, Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)); + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(UInt32* rc, Single* tc, Single* n, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)); + Delegates.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)n, (Single*)v); + } + internal static void Load_ReplacementCodeuiTexCoord2fVertex3fSUN(UInt32 rc, Single s, Single t, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN = (Delegates.ReplacementCodeuiTexCoord2fVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fVertex3fSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fVertex3fSUN)); + Delegates.glReplacementCodeuiTexCoord2fVertex3fSUN((UInt32)rc, (Single)s, (Single)t, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiTexCoord2fVertex3fvSUN(UInt32* rc, Single* tc, Single* v) + { + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN = (Delegates.ReplacementCodeuiTexCoord2fVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiTexCoord2fVertex3fvSUN", typeof(Delegates.ReplacementCodeuiTexCoord2fVertex3fvSUN)); + Delegates.glReplacementCodeuiTexCoord2fVertex3fvSUN((UInt32*)rc, (Single*)tc, (Single*)v); + } + internal static void Load_ReplacementCodeuiVertex3fSUN(UInt32 rc, Single x, Single y, Single z) + { + Delegates.glReplacementCodeuiVertex3fSUN = (Delegates.ReplacementCodeuiVertex3fSUN)GetExtensionDelegateStatic("glReplacementCodeuiVertex3fSUN", typeof(Delegates.ReplacementCodeuiVertex3fSUN)); + Delegates.glReplacementCodeuiVertex3fSUN((UInt32)rc, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_ReplacementCodeuiVertex3fvSUN(UInt32* rc, Single* v) + { + Delegates.glReplacementCodeuiVertex3fvSUN = (Delegates.ReplacementCodeuiVertex3fvSUN)GetExtensionDelegateStatic("glReplacementCodeuiVertex3fvSUN", typeof(Delegates.ReplacementCodeuiVertex3fvSUN)); + Delegates.glReplacementCodeuiVertex3fvSUN((UInt32*)rc, (Single*)v); + } + internal static unsafe void Load_ReplacementCodeuivSUN(UInt32* code) + { + Delegates.glReplacementCodeuivSUN = (Delegates.ReplacementCodeuivSUN)GetExtensionDelegateStatic("glReplacementCodeuivSUN", typeof(Delegates.ReplacementCodeuivSUN)); + Delegates.glReplacementCodeuivSUN((UInt32*)code); + } + internal static void Load_ReplacementCodeusSUN(UInt16 code) + { + Delegates.glReplacementCodeusSUN = (Delegates.ReplacementCodeusSUN)GetExtensionDelegateStatic("glReplacementCodeusSUN", typeof(Delegates.ReplacementCodeusSUN)); + Delegates.glReplacementCodeusSUN((UInt16)code); + } + internal static unsafe void Load_ReplacementCodeusvSUN(UInt16* code) + { + Delegates.glReplacementCodeusvSUN = (Delegates.ReplacementCodeusvSUN)GetExtensionDelegateStatic("glReplacementCodeusvSUN", typeof(Delegates.ReplacementCodeusvSUN)); + Delegates.glReplacementCodeusvSUN((UInt16*)code); + } + internal static unsafe void Load_RequestResidentProgramsNV(Int32 n, UInt32* programs) + { + Delegates.glRequestResidentProgramsNV = (Delegates.RequestResidentProgramsNV)GetExtensionDelegateStatic("glRequestResidentProgramsNV", typeof(Delegates.RequestResidentProgramsNV)); + Delegates.glRequestResidentProgramsNV((Int32)n, (UInt32*)programs); + } + internal static void Load_ResetHistogram(OpenTK.Graphics.OpenGL.HistogramTarget target) + { + Delegates.glResetHistogram = (Delegates.ResetHistogram)GetExtensionDelegateStatic("glResetHistogram", typeof(Delegates.ResetHistogram)); + Delegates.glResetHistogram((OpenTK.Graphics.OpenGL.HistogramTarget)target); + } + internal static void Load_ResetHistogramEXT(OpenTK.Graphics.OpenGL.ExtHistogram target) + { + Delegates.glResetHistogramEXT = (Delegates.ResetHistogramEXT)GetExtensionDelegateStatic("glResetHistogramEXT", typeof(Delegates.ResetHistogramEXT)); + Delegates.glResetHistogramEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); + } + internal static void Load_ResetMinmax(OpenTK.Graphics.OpenGL.MinmaxTarget target) + { + Delegates.glResetMinmax = (Delegates.ResetMinmax)GetExtensionDelegateStatic("glResetMinmax", typeof(Delegates.ResetMinmax)); + Delegates.glResetMinmax((OpenTK.Graphics.OpenGL.MinmaxTarget)target); + } + internal static void Load_ResetMinmaxEXT(OpenTK.Graphics.OpenGL.ExtHistogram target) + { + Delegates.glResetMinmaxEXT = (Delegates.ResetMinmaxEXT)GetExtensionDelegateStatic("glResetMinmaxEXT", typeof(Delegates.ResetMinmaxEXT)); + Delegates.glResetMinmaxEXT((OpenTK.Graphics.OpenGL.ExtHistogram)target); + } + internal static void Load_ResizeBuffersMESA() + { + Delegates.glResizeBuffersMESA = (Delegates.ResizeBuffersMESA)GetExtensionDelegateStatic("glResizeBuffersMESA", typeof(Delegates.ResizeBuffersMESA)); + Delegates.glResizeBuffersMESA(); + } + internal static void Load_ResumeTransformFeedback() + { + Delegates.glResumeTransformFeedback = (Delegates.ResumeTransformFeedback)GetExtensionDelegateStatic("glResumeTransformFeedback", typeof(Delegates.ResumeTransformFeedback)); + Delegates.glResumeTransformFeedback(); + } + internal static void Load_ResumeTransformFeedbackNV() + { + Delegates.glResumeTransformFeedbackNV = (Delegates.ResumeTransformFeedbackNV)GetExtensionDelegateStatic("glResumeTransformFeedbackNV", typeof(Delegates.ResumeTransformFeedbackNV)); + Delegates.glResumeTransformFeedbackNV(); + } + internal static void Load_Rotated(Double angle, Double x, Double y, Double z) + { + Delegates.glRotated = (Delegates.Rotated)GetExtensionDelegateStatic("glRotated", typeof(Delegates.Rotated)); + Delegates.glRotated((Double)angle, (Double)x, (Double)y, (Double)z); + } + internal static void Load_Rotatef(Single angle, Single x, Single y, Single z) + { + Delegates.glRotatef = (Delegates.Rotatef)GetExtensionDelegateStatic("glRotatef", typeof(Delegates.Rotatef)); + Delegates.glRotatef((Single)angle, (Single)x, (Single)y, (Single)z); + } + internal static void Load_RotatexOES(int angle, int x, int y, int z) + { + Delegates.glRotatexOES = (Delegates.RotatexOES)GetExtensionDelegateStatic("glRotatexOES", typeof(Delegates.RotatexOES)); + Delegates.glRotatexOES((int)angle, (int)x, (int)y, (int)z); + } + internal static void Load_SampleCoverage(Single value, bool invert) + { + Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); + Delegates.glSampleCoverage((Single)value, (bool)invert); + } + internal static void Load_SampleCoverageARB(Single value, bool invert) + { + Delegates.glSampleCoverageARB = (Delegates.SampleCoverageARB)GetExtensionDelegateStatic("glSampleCoverageARB", typeof(Delegates.SampleCoverageARB)); + Delegates.glSampleCoverageARB((Single)value, (bool)invert); + } + internal static void Load_SampleCoverageOES(int value, bool invert) + { + Delegates.glSampleCoverageOES = (Delegates.SampleCoverageOES)GetExtensionDelegateStatic("glSampleCoverageOES", typeof(Delegates.SampleCoverageOES)); + Delegates.glSampleCoverageOES((int)value, (bool)invert); + } + internal static void Load_SampleCoveragexOES(int value, bool invert) + { + Delegates.glSampleCoveragexOES = (Delegates.SampleCoveragexOES)GetExtensionDelegateStatic("glSampleCoveragexOES", typeof(Delegates.SampleCoveragexOES)); + Delegates.glSampleCoveragexOES((int)value, (bool)invert); + } + internal static void Load_SampleMapATI(UInt32 dst, UInt32 interp, OpenTK.Graphics.OpenGL.AtiFragmentShader swizzle) + { + Delegates.glSampleMapATI = (Delegates.SampleMapATI)GetExtensionDelegateStatic("glSampleMapATI", typeof(Delegates.SampleMapATI)); + Delegates.glSampleMapATI((UInt32)dst, (UInt32)interp, (OpenTK.Graphics.OpenGL.AtiFragmentShader)swizzle); + } + internal static void Load_SampleMaskEXT(Single value, bool invert) + { + Delegates.glSampleMaskEXT = (Delegates.SampleMaskEXT)GetExtensionDelegateStatic("glSampleMaskEXT", typeof(Delegates.SampleMaskEXT)); + Delegates.glSampleMaskEXT((Single)value, (bool)invert); + } + internal static void Load_SampleMaski(UInt32 index, UInt32 mask) + { + Delegates.glSampleMaski = (Delegates.SampleMaski)GetExtensionDelegateStatic("glSampleMaski", typeof(Delegates.SampleMaski)); + Delegates.glSampleMaski((UInt32)index, (UInt32)mask); + } + internal static void Load_SampleMaskIndexedNV(UInt32 index, UInt32 mask) + { + Delegates.glSampleMaskIndexedNV = (Delegates.SampleMaskIndexedNV)GetExtensionDelegateStatic("glSampleMaskIndexedNV", typeof(Delegates.SampleMaskIndexedNV)); + Delegates.glSampleMaskIndexedNV((UInt32)index, (UInt32)mask); + } + internal static void Load_SampleMaskSGIS(Single value, bool invert) + { + Delegates.glSampleMaskSGIS = (Delegates.SampleMaskSGIS)GetExtensionDelegateStatic("glSampleMaskSGIS", typeof(Delegates.SampleMaskSGIS)); + Delegates.glSampleMaskSGIS((Single)value, (bool)invert); + } + internal static void Load_SamplePatternEXT(OpenTK.Graphics.OpenGL.ExtMultisample pattern) + { + Delegates.glSamplePatternEXT = (Delegates.SamplePatternEXT)GetExtensionDelegateStatic("glSamplePatternEXT", typeof(Delegates.SamplePatternEXT)); + Delegates.glSamplePatternEXT((OpenTK.Graphics.OpenGL.ExtMultisample)pattern); + } + internal static void Load_SamplePatternSGIS(OpenTK.Graphics.OpenGL.SgisMultisample pattern) + { + Delegates.glSamplePatternSGIS = (Delegates.SamplePatternSGIS)GetExtensionDelegateStatic("glSamplePatternSGIS", typeof(Delegates.SamplePatternSGIS)); + Delegates.glSamplePatternSGIS((OpenTK.Graphics.OpenGL.SgisMultisample)pattern); + } + internal static void Load_SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single param) + { + Delegates.glSamplerParameterf = (Delegates.SamplerParameterf)GetExtensionDelegateStatic("glSamplerParameterf", typeof(Delegates.SamplerParameterf)); + Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single)param); + } + internal static unsafe void Load_SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Single* param) + { + Delegates.glSamplerParameterfv = (Delegates.SamplerParameterfv)GetExtensionDelegateStatic("glSamplerParameterfv", typeof(Delegates.SamplerParameterfv)); + Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Single*)param); + } + internal static void Load_SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32 param) + { + Delegates.glSamplerParameteri = (Delegates.SamplerParameteri)GetExtensionDelegateStatic("glSamplerParameteri", typeof(Delegates.SamplerParameteri)); + Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32)param); + } + internal static unsafe void Load_SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) + { + Delegates.glSamplerParameterIiv = (Delegates.SamplerParameterIiv)GetExtensionDelegateStatic("glSamplerParameterIiv", typeof(Delegates.SamplerParameterIiv)); + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); + } + internal static unsafe void Load_SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, UInt32* param) + { + Delegates.glSamplerParameterIuiv = (Delegates.SamplerParameterIuiv)GetExtensionDelegateStatic("glSamplerParameterIuiv", typeof(Delegates.SamplerParameterIuiv)); + Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (UInt32*)param); + } + internal static unsafe void Load_SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL.SamplerParameterName pname, Int32* param) + { + Delegates.glSamplerParameteriv = (Delegates.SamplerParameteriv)GetExtensionDelegateStatic("glSamplerParameteriv", typeof(Delegates.SamplerParameteriv)); + Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL.SamplerParameterName)pname, (Int32*)param); + } + internal static void Load_Scaled(Double x, Double y, Double z) + { + Delegates.glScaled = (Delegates.Scaled)GetExtensionDelegateStatic("glScaled", typeof(Delegates.Scaled)); + Delegates.glScaled((Double)x, (Double)y, (Double)z); + } + internal static void Load_Scalef(Single x, Single y, Single z) + { + Delegates.glScalef = (Delegates.Scalef)GetExtensionDelegateStatic("glScalef", typeof(Delegates.Scalef)); + Delegates.glScalef((Single)x, (Single)y, (Single)z); + } + internal static void Load_ScalexOES(int x, int y, int z) + { + Delegates.glScalexOES = (Delegates.ScalexOES)GetExtensionDelegateStatic("glScalexOES", typeof(Delegates.ScalexOES)); + Delegates.glScalexOES((int)x, (int)y, (int)z); + } + internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static unsafe void Load_ScissorArrayv(UInt32 first, Int32 count, Int32* v) + { + Delegates.glScissorArrayv = (Delegates.ScissorArrayv)GetExtensionDelegateStatic("glScissorArrayv", typeof(Delegates.ScissorArrayv)); + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); + } + internal static void Load_ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) + { + Delegates.glScissorIndexed = (Delegates.ScissorIndexed)GetExtensionDelegateStatic("glScissorIndexed", typeof(Delegates.ScissorIndexed)); + Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); + } + internal static unsafe void Load_ScissorIndexedv(UInt32 index, Int32* v) + { + Delegates.glScissorIndexedv = (Delegates.ScissorIndexedv)GetExtensionDelegateStatic("glScissorIndexedv", typeof(Delegates.ScissorIndexedv)); + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); + } + internal static void Load_SecondaryColor3b(SByte red, SByte green, SByte blue) + { + Delegates.glSecondaryColor3b = (Delegates.SecondaryColor3b)GetExtensionDelegateStatic("glSecondaryColor3b", typeof(Delegates.SecondaryColor3b)); + Delegates.glSecondaryColor3b((SByte)red, (SByte)green, (SByte)blue); + } + internal static void Load_SecondaryColor3bEXT(SByte red, SByte green, SByte blue) + { + Delegates.glSecondaryColor3bEXT = (Delegates.SecondaryColor3bEXT)GetExtensionDelegateStatic("glSecondaryColor3bEXT", typeof(Delegates.SecondaryColor3bEXT)); + Delegates.glSecondaryColor3bEXT((SByte)red, (SByte)green, (SByte)blue); + } + internal static unsafe void Load_SecondaryColor3bv(SByte* v) + { + Delegates.glSecondaryColor3bv = (Delegates.SecondaryColor3bv)GetExtensionDelegateStatic("glSecondaryColor3bv", typeof(Delegates.SecondaryColor3bv)); + Delegates.glSecondaryColor3bv((SByte*)v); + } + internal static unsafe void Load_SecondaryColor3bvEXT(SByte* v) + { + Delegates.glSecondaryColor3bvEXT = (Delegates.SecondaryColor3bvEXT)GetExtensionDelegateStatic("glSecondaryColor3bvEXT", typeof(Delegates.SecondaryColor3bvEXT)); + Delegates.glSecondaryColor3bvEXT((SByte*)v); + } + internal static void Load_SecondaryColor3d(Double red, Double green, Double blue) + { + Delegates.glSecondaryColor3d = (Delegates.SecondaryColor3d)GetExtensionDelegateStatic("glSecondaryColor3d", typeof(Delegates.SecondaryColor3d)); + Delegates.glSecondaryColor3d((Double)red, (Double)green, (Double)blue); + } + internal static void Load_SecondaryColor3dEXT(Double red, Double green, Double blue) + { + Delegates.glSecondaryColor3dEXT = (Delegates.SecondaryColor3dEXT)GetExtensionDelegateStatic("glSecondaryColor3dEXT", typeof(Delegates.SecondaryColor3dEXT)); + Delegates.glSecondaryColor3dEXT((Double)red, (Double)green, (Double)blue); + } + internal static unsafe void Load_SecondaryColor3dv(Double* v) + { + Delegates.glSecondaryColor3dv = (Delegates.SecondaryColor3dv)GetExtensionDelegateStatic("glSecondaryColor3dv", typeof(Delegates.SecondaryColor3dv)); + Delegates.glSecondaryColor3dv((Double*)v); + } + internal static unsafe void Load_SecondaryColor3dvEXT(Double* v) + { + Delegates.glSecondaryColor3dvEXT = (Delegates.SecondaryColor3dvEXT)GetExtensionDelegateStatic("glSecondaryColor3dvEXT", typeof(Delegates.SecondaryColor3dvEXT)); + Delegates.glSecondaryColor3dvEXT((Double*)v); + } + internal static void Load_SecondaryColor3f(Single red, Single green, Single blue) + { + Delegates.glSecondaryColor3f = (Delegates.SecondaryColor3f)GetExtensionDelegateStatic("glSecondaryColor3f", typeof(Delegates.SecondaryColor3f)); + Delegates.glSecondaryColor3f((Single)red, (Single)green, (Single)blue); + } + internal static void Load_SecondaryColor3fEXT(Single red, Single green, Single blue) + { + Delegates.glSecondaryColor3fEXT = (Delegates.SecondaryColor3fEXT)GetExtensionDelegateStatic("glSecondaryColor3fEXT", typeof(Delegates.SecondaryColor3fEXT)); + Delegates.glSecondaryColor3fEXT((Single)red, (Single)green, (Single)blue); + } + internal static unsafe void Load_SecondaryColor3fv(Single* v) + { + Delegates.glSecondaryColor3fv = (Delegates.SecondaryColor3fv)GetExtensionDelegateStatic("glSecondaryColor3fv", typeof(Delegates.SecondaryColor3fv)); + Delegates.glSecondaryColor3fv((Single*)v); + } + internal static unsafe void Load_SecondaryColor3fvEXT(Single* v) + { + Delegates.glSecondaryColor3fvEXT = (Delegates.SecondaryColor3fvEXT)GetExtensionDelegateStatic("glSecondaryColor3fvEXT", typeof(Delegates.SecondaryColor3fvEXT)); + Delegates.glSecondaryColor3fvEXT((Single*)v); + } + internal static void Load_SecondaryColor3hNV(Half red, Half green, Half blue) + { + Delegates.glSecondaryColor3hNV = (Delegates.SecondaryColor3hNV)GetExtensionDelegateStatic("glSecondaryColor3hNV", typeof(Delegates.SecondaryColor3hNV)); + Delegates.glSecondaryColor3hNV((Half)red, (Half)green, (Half)blue); + } + internal static unsafe void Load_SecondaryColor3hvNV(Half* v) + { + Delegates.glSecondaryColor3hvNV = (Delegates.SecondaryColor3hvNV)GetExtensionDelegateStatic("glSecondaryColor3hvNV", typeof(Delegates.SecondaryColor3hvNV)); + Delegates.glSecondaryColor3hvNV((Half*)v); + } + internal static void Load_SecondaryColor3i(Int32 red, Int32 green, Int32 blue) + { + Delegates.glSecondaryColor3i = (Delegates.SecondaryColor3i)GetExtensionDelegateStatic("glSecondaryColor3i", typeof(Delegates.SecondaryColor3i)); + Delegates.glSecondaryColor3i((Int32)red, (Int32)green, (Int32)blue); + } + internal static void Load_SecondaryColor3iEXT(Int32 red, Int32 green, Int32 blue) + { + Delegates.glSecondaryColor3iEXT = (Delegates.SecondaryColor3iEXT)GetExtensionDelegateStatic("glSecondaryColor3iEXT", typeof(Delegates.SecondaryColor3iEXT)); + Delegates.glSecondaryColor3iEXT((Int32)red, (Int32)green, (Int32)blue); + } + internal static unsafe void Load_SecondaryColor3iv(Int32* v) + { + Delegates.glSecondaryColor3iv = (Delegates.SecondaryColor3iv)GetExtensionDelegateStatic("glSecondaryColor3iv", typeof(Delegates.SecondaryColor3iv)); + Delegates.glSecondaryColor3iv((Int32*)v); + } + internal static unsafe void Load_SecondaryColor3ivEXT(Int32* v) + { + Delegates.glSecondaryColor3ivEXT = (Delegates.SecondaryColor3ivEXT)GetExtensionDelegateStatic("glSecondaryColor3ivEXT", typeof(Delegates.SecondaryColor3ivEXT)); + Delegates.glSecondaryColor3ivEXT((Int32*)v); + } + internal static void Load_SecondaryColor3s(Int16 red, Int16 green, Int16 blue) + { + Delegates.glSecondaryColor3s = (Delegates.SecondaryColor3s)GetExtensionDelegateStatic("glSecondaryColor3s", typeof(Delegates.SecondaryColor3s)); + Delegates.glSecondaryColor3s((Int16)red, (Int16)green, (Int16)blue); + } + internal static void Load_SecondaryColor3sEXT(Int16 red, Int16 green, Int16 blue) + { + Delegates.glSecondaryColor3sEXT = (Delegates.SecondaryColor3sEXT)GetExtensionDelegateStatic("glSecondaryColor3sEXT", typeof(Delegates.SecondaryColor3sEXT)); + Delegates.glSecondaryColor3sEXT((Int16)red, (Int16)green, (Int16)blue); + } + internal static unsafe void Load_SecondaryColor3sv(Int16* v) + { + Delegates.glSecondaryColor3sv = (Delegates.SecondaryColor3sv)GetExtensionDelegateStatic("glSecondaryColor3sv", typeof(Delegates.SecondaryColor3sv)); + Delegates.glSecondaryColor3sv((Int16*)v); + } + internal static unsafe void Load_SecondaryColor3svEXT(Int16* v) + { + Delegates.glSecondaryColor3svEXT = (Delegates.SecondaryColor3svEXT)GetExtensionDelegateStatic("glSecondaryColor3svEXT", typeof(Delegates.SecondaryColor3svEXT)); + Delegates.glSecondaryColor3svEXT((Int16*)v); + } + internal static void Load_SecondaryColor3ub(Byte red, Byte green, Byte blue) + { + Delegates.glSecondaryColor3ub = (Delegates.SecondaryColor3ub)GetExtensionDelegateStatic("glSecondaryColor3ub", typeof(Delegates.SecondaryColor3ub)); + Delegates.glSecondaryColor3ub((Byte)red, (Byte)green, (Byte)blue); + } + internal static void Load_SecondaryColor3ubEXT(Byte red, Byte green, Byte blue) + { + Delegates.glSecondaryColor3ubEXT = (Delegates.SecondaryColor3ubEXT)GetExtensionDelegateStatic("glSecondaryColor3ubEXT", typeof(Delegates.SecondaryColor3ubEXT)); + Delegates.glSecondaryColor3ubEXT((Byte)red, (Byte)green, (Byte)blue); + } + internal static unsafe void Load_SecondaryColor3ubv(Byte* v) + { + Delegates.glSecondaryColor3ubv = (Delegates.SecondaryColor3ubv)GetExtensionDelegateStatic("glSecondaryColor3ubv", typeof(Delegates.SecondaryColor3ubv)); + Delegates.glSecondaryColor3ubv((Byte*)v); + } + internal static unsafe void Load_SecondaryColor3ubvEXT(Byte* v) + { + Delegates.glSecondaryColor3ubvEXT = (Delegates.SecondaryColor3ubvEXT)GetExtensionDelegateStatic("glSecondaryColor3ubvEXT", typeof(Delegates.SecondaryColor3ubvEXT)); + Delegates.glSecondaryColor3ubvEXT((Byte*)v); + } + internal static void Load_SecondaryColor3ui(UInt32 red, UInt32 green, UInt32 blue) + { + Delegates.glSecondaryColor3ui = (Delegates.SecondaryColor3ui)GetExtensionDelegateStatic("glSecondaryColor3ui", typeof(Delegates.SecondaryColor3ui)); + Delegates.glSecondaryColor3ui((UInt32)red, (UInt32)green, (UInt32)blue); + } + internal static void Load_SecondaryColor3uiEXT(UInt32 red, UInt32 green, UInt32 blue) + { + Delegates.glSecondaryColor3uiEXT = (Delegates.SecondaryColor3uiEXT)GetExtensionDelegateStatic("glSecondaryColor3uiEXT", typeof(Delegates.SecondaryColor3uiEXT)); + Delegates.glSecondaryColor3uiEXT((UInt32)red, (UInt32)green, (UInt32)blue); + } + internal static unsafe void Load_SecondaryColor3uiv(UInt32* v) + { + Delegates.glSecondaryColor3uiv = (Delegates.SecondaryColor3uiv)GetExtensionDelegateStatic("glSecondaryColor3uiv", typeof(Delegates.SecondaryColor3uiv)); + Delegates.glSecondaryColor3uiv((UInt32*)v); + } + internal static unsafe void Load_SecondaryColor3uivEXT(UInt32* v) + { + Delegates.glSecondaryColor3uivEXT = (Delegates.SecondaryColor3uivEXT)GetExtensionDelegateStatic("glSecondaryColor3uivEXT", typeof(Delegates.SecondaryColor3uivEXT)); + Delegates.glSecondaryColor3uivEXT((UInt32*)v); + } + internal static void Load_SecondaryColor3us(UInt16 red, UInt16 green, UInt16 blue) + { + Delegates.glSecondaryColor3us = (Delegates.SecondaryColor3us)GetExtensionDelegateStatic("glSecondaryColor3us", typeof(Delegates.SecondaryColor3us)); + Delegates.glSecondaryColor3us((UInt16)red, (UInt16)green, (UInt16)blue); + } + internal static void Load_SecondaryColor3usEXT(UInt16 red, UInt16 green, UInt16 blue) + { + Delegates.glSecondaryColor3usEXT = (Delegates.SecondaryColor3usEXT)GetExtensionDelegateStatic("glSecondaryColor3usEXT", typeof(Delegates.SecondaryColor3usEXT)); + Delegates.glSecondaryColor3usEXT((UInt16)red, (UInt16)green, (UInt16)blue); + } + internal static unsafe void Load_SecondaryColor3usv(UInt16* v) + { + Delegates.glSecondaryColor3usv = (Delegates.SecondaryColor3usv)GetExtensionDelegateStatic("glSecondaryColor3usv", typeof(Delegates.SecondaryColor3usv)); + Delegates.glSecondaryColor3usv((UInt16*)v); + } + internal static unsafe void Load_SecondaryColor3usvEXT(UInt16* v) + { + Delegates.glSecondaryColor3usvEXT = (Delegates.SecondaryColor3usvEXT)GetExtensionDelegateStatic("glSecondaryColor3usvEXT", typeof(Delegates.SecondaryColor3usvEXT)); + Delegates.glSecondaryColor3usvEXT((UInt16*)v); + } + internal static void Load_SecondaryColorFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glSecondaryColorFormatNV = (Delegates.SecondaryColorFormatNV)GetExtensionDelegateStatic("glSecondaryColorFormatNV", typeof(Delegates.SecondaryColorFormatNV)); + Delegates.glSecondaryColorFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static void Load_SecondaryColorP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 color) + { + Delegates.glSecondaryColorP3ui = (Delegates.SecondaryColorP3ui)GetExtensionDelegateStatic("glSecondaryColorP3ui", typeof(Delegates.SecondaryColorP3ui)); + Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)color); + } + internal static unsafe void Load_SecondaryColorP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* color) + { + Delegates.glSecondaryColorP3uiv = (Delegates.SecondaryColorP3uiv)GetExtensionDelegateStatic("glSecondaryColorP3uiv", typeof(Delegates.SecondaryColorP3uiv)); + Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)color); + } + internal static void Load_SecondaryColorPointer(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glSecondaryColorPointer = (Delegates.SecondaryColorPointer)GetExtensionDelegateStatic("glSecondaryColorPointer", typeof(Delegates.SecondaryColorPointer)); + Delegates.glSecondaryColorPointer((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_SecondaryColorPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glSecondaryColorPointerEXT = (Delegates.SecondaryColorPointerEXT)GetExtensionDelegateStatic("glSecondaryColorPointerEXT", typeof(Delegates.SecondaryColorPointerEXT)); + Delegates.glSecondaryColorPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_SecondaryColorPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.IbmVertexArrayLists type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + Delegates.glSecondaryColorPointerListIBM = (Delegates.SecondaryColorPointerListIBM)GetExtensionDelegateStatic("glSecondaryColorPointerListIBM", typeof(Delegates.SecondaryColorPointerListIBM)); + Delegates.glSecondaryColorPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.IbmVertexArrayLists)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + } + internal static unsafe void Load_SelectBuffer(Int32 size, [OutAttribute] UInt32* buffer) + { + Delegates.glSelectBuffer = (Delegates.SelectBuffer)GetExtensionDelegateStatic("glSelectBuffer", typeof(Delegates.SelectBuffer)); + Delegates.glSelectBuffer((Int32)size, (UInt32*)buffer); + } + internal static unsafe void Load_SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [OutAttribute] UInt32* counterList) + { + Delegates.glSelectPerfMonitorCountersAMD = (Delegates.SelectPerfMonitorCountersAMD)GetExtensionDelegateStatic("glSelectPerfMonitorCountersAMD", typeof(Delegates.SelectPerfMonitorCountersAMD)); + Delegates.glSelectPerfMonitorCountersAMD((UInt32)monitor, (bool)enable, (UInt32)group, (Int32)numCounters, (UInt32*)counterList); + } + internal static void Load_SeparableFilter2D(OpenTK.Graphics.OpenGL.SeparableTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) + { + Delegates.glSeparableFilter2D = (Delegates.SeparableFilter2D)GetExtensionDelegateStatic("glSeparableFilter2D", typeof(Delegates.SeparableFilter2D)); + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL.SeparableTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); + } + internal static void Load_SeparableFilter2DEXT(OpenTK.Graphics.OpenGL.ExtConvolution target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr row, IntPtr column) + { + Delegates.glSeparableFilter2DEXT = (Delegates.SeparableFilter2DEXT)GetExtensionDelegateStatic("glSeparableFilter2DEXT", typeof(Delegates.SeparableFilter2DEXT)); + Delegates.glSeparableFilter2DEXT((OpenTK.Graphics.OpenGL.ExtConvolution)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)row, (IntPtr)column); + } + internal static void Load_SetFenceAPPLE(UInt32 fence) + { + Delegates.glSetFenceAPPLE = (Delegates.SetFenceAPPLE)GetExtensionDelegateStatic("glSetFenceAPPLE", typeof(Delegates.SetFenceAPPLE)); + Delegates.glSetFenceAPPLE((UInt32)fence); + } + internal static void Load_SetFenceNV(UInt32 fence, OpenTK.Graphics.OpenGL.NvFence condition) + { + Delegates.glSetFenceNV = (Delegates.SetFenceNV)GetExtensionDelegateStatic("glSetFenceNV", typeof(Delegates.SetFenceNV)); + Delegates.glSetFenceNV((UInt32)fence, (OpenTK.Graphics.OpenGL.NvFence)condition); + } + internal static unsafe void Load_SetFragmentShaderConstantATI(UInt32 dst, Single* value) + { + Delegates.glSetFragmentShaderConstantATI = (Delegates.SetFragmentShaderConstantATI)GetExtensionDelegateStatic("glSetFragmentShaderConstantATI", typeof(Delegates.SetFragmentShaderConstantATI)); + Delegates.glSetFragmentShaderConstantATI((UInt32)dst, (Single*)value); + } + internal static void Load_SetInvariantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) + { + Delegates.glSetInvariantEXT = (Delegates.SetInvariantEXT)GetExtensionDelegateStatic("glSetInvariantEXT", typeof(Delegates.SetInvariantEXT)); + Delegates.glSetInvariantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); + } + internal static void Load_SetLocalConstantEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, IntPtr addr) + { + Delegates.glSetLocalConstantEXT = (Delegates.SetLocalConstantEXT)GetExtensionDelegateStatic("glSetLocalConstantEXT", typeof(Delegates.SetLocalConstantEXT)); + Delegates.glSetLocalConstantEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (IntPtr)addr); + } + internal static unsafe void Load_SetMultisamplefvAMD(OpenTK.Graphics.OpenGL.AmdSamplePositions pname, UInt32 index, Single* val) + { + Delegates.glSetMultisamplefvAMD = (Delegates.SetMultisamplefvAMD)GetExtensionDelegateStatic("glSetMultisamplefvAMD", typeof(Delegates.SetMultisamplefvAMD)); + Delegates.glSetMultisamplefvAMD((OpenTK.Graphics.OpenGL.AmdSamplePositions)pname, (UInt32)index, (Single*)val); + } + internal static void Load_ShadeModel(OpenTK.Graphics.OpenGL.ShadingModel mode) + { + Delegates.glShadeModel = (Delegates.ShadeModel)GetExtensionDelegateStatic("glShadeModel", typeof(Delegates.ShadeModel)); + Delegates.glShadeModel((OpenTK.Graphics.OpenGL.ShadingModel)mode); + } + internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + internal static void Load_ShaderOp1EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1) + { + Delegates.glShaderOp1EXT = (Delegates.ShaderOp1EXT)GetExtensionDelegateStatic("glShaderOp1EXT", typeof(Delegates.ShaderOp1EXT)); + Delegates.glShaderOp1EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1); + } + internal static void Load_ShaderOp2EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2) + { + Delegates.glShaderOp2EXT = (Delegates.ShaderOp2EXT)GetExtensionDelegateStatic("glShaderOp2EXT", typeof(Delegates.ShaderOp2EXT)); + Delegates.glShaderOp2EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2); + } + internal static void Load_ShaderOp3EXT(OpenTK.Graphics.OpenGL.ExtVertexShader op, UInt32 res, UInt32 arg1, UInt32 arg2, UInt32 arg3) + { + Delegates.glShaderOp3EXT = (Delegates.ShaderOp3EXT)GetExtensionDelegateStatic("glShaderOp3EXT", typeof(Delegates.ShaderOp3EXT)); + Delegates.glShaderOp3EXT((OpenTK.Graphics.OpenGL.ExtVertexShader)op, (UInt32)res, (UInt32)arg1, (UInt32)arg2, (UInt32)arg3); + } + internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + } + internal static unsafe void Load_ShaderSourceARB(UInt32 shaderObj, Int32 count, String[] @string, Int32* length) + { + Delegates.glShaderSourceARB = (Delegates.ShaderSourceARB)GetExtensionDelegateStatic("glShaderSourceARB", typeof(Delegates.ShaderSourceARB)); + Delegates.glShaderSourceARB((UInt32)shaderObj, (Int32)count, (String[])@string, (Int32*)length); + } + internal static void Load_ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) + { + Delegates.glShaderStorageBlockBinding = (Delegates.ShaderStorageBlockBinding)GetExtensionDelegateStatic("glShaderStorageBlockBinding", typeof(Delegates.ShaderStorageBlockBinding)); + Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); + } + internal static unsafe void Load_SharpenTexFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 n, Single* points) + { + Delegates.glSharpenTexFuncSGIS = (Delegates.SharpenTexFuncSGIS)GetExtensionDelegateStatic("glSharpenTexFuncSGIS", typeof(Delegates.SharpenTexFuncSGIS)); + Delegates.glSharpenTexFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)n, (Single*)points); + } + internal static void Load_SpriteParameterfSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single param) + { + Delegates.glSpriteParameterfSGIX = (Delegates.SpriteParameterfSGIX)GetExtensionDelegateStatic("glSpriteParameterfSGIX", typeof(Delegates.SpriteParameterfSGIX)); + Delegates.glSpriteParameterfSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single)param); + } + internal static unsafe void Load_SpriteParameterfvSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Single* @params) + { + Delegates.glSpriteParameterfvSGIX = (Delegates.SpriteParameterfvSGIX)GetExtensionDelegateStatic("glSpriteParameterfvSGIX", typeof(Delegates.SpriteParameterfvSGIX)); + Delegates.glSpriteParameterfvSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Single*)@params); + } + internal static void Load_SpriteParameteriSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32 param) + { + Delegates.glSpriteParameteriSGIX = (Delegates.SpriteParameteriSGIX)GetExtensionDelegateStatic("glSpriteParameteriSGIX", typeof(Delegates.SpriteParameteriSGIX)); + Delegates.glSpriteParameteriSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32)param); + } + internal static unsafe void Load_SpriteParameterivSGIX(OpenTK.Graphics.OpenGL.SgixSprite pname, Int32* @params) + { + Delegates.glSpriteParameterivSGIX = (Delegates.SpriteParameterivSGIX)GetExtensionDelegateStatic("glSpriteParameterivSGIX", typeof(Delegates.SpriteParameterivSGIX)); + Delegates.glSpriteParameterivSGIX((OpenTK.Graphics.OpenGL.SgixSprite)pname, (Int32*)@params); + } + internal static void Load_StartInstrumentsSGIX() + { + Delegates.glStartInstrumentsSGIX = (Delegates.StartInstrumentsSGIX)GetExtensionDelegateStatic("glStartInstrumentsSGIX", typeof(Delegates.StartInstrumentsSGIX)); + Delegates.glStartInstrumentsSGIX(); + } + internal static void Load_StencilClearTagEXT(Int32 stencilTagBits, UInt32 stencilClearTag) + { + Delegates.glStencilClearTagEXT = (Delegates.StencilClearTagEXT)GetExtensionDelegateStatic("glStencilClearTagEXT", typeof(Delegates.StencilClearTagEXT)); + Delegates.glStencilClearTagEXT((Int32)stencilTagBits, (UInt32)stencilClearTag); + } + internal static unsafe void Load_StencilFillPathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + { + Delegates.glStencilFillPathInstancedNV = (Delegates.StencilFillPathInstancedNV)GetExtensionDelegateStatic("glStencilFillPathInstancedNV", typeof(Delegates.StencilFillPathInstancedNV)); + Delegates.glStencilFillPathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); + } + internal static void Load_StencilFillPathNV(UInt32 path, OpenTK.Graphics.OpenGL.NvPathRendering fillMode, UInt32 mask) + { + Delegates.glStencilFillPathNV = (Delegates.StencilFillPathNV)GetExtensionDelegateStatic("glStencilFillPathNV", typeof(Delegates.StencilFillPathNV)); + Delegates.glStencilFillPathNV((UInt32)path, (OpenTK.Graphics.OpenGL.NvPathRendering)fillMode, (UInt32)mask); + } + internal static void Load_StencilFunc(OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); + Delegates.glStencilFunc((OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilFuncSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); + Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilFuncSeparateATI(OpenTK.Graphics.OpenGL.StencilFunction frontfunc, OpenTK.Graphics.OpenGL.StencilFunction backfunc, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFuncSeparateATI = (Delegates.StencilFuncSeparateATI)GetExtensionDelegateStatic("glStencilFuncSeparateATI", typeof(Delegates.StencilFuncSeparateATI)); + Delegates.glStencilFuncSeparateATI((OpenTK.Graphics.OpenGL.StencilFunction)frontfunc, (OpenTK.Graphics.OpenGL.StencilFunction)backfunc, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilMask(UInt32 mask) + { + Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); + Delegates.glStencilMask((UInt32)mask); + } + internal static void Load_StencilMaskSeparate(OpenTK.Graphics.OpenGL.StencilFace face, UInt32 mask) + { + Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); + Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (UInt32)mask); + } + internal static void Load_StencilOp(OpenTK.Graphics.OpenGL.StencilOp fail, OpenTK.Graphics.OpenGL.StencilOp zfail, OpenTK.Graphics.OpenGL.StencilOp zpass) + { + Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); + Delegates.glStencilOp((OpenTK.Graphics.OpenGL.StencilOp)fail, (OpenTK.Graphics.OpenGL.StencilOp)zfail, (OpenTK.Graphics.OpenGL.StencilOp)zpass); + } + internal static void Load_StencilOpSeparate(OpenTK.Graphics.OpenGL.StencilFace face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) + { + Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); + Delegates.glStencilOpSeparate((OpenTK.Graphics.OpenGL.StencilFace)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); + } + internal static void Load_StencilOpSeparateATI(OpenTK.Graphics.OpenGL.AtiSeparateStencil face, OpenTK.Graphics.OpenGL.StencilOp sfail, OpenTK.Graphics.OpenGL.StencilOp dpfail, OpenTK.Graphics.OpenGL.StencilOp dppass) + { + Delegates.glStencilOpSeparateATI = (Delegates.StencilOpSeparateATI)GetExtensionDelegateStatic("glStencilOpSeparateATI", typeof(Delegates.StencilOpSeparateATI)); + Delegates.glStencilOpSeparateATI((OpenTK.Graphics.OpenGL.AtiSeparateStencil)face, (OpenTK.Graphics.OpenGL.StencilOp)sfail, (OpenTK.Graphics.OpenGL.StencilOp)dpfail, (OpenTK.Graphics.OpenGL.StencilOp)dppass); + } + internal static void Load_StencilOpValueAMD(OpenTK.Graphics.OpenGL.AmdStencilOperationExtended face, UInt32 value) + { + Delegates.glStencilOpValueAMD = (Delegates.StencilOpValueAMD)GetExtensionDelegateStatic("glStencilOpValueAMD", typeof(Delegates.StencilOpValueAMD)); + Delegates.glStencilOpValueAMD((OpenTK.Graphics.OpenGL.AmdStencilOperationExtended)face, (UInt32)value); + } + internal static unsafe void Load_StencilStrokePathInstancedNV(Int32 numPaths, OpenTK.Graphics.OpenGL.NvPathRendering pathNameType, IntPtr paths, UInt32 pathBase, Int32 reference, UInt32 mask, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + { + Delegates.glStencilStrokePathInstancedNV = (Delegates.StencilStrokePathInstancedNV)GetExtensionDelegateStatic("glStencilStrokePathInstancedNV", typeof(Delegates.StencilStrokePathInstancedNV)); + Delegates.glStencilStrokePathInstancedNV((Int32)numPaths, (OpenTK.Graphics.OpenGL.NvPathRendering)pathNameType, (IntPtr)paths, (UInt32)pathBase, (Int32)reference, (UInt32)mask, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); + } + internal static void Load_StencilStrokePathNV(UInt32 path, Int32 reference, UInt32 mask) + { + Delegates.glStencilStrokePathNV = (Delegates.StencilStrokePathNV)GetExtensionDelegateStatic("glStencilStrokePathNV", typeof(Delegates.StencilStrokePathNV)); + Delegates.glStencilStrokePathNV((UInt32)path, (Int32)reference, (UInt32)mask); + } + internal static void Load_StopInstrumentsSGIX(Int32 marker) + { + Delegates.glStopInstrumentsSGIX = (Delegates.StopInstrumentsSGIX)GetExtensionDelegateStatic("glStopInstrumentsSGIX", typeof(Delegates.StopInstrumentsSGIX)); + Delegates.glStopInstrumentsSGIX((Int32)marker); + } + internal static void Load_StringMarkerGREMEDY(Int32 len, IntPtr @string) + { + Delegates.glStringMarkerGREMEDY = (Delegates.StringMarkerGREMEDY)GetExtensionDelegateStatic("glStringMarkerGREMEDY", typeof(Delegates.StringMarkerGREMEDY)); + Delegates.glStringMarkerGREMEDY((Int32)len, (IntPtr)@string); + } + internal static void Load_SwizzleEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) + { + Delegates.glSwizzleEXT = (Delegates.SwizzleEXT)GetExtensionDelegateStatic("glSwizzleEXT", typeof(Delegates.SwizzleEXT)); + Delegates.glSwizzleEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); + } + internal static void Load_SyncTextureINTEL(UInt32 texture) + { + Delegates.glSyncTextureINTEL = (Delegates.SyncTextureINTEL)GetExtensionDelegateStatic("glSyncTextureINTEL", typeof(Delegates.SyncTextureINTEL)); + Delegates.glSyncTextureINTEL((UInt32)texture); + } + internal static void Load_TagSampleBufferSGIX() + { + Delegates.glTagSampleBufferSGIX = (Delegates.TagSampleBufferSGIX)GetExtensionDelegateStatic("glTagSampleBufferSGIX", typeof(Delegates.TagSampleBufferSGIX)); + Delegates.glTagSampleBufferSGIX(); + } + internal static void Load_Tangent3bEXT(SByte tx, SByte ty, SByte tz) + { + Delegates.glTangent3bEXT = (Delegates.Tangent3bEXT)GetExtensionDelegateStatic("glTangent3bEXT", typeof(Delegates.Tangent3bEXT)); + Delegates.glTangent3bEXT((SByte)tx, (SByte)ty, (SByte)tz); + } + internal static unsafe void Load_Tangent3bvEXT(SByte* v) + { + Delegates.glTangent3bvEXT = (Delegates.Tangent3bvEXT)GetExtensionDelegateStatic("glTangent3bvEXT", typeof(Delegates.Tangent3bvEXT)); + Delegates.glTangent3bvEXT((SByte*)v); + } + internal static void Load_Tangent3dEXT(Double tx, Double ty, Double tz) + { + Delegates.glTangent3dEXT = (Delegates.Tangent3dEXT)GetExtensionDelegateStatic("glTangent3dEXT", typeof(Delegates.Tangent3dEXT)); + Delegates.glTangent3dEXT((Double)tx, (Double)ty, (Double)tz); + } + internal static unsafe void Load_Tangent3dvEXT(Double* v) + { + Delegates.glTangent3dvEXT = (Delegates.Tangent3dvEXT)GetExtensionDelegateStatic("glTangent3dvEXT", typeof(Delegates.Tangent3dvEXT)); + Delegates.glTangent3dvEXT((Double*)v); + } + internal static void Load_Tangent3fEXT(Single tx, Single ty, Single tz) + { + Delegates.glTangent3fEXT = (Delegates.Tangent3fEXT)GetExtensionDelegateStatic("glTangent3fEXT", typeof(Delegates.Tangent3fEXT)); + Delegates.glTangent3fEXT((Single)tx, (Single)ty, (Single)tz); + } + internal static unsafe void Load_Tangent3fvEXT(Single* v) + { + Delegates.glTangent3fvEXT = (Delegates.Tangent3fvEXT)GetExtensionDelegateStatic("glTangent3fvEXT", typeof(Delegates.Tangent3fvEXT)); + Delegates.glTangent3fvEXT((Single*)v); + } + internal static void Load_Tangent3iEXT(Int32 tx, Int32 ty, Int32 tz) + { + Delegates.glTangent3iEXT = (Delegates.Tangent3iEXT)GetExtensionDelegateStatic("glTangent3iEXT", typeof(Delegates.Tangent3iEXT)); + Delegates.glTangent3iEXT((Int32)tx, (Int32)ty, (Int32)tz); + } + internal static unsafe void Load_Tangent3ivEXT(Int32* v) + { + Delegates.glTangent3ivEXT = (Delegates.Tangent3ivEXT)GetExtensionDelegateStatic("glTangent3ivEXT", typeof(Delegates.Tangent3ivEXT)); + Delegates.glTangent3ivEXT((Int32*)v); + } + internal static void Load_Tangent3sEXT(Int16 tx, Int16 ty, Int16 tz) + { + Delegates.glTangent3sEXT = (Delegates.Tangent3sEXT)GetExtensionDelegateStatic("glTangent3sEXT", typeof(Delegates.Tangent3sEXT)); + Delegates.glTangent3sEXT((Int16)tx, (Int16)ty, (Int16)tz); + } + internal static unsafe void Load_Tangent3svEXT(Int16* v) + { + Delegates.glTangent3svEXT = (Delegates.Tangent3svEXT)GetExtensionDelegateStatic("glTangent3svEXT", typeof(Delegates.Tangent3svEXT)); + Delegates.glTangent3svEXT((Int16*)v); + } + internal static void Load_TangentPointerEXT(OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glTangentPointerEXT = (Delegates.TangentPointerEXT)GetExtensionDelegateStatic("glTangentPointerEXT", typeof(Delegates.TangentPointerEXT)); + Delegates.glTangentPointerEXT((OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_TbufferMask3DFX(UInt32 mask) + { + Delegates.glTbufferMask3DFX = (Delegates.TbufferMask3DFX)GetExtensionDelegateStatic("glTbufferMask3DFX", typeof(Delegates.TbufferMask3DFX)); + Delegates.glTbufferMask3DFX((UInt32)mask); + } + internal static void Load_TessellationFactorAMD(Single factor) + { + Delegates.glTessellationFactorAMD = (Delegates.TessellationFactorAMD)GetExtensionDelegateStatic("glTessellationFactorAMD", typeof(Delegates.TessellationFactorAMD)); + Delegates.glTessellationFactorAMD((Single)factor); + } + internal static void Load_TessellationModeAMD(OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator mode) + { + Delegates.glTessellationModeAMD = (Delegates.TessellationModeAMD)GetExtensionDelegateStatic("glTessellationModeAMD", typeof(Delegates.TessellationModeAMD)); + Delegates.glTessellationModeAMD((OpenTK.Graphics.OpenGL.AmdVertexShaderTessellator)mode); + } + internal static bool Load_TestFenceAPPLE(UInt32 fence) + { + Delegates.glTestFenceAPPLE = (Delegates.TestFenceAPPLE)GetExtensionDelegateStatic("glTestFenceAPPLE", typeof(Delegates.TestFenceAPPLE)); + return Delegates.glTestFenceAPPLE((UInt32)fence); + } + internal static bool Load_TestFenceNV(UInt32 fence) + { + Delegates.glTestFenceNV = (Delegates.TestFenceNV)GetExtensionDelegateStatic("glTestFenceNV", typeof(Delegates.TestFenceNV)); + return Delegates.glTestFenceNV((UInt32)fence); + } + internal static bool Load_TestObjectAPPLE(OpenTK.Graphics.OpenGL.AppleFence @object, UInt32 name) + { + Delegates.glTestObjectAPPLE = (Delegates.TestObjectAPPLE)GetExtensionDelegateStatic("glTestObjectAPPLE", typeof(Delegates.TestObjectAPPLE)); + return Delegates.glTestObjectAPPLE((OpenTK.Graphics.OpenGL.AppleFence)@object, (UInt32)name); + } + internal static void Load_TexBuffer(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer) + { + Delegates.glTexBuffer = (Delegates.TexBuffer)GetExtensionDelegateStatic("glTexBuffer", typeof(Delegates.TexBuffer)); + Delegates.glTexBuffer((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer); + } + internal static void Load_TexBufferARB(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ArbTextureBufferObject internalformat, UInt32 buffer) + { + Delegates.glTexBufferARB = (Delegates.TexBufferARB)GetExtensionDelegateStatic("glTexBufferARB", typeof(Delegates.TexBufferARB)); + Delegates.glTexBufferARB((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ArbTextureBufferObject)internalformat, (UInt32)buffer); + } + internal static void Load_TexBufferEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtTextureBufferObject internalformat, UInt32 buffer) + { + Delegates.glTexBufferEXT = (Delegates.TexBufferEXT)GetExtensionDelegateStatic("glTexBufferEXT", typeof(Delegates.TexBufferEXT)); + Delegates.glTexBufferEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtTextureBufferObject)internalformat, (UInt32)buffer); + } + internal static void Load_TexBufferRange(OpenTK.Graphics.OpenGL.TextureBufferTarget target, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glTexBufferRange = (Delegates.TexBufferRange)GetExtensionDelegateStatic("glTexBufferRange", typeof(Delegates.TexBufferRange)); + Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static unsafe void Load_TexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Single* param) + { + Delegates.glTexBumpParameterfvATI = (Delegates.TexBumpParameterfvATI)GetExtensionDelegateStatic("glTexBumpParameterfvATI", typeof(Delegates.TexBumpParameterfvATI)); + Delegates.glTexBumpParameterfvATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Single*)param); + } + internal static unsafe void Load_TexBumpParameterivATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, Int32* param) + { + Delegates.glTexBumpParameterivATI = (Delegates.TexBumpParameterivATI)GetExtensionDelegateStatic("glTexBumpParameterivATI", typeof(Delegates.TexBumpParameterivATI)); + Delegates.glTexBumpParameterivATI((OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap)pname, (Int32*)param); + } + internal static void Load_TexCoord1bOES(SByte s) + { + Delegates.glTexCoord1bOES = (Delegates.TexCoord1bOES)GetExtensionDelegateStatic("glTexCoord1bOES", typeof(Delegates.TexCoord1bOES)); + Delegates.glTexCoord1bOES((SByte)s); + } + internal static unsafe void Load_TexCoord1bvOES(SByte* coords) + { + Delegates.glTexCoord1bvOES = (Delegates.TexCoord1bvOES)GetExtensionDelegateStatic("glTexCoord1bvOES", typeof(Delegates.TexCoord1bvOES)); + Delegates.glTexCoord1bvOES((SByte*)coords); + } + internal static void Load_TexCoord1d(Double s) + { + Delegates.glTexCoord1d = (Delegates.TexCoord1d)GetExtensionDelegateStatic("glTexCoord1d", typeof(Delegates.TexCoord1d)); + Delegates.glTexCoord1d((Double)s); + } + internal static unsafe void Load_TexCoord1dv(Double* v) + { + Delegates.glTexCoord1dv = (Delegates.TexCoord1dv)GetExtensionDelegateStatic("glTexCoord1dv", typeof(Delegates.TexCoord1dv)); + Delegates.glTexCoord1dv((Double*)v); + } + internal static void Load_TexCoord1f(Single s) + { + Delegates.glTexCoord1f = (Delegates.TexCoord1f)GetExtensionDelegateStatic("glTexCoord1f", typeof(Delegates.TexCoord1f)); + Delegates.glTexCoord1f((Single)s); + } + internal static unsafe void Load_TexCoord1fv(Single* v) + { + Delegates.glTexCoord1fv = (Delegates.TexCoord1fv)GetExtensionDelegateStatic("glTexCoord1fv", typeof(Delegates.TexCoord1fv)); + Delegates.glTexCoord1fv((Single*)v); + } + internal static void Load_TexCoord1hNV(Half s) + { + Delegates.glTexCoord1hNV = (Delegates.TexCoord1hNV)GetExtensionDelegateStatic("glTexCoord1hNV", typeof(Delegates.TexCoord1hNV)); + Delegates.glTexCoord1hNV((Half)s); + } + internal static unsafe void Load_TexCoord1hvNV(Half* v) + { + Delegates.glTexCoord1hvNV = (Delegates.TexCoord1hvNV)GetExtensionDelegateStatic("glTexCoord1hvNV", typeof(Delegates.TexCoord1hvNV)); + Delegates.glTexCoord1hvNV((Half*)v); + } + internal static void Load_TexCoord1i(Int32 s) + { + Delegates.glTexCoord1i = (Delegates.TexCoord1i)GetExtensionDelegateStatic("glTexCoord1i", typeof(Delegates.TexCoord1i)); + Delegates.glTexCoord1i((Int32)s); + } + internal static unsafe void Load_TexCoord1iv(Int32* v) + { + Delegates.glTexCoord1iv = (Delegates.TexCoord1iv)GetExtensionDelegateStatic("glTexCoord1iv", typeof(Delegates.TexCoord1iv)); + Delegates.glTexCoord1iv((Int32*)v); + } + internal static void Load_TexCoord1s(Int16 s) + { + Delegates.glTexCoord1s = (Delegates.TexCoord1s)GetExtensionDelegateStatic("glTexCoord1s", typeof(Delegates.TexCoord1s)); + Delegates.glTexCoord1s((Int16)s); + } + internal static unsafe void Load_TexCoord1sv(Int16* v) + { + Delegates.glTexCoord1sv = (Delegates.TexCoord1sv)GetExtensionDelegateStatic("glTexCoord1sv", typeof(Delegates.TexCoord1sv)); + Delegates.glTexCoord1sv((Int16*)v); + } + internal static void Load_TexCoord1xOES(int s) + { + Delegates.glTexCoord1xOES = (Delegates.TexCoord1xOES)GetExtensionDelegateStatic("glTexCoord1xOES", typeof(Delegates.TexCoord1xOES)); + Delegates.glTexCoord1xOES((int)s); + } + internal static unsafe void Load_TexCoord1xvOES(int* coords) + { + Delegates.glTexCoord1xvOES = (Delegates.TexCoord1xvOES)GetExtensionDelegateStatic("glTexCoord1xvOES", typeof(Delegates.TexCoord1xvOES)); + Delegates.glTexCoord1xvOES((int*)coords); + } + internal static void Load_TexCoord2bOES(SByte s, SByte t) + { + Delegates.glTexCoord2bOES = (Delegates.TexCoord2bOES)GetExtensionDelegateStatic("glTexCoord2bOES", typeof(Delegates.TexCoord2bOES)); + Delegates.glTexCoord2bOES((SByte)s, (SByte)t); + } + internal static unsafe void Load_TexCoord2bvOES(SByte* coords) + { + Delegates.glTexCoord2bvOES = (Delegates.TexCoord2bvOES)GetExtensionDelegateStatic("glTexCoord2bvOES", typeof(Delegates.TexCoord2bvOES)); + Delegates.glTexCoord2bvOES((SByte*)coords); + } + internal static void Load_TexCoord2d(Double s, Double t) + { + Delegates.glTexCoord2d = (Delegates.TexCoord2d)GetExtensionDelegateStatic("glTexCoord2d", typeof(Delegates.TexCoord2d)); + Delegates.glTexCoord2d((Double)s, (Double)t); + } + internal static unsafe void Load_TexCoord2dv(Double* v) + { + Delegates.glTexCoord2dv = (Delegates.TexCoord2dv)GetExtensionDelegateStatic("glTexCoord2dv", typeof(Delegates.TexCoord2dv)); + Delegates.glTexCoord2dv((Double*)v); + } + internal static void Load_TexCoord2f(Single s, Single t) + { + Delegates.glTexCoord2f = (Delegates.TexCoord2f)GetExtensionDelegateStatic("glTexCoord2f", typeof(Delegates.TexCoord2f)); + Delegates.glTexCoord2f((Single)s, (Single)t); + } + internal static void Load_TexCoord2fColor3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single x, Single y, Single z) + { + Delegates.glTexCoord2fColor3fVertex3fSUN = (Delegates.TexCoord2fColor3fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fColor3fVertex3fSUN", typeof(Delegates.TexCoord2fColor3fVertex3fSUN)); + Delegates.glTexCoord2fColor3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_TexCoord2fColor3fVertex3fvSUN(Single* tc, Single* c, Single* v) + { + Delegates.glTexCoord2fColor3fVertex3fvSUN = (Delegates.TexCoord2fColor3fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fColor3fVertex3fvSUN", typeof(Delegates.TexCoord2fColor3fVertex3fvSUN)); + Delegates.glTexCoord2fColor3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)v); + } + internal static void Load_TexCoord2fColor4fNormal3fVertex3fSUN(Single s, Single t, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN = (Delegates.TexCoord2fColor4fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fColor4fNormal3fVertex3fSUN", typeof(Delegates.TexCoord2fColor4fNormal3fVertex3fSUN)); + Delegates.glTexCoord2fColor4fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_TexCoord2fColor4fNormal3fVertex3fvSUN(Single* tc, Single* c, Single* n, Single* v) + { + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN = (Delegates.TexCoord2fColor4fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fColor4fNormal3fVertex3fvSUN", typeof(Delegates.TexCoord2fColor4fNormal3fVertex3fvSUN)); + Delegates.glTexCoord2fColor4fNormal3fVertex3fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } + internal static void Load_TexCoord2fColor4ubVertex3fSUN(Single s, Single t, Byte r, Byte g, Byte b, Byte a, Single x, Single y, Single z) + { + Delegates.glTexCoord2fColor4ubVertex3fSUN = (Delegates.TexCoord2fColor4ubVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fColor4ubVertex3fSUN", typeof(Delegates.TexCoord2fColor4ubVertex3fSUN)); + Delegates.glTexCoord2fColor4ubVertex3fSUN((Single)s, (Single)t, (Byte)r, (Byte)g, (Byte)b, (Byte)a, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_TexCoord2fColor4ubVertex3fvSUN(Single* tc, Byte* c, Single* v) + { + Delegates.glTexCoord2fColor4ubVertex3fvSUN = (Delegates.TexCoord2fColor4ubVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fColor4ubVertex3fvSUN", typeof(Delegates.TexCoord2fColor4ubVertex3fvSUN)); + Delegates.glTexCoord2fColor4ubVertex3fvSUN((Single*)tc, (Byte*)c, (Single*)v); + } + internal static void Load_TexCoord2fNormal3fVertex3fSUN(Single s, Single t, Single nx, Single ny, Single nz, Single x, Single y, Single z) + { + Delegates.glTexCoord2fNormal3fVertex3fSUN = (Delegates.TexCoord2fNormal3fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fNormal3fVertex3fSUN", typeof(Delegates.TexCoord2fNormal3fVertex3fSUN)); + Delegates.glTexCoord2fNormal3fVertex3fSUN((Single)s, (Single)t, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_TexCoord2fNormal3fVertex3fvSUN(Single* tc, Single* n, Single* v) + { + Delegates.glTexCoord2fNormal3fVertex3fvSUN = (Delegates.TexCoord2fNormal3fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fNormal3fVertex3fvSUN", typeof(Delegates.TexCoord2fNormal3fVertex3fvSUN)); + Delegates.glTexCoord2fNormal3fVertex3fvSUN((Single*)tc, (Single*)n, (Single*)v); + } + internal static unsafe void Load_TexCoord2fv(Single* v) + { + Delegates.glTexCoord2fv = (Delegates.TexCoord2fv)GetExtensionDelegateStatic("glTexCoord2fv", typeof(Delegates.TexCoord2fv)); + Delegates.glTexCoord2fv((Single*)v); + } + internal static void Load_TexCoord2fVertex3fSUN(Single s, Single t, Single x, Single y, Single z) + { + Delegates.glTexCoord2fVertex3fSUN = (Delegates.TexCoord2fVertex3fSUN)GetExtensionDelegateStatic("glTexCoord2fVertex3fSUN", typeof(Delegates.TexCoord2fVertex3fSUN)); + Delegates.glTexCoord2fVertex3fSUN((Single)s, (Single)t, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_TexCoord2fVertex3fvSUN(Single* tc, Single* v) + { + Delegates.glTexCoord2fVertex3fvSUN = (Delegates.TexCoord2fVertex3fvSUN)GetExtensionDelegateStatic("glTexCoord2fVertex3fvSUN", typeof(Delegates.TexCoord2fVertex3fvSUN)); + Delegates.glTexCoord2fVertex3fvSUN((Single*)tc, (Single*)v); + } + internal static void Load_TexCoord2hNV(Half s, Half t) + { + Delegates.glTexCoord2hNV = (Delegates.TexCoord2hNV)GetExtensionDelegateStatic("glTexCoord2hNV", typeof(Delegates.TexCoord2hNV)); + Delegates.glTexCoord2hNV((Half)s, (Half)t); + } + internal static unsafe void Load_TexCoord2hvNV(Half* v) + { + Delegates.glTexCoord2hvNV = (Delegates.TexCoord2hvNV)GetExtensionDelegateStatic("glTexCoord2hvNV", typeof(Delegates.TexCoord2hvNV)); + Delegates.glTexCoord2hvNV((Half*)v); + } + internal static void Load_TexCoord2i(Int32 s, Int32 t) + { + Delegates.glTexCoord2i = (Delegates.TexCoord2i)GetExtensionDelegateStatic("glTexCoord2i", typeof(Delegates.TexCoord2i)); + Delegates.glTexCoord2i((Int32)s, (Int32)t); + } + internal static unsafe void Load_TexCoord2iv(Int32* v) + { + Delegates.glTexCoord2iv = (Delegates.TexCoord2iv)GetExtensionDelegateStatic("glTexCoord2iv", typeof(Delegates.TexCoord2iv)); + Delegates.glTexCoord2iv((Int32*)v); + } + internal static void Load_TexCoord2s(Int16 s, Int16 t) + { + Delegates.glTexCoord2s = (Delegates.TexCoord2s)GetExtensionDelegateStatic("glTexCoord2s", typeof(Delegates.TexCoord2s)); + Delegates.glTexCoord2s((Int16)s, (Int16)t); + } + internal static unsafe void Load_TexCoord2sv(Int16* v) + { + Delegates.glTexCoord2sv = (Delegates.TexCoord2sv)GetExtensionDelegateStatic("glTexCoord2sv", typeof(Delegates.TexCoord2sv)); + Delegates.glTexCoord2sv((Int16*)v); + } + internal static void Load_TexCoord2xOES(int s, int t) + { + Delegates.glTexCoord2xOES = (Delegates.TexCoord2xOES)GetExtensionDelegateStatic("glTexCoord2xOES", typeof(Delegates.TexCoord2xOES)); + Delegates.glTexCoord2xOES((int)s, (int)t); + } + internal static unsafe void Load_TexCoord2xvOES(int* coords) + { + Delegates.glTexCoord2xvOES = (Delegates.TexCoord2xvOES)GetExtensionDelegateStatic("glTexCoord2xvOES", typeof(Delegates.TexCoord2xvOES)); + Delegates.glTexCoord2xvOES((int*)coords); + } + internal static void Load_TexCoord3bOES(SByte s, SByte t, SByte r) + { + Delegates.glTexCoord3bOES = (Delegates.TexCoord3bOES)GetExtensionDelegateStatic("glTexCoord3bOES", typeof(Delegates.TexCoord3bOES)); + Delegates.glTexCoord3bOES((SByte)s, (SByte)t, (SByte)r); + } + internal static unsafe void Load_TexCoord3bvOES(SByte* coords) + { + Delegates.glTexCoord3bvOES = (Delegates.TexCoord3bvOES)GetExtensionDelegateStatic("glTexCoord3bvOES", typeof(Delegates.TexCoord3bvOES)); + Delegates.glTexCoord3bvOES((SByte*)coords); + } + internal static void Load_TexCoord3d(Double s, Double t, Double r) + { + Delegates.glTexCoord3d = (Delegates.TexCoord3d)GetExtensionDelegateStatic("glTexCoord3d", typeof(Delegates.TexCoord3d)); + Delegates.glTexCoord3d((Double)s, (Double)t, (Double)r); + } + internal static unsafe void Load_TexCoord3dv(Double* v) + { + Delegates.glTexCoord3dv = (Delegates.TexCoord3dv)GetExtensionDelegateStatic("glTexCoord3dv", typeof(Delegates.TexCoord3dv)); + Delegates.glTexCoord3dv((Double*)v); + } + internal static void Load_TexCoord3f(Single s, Single t, Single r) + { + Delegates.glTexCoord3f = (Delegates.TexCoord3f)GetExtensionDelegateStatic("glTexCoord3f", typeof(Delegates.TexCoord3f)); + Delegates.glTexCoord3f((Single)s, (Single)t, (Single)r); + } + internal static unsafe void Load_TexCoord3fv(Single* v) + { + Delegates.glTexCoord3fv = (Delegates.TexCoord3fv)GetExtensionDelegateStatic("glTexCoord3fv", typeof(Delegates.TexCoord3fv)); + Delegates.glTexCoord3fv((Single*)v); + } + internal static void Load_TexCoord3hNV(Half s, Half t, Half r) + { + Delegates.glTexCoord3hNV = (Delegates.TexCoord3hNV)GetExtensionDelegateStatic("glTexCoord3hNV", typeof(Delegates.TexCoord3hNV)); + Delegates.glTexCoord3hNV((Half)s, (Half)t, (Half)r); + } + internal static unsafe void Load_TexCoord3hvNV(Half* v) + { + Delegates.glTexCoord3hvNV = (Delegates.TexCoord3hvNV)GetExtensionDelegateStatic("glTexCoord3hvNV", typeof(Delegates.TexCoord3hvNV)); + Delegates.glTexCoord3hvNV((Half*)v); + } + internal static void Load_TexCoord3i(Int32 s, Int32 t, Int32 r) + { + Delegates.glTexCoord3i = (Delegates.TexCoord3i)GetExtensionDelegateStatic("glTexCoord3i", typeof(Delegates.TexCoord3i)); + Delegates.glTexCoord3i((Int32)s, (Int32)t, (Int32)r); + } + internal static unsafe void Load_TexCoord3iv(Int32* v) + { + Delegates.glTexCoord3iv = (Delegates.TexCoord3iv)GetExtensionDelegateStatic("glTexCoord3iv", typeof(Delegates.TexCoord3iv)); + Delegates.glTexCoord3iv((Int32*)v); + } + internal static void Load_TexCoord3s(Int16 s, Int16 t, Int16 r) + { + Delegates.glTexCoord3s = (Delegates.TexCoord3s)GetExtensionDelegateStatic("glTexCoord3s", typeof(Delegates.TexCoord3s)); + Delegates.glTexCoord3s((Int16)s, (Int16)t, (Int16)r); + } + internal static unsafe void Load_TexCoord3sv(Int16* v) + { + Delegates.glTexCoord3sv = (Delegates.TexCoord3sv)GetExtensionDelegateStatic("glTexCoord3sv", typeof(Delegates.TexCoord3sv)); + Delegates.glTexCoord3sv((Int16*)v); + } + internal static void Load_TexCoord3xOES(int s, int t, int r) + { + Delegates.glTexCoord3xOES = (Delegates.TexCoord3xOES)GetExtensionDelegateStatic("glTexCoord3xOES", typeof(Delegates.TexCoord3xOES)); + Delegates.glTexCoord3xOES((int)s, (int)t, (int)r); + } + internal static unsafe void Load_TexCoord3xvOES(int* coords) + { + Delegates.glTexCoord3xvOES = (Delegates.TexCoord3xvOES)GetExtensionDelegateStatic("glTexCoord3xvOES", typeof(Delegates.TexCoord3xvOES)); + Delegates.glTexCoord3xvOES((int*)coords); + } + internal static void Load_TexCoord4bOES(SByte s, SByte t, SByte r, SByte q) + { + Delegates.glTexCoord4bOES = (Delegates.TexCoord4bOES)GetExtensionDelegateStatic("glTexCoord4bOES", typeof(Delegates.TexCoord4bOES)); + Delegates.glTexCoord4bOES((SByte)s, (SByte)t, (SByte)r, (SByte)q); + } + internal static unsafe void Load_TexCoord4bvOES(SByte* coords) + { + Delegates.glTexCoord4bvOES = (Delegates.TexCoord4bvOES)GetExtensionDelegateStatic("glTexCoord4bvOES", typeof(Delegates.TexCoord4bvOES)); + Delegates.glTexCoord4bvOES((SByte*)coords); + } + internal static void Load_TexCoord4d(Double s, Double t, Double r, Double q) + { + Delegates.glTexCoord4d = (Delegates.TexCoord4d)GetExtensionDelegateStatic("glTexCoord4d", typeof(Delegates.TexCoord4d)); + Delegates.glTexCoord4d((Double)s, (Double)t, (Double)r, (Double)q); + } + internal static unsafe void Load_TexCoord4dv(Double* v) + { + Delegates.glTexCoord4dv = (Delegates.TexCoord4dv)GetExtensionDelegateStatic("glTexCoord4dv", typeof(Delegates.TexCoord4dv)); + Delegates.glTexCoord4dv((Double*)v); + } + internal static void Load_TexCoord4f(Single s, Single t, Single r, Single q) + { + Delegates.glTexCoord4f = (Delegates.TexCoord4f)GetExtensionDelegateStatic("glTexCoord4f", typeof(Delegates.TexCoord4f)); + Delegates.glTexCoord4f((Single)s, (Single)t, (Single)r, (Single)q); + } + internal static void Load_TexCoord4fColor4fNormal3fVertex4fSUN(Single s, Single t, Single p, Single q, Single r, Single g, Single b, Single a, Single nx, Single ny, Single nz, Single x, Single y, Single z, Single w) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN = (Delegates.TexCoord4fColor4fNormal3fVertex4fSUN)GetExtensionDelegateStatic("glTexCoord4fColor4fNormal3fVertex4fSUN", typeof(Delegates.TexCoord4fColor4fNormal3fVertex4fSUN)); + Delegates.glTexCoord4fColor4fNormal3fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)r, (Single)g, (Single)b, (Single)a, (Single)nx, (Single)ny, (Single)nz, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_TexCoord4fColor4fNormal3fVertex4fvSUN(Single* tc, Single* c, Single* n, Single* v) + { + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN = (Delegates.TexCoord4fColor4fNormal3fVertex4fvSUN)GetExtensionDelegateStatic("glTexCoord4fColor4fNormal3fVertex4fvSUN", typeof(Delegates.TexCoord4fColor4fNormal3fVertex4fvSUN)); + Delegates.glTexCoord4fColor4fNormal3fVertex4fvSUN((Single*)tc, (Single*)c, (Single*)n, (Single*)v); + } + internal static unsafe void Load_TexCoord4fv(Single* v) + { + Delegates.glTexCoord4fv = (Delegates.TexCoord4fv)GetExtensionDelegateStatic("glTexCoord4fv", typeof(Delegates.TexCoord4fv)); + Delegates.glTexCoord4fv((Single*)v); + } + internal static void Load_TexCoord4fVertex4fSUN(Single s, Single t, Single p, Single q, Single x, Single y, Single z, Single w) + { + Delegates.glTexCoord4fVertex4fSUN = (Delegates.TexCoord4fVertex4fSUN)GetExtensionDelegateStatic("glTexCoord4fVertex4fSUN", typeof(Delegates.TexCoord4fVertex4fSUN)); + Delegates.glTexCoord4fVertex4fSUN((Single)s, (Single)t, (Single)p, (Single)q, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_TexCoord4fVertex4fvSUN(Single* tc, Single* v) + { + Delegates.glTexCoord4fVertex4fvSUN = (Delegates.TexCoord4fVertex4fvSUN)GetExtensionDelegateStatic("glTexCoord4fVertex4fvSUN", typeof(Delegates.TexCoord4fVertex4fvSUN)); + Delegates.glTexCoord4fVertex4fvSUN((Single*)tc, (Single*)v); + } + internal static void Load_TexCoord4hNV(Half s, Half t, Half r, Half q) + { + Delegates.glTexCoord4hNV = (Delegates.TexCoord4hNV)GetExtensionDelegateStatic("glTexCoord4hNV", typeof(Delegates.TexCoord4hNV)); + Delegates.glTexCoord4hNV((Half)s, (Half)t, (Half)r, (Half)q); + } + internal static unsafe void Load_TexCoord4hvNV(Half* v) + { + Delegates.glTexCoord4hvNV = (Delegates.TexCoord4hvNV)GetExtensionDelegateStatic("glTexCoord4hvNV", typeof(Delegates.TexCoord4hvNV)); + Delegates.glTexCoord4hvNV((Half*)v); + } + internal static void Load_TexCoord4i(Int32 s, Int32 t, Int32 r, Int32 q) + { + Delegates.glTexCoord4i = (Delegates.TexCoord4i)GetExtensionDelegateStatic("glTexCoord4i", typeof(Delegates.TexCoord4i)); + Delegates.glTexCoord4i((Int32)s, (Int32)t, (Int32)r, (Int32)q); + } + internal static unsafe void Load_TexCoord4iv(Int32* v) + { + Delegates.glTexCoord4iv = (Delegates.TexCoord4iv)GetExtensionDelegateStatic("glTexCoord4iv", typeof(Delegates.TexCoord4iv)); + Delegates.glTexCoord4iv((Int32*)v); + } + internal static void Load_TexCoord4s(Int16 s, Int16 t, Int16 r, Int16 q) + { + Delegates.glTexCoord4s = (Delegates.TexCoord4s)GetExtensionDelegateStatic("glTexCoord4s", typeof(Delegates.TexCoord4s)); + Delegates.glTexCoord4s((Int16)s, (Int16)t, (Int16)r, (Int16)q); + } + internal static unsafe void Load_TexCoord4sv(Int16* v) + { + Delegates.glTexCoord4sv = (Delegates.TexCoord4sv)GetExtensionDelegateStatic("glTexCoord4sv", typeof(Delegates.TexCoord4sv)); + Delegates.glTexCoord4sv((Int16*)v); + } + internal static void Load_TexCoord4xOES(int s, int t, int r, int q) + { + Delegates.glTexCoord4xOES = (Delegates.TexCoord4xOES)GetExtensionDelegateStatic("glTexCoord4xOES", typeof(Delegates.TexCoord4xOES)); + Delegates.glTexCoord4xOES((int)s, (int)t, (int)r, (int)q); + } + internal static unsafe void Load_TexCoord4xvOES(int* coords) + { + Delegates.glTexCoord4xvOES = (Delegates.TexCoord4xvOES)GetExtensionDelegateStatic("glTexCoord4xvOES", typeof(Delegates.TexCoord4xvOES)); + Delegates.glTexCoord4xvOES((int*)coords); + } + internal static void Load_TexCoordFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glTexCoordFormatNV = (Delegates.TexCoordFormatNV)GetExtensionDelegateStatic("glTexCoordFormatNV", typeof(Delegates.TexCoordFormatNV)); + Delegates.glTexCoordFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static void Load_TexCoordP1ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP1ui = (Delegates.TexCoordP1ui)GetExtensionDelegateStatic("glTexCoordP1ui", typeof(Delegates.TexCoordP1ui)); + Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP1uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP1uiv = (Delegates.TexCoordP1uiv)GetExtensionDelegateStatic("glTexCoordP1uiv", typeof(Delegates.TexCoordP1uiv)); + Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexCoordP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP2ui = (Delegates.TexCoordP2ui)GetExtensionDelegateStatic("glTexCoordP2ui", typeof(Delegates.TexCoordP2ui)); + Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP2uiv = (Delegates.TexCoordP2uiv)GetExtensionDelegateStatic("glTexCoordP2uiv", typeof(Delegates.TexCoordP2uiv)); + Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexCoordP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP3ui = (Delegates.TexCoordP3ui)GetExtensionDelegateStatic("glTexCoordP3ui", typeof(Delegates.TexCoordP3ui)); + Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP3uiv = (Delegates.TexCoordP3uiv)GetExtensionDelegateStatic("glTexCoordP3uiv", typeof(Delegates.TexCoordP3uiv)); + Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexCoordP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP4ui = (Delegates.TexCoordP4ui)GetExtensionDelegateStatic("glTexCoordP4ui", typeof(Delegates.TexCoordP4ui)); + Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP4uiv = (Delegates.TexCoordP4uiv)GetExtensionDelegateStatic("glTexCoordP4uiv", typeof(Delegates.TexCoordP4uiv)); + Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexCoordPointer(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glTexCoordPointer = (Delegates.TexCoordPointer)GetExtensionDelegateStatic("glTexCoordPointer", typeof(Delegates.TexCoordPointer)); + Delegates.glTexCoordPointer((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_TexCoordPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + Delegates.glTexCoordPointerEXT = (Delegates.TexCoordPointerEXT)GetExtensionDelegateStatic("glTexCoordPointerEXT", typeof(Delegates.TexCoordPointerEXT)); + Delegates.glTexCoordPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + } + internal static void Load_TexCoordPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + Delegates.glTexCoordPointerListIBM = (Delegates.TexCoordPointerListIBM)GetExtensionDelegateStatic("glTexCoordPointerListIBM", typeof(Delegates.TexCoordPointerListIBM)); + Delegates.glTexCoordPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + } + internal static void Load_TexCoordPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) + { + Delegates.glTexCoordPointervINTEL = (Delegates.TexCoordPointervINTEL)GetExtensionDelegateStatic("glTexCoordPointervINTEL", typeof(Delegates.TexCoordPointervINTEL)); + Delegates.glTexCoordPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); + } + internal static void Load_TexEnvf(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single param) + { + Delegates.glTexEnvf = (Delegates.TexEnvf)GetExtensionDelegateStatic("glTexEnvf", typeof(Delegates.TexEnvf)); + Delegates.glTexEnvf((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single)param); + } + internal static unsafe void Load_TexEnvfv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Single* @params) + { + Delegates.glTexEnvfv = (Delegates.TexEnvfv)GetExtensionDelegateStatic("glTexEnvfv", typeof(Delegates.TexEnvfv)); + Delegates.glTexEnvfv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Single*)@params); + } + internal static void Load_TexEnvi(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32 param) + { + Delegates.glTexEnvi = (Delegates.TexEnvi)GetExtensionDelegateStatic("glTexEnvi", typeof(Delegates.TexEnvi)); + Delegates.glTexEnvi((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32)param); + } + internal static unsafe void Load_TexEnviv(OpenTK.Graphics.OpenGL.TextureEnvTarget target, OpenTK.Graphics.OpenGL.TextureEnvParameter pname, Int32* @params) + { + Delegates.glTexEnviv = (Delegates.TexEnviv)GetExtensionDelegateStatic("glTexEnviv", typeof(Delegates.TexEnviv)); + Delegates.glTexEnviv((OpenTK.Graphics.OpenGL.TextureEnvTarget)target, (OpenTK.Graphics.OpenGL.TextureEnvParameter)pname, (Int32*)@params); + } + internal static void Load_TexEnvxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glTexEnvxOES = (Delegates.TexEnvxOES)GetExtensionDelegateStatic("glTexEnvxOES", typeof(Delegates.TexEnvxOES)); + Delegates.glTexEnvxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_TexEnvxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) + { + Delegates.glTexEnvxvOES = (Delegates.TexEnvxvOES)GetExtensionDelegateStatic("glTexEnvxvOES", typeof(Delegates.TexEnvxvOES)); + Delegates.glTexEnvxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static unsafe void Load_TexFilterFuncSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.SgisTextureFilter4 filter, Int32 n, Single* weights) + { + Delegates.glTexFilterFuncSGIS = (Delegates.TexFilterFuncSGIS)GetExtensionDelegateStatic("glTexFilterFuncSGIS", typeof(Delegates.TexFilterFuncSGIS)); + Delegates.glTexFilterFuncSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.SgisTextureFilter4)filter, (Int32)n, (Single*)weights); + } + internal static void Load_TexGend(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double param) + { + Delegates.glTexGend = (Delegates.TexGend)GetExtensionDelegateStatic("glTexGend", typeof(Delegates.TexGend)); + Delegates.glTexGend((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double)param); + } + internal static unsafe void Load_TexGendv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Double* @params) + { + Delegates.glTexGendv = (Delegates.TexGendv)GetExtensionDelegateStatic("glTexGendv", typeof(Delegates.TexGendv)); + Delegates.glTexGendv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Double*)@params); + } + internal static void Load_TexGenf(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single param) + { + Delegates.glTexGenf = (Delegates.TexGenf)GetExtensionDelegateStatic("glTexGenf", typeof(Delegates.TexGenf)); + Delegates.glTexGenf((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single)param); + } + internal static unsafe void Load_TexGenfv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Single* @params) + { + Delegates.glTexGenfv = (Delegates.TexGenfv)GetExtensionDelegateStatic("glTexGenfv", typeof(Delegates.TexGenfv)); + Delegates.glTexGenfv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Single*)@params); + } + internal static void Load_TexGeni(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32 param) + { + Delegates.glTexGeni = (Delegates.TexGeni)GetExtensionDelegateStatic("glTexGeni", typeof(Delegates.TexGeni)); + Delegates.glTexGeni((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32)param); + } + internal static unsafe void Load_TexGeniv(OpenTK.Graphics.OpenGL.TextureCoordName coord, OpenTK.Graphics.OpenGL.TextureGenParameter pname, Int32* @params) + { + Delegates.glTexGeniv = (Delegates.TexGeniv)GetExtensionDelegateStatic("glTexGeniv", typeof(Delegates.TexGeniv)); + Delegates.glTexGeniv((OpenTK.Graphics.OpenGL.TextureCoordName)coord, (OpenTK.Graphics.OpenGL.TextureGenParameter)pname, (Int32*)@params); + } + internal static void Load_TexGenxOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glTexGenxOES = (Delegates.TexGenxOES)GetExtensionDelegateStatic("glTexGenxOES", typeof(Delegates.TexGenxOES)); + Delegates.glTexGenxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_TexGenxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint coord, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) + { + Delegates.glTexGenxvOES = (Delegates.TexGenxvOES)GetExtensionDelegateStatic("glTexGenxvOES", typeof(Delegates.TexGenxvOES)); + Delegates.glTexGenxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)coord, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static void Load_TexImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexImage1D = (Delegates.TexImage1D)GetExtensionDelegateStatic("glTexImage1D", typeof(Delegates.TexImage1D)); + Delegates.glTexImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); + Delegates.glTexImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + { + Delegates.glTexImage2DMultisample = (Delegates.TexImage2DMultisample)GetExtensionDelegateStatic("glTexImage2DMultisample", typeof(Delegates.TexImage2DMultisample)); + Delegates.glTexImage2DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + } + internal static void Load_TexImage2DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + Delegates.glTexImage2DMultisampleCoverageNV = (Delegates.TexImage2DMultisampleCoverageNV)GetExtensionDelegateStatic("glTexImage2DMultisampleCoverageNV", typeof(Delegates.TexImage2DMultisampleCoverageNV)); + Delegates.glTexImage2DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + } + internal static void Load_TexImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexImage3D = (Delegates.TexImage3D)GetExtensionDelegateStatic("glTexImage3D", typeof(Delegates.TexImage3D)); + Delegates.glTexImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexImage3DEXT = (Delegates.TexImage3DEXT)GetExtensionDelegateStatic("glTexImage3DEXT", typeof(Delegates.TexImage3DEXT)); + Delegates.glTexImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + { + Delegates.glTexImage3DMultisample = (Delegates.TexImage3DMultisample)GetExtensionDelegateStatic("glTexImage3DMultisample", typeof(Delegates.TexImage3DMultisample)); + Delegates.glTexImage3DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + } + internal static void Load_TexImage3DMultisampleCoverageNV(OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + Delegates.glTexImage3DMultisampleCoverageNV = (Delegates.TexImage3DMultisampleCoverageNV)GetExtensionDelegateStatic("glTexImage3DMultisampleCoverageNV", typeof(Delegates.TexImage3DMultisampleCoverageNV)); + Delegates.glTexImage3DMultisampleCoverageNV((OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + } + internal static void Load_TexImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 size4d, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexImage4DSGIS = (Delegates.TexImage4DSGIS)GetExtensionDelegateStatic("glTexImage4DSGIS", typeof(Delegates.TexImage4DSGIS)); + Delegates.glTexImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexPageCommitmentARB(OpenTK.Graphics.OpenGL.ArbSparseTexture target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) + { + Delegates.glTexPageCommitmentARB = (Delegates.TexPageCommitmentARB)GetExtensionDelegateStatic("glTexPageCommitmentARB", typeof(Delegates.TexPageCommitmentARB)); + Delegates.glTexPageCommitmentARB((OpenTK.Graphics.OpenGL.ArbSparseTexture)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); + } + internal static void Load_TexParameterf(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) + { + Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); + Delegates.glTexParameterf((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); + } + internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) + { + Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); + Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); + } + internal static void Load_TexParameteri(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) + { + Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); + Delegates.glTexParameteri((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); + } + internal static unsafe void Load_TexParameterIiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameterIiv = (Delegates.TexParameterIiv)GetExtensionDelegateStatic("glTexParameterIiv", typeof(Delegates.TexParameterIiv)); + Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_TexParameterIivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameterIivEXT = (Delegates.TexParameterIivEXT)GetExtensionDelegateStatic("glTexParameterIivEXT", typeof(Delegates.TexParameterIivEXT)); + Delegates.glTexParameterIivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_TexParameterIuiv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + Delegates.glTexParameterIuiv = (Delegates.TexParameterIuiv)GetExtensionDelegateStatic("glTexParameterIuiv", typeof(Delegates.TexParameterIuiv)); + Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + } + internal static unsafe void Load_TexParameterIuivEXT(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + Delegates.glTexParameterIuivEXT = (Delegates.TexParameterIuivEXT)GetExtensionDelegateStatic("glTexParameterIuivEXT", typeof(Delegates.TexParameterIuivEXT)); + Delegates.glTexParameterIuivEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + } + internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); + Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + } + internal static void Load_TexParameterxOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int param) + { + Delegates.glTexParameterxOES = (Delegates.TexParameterxOES)GetExtensionDelegateStatic("glTexParameterxOES", typeof(Delegates.TexParameterxOES)); + Delegates.glTexParameterxOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int)param); + } + internal static unsafe void Load_TexParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, int* @params) + { + Delegates.glTexParameterxvOES = (Delegates.TexParameterxvOES)GetExtensionDelegateStatic("glTexParameterxvOES", typeof(Delegates.TexParameterxvOES)); + Delegates.glTexParameterxvOES((OpenTK.Graphics.OpenGL.OesFixedPoint)target, (OpenTK.Graphics.OpenGL.OesFixedPoint)pname, (int*)@params); + } + internal static void Load_TexRenderbufferNV(OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) + { + Delegates.glTexRenderbufferNV = (Delegates.TexRenderbufferNV)GetExtensionDelegateStatic("glTexRenderbufferNV", typeof(Delegates.TexRenderbufferNV)); + Delegates.glTexRenderbufferNV((OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + } + internal static void Load_TexStorage1D(OpenTK.Graphics.OpenGL.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width) + { + Delegates.glTexStorage1D = (Delegates.TexStorage1D)GetExtensionDelegateStatic("glTexStorage1D", typeof(Delegates.TexStorage1D)); + Delegates.glTexStorage1D((OpenTK.Graphics.OpenGL.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width); + } + internal static void Load_TexStorage2D(OpenTK.Graphics.OpenGL.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glTexStorage2D = (Delegates.TexStorage2D)GetExtensionDelegateStatic("glTexStorage2D", typeof(Delegates.TexStorage2D)); + Delegates.glTexStorage2D((OpenTK.Graphics.OpenGL.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TexStorage2DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + { + Delegates.glTexStorage2DMultisample = (Delegates.TexStorage2DMultisample)GetExtensionDelegateStatic("glTexStorage2DMultisample", typeof(Delegates.TexStorage2DMultisample)); + Delegates.glTexStorage2DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + } + internal static void Load_TexStorage3D(OpenTK.Graphics.OpenGL.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTexStorage3D = (Delegates.TexStorage3D)GetExtensionDelegateStatic("glTexStorage3D", typeof(Delegates.TexStorage3D)); + Delegates.glTexStorage3D((OpenTK.Graphics.OpenGL.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_TexStorage3DMultisample(OpenTK.Graphics.OpenGL.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + { + Delegates.glTexStorage3DMultisample = (Delegates.TexStorage3DMultisample)GetExtensionDelegateStatic("glTexStorage3DMultisample", typeof(Delegates.TexStorage3DMultisample)); + Delegates.glTexStorage3DMultisample((OpenTK.Graphics.OpenGL.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + } + internal static void Load_TexStorageSparseAMD(OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags) + { + Delegates.glTexStorageSparseAMD = (Delegates.TexStorageSparseAMD)GetExtensionDelegateStatic("glTexStorageSparseAMD", typeof(Delegates.TexStorageSparseAMD)); + Delegates.glTexStorageSparseAMD((OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); + } + internal static void Load_TexSubImage1D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage1D = (Delegates.TexSubImage1D)GetExtensionDelegateStatic("glTexSubImage1D", typeof(Delegates.TexSubImage1D)); + Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage1DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage1DEXT = (Delegates.TexSubImage1DEXT)GetExtensionDelegateStatic("glTexSubImage1DEXT", typeof(Delegates.TexSubImage1DEXT)); + Delegates.glTexSubImage1DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage2D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); + Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage2DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage2DEXT = (Delegates.TexSubImage2DEXT)GetExtensionDelegateStatic("glTexSubImage2DEXT", typeof(Delegates.TexSubImage2DEXT)); + Delegates.glTexSubImage2DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage3D(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage3D = (Delegates.TexSubImage3D)GetExtensionDelegateStatic("glTexSubImage3D", typeof(Delegates.TexSubImage3D)); + Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage3DEXT(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage3DEXT = (Delegates.TexSubImage3DEXT)GetExtensionDelegateStatic("glTexSubImage3DEXT", typeof(Delegates.TexSubImage3DEXT)); + Delegates.glTexSubImage3DEXT((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage4DSGIS(OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 woffset, Int32 width, Int32 height, Int32 depth, Int32 size4d, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage4DSGIS = (Delegates.TexSubImage4DSGIS)GetExtensionDelegateStatic("glTexSubImage4DSGIS", typeof(Delegates.TexSubImage4DSGIS)); + Delegates.glTexSubImage4DSGIS((OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)woffset, (Int32)width, (Int32)height, (Int32)depth, (Int32)size4d, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureBarrierNV() + { + Delegates.glTextureBarrierNV = (Delegates.TextureBarrierNV)GetExtensionDelegateStatic("glTextureBarrierNV", typeof(Delegates.TextureBarrierNV)); + Delegates.glTextureBarrierNV(); + } + internal static void Load_TextureBufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer) + { + Delegates.glTextureBufferEXT = (Delegates.TextureBufferEXT)GetExtensionDelegateStatic("glTextureBufferEXT", typeof(Delegates.TextureBufferEXT)); + Delegates.glTextureBufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer); + } + internal static void Load_TextureBufferRangeEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glTextureBufferRangeEXT = (Delegates.TextureBufferRangeEXT)GetExtensionDelegateStatic("glTextureBufferRangeEXT", typeof(Delegates.TextureBufferRangeEXT)); + Delegates.glTextureBufferRangeEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static void Load_TextureColorMaskSGIS(bool red, bool green, bool blue, bool alpha) + { + Delegates.glTextureColorMaskSGIS = (Delegates.TextureColorMaskSGIS)GetExtensionDelegateStatic("glTextureColorMaskSGIS", typeof(Delegates.TextureColorMaskSGIS)); + Delegates.glTextureColorMaskSGIS((bool)red, (bool)green, (bool)blue, (bool)alpha); + } + internal static void Load_TextureImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTextureImage1DEXT = (Delegates.TextureImage1DEXT)GetExtensionDelegateStatic("glTextureImage1DEXT", typeof(Delegates.TextureImage1DEXT)); + Delegates.glTextureImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTextureImage2DEXT = (Delegates.TextureImage2DEXT)GetExtensionDelegateStatic("glTextureImage2DEXT", typeof(Delegates.TextureImage2DEXT)); + Delegates.glTextureImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureImage2DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + Delegates.glTextureImage2DMultisampleCoverageNV = (Delegates.TextureImage2DMultisampleCoverageNV)GetExtensionDelegateStatic("glTextureImage2DMultisampleCoverageNV", typeof(Delegates.TextureImage2DMultisampleCoverageNV)); + Delegates.glTextureImage2DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + } + internal static void Load_TextureImage2DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, bool fixedSampleLocations) + { + Delegates.glTextureImage2DMultisampleNV = (Delegates.TextureImage2DMultisampleNV)GetExtensionDelegateStatic("glTextureImage2DMultisampleNV", typeof(Delegates.TextureImage2DMultisampleNV)); + Delegates.glTextureImage2DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (bool)fixedSampleLocations); + } + internal static void Load_TextureImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTextureImage3DEXT = (Delegates.TextureImage3DEXT)GetExtensionDelegateStatic("glTextureImage3DEXT", typeof(Delegates.TextureImage3DEXT)); + Delegates.glTextureImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureImage3DMultisampleCoverageNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 coverageSamples, Int32 colorSamples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + Delegates.glTextureImage3DMultisampleCoverageNV = (Delegates.TextureImage3DMultisampleCoverageNV)GetExtensionDelegateStatic("glTextureImage3DMultisampleCoverageNV", typeof(Delegates.TextureImage3DMultisampleCoverageNV)); + Delegates.glTextureImage3DMultisampleCoverageNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)coverageSamples, (Int32)colorSamples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + } + internal static void Load_TextureImage3DMultisampleNV(UInt32 texture, OpenTK.Graphics.OpenGL.NvTextureMultisample target, Int32 samples, Int32 internalFormat, Int32 width, Int32 height, Int32 depth, bool fixedSampleLocations) + { + Delegates.glTextureImage3DMultisampleNV = (Delegates.TextureImage3DMultisampleNV)GetExtensionDelegateStatic("glTextureImage3DMultisampleNV", typeof(Delegates.TextureImage3DMultisampleNV)); + Delegates.glTextureImage3DMultisampleNV((UInt32)texture, (OpenTK.Graphics.OpenGL.NvTextureMultisample)target, (Int32)samples, (Int32)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedSampleLocations); + } + internal static void Load_TextureLightEXT(OpenTK.Graphics.OpenGL.ExtLightTexture pname) + { + Delegates.glTextureLightEXT = (Delegates.TextureLightEXT)GetExtensionDelegateStatic("glTextureLightEXT", typeof(Delegates.TextureLightEXT)); + Delegates.glTextureLightEXT((OpenTK.Graphics.OpenGL.ExtLightTexture)pname); + } + internal static void Load_TextureMaterialEXT(OpenTK.Graphics.OpenGL.MaterialFace face, OpenTK.Graphics.OpenGL.MaterialParameter mode) + { + Delegates.glTextureMaterialEXT = (Delegates.TextureMaterialEXT)GetExtensionDelegateStatic("glTextureMaterialEXT", typeof(Delegates.TextureMaterialEXT)); + Delegates.glTextureMaterialEXT((OpenTK.Graphics.OpenGL.MaterialFace)face, (OpenTK.Graphics.OpenGL.MaterialParameter)mode); + } + internal static void Load_TextureNormalEXT(OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal mode) + { + Delegates.glTextureNormalEXT = (Delegates.TextureNormalEXT)GetExtensionDelegateStatic("glTextureNormalEXT", typeof(Delegates.TextureNormalEXT)); + Delegates.glTextureNormalEXT((OpenTK.Graphics.OpenGL.ExtTexturePerturbNormal)mode); + } + internal static void Load_TexturePageCommitmentEXT(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) + { + Delegates.glTexturePageCommitmentEXT = (Delegates.TexturePageCommitmentEXT)GetExtensionDelegateStatic("glTexturePageCommitmentEXT", typeof(Delegates.TexturePageCommitmentEXT)); + Delegates.glTexturePageCommitmentEXT((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); + } + internal static void Load_TextureParameterfEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single param) + { + Delegates.glTextureParameterfEXT = (Delegates.TextureParameterfEXT)GetExtensionDelegateStatic("glTextureParameterfEXT", typeof(Delegates.TextureParameterfEXT)); + Delegates.glTextureParameterfEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single)param); + } + internal static unsafe void Load_TextureParameterfvEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Single* @params) + { + Delegates.glTextureParameterfvEXT = (Delegates.TextureParameterfvEXT)GetExtensionDelegateStatic("glTextureParameterfvEXT", typeof(Delegates.TextureParameterfvEXT)); + Delegates.glTextureParameterfvEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Single*)@params); + } + internal static void Load_TextureParameteriEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32 param) + { + Delegates.glTextureParameteriEXT = (Delegates.TextureParameteriEXT)GetExtensionDelegateStatic("glTextureParameteriEXT", typeof(Delegates.TextureParameteriEXT)); + Delegates.glTextureParameteriEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32)param); + } + internal static unsafe void Load_TextureParameterIivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + Delegates.glTextureParameterIivEXT = (Delegates.TextureParameterIivEXT)GetExtensionDelegateStatic("glTextureParameterIivEXT", typeof(Delegates.TextureParameterIivEXT)); + Delegates.glTextureParameterIivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_TextureParameterIuivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, UInt32* @params) + { + Delegates.glTextureParameterIuivEXT = (Delegates.TextureParameterIuivEXT)GetExtensionDelegateStatic("glTextureParameterIuivEXT", typeof(Delegates.TextureParameterIuivEXT)); + Delegates.glTextureParameterIuivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (UInt32*)@params); + } + internal static unsafe void Load_TextureParameterivEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, OpenTK.Graphics.OpenGL.TextureParameterName pname, Int32* @params) + { + Delegates.glTextureParameterivEXT = (Delegates.TextureParameterivEXT)GetExtensionDelegateStatic("glTextureParameterivEXT", typeof(Delegates.TextureParameterivEXT)); + Delegates.glTextureParameterivEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (OpenTK.Graphics.OpenGL.TextureParameterName)pname, (Int32*)@params); + } + internal static void Load_TextureRangeAPPLE(OpenTK.Graphics.OpenGL.AppleTextureRange target, Int32 length, IntPtr pointer) + { + Delegates.glTextureRangeAPPLE = (Delegates.TextureRangeAPPLE)GetExtensionDelegateStatic("glTextureRangeAPPLE", typeof(Delegates.TextureRangeAPPLE)); + Delegates.glTextureRangeAPPLE((OpenTK.Graphics.OpenGL.AppleTextureRange)target, (Int32)length, (IntPtr)pointer); + } + internal static void Load_TextureRenderbufferEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 renderbuffer) + { + Delegates.glTextureRenderbufferEXT = (Delegates.TextureRenderbufferEXT)GetExtensionDelegateStatic("glTextureRenderbufferEXT", typeof(Delegates.TextureRenderbufferEXT)); + Delegates.glTextureRenderbufferEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)renderbuffer); + } + internal static void Load_TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width) + { + Delegates.glTextureStorage1DEXT = (Delegates.TextureStorage1DEXT)GetExtensionDelegateStatic("glTextureStorage1DEXT", typeof(Delegates.TextureStorage1DEXT)); + Delegates.glTextureStorage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width); + } + internal static void Load_TextureStorage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height) + { + Delegates.glTextureStorage2DEXT = (Delegates.TextureStorage2DEXT)GetExtensionDelegateStatic("glTextureStorage2DEXT", typeof(Delegates.TextureStorage2DEXT)); + Delegates.glTextureStorage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TextureStorage2DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + { + Delegates.glTextureStorage2DMultisampleEXT = (Delegates.TextureStorage2DMultisampleEXT)GetExtensionDelegateStatic("glTextureStorage2DMultisampleEXT", typeof(Delegates.TextureStorage2DMultisampleEXT)); + Delegates.glTextureStorage2DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + } + internal static void Load_TextureStorage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 levels, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTextureStorage3DEXT = (Delegates.TextureStorage3DEXT)GetExtensionDelegateStatic("glTextureStorage3DEXT", typeof(Delegates.TextureStorage3DEXT)); + Delegates.glTextureStorage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)levels, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_TextureStorage3DMultisampleEXT(UInt32 texture, OpenTK.Graphics.OpenGL.ExtDirectStateAccess target, Int32 samples, OpenTK.Graphics.OpenGL.ExtDirectStateAccess internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + { + Delegates.glTextureStorage3DMultisampleEXT = (Delegates.TextureStorage3DMultisampleEXT)GetExtensionDelegateStatic("glTextureStorage3DMultisampleEXT", typeof(Delegates.TextureStorage3DMultisampleEXT)); + Delegates.glTextureStorage3DMultisampleEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)target, (Int32)samples, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + } + internal static void Load_TextureStorageSparseAMD(UInt32 texture, OpenTK.Graphics.OpenGL.AmdSparseTexture target, OpenTK.Graphics.OpenGL.AmdSparseTexture internalFormat, Int32 width, Int32 height, Int32 depth, Int32 layers, UInt32 flags) + { + Delegates.glTextureStorageSparseAMD = (Delegates.TextureStorageSparseAMD)GetExtensionDelegateStatic("glTextureStorageSparseAMD", typeof(Delegates.TextureStorageSparseAMD)); + Delegates.glTextureStorageSparseAMD((UInt32)texture, (OpenTK.Graphics.OpenGL.AmdSparseTexture)target, (OpenTK.Graphics.OpenGL.AmdSparseTexture)internalFormat, (Int32)width, (Int32)height, (Int32)depth, (Int32)layers, (UInt32)flags); + } + internal static void Load_TextureSubImage1DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTextureSubImage1DEXT = (Delegates.TextureSubImage1DEXT)GetExtensionDelegateStatic("glTextureSubImage1DEXT", typeof(Delegates.TextureSubImage1DEXT)); + Delegates.glTextureSubImage1DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureSubImage2DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTextureSubImage2DEXT = (Delegates.TextureSubImage2DEXT)GetExtensionDelegateStatic("glTextureSubImage2DEXT", typeof(Delegates.TextureSubImage2DEXT)); + Delegates.glTextureSubImage2DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureSubImage3DEXT(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.PixelType type, IntPtr pixels) + { + Delegates.glTextureSubImage3DEXT = (Delegates.TextureSubImage3DEXT)GetExtensionDelegateStatic("glTextureSubImage3DEXT", typeof(Delegates.TextureSubImage3DEXT)); + Delegates.glTextureSubImage3DEXT((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureView(UInt32 texture, OpenTK.Graphics.OpenGL.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers) + { + Delegates.glTextureView = (Delegates.TextureView)GetExtensionDelegateStatic("glTextureView", typeof(Delegates.TextureView)); + Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); + } + internal static void Load_TrackMatrixNV(OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb target, UInt32 address, OpenTK.Graphics.OpenGL.NvVertexProgram matrix, OpenTK.Graphics.OpenGL.NvVertexProgram transform) + { + Delegates.glTrackMatrixNV = (Delegates.TrackMatrixNV)GetExtensionDelegateStatic("glTrackMatrixNV", typeof(Delegates.TrackMatrixNV)); + Delegates.glTrackMatrixNV((OpenTK.Graphics.OpenGL.AssemblyProgramTargetArb)target, (UInt32)address, (OpenTK.Graphics.OpenGL.NvVertexProgram)matrix, (OpenTK.Graphics.OpenGL.NvVertexProgram)transform); + } + internal static unsafe void Load_TransformFeedbackAttribsNV(UInt32 count, Int32* attribs, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + Delegates.glTransformFeedbackAttribsNV = (Delegates.TransformFeedbackAttribsNV)GetExtensionDelegateStatic("glTransformFeedbackAttribsNV", typeof(Delegates.TransformFeedbackAttribsNV)); + Delegates.glTransformFeedbackAttribsNV((UInt32)count, (Int32*)attribs, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + internal static unsafe void Load_TransformFeedbackStreamAttribsNV(Int32 count, Int32* attribs, Int32 nbuffers, Int32* bufstreams, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + Delegates.glTransformFeedbackStreamAttribsNV = (Delegates.TransformFeedbackStreamAttribsNV)GetExtensionDelegateStatic("glTransformFeedbackStreamAttribsNV", typeof(Delegates.TransformFeedbackStreamAttribsNV)); + Delegates.glTransformFeedbackStreamAttribsNV((Int32)count, (Int32*)attribs, (Int32)nbuffers, (Int32*)bufstreams, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + internal static void Load_TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.TransformFeedbackMode bufferMode) + { + Delegates.glTransformFeedbackVaryings = (Delegates.TransformFeedbackVaryings)GetExtensionDelegateStatic("glTransformFeedbackVaryings", typeof(Delegates.TransformFeedbackVaryings)); + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.TransformFeedbackMode)bufferMode); + } + internal static void Load_TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL.ExtTransformFeedback bufferMode) + { + Delegates.glTransformFeedbackVaryingsEXT = (Delegates.TransformFeedbackVaryingsEXT)GetExtensionDelegateStatic("glTransformFeedbackVaryingsEXT", typeof(Delegates.TransformFeedbackVaryingsEXT)); + Delegates.glTransformFeedbackVaryingsEXT((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL.ExtTransformFeedback)bufferMode); + } + internal static unsafe void Load_TransformFeedbackVaryingsNV(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.OpenGL.NvTransformFeedback bufferMode) + { + Delegates.glTransformFeedbackVaryingsNV = (Delegates.TransformFeedbackVaryingsNV)GetExtensionDelegateStatic("glTransformFeedbackVaryingsNV", typeof(Delegates.TransformFeedbackVaryingsNV)); + Delegates.glTransformFeedbackVaryingsNV((UInt32)program, (Int32)count, (Int32*)locations, (OpenTK.Graphics.OpenGL.NvTransformFeedback)bufferMode); + } + internal static unsafe void Load_TransformPathNV(UInt32 resultPath, UInt32 srcPath, OpenTK.Graphics.OpenGL.NvPathRendering transformType, Single* transformValues) + { + Delegates.glTransformPathNV = (Delegates.TransformPathNV)GetExtensionDelegateStatic("glTransformPathNV", typeof(Delegates.TransformPathNV)); + Delegates.glTransformPathNV((UInt32)resultPath, (UInt32)srcPath, (OpenTK.Graphics.OpenGL.NvPathRendering)transformType, (Single*)transformValues); + } + internal static void Load_Translated(Double x, Double y, Double z) + { + Delegates.glTranslated = (Delegates.Translated)GetExtensionDelegateStatic("glTranslated", typeof(Delegates.Translated)); + Delegates.glTranslated((Double)x, (Double)y, (Double)z); + } + internal static void Load_Translatef(Single x, Single y, Single z) + { + Delegates.glTranslatef = (Delegates.Translatef)GetExtensionDelegateStatic("glTranslatef", typeof(Delegates.Translatef)); + Delegates.glTranslatef((Single)x, (Single)y, (Single)z); + } + internal static void Load_TranslatexOES(int x, int y, int z) + { + Delegates.glTranslatexOES = (Delegates.TranslatexOES)GetExtensionDelegateStatic("glTranslatexOES", typeof(Delegates.TranslatexOES)); + Delegates.glTranslatexOES((int)x, (int)y, (int)z); + } + internal static void Load_Uniform1d(Int32 location, Double x) + { + Delegates.glUniform1d = (Delegates.Uniform1d)GetExtensionDelegateStatic("glUniform1d", typeof(Delegates.Uniform1d)); + Delegates.glUniform1d((Int32)location, (Double)x); + } + internal static unsafe void Load_Uniform1dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform1dv = (Delegates.Uniform1dv)GetExtensionDelegateStatic("glUniform1dv", typeof(Delegates.Uniform1dv)); + Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform1f(Int32 location, Single v0) + { + Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); + Delegates.glUniform1f((Int32)location, (Single)v0); + } + internal static void Load_Uniform1fARB(Int32 location, Single v0) + { + Delegates.glUniform1fARB = (Delegates.Uniform1fARB)GetExtensionDelegateStatic("glUniform1fARB", typeof(Delegates.Uniform1fARB)); + Delegates.glUniform1fARB((Int32)location, (Single)v0); + } + internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_Uniform1fvARB(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform1fvARB = (Delegates.Uniform1fvARB)GetExtensionDelegateStatic("glUniform1fvARB", typeof(Delegates.Uniform1fvARB)); + Delegates.glUniform1fvARB((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform1i(Int32 location, Int32 v0) + { + Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); + Delegates.glUniform1i((Int32)location, (Int32)v0); + } + internal static void Load_Uniform1i64NV(Int32 location, Int64 x) + { + Delegates.glUniform1i64NV = (Delegates.Uniform1i64NV)GetExtensionDelegateStatic("glUniform1i64NV", typeof(Delegates.Uniform1i64NV)); + Delegates.glUniform1i64NV((Int32)location, (Int64)x); + } + internal static unsafe void Load_Uniform1i64vNV(Int32 location, Int32 count, Int64* value) + { + Delegates.glUniform1i64vNV = (Delegates.Uniform1i64vNV)GetExtensionDelegateStatic("glUniform1i64vNV", typeof(Delegates.Uniform1i64vNV)); + Delegates.glUniform1i64vNV((Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_Uniform1iARB(Int32 location, Int32 v0) + { + Delegates.glUniform1iARB = (Delegates.Uniform1iARB)GetExtensionDelegateStatic("glUniform1iARB", typeof(Delegates.Uniform1iARB)); + Delegates.glUniform1iARB((Int32)location, (Int32)v0); + } + internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_Uniform1ivARB(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform1ivARB = (Delegates.Uniform1ivARB)GetExtensionDelegateStatic("glUniform1ivARB", typeof(Delegates.Uniform1ivARB)); + Delegates.glUniform1ivARB((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform1ui(Int32 location, UInt32 v0) + { + Delegates.glUniform1ui = (Delegates.Uniform1ui)GetExtensionDelegateStatic("glUniform1ui", typeof(Delegates.Uniform1ui)); + Delegates.glUniform1ui((Int32)location, (UInt32)v0); + } + internal static void Load_Uniform1ui64NV(Int32 location, UInt64 x) + { + Delegates.glUniform1ui64NV = (Delegates.Uniform1ui64NV)GetExtensionDelegateStatic("glUniform1ui64NV", typeof(Delegates.Uniform1ui64NV)); + Delegates.glUniform1ui64NV((Int32)location, (UInt64)x); + } + internal static unsafe void Load_Uniform1ui64vNV(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniform1ui64vNV = (Delegates.Uniform1ui64vNV)GetExtensionDelegateStatic("glUniform1ui64vNV", typeof(Delegates.Uniform1ui64vNV)); + Delegates.glUniform1ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_Uniform1uiEXT(Int32 location, UInt32 v0) + { + Delegates.glUniform1uiEXT = (Delegates.Uniform1uiEXT)GetExtensionDelegateStatic("glUniform1uiEXT", typeof(Delegates.Uniform1uiEXT)); + Delegates.glUniform1uiEXT((Int32)location, (UInt32)v0); + } + internal static unsafe void Load_Uniform1uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform1uiv = (Delegates.Uniform1uiv)GetExtensionDelegateStatic("glUniform1uiv", typeof(Delegates.Uniform1uiv)); + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_Uniform1uivEXT(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform1uivEXT = (Delegates.Uniform1uivEXT)GetExtensionDelegateStatic("glUniform1uivEXT", typeof(Delegates.Uniform1uivEXT)); + Delegates.glUniform1uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform2d(Int32 location, Double x, Double y) + { + Delegates.glUniform2d = (Delegates.Uniform2d)GetExtensionDelegateStatic("glUniform2d", typeof(Delegates.Uniform2d)); + Delegates.glUniform2d((Int32)location, (Double)x, (Double)y); + } + internal static unsafe void Load_Uniform2dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform2dv = (Delegates.Uniform2dv)GetExtensionDelegateStatic("glUniform2dv", typeof(Delegates.Uniform2dv)); + Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) + { + Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); + Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); + } + internal static void Load_Uniform2fARB(Int32 location, Single v0, Single v1) + { + Delegates.glUniform2fARB = (Delegates.Uniform2fARB)GetExtensionDelegateStatic("glUniform2fARB", typeof(Delegates.Uniform2fARB)); + Delegates.glUniform2fARB((Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_Uniform2fvARB(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform2fvARB = (Delegates.Uniform2fvARB)GetExtensionDelegateStatic("glUniform2fvARB", typeof(Delegates.Uniform2fvARB)); + Delegates.glUniform2fvARB((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) + { + Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); + Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); + } + internal static void Load_Uniform2i64NV(Int32 location, Int64 x, Int64 y) + { + Delegates.glUniform2i64NV = (Delegates.Uniform2i64NV)GetExtensionDelegateStatic("glUniform2i64NV", typeof(Delegates.Uniform2i64NV)); + Delegates.glUniform2i64NV((Int32)location, (Int64)x, (Int64)y); + } + internal static unsafe void Load_Uniform2i64vNV(Int32 location, Int32 count, Int64* value) + { + Delegates.glUniform2i64vNV = (Delegates.Uniform2i64vNV)GetExtensionDelegateStatic("glUniform2i64vNV", typeof(Delegates.Uniform2i64vNV)); + Delegates.glUniform2i64vNV((Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_Uniform2iARB(Int32 location, Int32 v0, Int32 v1) + { + Delegates.glUniform2iARB = (Delegates.Uniform2iARB)GetExtensionDelegateStatic("glUniform2iARB", typeof(Delegates.Uniform2iARB)); + Delegates.glUniform2iARB((Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_Uniform2ivARB(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform2ivARB = (Delegates.Uniform2ivARB)GetExtensionDelegateStatic("glUniform2ivARB", typeof(Delegates.Uniform2ivARB)); + Delegates.glUniform2ivARB((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform2ui(Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glUniform2ui = (Delegates.Uniform2ui)GetExtensionDelegateStatic("glUniform2ui", typeof(Delegates.Uniform2ui)); + Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static void Load_Uniform2ui64NV(Int32 location, UInt64 x, UInt64 y) + { + Delegates.glUniform2ui64NV = (Delegates.Uniform2ui64NV)GetExtensionDelegateStatic("glUniform2ui64NV", typeof(Delegates.Uniform2ui64NV)); + Delegates.glUniform2ui64NV((Int32)location, (UInt64)x, (UInt64)y); + } + internal static unsafe void Load_Uniform2ui64vNV(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniform2ui64vNV = (Delegates.Uniform2ui64vNV)GetExtensionDelegateStatic("glUniform2ui64vNV", typeof(Delegates.Uniform2ui64vNV)); + Delegates.glUniform2ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_Uniform2uiEXT(Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glUniform2uiEXT = (Delegates.Uniform2uiEXT)GetExtensionDelegateStatic("glUniform2uiEXT", typeof(Delegates.Uniform2uiEXT)); + Delegates.glUniform2uiEXT((Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static unsafe void Load_Uniform2uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform2uiv = (Delegates.Uniform2uiv)GetExtensionDelegateStatic("glUniform2uiv", typeof(Delegates.Uniform2uiv)); + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_Uniform2uivEXT(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform2uivEXT = (Delegates.Uniform2uivEXT)GetExtensionDelegateStatic("glUniform2uivEXT", typeof(Delegates.Uniform2uivEXT)); + Delegates.glUniform2uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform3d(Int32 location, Double x, Double y, Double z) + { + Delegates.glUniform3d = (Delegates.Uniform3d)GetExtensionDelegateStatic("glUniform3d", typeof(Delegates.Uniform3d)); + Delegates.glUniform3d((Int32)location, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_Uniform3dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform3dv = (Delegates.Uniform3dv)GetExtensionDelegateStatic("glUniform3dv", typeof(Delegates.Uniform3dv)); + Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); + Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static void Load_Uniform3fARB(Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glUniform3fARB = (Delegates.Uniform3fARB)GetExtensionDelegateStatic("glUniform3fARB", typeof(Delegates.Uniform3fARB)); + Delegates.glUniform3fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_Uniform3fvARB(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform3fvARB = (Delegates.Uniform3fvARB)GetExtensionDelegateStatic("glUniform3fvARB", typeof(Delegates.Uniform3fvARB)); + Delegates.glUniform3fvARB((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); + Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static void Load_Uniform3i64NV(Int32 location, Int64 x, Int64 y, Int64 z) + { + Delegates.glUniform3i64NV = (Delegates.Uniform3i64NV)GetExtensionDelegateStatic("glUniform3i64NV", typeof(Delegates.Uniform3i64NV)); + Delegates.glUniform3i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z); + } + internal static unsafe void Load_Uniform3i64vNV(Int32 location, Int32 count, Int64* value) + { + Delegates.glUniform3i64vNV = (Delegates.Uniform3i64vNV)GetExtensionDelegateStatic("glUniform3i64vNV", typeof(Delegates.Uniform3i64vNV)); + Delegates.glUniform3i64vNV((Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_Uniform3iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glUniform3iARB = (Delegates.Uniform3iARB)GetExtensionDelegateStatic("glUniform3iARB", typeof(Delegates.Uniform3iARB)); + Delegates.glUniform3iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_Uniform3ivARB(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform3ivARB = (Delegates.Uniform3ivARB)GetExtensionDelegateStatic("glUniform3ivARB", typeof(Delegates.Uniform3ivARB)); + Delegates.glUniform3ivARB((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glUniform3ui = (Delegates.Uniform3ui)GetExtensionDelegateStatic("glUniform3ui", typeof(Delegates.Uniform3ui)); + Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static void Load_Uniform3ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z) + { + Delegates.glUniform3ui64NV = (Delegates.Uniform3ui64NV)GetExtensionDelegateStatic("glUniform3ui64NV", typeof(Delegates.Uniform3ui64NV)); + Delegates.glUniform3ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z); + } + internal static unsafe void Load_Uniform3ui64vNV(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniform3ui64vNV = (Delegates.Uniform3ui64vNV)GetExtensionDelegateStatic("glUniform3ui64vNV", typeof(Delegates.Uniform3ui64vNV)); + Delegates.glUniform3ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_Uniform3uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glUniform3uiEXT = (Delegates.Uniform3uiEXT)GetExtensionDelegateStatic("glUniform3uiEXT", typeof(Delegates.Uniform3uiEXT)); + Delegates.glUniform3uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static unsafe void Load_Uniform3uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform3uiv = (Delegates.Uniform3uiv)GetExtensionDelegateStatic("glUniform3uiv", typeof(Delegates.Uniform3uiv)); + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_Uniform3uivEXT(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform3uivEXT = (Delegates.Uniform3uivEXT)GetExtensionDelegateStatic("glUniform3uivEXT", typeof(Delegates.Uniform3uivEXT)); + Delegates.glUniform3uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform4d(Int32 location, Double x, Double y, Double z, Double w) + { + Delegates.glUniform4d = (Delegates.Uniform4d)GetExtensionDelegateStatic("glUniform4d", typeof(Delegates.Uniform4d)); + Delegates.glUniform4d((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_Uniform4dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform4dv = (Delegates.Uniform4dv)GetExtensionDelegateStatic("glUniform4dv", typeof(Delegates.Uniform4dv)); + Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); + Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static void Load_Uniform4fARB(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glUniform4fARB = (Delegates.Uniform4fARB)GetExtensionDelegateStatic("glUniform4fARB", typeof(Delegates.Uniform4fARB)); + Delegates.glUniform4fARB((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + } + internal static unsafe void Load_Uniform4fvARB(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform4fvARB = (Delegates.Uniform4fvARB)GetExtensionDelegateStatic("glUniform4fvARB", typeof(Delegates.Uniform4fvARB)); + Delegates.glUniform4fvARB((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); + Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static void Load_Uniform4i64NV(Int32 location, Int64 x, Int64 y, Int64 z, Int64 w) + { + Delegates.glUniform4i64NV = (Delegates.Uniform4i64NV)GetExtensionDelegateStatic("glUniform4i64NV", typeof(Delegates.Uniform4i64NV)); + Delegates.glUniform4i64NV((Int32)location, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + } + internal static unsafe void Load_Uniform4i64vNV(Int32 location, Int32 count, Int64* value) + { + Delegates.glUniform4i64vNV = (Delegates.Uniform4i64vNV)GetExtensionDelegateStatic("glUniform4i64vNV", typeof(Delegates.Uniform4i64vNV)); + Delegates.glUniform4i64vNV((Int32)location, (Int32)count, (Int64*)value); + } + internal static void Load_Uniform4iARB(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glUniform4iARB = (Delegates.Uniform4iARB)GetExtensionDelegateStatic("glUniform4iARB", typeof(Delegates.Uniform4iARB)); + Delegates.glUniform4iARB((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static unsafe void Load_Uniform4ivARB(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform4ivARB = (Delegates.Uniform4ivARB)GetExtensionDelegateStatic("glUniform4ivARB", typeof(Delegates.Uniform4ivARB)); + Delegates.glUniform4ivARB((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glUniform4ui = (Delegates.Uniform4ui)GetExtensionDelegateStatic("glUniform4ui", typeof(Delegates.Uniform4ui)); + Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static void Load_Uniform4ui64NV(Int32 location, UInt64 x, UInt64 y, UInt64 z, UInt64 w) + { + Delegates.glUniform4ui64NV = (Delegates.Uniform4ui64NV)GetExtensionDelegateStatic("glUniform4ui64NV", typeof(Delegates.Uniform4ui64NV)); + Delegates.glUniform4ui64NV((Int32)location, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); + } + internal static unsafe void Load_Uniform4ui64vNV(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniform4ui64vNV = (Delegates.Uniform4ui64vNV)GetExtensionDelegateStatic("glUniform4ui64vNV", typeof(Delegates.Uniform4ui64vNV)); + Delegates.glUniform4ui64vNV((Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_Uniform4uiEXT(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glUniform4uiEXT = (Delegates.Uniform4uiEXT)GetExtensionDelegateStatic("glUniform4uiEXT", typeof(Delegates.Uniform4uiEXT)); + Delegates.glUniform4uiEXT((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static unsafe void Load_Uniform4uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform4uiv = (Delegates.Uniform4uiv)GetExtensionDelegateStatic("glUniform4uiv", typeof(Delegates.Uniform4uiv)); + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static unsafe void Load_Uniform4uivEXT(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform4uivEXT = (Delegates.Uniform4uivEXT)GetExtensionDelegateStatic("glUniform4uivEXT", typeof(Delegates.Uniform4uivEXT)); + Delegates.glUniform4uivEXT((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) + { + Delegates.glUniformBlockBinding = (Delegates.UniformBlockBinding)GetExtensionDelegateStatic("glUniformBlockBinding", typeof(Delegates.UniformBlockBinding)); + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + } + internal static void Load_UniformBufferEXT(UInt32 program, Int32 location, UInt32 buffer) + { + Delegates.glUniformBufferEXT = (Delegates.UniformBufferEXT)GetExtensionDelegateStatic("glUniformBufferEXT", typeof(Delegates.UniformBufferEXT)); + Delegates.glUniformBufferEXT((UInt32)program, (Int32)location, (UInt32)buffer); + } + internal static void Load_UniformHandleui64ARB(Int32 location, UInt64 value) + { + Delegates.glUniformHandleui64ARB = (Delegates.UniformHandleui64ARB)GetExtensionDelegateStatic("glUniformHandleui64ARB", typeof(Delegates.UniformHandleui64ARB)); + Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); + } + internal static void Load_UniformHandleui64NV(Int32 location, UInt64 value) + { + Delegates.glUniformHandleui64NV = (Delegates.UniformHandleui64NV)GetExtensionDelegateStatic("glUniformHandleui64NV", typeof(Delegates.UniformHandleui64NV)); + Delegates.glUniformHandleui64NV((Int32)location, (UInt64)value); + } + internal static unsafe void Load_UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniformHandleui64vARB = (Delegates.UniformHandleui64vARB)GetExtensionDelegateStatic("glUniformHandleui64vARB", typeof(Delegates.UniformHandleui64vARB)); + Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); + } + internal static unsafe void Load_UniformHandleui64vNV(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniformHandleui64vNV = (Delegates.UniformHandleui64vNV)GetExtensionDelegateStatic("glUniformHandleui64vNV", typeof(Delegates.UniformHandleui64vNV)); + Delegates.glUniformHandleui64vNV((Int32)location, (Int32)count, (UInt64*)value); + } + internal static unsafe void Load_UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix2dv = (Delegates.UniformMatrix2dv)GetExtensionDelegateStatic("glUniformMatrix2dv", typeof(Delegates.UniformMatrix2dv)); + Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2fvARB(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2fvARB = (Delegates.UniformMatrix2fvARB)GetExtensionDelegateStatic("glUniformMatrix2fvARB", typeof(Delegates.UniformMatrix2fvARB)); + Delegates.glUniformMatrix2fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix2x3dv = (Delegates.UniformMatrix2x3dv)GetExtensionDelegateStatic("glUniformMatrix2x3dv", typeof(Delegates.UniformMatrix2x3dv)); + Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x3fv = (Delegates.UniformMatrix2x3fv)GetExtensionDelegateStatic("glUniformMatrix2x3fv", typeof(Delegates.UniformMatrix2x3fv)); + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix2x4dv = (Delegates.UniformMatrix2x4dv)GetExtensionDelegateStatic("glUniformMatrix2x4dv", typeof(Delegates.UniformMatrix2x4dv)); + Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x4fv = (Delegates.UniformMatrix2x4fv)GetExtensionDelegateStatic("glUniformMatrix2x4fv", typeof(Delegates.UniformMatrix2x4fv)); + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix3dv = (Delegates.UniformMatrix3dv)GetExtensionDelegateStatic("glUniformMatrix3dv", typeof(Delegates.UniformMatrix3dv)); + Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3fvARB(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3fvARB = (Delegates.UniformMatrix3fvARB)GetExtensionDelegateStatic("glUniformMatrix3fvARB", typeof(Delegates.UniformMatrix3fvARB)); + Delegates.glUniformMatrix3fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix3x2dv = (Delegates.UniformMatrix3x2dv)GetExtensionDelegateStatic("glUniformMatrix3x2dv", typeof(Delegates.UniformMatrix3x2dv)); + Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x2fv = (Delegates.UniformMatrix3x2fv)GetExtensionDelegateStatic("glUniformMatrix3x2fv", typeof(Delegates.UniformMatrix3x2fv)); + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix3x4dv = (Delegates.UniformMatrix3x4dv)GetExtensionDelegateStatic("glUniformMatrix3x4dv", typeof(Delegates.UniformMatrix3x4dv)); + Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x4fv = (Delegates.UniformMatrix3x4fv)GetExtensionDelegateStatic("glUniformMatrix3x4fv", typeof(Delegates.UniformMatrix3x4fv)); + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix4dv = (Delegates.UniformMatrix4dv)GetExtensionDelegateStatic("glUniformMatrix4dv", typeof(Delegates.UniformMatrix4dv)); + Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4fvARB(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4fvARB = (Delegates.UniformMatrix4fvARB)GetExtensionDelegateStatic("glUniformMatrix4fvARB", typeof(Delegates.UniformMatrix4fvARB)); + Delegates.glUniformMatrix4fvARB((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix4x2dv = (Delegates.UniformMatrix4x2dv)GetExtensionDelegateStatic("glUniformMatrix4x2dv", typeof(Delegates.UniformMatrix4x2dv)); + Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x2fv = (Delegates.UniformMatrix4x2fv)GetExtensionDelegateStatic("glUniformMatrix4x2fv", typeof(Delegates.UniformMatrix4x2fv)); + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix4x3dv = (Delegates.UniformMatrix4x3dv)GetExtensionDelegateStatic("glUniformMatrix4x3dv", typeof(Delegates.UniformMatrix4x3dv)); + Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x3fv = (Delegates.UniformMatrix4x3fv)GetExtensionDelegateStatic("glUniformMatrix4x3fv", typeof(Delegates.UniformMatrix4x3fv)); + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformSubroutinesuiv(OpenTK.Graphics.OpenGL.ShaderType shadertype, Int32 count, UInt32* indices) + { + Delegates.glUniformSubroutinesuiv = (Delegates.UniformSubroutinesuiv)GetExtensionDelegateStatic("glUniformSubroutinesuiv", typeof(Delegates.UniformSubroutinesuiv)); + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL.ShaderType)shadertype, (Int32)count, (UInt32*)indices); + } + internal static void Load_Uniformui64NV(Int32 location, UInt64 value) + { + Delegates.glUniformui64NV = (Delegates.Uniformui64NV)GetExtensionDelegateStatic("glUniformui64NV", typeof(Delegates.Uniformui64NV)); + Delegates.glUniformui64NV((Int32)location, (UInt64)value); + } + internal static unsafe void Load_Uniformui64vNV(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniformui64vNV = (Delegates.Uniformui64vNV)GetExtensionDelegateStatic("glUniformui64vNV", typeof(Delegates.Uniformui64vNV)); + Delegates.glUniformui64vNV((Int32)location, (Int32)count, (UInt64*)value); + } + internal static void Load_UnlockArraysEXT() + { + Delegates.glUnlockArraysEXT = (Delegates.UnlockArraysEXT)GetExtensionDelegateStatic("glUnlockArraysEXT", typeof(Delegates.UnlockArraysEXT)); + Delegates.glUnlockArraysEXT(); + } + internal static bool Load_UnmapBuffer(OpenTK.Graphics.OpenGL.BufferTarget target) + { + Delegates.glUnmapBuffer = (Delegates.UnmapBuffer)GetExtensionDelegateStatic("glUnmapBuffer", typeof(Delegates.UnmapBuffer)); + return Delegates.glUnmapBuffer((OpenTK.Graphics.OpenGL.BufferTarget)target); + } + internal static bool Load_UnmapBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target) + { + Delegates.glUnmapBufferARB = (Delegates.UnmapBufferARB)GetExtensionDelegateStatic("glUnmapBufferARB", typeof(Delegates.UnmapBufferARB)); + return Delegates.glUnmapBufferARB((OpenTK.Graphics.OpenGL.BufferTargetArb)target); + } + internal static bool Load_UnmapNamedBufferEXT(UInt32 buffer) + { + Delegates.glUnmapNamedBufferEXT = (Delegates.UnmapNamedBufferEXT)GetExtensionDelegateStatic("glUnmapNamedBufferEXT", typeof(Delegates.UnmapNamedBufferEXT)); + return Delegates.glUnmapNamedBufferEXT((UInt32)buffer); + } + internal static void Load_UnmapObjectBufferATI(UInt32 buffer) + { + Delegates.glUnmapObjectBufferATI = (Delegates.UnmapObjectBufferATI)GetExtensionDelegateStatic("glUnmapObjectBufferATI", typeof(Delegates.UnmapObjectBufferATI)); + Delegates.glUnmapObjectBufferATI((UInt32)buffer); + } + internal static void Load_UnmapTexture2DINTEL(UInt32 texture, Int32 level) + { + Delegates.glUnmapTexture2DINTEL = (Delegates.UnmapTexture2DINTEL)GetExtensionDelegateStatic("glUnmapTexture2DINTEL", typeof(Delegates.UnmapTexture2DINTEL)); + Delegates.glUnmapTexture2DINTEL((UInt32)texture, (Int32)level); + } + internal static void Load_UpdateObjectBufferATI(UInt32 buffer, UInt32 offset, Int32 size, IntPtr pointer, OpenTK.Graphics.OpenGL.AtiVertexArrayObject preserve) + { + Delegates.glUpdateObjectBufferATI = (Delegates.UpdateObjectBufferATI)GetExtensionDelegateStatic("glUpdateObjectBufferATI", typeof(Delegates.UpdateObjectBufferATI)); + Delegates.glUpdateObjectBufferATI((UInt32)buffer, (UInt32)offset, (Int32)size, (IntPtr)pointer, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)preserve); + } + internal static void Load_UseProgram(UInt32 program) + { + Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); + Delegates.glUseProgram((UInt32)program); + } + internal static void Load_UseProgramObjectARB(UInt32 programObj) + { + Delegates.glUseProgramObjectARB = (Delegates.UseProgramObjectARB)GetExtensionDelegateStatic("glUseProgramObjectARB", typeof(Delegates.UseProgramObjectARB)); + Delegates.glUseProgramObjectARB((UInt32)programObj); + } + internal static void Load_UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL.ProgramStageMask stages, UInt32 program) + { + Delegates.glUseProgramStages = (Delegates.UseProgramStages)GetExtensionDelegateStatic("glUseProgramStages", typeof(Delegates.UseProgramStages)); + Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL.ProgramStageMask)stages, (UInt32)program); + } + internal static void Load_UseProgramStagesEXT(UInt32 pipeline, UInt32 stages, UInt32 program) + { + Delegates.glUseProgramStagesEXT = (Delegates.UseProgramStagesEXT)GetExtensionDelegateStatic("glUseProgramStagesEXT", typeof(Delegates.UseProgramStagesEXT)); + Delegates.glUseProgramStagesEXT((UInt32)pipeline, (UInt32)stages, (UInt32)program); + } + internal static void Load_UseShaderProgramEXT(OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects type, UInt32 program) + { + Delegates.glUseShaderProgramEXT = (Delegates.UseShaderProgramEXT)GetExtensionDelegateStatic("glUseShaderProgramEXT", typeof(Delegates.UseShaderProgramEXT)); + Delegates.glUseShaderProgramEXT((OpenTK.Graphics.OpenGL.ExtSeparateShaderObjects)type, (UInt32)program); + } + internal static void Load_ValidateProgram(UInt32 program) + { + Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); + Delegates.glValidateProgram((UInt32)program); + } + internal static void Load_ValidateProgramARB(UInt32 programObj) + { + Delegates.glValidateProgramARB = (Delegates.ValidateProgramARB)GetExtensionDelegateStatic("glValidateProgramARB", typeof(Delegates.ValidateProgramARB)); + Delegates.glValidateProgramARB((UInt32)programObj); + } + internal static void Load_ValidateProgramPipeline(UInt32 pipeline) + { + Delegates.glValidateProgramPipeline = (Delegates.ValidateProgramPipeline)GetExtensionDelegateStatic("glValidateProgramPipeline", typeof(Delegates.ValidateProgramPipeline)); + Delegates.glValidateProgramPipeline((UInt32)pipeline); + } + internal static void Load_ValidateProgramPipelineEXT(UInt32 pipeline) + { + Delegates.glValidateProgramPipelineEXT = (Delegates.ValidateProgramPipelineEXT)GetExtensionDelegateStatic("glValidateProgramPipelineEXT", typeof(Delegates.ValidateProgramPipelineEXT)); + Delegates.glValidateProgramPipelineEXT((UInt32)pipeline); + } + internal static void Load_VariantArrayObjectATI(UInt32 id, OpenTK.Graphics.OpenGL.AtiVertexArrayObject type, Int32 stride, UInt32 buffer, UInt32 offset) + { + Delegates.glVariantArrayObjectATI = (Delegates.VariantArrayObjectATI)GetExtensionDelegateStatic("glVariantArrayObjectATI", typeof(Delegates.VariantArrayObjectATI)); + Delegates.glVariantArrayObjectATI((UInt32)id, (OpenTK.Graphics.OpenGL.AtiVertexArrayObject)type, (Int32)stride, (UInt32)buffer, (UInt32)offset); + } + internal static unsafe void Load_VariantbvEXT(UInt32 id, SByte* addr) + { + Delegates.glVariantbvEXT = (Delegates.VariantbvEXT)GetExtensionDelegateStatic("glVariantbvEXT", typeof(Delegates.VariantbvEXT)); + Delegates.glVariantbvEXT((UInt32)id, (SByte*)addr); + } + internal static unsafe void Load_VariantdvEXT(UInt32 id, Double* addr) + { + Delegates.glVariantdvEXT = (Delegates.VariantdvEXT)GetExtensionDelegateStatic("glVariantdvEXT", typeof(Delegates.VariantdvEXT)); + Delegates.glVariantdvEXT((UInt32)id, (Double*)addr); + } + internal static unsafe void Load_VariantfvEXT(UInt32 id, Single* addr) + { + Delegates.glVariantfvEXT = (Delegates.VariantfvEXT)GetExtensionDelegateStatic("glVariantfvEXT", typeof(Delegates.VariantfvEXT)); + Delegates.glVariantfvEXT((UInt32)id, (Single*)addr); + } + internal static unsafe void Load_VariantivEXT(UInt32 id, Int32* addr) + { + Delegates.glVariantivEXT = (Delegates.VariantivEXT)GetExtensionDelegateStatic("glVariantivEXT", typeof(Delegates.VariantivEXT)); + Delegates.glVariantivEXT((UInt32)id, (Int32*)addr); + } + internal static void Load_VariantPointerEXT(UInt32 id, OpenTK.Graphics.OpenGL.ExtVertexShader type, UInt32 stride, IntPtr addr) + { + Delegates.glVariantPointerEXT = (Delegates.VariantPointerEXT)GetExtensionDelegateStatic("glVariantPointerEXT", typeof(Delegates.VariantPointerEXT)); + Delegates.glVariantPointerEXT((UInt32)id, (OpenTK.Graphics.OpenGL.ExtVertexShader)type, (UInt32)stride, (IntPtr)addr); + } + internal static unsafe void Load_VariantsvEXT(UInt32 id, Int16* addr) + { + Delegates.glVariantsvEXT = (Delegates.VariantsvEXT)GetExtensionDelegateStatic("glVariantsvEXT", typeof(Delegates.VariantsvEXT)); + Delegates.glVariantsvEXT((UInt32)id, (Int16*)addr); + } + internal static unsafe void Load_VariantubvEXT(UInt32 id, Byte* addr) + { + Delegates.glVariantubvEXT = (Delegates.VariantubvEXT)GetExtensionDelegateStatic("glVariantubvEXT", typeof(Delegates.VariantubvEXT)); + Delegates.glVariantubvEXT((UInt32)id, (Byte*)addr); + } + internal static unsafe void Load_VariantuivEXT(UInt32 id, UInt32* addr) + { + Delegates.glVariantuivEXT = (Delegates.VariantuivEXT)GetExtensionDelegateStatic("glVariantuivEXT", typeof(Delegates.VariantuivEXT)); + Delegates.glVariantuivEXT((UInt32)id, (UInt32*)addr); + } + internal static unsafe void Load_VariantusvEXT(UInt32 id, UInt16* addr) + { + Delegates.glVariantusvEXT = (Delegates.VariantusvEXT)GetExtensionDelegateStatic("glVariantusvEXT", typeof(Delegates.VariantusvEXT)); + Delegates.glVariantusvEXT((UInt32)id, (UInt16*)addr); + } + internal static void Load_VDPAUFiniNV() + { + Delegates.glVDPAUFiniNV = (Delegates.VDPAUFiniNV)GetExtensionDelegateStatic("glVDPAUFiniNV", typeof(Delegates.VDPAUFiniNV)); + Delegates.glVDPAUFiniNV(); + } + internal static unsafe void Load_VDPAUGetSurfaceivNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + Delegates.glVDPAUGetSurfaceivNV = (Delegates.VDPAUGetSurfaceivNV)GetExtensionDelegateStatic("glVDPAUGetSurfaceivNV", typeof(Delegates.VDPAUGetSurfaceivNV)); + Delegates.glVDPAUGetSurfaceivNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + } + internal static void Load_VDPAUInitNV(IntPtr vdpDevice, IntPtr getProcAddress) + { + Delegates.glVDPAUInitNV = (Delegates.VDPAUInitNV)GetExtensionDelegateStatic("glVDPAUInitNV", typeof(Delegates.VDPAUInitNV)); + Delegates.glVDPAUInitNV((IntPtr)vdpDevice, (IntPtr)getProcAddress); + } + internal static void Load_VDPAUIsSurfaceNV(IntPtr surface) + { + Delegates.glVDPAUIsSurfaceNV = (Delegates.VDPAUIsSurfaceNV)GetExtensionDelegateStatic("glVDPAUIsSurfaceNV", typeof(Delegates.VDPAUIsSurfaceNV)); + Delegates.glVDPAUIsSurfaceNV((IntPtr)surface); + } + internal static unsafe void Load_VDPAUMapSurfacesNV(Int32 numSurfaces, IntPtr* surfaces) + { + Delegates.glVDPAUMapSurfacesNV = (Delegates.VDPAUMapSurfacesNV)GetExtensionDelegateStatic("glVDPAUMapSurfacesNV", typeof(Delegates.VDPAUMapSurfacesNV)); + Delegates.glVDPAUMapSurfacesNV((Int32)numSurfaces, (IntPtr*)surfaces); + } + internal static unsafe IntPtr Load_VDPAURegisterOutputSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + { + Delegates.glVDPAURegisterOutputSurfaceNV = (Delegates.VDPAURegisterOutputSurfaceNV)GetExtensionDelegateStatic("glVDPAURegisterOutputSurfaceNV", typeof(Delegates.VDPAURegisterOutputSurfaceNV)); + return Delegates.glVDPAURegisterOutputSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + internal static unsafe IntPtr Load_VDPAURegisterVideoSurfaceNV(IntPtr vdpSurface, OpenTK.Graphics.OpenGL.NvVdpauInterop target, Int32 numTextureNames, UInt32* textureNames) + { + Delegates.glVDPAURegisterVideoSurfaceNV = (Delegates.VDPAURegisterVideoSurfaceNV)GetExtensionDelegateStatic("glVDPAURegisterVideoSurfaceNV", typeof(Delegates.VDPAURegisterVideoSurfaceNV)); + return Delegates.glVDPAURegisterVideoSurfaceNV((IntPtr)vdpSurface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)target, (Int32)numTextureNames, (UInt32*)textureNames); + } + internal static void Load_VDPAUSurfaceAccessNV(IntPtr surface, OpenTK.Graphics.OpenGL.NvVdpauInterop access) + { + Delegates.glVDPAUSurfaceAccessNV = (Delegates.VDPAUSurfaceAccessNV)GetExtensionDelegateStatic("glVDPAUSurfaceAccessNV", typeof(Delegates.VDPAUSurfaceAccessNV)); + Delegates.glVDPAUSurfaceAccessNV((IntPtr)surface, (OpenTK.Graphics.OpenGL.NvVdpauInterop)access); + } + internal static unsafe void Load_VDPAUUnmapSurfacesNV(Int32 numSurface, IntPtr* surfaces) + { + Delegates.glVDPAUUnmapSurfacesNV = (Delegates.VDPAUUnmapSurfacesNV)GetExtensionDelegateStatic("glVDPAUUnmapSurfacesNV", typeof(Delegates.VDPAUUnmapSurfacesNV)); + Delegates.glVDPAUUnmapSurfacesNV((Int32)numSurface, (IntPtr*)surfaces); + } + internal static void Load_VDPAUUnregisterSurfaceNV(IntPtr surface) + { + Delegates.glVDPAUUnregisterSurfaceNV = (Delegates.VDPAUUnregisterSurfaceNV)GetExtensionDelegateStatic("glVDPAUUnregisterSurfaceNV", typeof(Delegates.VDPAUUnregisterSurfaceNV)); + Delegates.glVDPAUUnregisterSurfaceNV((IntPtr)surface); + } + internal static void Load_Vertex2bOES(SByte x) + { + Delegates.glVertex2bOES = (Delegates.Vertex2bOES)GetExtensionDelegateStatic("glVertex2bOES", typeof(Delegates.Vertex2bOES)); + Delegates.glVertex2bOES((SByte)x); + } + internal static unsafe void Load_Vertex2bvOES(SByte* coords) + { + Delegates.glVertex2bvOES = (Delegates.Vertex2bvOES)GetExtensionDelegateStatic("glVertex2bvOES", typeof(Delegates.Vertex2bvOES)); + Delegates.glVertex2bvOES((SByte*)coords); + } + internal static void Load_Vertex2d(Double x, Double y) + { + Delegates.glVertex2d = (Delegates.Vertex2d)GetExtensionDelegateStatic("glVertex2d", typeof(Delegates.Vertex2d)); + Delegates.glVertex2d((Double)x, (Double)y); + } + internal static unsafe void Load_Vertex2dv(Double* v) + { + Delegates.glVertex2dv = (Delegates.Vertex2dv)GetExtensionDelegateStatic("glVertex2dv", typeof(Delegates.Vertex2dv)); + Delegates.glVertex2dv((Double*)v); + } + internal static void Load_Vertex2f(Single x, Single y) + { + Delegates.glVertex2f = (Delegates.Vertex2f)GetExtensionDelegateStatic("glVertex2f", typeof(Delegates.Vertex2f)); + Delegates.glVertex2f((Single)x, (Single)y); + } + internal static unsafe void Load_Vertex2fv(Single* v) + { + Delegates.glVertex2fv = (Delegates.Vertex2fv)GetExtensionDelegateStatic("glVertex2fv", typeof(Delegates.Vertex2fv)); + Delegates.glVertex2fv((Single*)v); + } + internal static void Load_Vertex2hNV(Half x, Half y) + { + Delegates.glVertex2hNV = (Delegates.Vertex2hNV)GetExtensionDelegateStatic("glVertex2hNV", typeof(Delegates.Vertex2hNV)); + Delegates.glVertex2hNV((Half)x, (Half)y); + } + internal static unsafe void Load_Vertex2hvNV(Half* v) + { + Delegates.glVertex2hvNV = (Delegates.Vertex2hvNV)GetExtensionDelegateStatic("glVertex2hvNV", typeof(Delegates.Vertex2hvNV)); + Delegates.glVertex2hvNV((Half*)v); + } + internal static void Load_Vertex2i(Int32 x, Int32 y) + { + Delegates.glVertex2i = (Delegates.Vertex2i)GetExtensionDelegateStatic("glVertex2i", typeof(Delegates.Vertex2i)); + Delegates.glVertex2i((Int32)x, (Int32)y); + } + internal static unsafe void Load_Vertex2iv(Int32* v) + { + Delegates.glVertex2iv = (Delegates.Vertex2iv)GetExtensionDelegateStatic("glVertex2iv", typeof(Delegates.Vertex2iv)); + Delegates.glVertex2iv((Int32*)v); + } + internal static void Load_Vertex2s(Int16 x, Int16 y) + { + Delegates.glVertex2s = (Delegates.Vertex2s)GetExtensionDelegateStatic("glVertex2s", typeof(Delegates.Vertex2s)); + Delegates.glVertex2s((Int16)x, (Int16)y); + } + internal static unsafe void Load_Vertex2sv(Int16* v) + { + Delegates.glVertex2sv = (Delegates.Vertex2sv)GetExtensionDelegateStatic("glVertex2sv", typeof(Delegates.Vertex2sv)); + Delegates.glVertex2sv((Int16*)v); + } + internal static void Load_Vertex2xOES(int x) + { + Delegates.glVertex2xOES = (Delegates.Vertex2xOES)GetExtensionDelegateStatic("glVertex2xOES", typeof(Delegates.Vertex2xOES)); + Delegates.glVertex2xOES((int)x); + } + internal static unsafe void Load_Vertex2xvOES(int* coords) + { + Delegates.glVertex2xvOES = (Delegates.Vertex2xvOES)GetExtensionDelegateStatic("glVertex2xvOES", typeof(Delegates.Vertex2xvOES)); + Delegates.glVertex2xvOES((int*)coords); + } + internal static void Load_Vertex3bOES(SByte x, SByte y) + { + Delegates.glVertex3bOES = (Delegates.Vertex3bOES)GetExtensionDelegateStatic("glVertex3bOES", typeof(Delegates.Vertex3bOES)); + Delegates.glVertex3bOES((SByte)x, (SByte)y); + } + internal static unsafe void Load_Vertex3bvOES(SByte* coords) + { + Delegates.glVertex3bvOES = (Delegates.Vertex3bvOES)GetExtensionDelegateStatic("glVertex3bvOES", typeof(Delegates.Vertex3bvOES)); + Delegates.glVertex3bvOES((SByte*)coords); + } + internal static void Load_Vertex3d(Double x, Double y, Double z) + { + Delegates.glVertex3d = (Delegates.Vertex3d)GetExtensionDelegateStatic("glVertex3d", typeof(Delegates.Vertex3d)); + Delegates.glVertex3d((Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_Vertex3dv(Double* v) + { + Delegates.glVertex3dv = (Delegates.Vertex3dv)GetExtensionDelegateStatic("glVertex3dv", typeof(Delegates.Vertex3dv)); + Delegates.glVertex3dv((Double*)v); + } + internal static void Load_Vertex3f(Single x, Single y, Single z) + { + Delegates.glVertex3f = (Delegates.Vertex3f)GetExtensionDelegateStatic("glVertex3f", typeof(Delegates.Vertex3f)); + Delegates.glVertex3f((Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_Vertex3fv(Single* v) + { + Delegates.glVertex3fv = (Delegates.Vertex3fv)GetExtensionDelegateStatic("glVertex3fv", typeof(Delegates.Vertex3fv)); + Delegates.glVertex3fv((Single*)v); + } + internal static void Load_Vertex3hNV(Half x, Half y, Half z) + { + Delegates.glVertex3hNV = (Delegates.Vertex3hNV)GetExtensionDelegateStatic("glVertex3hNV", typeof(Delegates.Vertex3hNV)); + Delegates.glVertex3hNV((Half)x, (Half)y, (Half)z); + } + internal static unsafe void Load_Vertex3hvNV(Half* v) + { + Delegates.glVertex3hvNV = (Delegates.Vertex3hvNV)GetExtensionDelegateStatic("glVertex3hvNV", typeof(Delegates.Vertex3hvNV)); + Delegates.glVertex3hvNV((Half*)v); + } + internal static void Load_Vertex3i(Int32 x, Int32 y, Int32 z) + { + Delegates.glVertex3i = (Delegates.Vertex3i)GetExtensionDelegateStatic("glVertex3i", typeof(Delegates.Vertex3i)); + Delegates.glVertex3i((Int32)x, (Int32)y, (Int32)z); + } + internal static unsafe void Load_Vertex3iv(Int32* v) + { + Delegates.glVertex3iv = (Delegates.Vertex3iv)GetExtensionDelegateStatic("glVertex3iv", typeof(Delegates.Vertex3iv)); + Delegates.glVertex3iv((Int32*)v); + } + internal static void Load_Vertex3s(Int16 x, Int16 y, Int16 z) + { + Delegates.glVertex3s = (Delegates.Vertex3s)GetExtensionDelegateStatic("glVertex3s", typeof(Delegates.Vertex3s)); + Delegates.glVertex3s((Int16)x, (Int16)y, (Int16)z); + } + internal static unsafe void Load_Vertex3sv(Int16* v) + { + Delegates.glVertex3sv = (Delegates.Vertex3sv)GetExtensionDelegateStatic("glVertex3sv", typeof(Delegates.Vertex3sv)); + Delegates.glVertex3sv((Int16*)v); + } + internal static void Load_Vertex3xOES(int x, int y) + { + Delegates.glVertex3xOES = (Delegates.Vertex3xOES)GetExtensionDelegateStatic("glVertex3xOES", typeof(Delegates.Vertex3xOES)); + Delegates.glVertex3xOES((int)x, (int)y); + } + internal static unsafe void Load_Vertex3xvOES(int* coords) + { + Delegates.glVertex3xvOES = (Delegates.Vertex3xvOES)GetExtensionDelegateStatic("glVertex3xvOES", typeof(Delegates.Vertex3xvOES)); + Delegates.glVertex3xvOES((int*)coords); + } + internal static void Load_Vertex4bOES(SByte x, SByte y, SByte z) + { + Delegates.glVertex4bOES = (Delegates.Vertex4bOES)GetExtensionDelegateStatic("glVertex4bOES", typeof(Delegates.Vertex4bOES)); + Delegates.glVertex4bOES((SByte)x, (SByte)y, (SByte)z); + } + internal static unsafe void Load_Vertex4bvOES(SByte* coords) + { + Delegates.glVertex4bvOES = (Delegates.Vertex4bvOES)GetExtensionDelegateStatic("glVertex4bvOES", typeof(Delegates.Vertex4bvOES)); + Delegates.glVertex4bvOES((SByte*)coords); + } + internal static void Load_Vertex4d(Double x, Double y, Double z, Double w) + { + Delegates.glVertex4d = (Delegates.Vertex4d)GetExtensionDelegateStatic("glVertex4d", typeof(Delegates.Vertex4d)); + Delegates.glVertex4d((Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_Vertex4dv(Double* v) + { + Delegates.glVertex4dv = (Delegates.Vertex4dv)GetExtensionDelegateStatic("glVertex4dv", typeof(Delegates.Vertex4dv)); + Delegates.glVertex4dv((Double*)v); + } + internal static void Load_Vertex4f(Single x, Single y, Single z, Single w) + { + Delegates.glVertex4f = (Delegates.Vertex4f)GetExtensionDelegateStatic("glVertex4f", typeof(Delegates.Vertex4f)); + Delegates.glVertex4f((Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_Vertex4fv(Single* v) + { + Delegates.glVertex4fv = (Delegates.Vertex4fv)GetExtensionDelegateStatic("glVertex4fv", typeof(Delegates.Vertex4fv)); + Delegates.glVertex4fv((Single*)v); + } + internal static void Load_Vertex4hNV(Half x, Half y, Half z, Half w) + { + Delegates.glVertex4hNV = (Delegates.Vertex4hNV)GetExtensionDelegateStatic("glVertex4hNV", typeof(Delegates.Vertex4hNV)); + Delegates.glVertex4hNV((Half)x, (Half)y, (Half)z, (Half)w); + } + internal static unsafe void Load_Vertex4hvNV(Half* v) + { + Delegates.glVertex4hvNV = (Delegates.Vertex4hvNV)GetExtensionDelegateStatic("glVertex4hvNV", typeof(Delegates.Vertex4hvNV)); + Delegates.glVertex4hvNV((Half*)v); + } + internal static void Load_Vertex4i(Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glVertex4i = (Delegates.Vertex4i)GetExtensionDelegateStatic("glVertex4i", typeof(Delegates.Vertex4i)); + Delegates.glVertex4i((Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_Vertex4iv(Int32* v) + { + Delegates.glVertex4iv = (Delegates.Vertex4iv)GetExtensionDelegateStatic("glVertex4iv", typeof(Delegates.Vertex4iv)); + Delegates.glVertex4iv((Int32*)v); + } + internal static void Load_Vertex4s(Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glVertex4s = (Delegates.Vertex4s)GetExtensionDelegateStatic("glVertex4s", typeof(Delegates.Vertex4s)); + Delegates.glVertex4s((Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static unsafe void Load_Vertex4sv(Int16* v) + { + Delegates.glVertex4sv = (Delegates.Vertex4sv)GetExtensionDelegateStatic("glVertex4sv", typeof(Delegates.Vertex4sv)); + Delegates.glVertex4sv((Int16*)v); + } + internal static void Load_Vertex4xOES(int x, int y, int z) + { + Delegates.glVertex4xOES = (Delegates.Vertex4xOES)GetExtensionDelegateStatic("glVertex4xOES", typeof(Delegates.Vertex4xOES)); + Delegates.glVertex4xOES((int)x, (int)y, (int)z); + } + internal static unsafe void Load_Vertex4xvOES(int* coords) + { + Delegates.glVertex4xvOES = (Delegates.Vertex4xvOES)GetExtensionDelegateStatic("glVertex4xvOES", typeof(Delegates.Vertex4xvOES)); + Delegates.glVertex4xvOES((int*)coords); + } + internal static void Load_VertexArrayBindVertexBufferEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) + { + Delegates.glVertexArrayBindVertexBufferEXT = (Delegates.VertexArrayBindVertexBufferEXT)GetExtensionDelegateStatic("glVertexArrayBindVertexBufferEXT", typeof(Delegates.VertexArrayBindVertexBufferEXT)); + Delegates.glVertexArrayBindVertexBufferEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); + } + internal static void Load_VertexArrayColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayColorOffsetEXT = (Delegates.VertexArrayColorOffsetEXT)GetExtensionDelegateStatic("glVertexArrayColorOffsetEXT", typeof(Delegates.VertexArrayColorOffsetEXT)); + Delegates.glVertexArrayColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayEdgeFlagOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayEdgeFlagOffsetEXT = (Delegates.VertexArrayEdgeFlagOffsetEXT)GetExtensionDelegateStatic("glVertexArrayEdgeFlagOffsetEXT", typeof(Delegates.VertexArrayEdgeFlagOffsetEXT)); + Delegates.glVertexArrayEdgeFlagOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayFogCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.FogPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayFogCoordOffsetEXT = (Delegates.VertexArrayFogCoordOffsetEXT)GetExtensionDelegateStatic("glVertexArrayFogCoordOffsetEXT", typeof(Delegates.VertexArrayFogCoordOffsetEXT)); + Delegates.glVertexArrayFogCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.FogPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayIndexOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.IndexPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayIndexOffsetEXT = (Delegates.VertexArrayIndexOffsetEXT)GetExtensionDelegateStatic("glVertexArrayIndexOffsetEXT", typeof(Delegates.VertexArrayIndexOffsetEXT)); + Delegates.glVertexArrayIndexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.IndexPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayMultiTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.ExtDirectStateAccess texunit, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayMultiTexCoordOffsetEXT = (Delegates.VertexArrayMultiTexCoordOffsetEXT)GetExtensionDelegateStatic("glVertexArrayMultiTexCoordOffsetEXT", typeof(Delegates.VertexArrayMultiTexCoordOffsetEXT)); + Delegates.glVertexArrayMultiTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)texunit, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayNormalOffsetEXT(UInt32 vaobj, UInt32 buffer, OpenTK.Graphics.OpenGL.NormalPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayNormalOffsetEXT = (Delegates.VertexArrayNormalOffsetEXT)GetExtensionDelegateStatic("glVertexArrayNormalOffsetEXT", typeof(Delegates.VertexArrayNormalOffsetEXT)); + Delegates.glVertexArrayNormalOffsetEXT((UInt32)vaobj, (UInt32)buffer, (OpenTK.Graphics.OpenGL.NormalPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayParameteriAPPLE(OpenTK.Graphics.OpenGL.AppleVertexArrayRange pname, Int32 param) + { + Delegates.glVertexArrayParameteriAPPLE = (Delegates.VertexArrayParameteriAPPLE)GetExtensionDelegateStatic("glVertexArrayParameteriAPPLE", typeof(Delegates.VertexArrayParameteriAPPLE)); + Delegates.glVertexArrayParameteriAPPLE((OpenTK.Graphics.OpenGL.AppleVertexArrayRange)pname, (Int32)param); + } + internal static void Load_VertexArrayRangeAPPLE(Int32 length, [OutAttribute] IntPtr pointer) + { + Delegates.glVertexArrayRangeAPPLE = (Delegates.VertexArrayRangeAPPLE)GetExtensionDelegateStatic("glVertexArrayRangeAPPLE", typeof(Delegates.VertexArrayRangeAPPLE)); + Delegates.glVertexArrayRangeAPPLE((Int32)length, (IntPtr)pointer); + } + internal static void Load_VertexArrayRangeNV(Int32 length, IntPtr pointer) + { + Delegates.glVertexArrayRangeNV = (Delegates.VertexArrayRangeNV)GetExtensionDelegateStatic("glVertexArrayRangeNV", typeof(Delegates.VertexArrayRangeNV)); + Delegates.glVertexArrayRangeNV((Int32)length, (IntPtr)pointer); + } + internal static void Load_VertexArraySecondaryColorOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.ColorPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArraySecondaryColorOffsetEXT = (Delegates.VertexArraySecondaryColorOffsetEXT)GetExtensionDelegateStatic("glVertexArraySecondaryColorOffsetEXT", typeof(Delegates.VertexArraySecondaryColorOffsetEXT)); + Delegates.glVertexArraySecondaryColorOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.ColorPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayTexCoordOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.TexCoordPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayTexCoordOffsetEXT = (Delegates.VertexArrayTexCoordOffsetEXT)GetExtensionDelegateStatic("glVertexArrayTexCoordOffsetEXT", typeof(Delegates.VertexArrayTexCoordOffsetEXT)); + Delegates.glVertexArrayTexCoordOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.TexCoordPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayVertexAttribBindingEXT(UInt32 vaobj, UInt32 attribindex, UInt32 bindingindex) + { + Delegates.glVertexArrayVertexAttribBindingEXT = (Delegates.VertexArrayVertexAttribBindingEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribBindingEXT", typeof(Delegates.VertexArrayVertexAttribBindingEXT)); + Delegates.glVertexArrayVertexAttribBindingEXT((UInt32)vaobj, (UInt32)attribindex, (UInt32)bindingindex); + } + internal static void Load_VertexArrayVertexAttribDivisorEXT(UInt32 vaobj, UInt32 index, UInt32 divisor) + { + Delegates.glVertexArrayVertexAttribDivisorEXT = (Delegates.VertexArrayVertexAttribDivisorEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribDivisorEXT", typeof(Delegates.VertexArrayVertexAttribDivisorEXT)); + Delegates.glVertexArrayVertexAttribDivisorEXT((UInt32)vaobj, (UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexArrayVertexAttribFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, bool normalized, UInt32 relativeoffset) + { + Delegates.glVertexArrayVertexAttribFormatEXT = (Delegates.VertexArrayVertexAttribFormatEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribFormatEXT", typeof(Delegates.VertexArrayVertexAttribFormatEXT)); + Delegates.glVertexArrayVertexAttribFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (bool)normalized, (UInt32)relativeoffset); + } + internal static void Load_VertexArrayVertexAttribIFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) + { + Delegates.glVertexArrayVertexAttribIFormatEXT = (Delegates.VertexArrayVertexAttribIFormatEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribIFormatEXT", typeof(Delegates.VertexArrayVertexAttribIFormatEXT)); + Delegates.glVertexArrayVertexAttribIFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); + } + internal static void Load_VertexArrayVertexAttribIOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayVertexAttribIOffsetEXT = (Delegates.VertexArrayVertexAttribIOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribIOffsetEXT", typeof(Delegates.VertexArrayVertexAttribIOffsetEXT)); + Delegates.glVertexArrayVertexAttribIOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayVertexAttribLFormatEXT(UInt32 vaobj, UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, UInt32 relativeoffset) + { + Delegates.glVertexArrayVertexAttribLFormatEXT = (Delegates.VertexArrayVertexAttribLFormatEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribLFormatEXT", typeof(Delegates.VertexArrayVertexAttribLFormatEXT)); + Delegates.glVertexArrayVertexAttribLFormatEXT((UInt32)vaobj, (UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (UInt32)relativeoffset); + } + internal static void Load_VertexArrayVertexAttribLOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtDirectStateAccess type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayVertexAttribLOffsetEXT = (Delegates.VertexArrayVertexAttribLOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribLOffsetEXT", typeof(Delegates.VertexArrayVertexAttribLOffsetEXT)); + Delegates.glVertexArrayVertexAttribLOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtDirectStateAccess)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayVertexAttribOffsetEXT(UInt32 vaobj, UInt32 buffer, UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayVertexAttribOffsetEXT = (Delegates.VertexArrayVertexAttribOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexAttribOffsetEXT", typeof(Delegates.VertexArrayVertexAttribOffsetEXT)); + Delegates.glVertexArrayVertexAttribOffsetEXT((UInt32)vaobj, (UInt32)buffer, (UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexArrayVertexBindingDivisorEXT(UInt32 vaobj, UInt32 bindingindex, UInt32 divisor) + { + Delegates.glVertexArrayVertexBindingDivisorEXT = (Delegates.VertexArrayVertexBindingDivisorEXT)GetExtensionDelegateStatic("glVertexArrayVertexBindingDivisorEXT", typeof(Delegates.VertexArrayVertexBindingDivisorEXT)); + Delegates.glVertexArrayVertexBindingDivisorEXT((UInt32)vaobj, (UInt32)bindingindex, (UInt32)divisor); + } + internal static void Load_VertexArrayVertexOffsetEXT(UInt32 vaobj, UInt32 buffer, Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr offset) + { + Delegates.glVertexArrayVertexOffsetEXT = (Delegates.VertexArrayVertexOffsetEXT)GetExtensionDelegateStatic("glVertexArrayVertexOffsetEXT", typeof(Delegates.VertexArrayVertexOffsetEXT)); + Delegates.glVertexArrayVertexOffsetEXT((UInt32)vaobj, (UInt32)buffer, (Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)offset); + } + internal static void Load_VertexAttrib1d(UInt32 index, Double x) + { + Delegates.glVertexAttrib1d = (Delegates.VertexAttrib1d)GetExtensionDelegateStatic("glVertexAttrib1d", typeof(Delegates.VertexAttrib1d)); + Delegates.glVertexAttrib1d((UInt32)index, (Double)x); + } + internal static void Load_VertexAttrib1dARB(UInt32 index, Double x) + { + Delegates.glVertexAttrib1dARB = (Delegates.VertexAttrib1dARB)GetExtensionDelegateStatic("glVertexAttrib1dARB", typeof(Delegates.VertexAttrib1dARB)); + Delegates.glVertexAttrib1dARB((UInt32)index, (Double)x); + } + internal static void Load_VertexAttrib1dNV(UInt32 index, Double x) + { + Delegates.glVertexAttrib1dNV = (Delegates.VertexAttrib1dNV)GetExtensionDelegateStatic("glVertexAttrib1dNV", typeof(Delegates.VertexAttrib1dNV)); + Delegates.glVertexAttrib1dNV((UInt32)index, (Double)x); + } + internal static unsafe void Load_VertexAttrib1dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib1dv = (Delegates.VertexAttrib1dv)GetExtensionDelegateStatic("glVertexAttrib1dv", typeof(Delegates.VertexAttrib1dv)); + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib1dvARB(UInt32 index, Double* v) + { + Delegates.glVertexAttrib1dvARB = (Delegates.VertexAttrib1dvARB)GetExtensionDelegateStatic("glVertexAttrib1dvARB", typeof(Delegates.VertexAttrib1dvARB)); + Delegates.glVertexAttrib1dvARB((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib1dvNV(UInt32 index, Double* v) + { + Delegates.glVertexAttrib1dvNV = (Delegates.VertexAttrib1dvNV)GetExtensionDelegateStatic("glVertexAttrib1dvNV", typeof(Delegates.VertexAttrib1dvNV)); + Delegates.glVertexAttrib1dvNV((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib1f(UInt32 index, Single x) + { + Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + } + internal static void Load_VertexAttrib1fARB(UInt32 index, Single x) + { + Delegates.glVertexAttrib1fARB = (Delegates.VertexAttrib1fARB)GetExtensionDelegateStatic("glVertexAttrib1fARB", typeof(Delegates.VertexAttrib1fARB)); + Delegates.glVertexAttrib1fARB((UInt32)index, (Single)x); + } + internal static void Load_VertexAttrib1fNV(UInt32 index, Single x) + { + Delegates.glVertexAttrib1fNV = (Delegates.VertexAttrib1fNV)GetExtensionDelegateStatic("glVertexAttrib1fNV", typeof(Delegates.VertexAttrib1fNV)); + Delegates.glVertexAttrib1fNV((UInt32)index, (Single)x); + } + internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib1fvARB(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fvARB = (Delegates.VertexAttrib1fvARB)GetExtensionDelegateStatic("glVertexAttrib1fvARB", typeof(Delegates.VertexAttrib1fvARB)); + Delegates.glVertexAttrib1fvARB((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib1fvNV(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fvNV = (Delegates.VertexAttrib1fvNV)GetExtensionDelegateStatic("glVertexAttrib1fvNV", typeof(Delegates.VertexAttrib1fvNV)); + Delegates.glVertexAttrib1fvNV((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib1hNV(UInt32 index, Half x) + { + Delegates.glVertexAttrib1hNV = (Delegates.VertexAttrib1hNV)GetExtensionDelegateStatic("glVertexAttrib1hNV", typeof(Delegates.VertexAttrib1hNV)); + Delegates.glVertexAttrib1hNV((UInt32)index, (Half)x); + } + internal static unsafe void Load_VertexAttrib1hvNV(UInt32 index, Half* v) + { + Delegates.glVertexAttrib1hvNV = (Delegates.VertexAttrib1hvNV)GetExtensionDelegateStatic("glVertexAttrib1hvNV", typeof(Delegates.VertexAttrib1hvNV)); + Delegates.glVertexAttrib1hvNV((UInt32)index, (Half*)v); + } + internal static void Load_VertexAttrib1s(UInt32 index, Int16 x) + { + Delegates.glVertexAttrib1s = (Delegates.VertexAttrib1s)GetExtensionDelegateStatic("glVertexAttrib1s", typeof(Delegates.VertexAttrib1s)); + Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); + } + internal static void Load_VertexAttrib1sARB(UInt32 index, Int16 x) + { + Delegates.glVertexAttrib1sARB = (Delegates.VertexAttrib1sARB)GetExtensionDelegateStatic("glVertexAttrib1sARB", typeof(Delegates.VertexAttrib1sARB)); + Delegates.glVertexAttrib1sARB((UInt32)index, (Int16)x); + } + internal static void Load_VertexAttrib1sNV(UInt32 index, Int16 x) + { + Delegates.glVertexAttrib1sNV = (Delegates.VertexAttrib1sNV)GetExtensionDelegateStatic("glVertexAttrib1sNV", typeof(Delegates.VertexAttrib1sNV)); + Delegates.glVertexAttrib1sNV((UInt32)index, (Int16)x); + } + internal static unsafe void Load_VertexAttrib1sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib1sv = (Delegates.VertexAttrib1sv)GetExtensionDelegateStatic("glVertexAttrib1sv", typeof(Delegates.VertexAttrib1sv)); + Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib1svARB(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib1svARB = (Delegates.VertexAttrib1svARB)GetExtensionDelegateStatic("glVertexAttrib1svARB", typeof(Delegates.VertexAttrib1svARB)); + Delegates.glVertexAttrib1svARB((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib1svNV(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib1svNV = (Delegates.VertexAttrib1svNV)GetExtensionDelegateStatic("glVertexAttrib1svNV", typeof(Delegates.VertexAttrib1svNV)); + Delegates.glVertexAttrib1svNV((UInt32)index, (Int16*)v); + } + internal static void Load_VertexAttrib2d(UInt32 index, Double x, Double y) + { + Delegates.glVertexAttrib2d = (Delegates.VertexAttrib2d)GetExtensionDelegateStatic("glVertexAttrib2d", typeof(Delegates.VertexAttrib2d)); + Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); + } + internal static void Load_VertexAttrib2dARB(UInt32 index, Double x, Double y) + { + Delegates.glVertexAttrib2dARB = (Delegates.VertexAttrib2dARB)GetExtensionDelegateStatic("glVertexAttrib2dARB", typeof(Delegates.VertexAttrib2dARB)); + Delegates.glVertexAttrib2dARB((UInt32)index, (Double)x, (Double)y); + } + internal static void Load_VertexAttrib2dNV(UInt32 index, Double x, Double y) + { + Delegates.glVertexAttrib2dNV = (Delegates.VertexAttrib2dNV)GetExtensionDelegateStatic("glVertexAttrib2dNV", typeof(Delegates.VertexAttrib2dNV)); + Delegates.glVertexAttrib2dNV((UInt32)index, (Double)x, (Double)y); + } + internal static unsafe void Load_VertexAttrib2dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib2dv = (Delegates.VertexAttrib2dv)GetExtensionDelegateStatic("glVertexAttrib2dv", typeof(Delegates.VertexAttrib2dv)); + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib2dvARB(UInt32 index, Double* v) + { + Delegates.glVertexAttrib2dvARB = (Delegates.VertexAttrib2dvARB)GetExtensionDelegateStatic("glVertexAttrib2dvARB", typeof(Delegates.VertexAttrib2dvARB)); + Delegates.glVertexAttrib2dvARB((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib2dvNV(UInt32 index, Double* v) + { + Delegates.glVertexAttrib2dvNV = (Delegates.VertexAttrib2dvNV)GetExtensionDelegateStatic("glVertexAttrib2dvNV", typeof(Delegates.VertexAttrib2dvNV)); + Delegates.glVertexAttrib2dvNV((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) + { + Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); + Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); + } + internal static void Load_VertexAttrib2fARB(UInt32 index, Single x, Single y) + { + Delegates.glVertexAttrib2fARB = (Delegates.VertexAttrib2fARB)GetExtensionDelegateStatic("glVertexAttrib2fARB", typeof(Delegates.VertexAttrib2fARB)); + Delegates.glVertexAttrib2fARB((UInt32)index, (Single)x, (Single)y); + } + internal static void Load_VertexAttrib2fNV(UInt32 index, Single x, Single y) + { + Delegates.glVertexAttrib2fNV = (Delegates.VertexAttrib2fNV)GetExtensionDelegateStatic("glVertexAttrib2fNV", typeof(Delegates.VertexAttrib2fNV)); + Delegates.glVertexAttrib2fNV((UInt32)index, (Single)x, (Single)y); + } + internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib2fvARB(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fvARB = (Delegates.VertexAttrib2fvARB)GetExtensionDelegateStatic("glVertexAttrib2fvARB", typeof(Delegates.VertexAttrib2fvARB)); + Delegates.glVertexAttrib2fvARB((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib2fvNV(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fvNV = (Delegates.VertexAttrib2fvNV)GetExtensionDelegateStatic("glVertexAttrib2fvNV", typeof(Delegates.VertexAttrib2fvNV)); + Delegates.glVertexAttrib2fvNV((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib2hNV(UInt32 index, Half x, Half y) + { + Delegates.glVertexAttrib2hNV = (Delegates.VertexAttrib2hNV)GetExtensionDelegateStatic("glVertexAttrib2hNV", typeof(Delegates.VertexAttrib2hNV)); + Delegates.glVertexAttrib2hNV((UInt32)index, (Half)x, (Half)y); + } + internal static unsafe void Load_VertexAttrib2hvNV(UInt32 index, Half* v) + { + Delegates.glVertexAttrib2hvNV = (Delegates.VertexAttrib2hvNV)GetExtensionDelegateStatic("glVertexAttrib2hvNV", typeof(Delegates.VertexAttrib2hvNV)); + Delegates.glVertexAttrib2hvNV((UInt32)index, (Half*)v); + } + internal static void Load_VertexAttrib2s(UInt32 index, Int16 x, Int16 y) + { + Delegates.glVertexAttrib2s = (Delegates.VertexAttrib2s)GetExtensionDelegateStatic("glVertexAttrib2s", typeof(Delegates.VertexAttrib2s)); + Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); + } + internal static void Load_VertexAttrib2sARB(UInt32 index, Int16 x, Int16 y) + { + Delegates.glVertexAttrib2sARB = (Delegates.VertexAttrib2sARB)GetExtensionDelegateStatic("glVertexAttrib2sARB", typeof(Delegates.VertexAttrib2sARB)); + Delegates.glVertexAttrib2sARB((UInt32)index, (Int16)x, (Int16)y); + } + internal static void Load_VertexAttrib2sNV(UInt32 index, Int16 x, Int16 y) + { + Delegates.glVertexAttrib2sNV = (Delegates.VertexAttrib2sNV)GetExtensionDelegateStatic("glVertexAttrib2sNV", typeof(Delegates.VertexAttrib2sNV)); + Delegates.glVertexAttrib2sNV((UInt32)index, (Int16)x, (Int16)y); + } + internal static unsafe void Load_VertexAttrib2sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib2sv = (Delegates.VertexAttrib2sv)GetExtensionDelegateStatic("glVertexAttrib2sv", typeof(Delegates.VertexAttrib2sv)); + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib2svARB(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib2svARB = (Delegates.VertexAttrib2svARB)GetExtensionDelegateStatic("glVertexAttrib2svARB", typeof(Delegates.VertexAttrib2svARB)); + Delegates.glVertexAttrib2svARB((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib2svNV(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib2svNV = (Delegates.VertexAttrib2svNV)GetExtensionDelegateStatic("glVertexAttrib2svNV", typeof(Delegates.VertexAttrib2svNV)); + Delegates.glVertexAttrib2svNV((UInt32)index, (Int16*)v); + } + internal static void Load_VertexAttrib3d(UInt32 index, Double x, Double y, Double z) + { + Delegates.glVertexAttrib3d = (Delegates.VertexAttrib3d)GetExtensionDelegateStatic("glVertexAttrib3d", typeof(Delegates.VertexAttrib3d)); + Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); + } + internal static void Load_VertexAttrib3dARB(UInt32 index, Double x, Double y, Double z) + { + Delegates.glVertexAttrib3dARB = (Delegates.VertexAttrib3dARB)GetExtensionDelegateStatic("glVertexAttrib3dARB", typeof(Delegates.VertexAttrib3dARB)); + Delegates.glVertexAttrib3dARB((UInt32)index, (Double)x, (Double)y, (Double)z); + } + internal static void Load_VertexAttrib3dNV(UInt32 index, Double x, Double y, Double z) + { + Delegates.glVertexAttrib3dNV = (Delegates.VertexAttrib3dNV)GetExtensionDelegateStatic("glVertexAttrib3dNV", typeof(Delegates.VertexAttrib3dNV)); + Delegates.glVertexAttrib3dNV((UInt32)index, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_VertexAttrib3dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib3dv = (Delegates.VertexAttrib3dv)GetExtensionDelegateStatic("glVertexAttrib3dv", typeof(Delegates.VertexAttrib3dv)); + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib3dvARB(UInt32 index, Double* v) + { + Delegates.glVertexAttrib3dvARB = (Delegates.VertexAttrib3dvARB)GetExtensionDelegateStatic("glVertexAttrib3dvARB", typeof(Delegates.VertexAttrib3dvARB)); + Delegates.glVertexAttrib3dvARB((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib3dvNV(UInt32 index, Double* v) + { + Delegates.glVertexAttrib3dvNV = (Delegates.VertexAttrib3dvNV)GetExtensionDelegateStatic("glVertexAttrib3dvNV", typeof(Delegates.VertexAttrib3dvNV)); + Delegates.glVertexAttrib3dvNV((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) + { + Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); + Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); + } + internal static void Load_VertexAttrib3fARB(UInt32 index, Single x, Single y, Single z) + { + Delegates.glVertexAttrib3fARB = (Delegates.VertexAttrib3fARB)GetExtensionDelegateStatic("glVertexAttrib3fARB", typeof(Delegates.VertexAttrib3fARB)); + Delegates.glVertexAttrib3fARB((UInt32)index, (Single)x, (Single)y, (Single)z); + } + internal static void Load_VertexAttrib3fNV(UInt32 index, Single x, Single y, Single z) + { + Delegates.glVertexAttrib3fNV = (Delegates.VertexAttrib3fNV)GetExtensionDelegateStatic("glVertexAttrib3fNV", typeof(Delegates.VertexAttrib3fNV)); + Delegates.glVertexAttrib3fNV((UInt32)index, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib3fvARB(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fvARB = (Delegates.VertexAttrib3fvARB)GetExtensionDelegateStatic("glVertexAttrib3fvARB", typeof(Delegates.VertexAttrib3fvARB)); + Delegates.glVertexAttrib3fvARB((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib3fvNV(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fvNV = (Delegates.VertexAttrib3fvNV)GetExtensionDelegateStatic("glVertexAttrib3fvNV", typeof(Delegates.VertexAttrib3fvNV)); + Delegates.glVertexAttrib3fvNV((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib3hNV(UInt32 index, Half x, Half y, Half z) + { + Delegates.glVertexAttrib3hNV = (Delegates.VertexAttrib3hNV)GetExtensionDelegateStatic("glVertexAttrib3hNV", typeof(Delegates.VertexAttrib3hNV)); + Delegates.glVertexAttrib3hNV((UInt32)index, (Half)x, (Half)y, (Half)z); + } + internal static unsafe void Load_VertexAttrib3hvNV(UInt32 index, Half* v) + { + Delegates.glVertexAttrib3hvNV = (Delegates.VertexAttrib3hvNV)GetExtensionDelegateStatic("glVertexAttrib3hvNV", typeof(Delegates.VertexAttrib3hvNV)); + Delegates.glVertexAttrib3hvNV((UInt32)index, (Half*)v); + } + internal static void Load_VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z) + { + Delegates.glVertexAttrib3s = (Delegates.VertexAttrib3s)GetExtensionDelegateStatic("glVertexAttrib3s", typeof(Delegates.VertexAttrib3s)); + Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + } + internal static void Load_VertexAttrib3sARB(UInt32 index, Int16 x, Int16 y, Int16 z) + { + Delegates.glVertexAttrib3sARB = (Delegates.VertexAttrib3sARB)GetExtensionDelegateStatic("glVertexAttrib3sARB", typeof(Delegates.VertexAttrib3sARB)); + Delegates.glVertexAttrib3sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + } + internal static void Load_VertexAttrib3sNV(UInt32 index, Int16 x, Int16 y, Int16 z) + { + Delegates.glVertexAttrib3sNV = (Delegates.VertexAttrib3sNV)GetExtensionDelegateStatic("glVertexAttrib3sNV", typeof(Delegates.VertexAttrib3sNV)); + Delegates.glVertexAttrib3sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + } + internal static unsafe void Load_VertexAttrib3sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib3sv = (Delegates.VertexAttrib3sv)GetExtensionDelegateStatic("glVertexAttrib3sv", typeof(Delegates.VertexAttrib3sv)); + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib3svARB(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib3svARB = (Delegates.VertexAttrib3svARB)GetExtensionDelegateStatic("glVertexAttrib3svARB", typeof(Delegates.VertexAttrib3svARB)); + Delegates.glVertexAttrib3svARB((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib3svNV(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib3svNV = (Delegates.VertexAttrib3svNV)GetExtensionDelegateStatic("glVertexAttrib3svNV", typeof(Delegates.VertexAttrib3svNV)); + Delegates.glVertexAttrib3svNV((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib4bv(UInt32 index, SByte* v) + { + Delegates.glVertexAttrib4bv = (Delegates.VertexAttrib4bv)GetExtensionDelegateStatic("glVertexAttrib4bv", typeof(Delegates.VertexAttrib4bv)); + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); + } + internal static unsafe void Load_VertexAttrib4bvARB(UInt32 index, SByte* v) + { + Delegates.glVertexAttrib4bvARB = (Delegates.VertexAttrib4bvARB)GetExtensionDelegateStatic("glVertexAttrib4bvARB", typeof(Delegates.VertexAttrib4bvARB)); + Delegates.glVertexAttrib4bvARB((UInt32)index, (SByte*)v); + } + internal static void Load_VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glVertexAttrib4d = (Delegates.VertexAttrib4d)GetExtensionDelegateStatic("glVertexAttrib4d", typeof(Delegates.VertexAttrib4d)); + Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static void Load_VertexAttrib4dARB(UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glVertexAttrib4dARB = (Delegates.VertexAttrib4dARB)GetExtensionDelegateStatic("glVertexAttrib4dARB", typeof(Delegates.VertexAttrib4dARB)); + Delegates.glVertexAttrib4dARB((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static void Load_VertexAttrib4dNV(UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glVertexAttrib4dNV = (Delegates.VertexAttrib4dNV)GetExtensionDelegateStatic("glVertexAttrib4dNV", typeof(Delegates.VertexAttrib4dNV)); + Delegates.glVertexAttrib4dNV((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_VertexAttrib4dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib4dv = (Delegates.VertexAttrib4dv)GetExtensionDelegateStatic("glVertexAttrib4dv", typeof(Delegates.VertexAttrib4dv)); + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib4dvARB(UInt32 index, Double* v) + { + Delegates.glVertexAttrib4dvARB = (Delegates.VertexAttrib4dvARB)GetExtensionDelegateStatic("glVertexAttrib4dvARB", typeof(Delegates.VertexAttrib4dvARB)); + Delegates.glVertexAttrib4dvARB((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttrib4dvNV(UInt32 index, Double* v) + { + Delegates.glVertexAttrib4dvNV = (Delegates.VertexAttrib4dvNV)GetExtensionDelegateStatic("glVertexAttrib4dvNV", typeof(Delegates.VertexAttrib4dvNV)); + Delegates.glVertexAttrib4dvNV((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); + Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static void Load_VertexAttrib4fARB(UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glVertexAttrib4fARB = (Delegates.VertexAttrib4fARB)GetExtensionDelegateStatic("glVertexAttrib4fARB", typeof(Delegates.VertexAttrib4fARB)); + Delegates.glVertexAttrib4fARB((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static void Load_VertexAttrib4fNV(UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glVertexAttrib4fNV = (Delegates.VertexAttrib4fNV)GetExtensionDelegateStatic("glVertexAttrib4fNV", typeof(Delegates.VertexAttrib4fNV)); + Delegates.glVertexAttrib4fNV((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib4fvARB(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fvARB = (Delegates.VertexAttrib4fvARB)GetExtensionDelegateStatic("glVertexAttrib4fvARB", typeof(Delegates.VertexAttrib4fvARB)); + Delegates.glVertexAttrib4fvARB((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib4fvNV(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fvNV = (Delegates.VertexAttrib4fvNV)GetExtensionDelegateStatic("glVertexAttrib4fvNV", typeof(Delegates.VertexAttrib4fvNV)); + Delegates.glVertexAttrib4fvNV((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib4hNV(UInt32 index, Half x, Half y, Half z, Half w) + { + Delegates.glVertexAttrib4hNV = (Delegates.VertexAttrib4hNV)GetExtensionDelegateStatic("glVertexAttrib4hNV", typeof(Delegates.VertexAttrib4hNV)); + Delegates.glVertexAttrib4hNV((UInt32)index, (Half)x, (Half)y, (Half)z, (Half)w); + } + internal static unsafe void Load_VertexAttrib4hvNV(UInt32 index, Half* v) + { + Delegates.glVertexAttrib4hvNV = (Delegates.VertexAttrib4hvNV)GetExtensionDelegateStatic("glVertexAttrib4hvNV", typeof(Delegates.VertexAttrib4hvNV)); + Delegates.glVertexAttrib4hvNV((UInt32)index, (Half*)v); + } + internal static unsafe void Load_VertexAttrib4iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttrib4iv = (Delegates.VertexAttrib4iv)GetExtensionDelegateStatic("glVertexAttrib4iv", typeof(Delegates.VertexAttrib4iv)); + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttrib4ivARB(UInt32 index, Int32* v) + { + Delegates.glVertexAttrib4ivARB = (Delegates.VertexAttrib4ivARB)GetExtensionDelegateStatic("glVertexAttrib4ivARB", typeof(Delegates.VertexAttrib4ivARB)); + Delegates.glVertexAttrib4ivARB((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttrib4Nbv(UInt32 index, SByte* v) + { + Delegates.glVertexAttrib4Nbv = (Delegates.VertexAttrib4Nbv)GetExtensionDelegateStatic("glVertexAttrib4Nbv", typeof(Delegates.VertexAttrib4Nbv)); + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); + } + internal static unsafe void Load_VertexAttrib4NbvARB(UInt32 index, SByte* v) + { + Delegates.glVertexAttrib4NbvARB = (Delegates.VertexAttrib4NbvARB)GetExtensionDelegateStatic("glVertexAttrib4NbvARB", typeof(Delegates.VertexAttrib4NbvARB)); + Delegates.glVertexAttrib4NbvARB((UInt32)index, (SByte*)v); + } + internal static unsafe void Load_VertexAttrib4Niv(UInt32 index, Int32* v) + { + Delegates.glVertexAttrib4Niv = (Delegates.VertexAttrib4Niv)GetExtensionDelegateStatic("glVertexAttrib4Niv", typeof(Delegates.VertexAttrib4Niv)); + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttrib4NivARB(UInt32 index, Int32* v) + { + Delegates.glVertexAttrib4NivARB = (Delegates.VertexAttrib4NivARB)GetExtensionDelegateStatic("glVertexAttrib4NivARB", typeof(Delegates.VertexAttrib4NivARB)); + Delegates.glVertexAttrib4NivARB((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttrib4Nsv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4Nsv = (Delegates.VertexAttrib4Nsv)GetExtensionDelegateStatic("glVertexAttrib4Nsv", typeof(Delegates.VertexAttrib4Nsv)); + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib4NsvARB(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4NsvARB = (Delegates.VertexAttrib4NsvARB)GetExtensionDelegateStatic("glVertexAttrib4NsvARB", typeof(Delegates.VertexAttrib4NsvARB)); + Delegates.glVertexAttrib4NsvARB((UInt32)index, (Int16*)v); + } + internal static void Load_VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + Delegates.glVertexAttrib4Nub = (Delegates.VertexAttrib4Nub)GetExtensionDelegateStatic("glVertexAttrib4Nub", typeof(Delegates.VertexAttrib4Nub)); + Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + } + internal static void Load_VertexAttrib4NubARB(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + Delegates.glVertexAttrib4NubARB = (Delegates.VertexAttrib4NubARB)GetExtensionDelegateStatic("glVertexAttrib4NubARB", typeof(Delegates.VertexAttrib4NubARB)); + Delegates.glVertexAttrib4NubARB((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + } + internal static unsafe void Load_VertexAttrib4Nubv(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4Nubv = (Delegates.VertexAttrib4Nubv)GetExtensionDelegateStatic("glVertexAttrib4Nubv", typeof(Delegates.VertexAttrib4Nubv)); + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttrib4NubvARB(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4NubvARB = (Delegates.VertexAttrib4NubvARB)GetExtensionDelegateStatic("glVertexAttrib4NubvARB", typeof(Delegates.VertexAttrib4NubvARB)); + Delegates.glVertexAttrib4NubvARB((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttrib4Nuiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttrib4Nuiv = (Delegates.VertexAttrib4Nuiv)GetExtensionDelegateStatic("glVertexAttrib4Nuiv", typeof(Delegates.VertexAttrib4Nuiv)); + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttrib4NuivARB(UInt32 index, UInt32* v) + { + Delegates.glVertexAttrib4NuivARB = (Delegates.VertexAttrib4NuivARB)GetExtensionDelegateStatic("glVertexAttrib4NuivARB", typeof(Delegates.VertexAttrib4NuivARB)); + Delegates.glVertexAttrib4NuivARB((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttrib4Nusv(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib4Nusv = (Delegates.VertexAttrib4Nusv)GetExtensionDelegateStatic("glVertexAttrib4Nusv", typeof(Delegates.VertexAttrib4Nusv)); + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + } + internal static unsafe void Load_VertexAttrib4NusvARB(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib4NusvARB = (Delegates.VertexAttrib4NusvARB)GetExtensionDelegateStatic("glVertexAttrib4NusvARB", typeof(Delegates.VertexAttrib4NusvARB)); + Delegates.glVertexAttrib4NusvARB((UInt32)index, (UInt16*)v); + } + internal static void Load_VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glVertexAttrib4s = (Delegates.VertexAttrib4s)GetExtensionDelegateStatic("glVertexAttrib4s", typeof(Delegates.VertexAttrib4s)); + Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static void Load_VertexAttrib4sARB(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glVertexAttrib4sARB = (Delegates.VertexAttrib4sARB)GetExtensionDelegateStatic("glVertexAttrib4sARB", typeof(Delegates.VertexAttrib4sARB)); + Delegates.glVertexAttrib4sARB((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static void Load_VertexAttrib4sNV(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glVertexAttrib4sNV = (Delegates.VertexAttrib4sNV)GetExtensionDelegateStatic("glVertexAttrib4sNV", typeof(Delegates.VertexAttrib4sNV)); + Delegates.glVertexAttrib4sNV((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static unsafe void Load_VertexAttrib4sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4sv = (Delegates.VertexAttrib4sv)GetExtensionDelegateStatic("glVertexAttrib4sv", typeof(Delegates.VertexAttrib4sv)); + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib4svARB(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4svARB = (Delegates.VertexAttrib4svARB)GetExtensionDelegateStatic("glVertexAttrib4svARB", typeof(Delegates.VertexAttrib4svARB)); + Delegates.glVertexAttrib4svARB((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib4svNV(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4svNV = (Delegates.VertexAttrib4svNV)GetExtensionDelegateStatic("glVertexAttrib4svNV", typeof(Delegates.VertexAttrib4svNV)); + Delegates.glVertexAttrib4svNV((UInt32)index, (Int16*)v); + } + internal static void Load_VertexAttrib4ubNV(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + Delegates.glVertexAttrib4ubNV = (Delegates.VertexAttrib4ubNV)GetExtensionDelegateStatic("glVertexAttrib4ubNV", typeof(Delegates.VertexAttrib4ubNV)); + Delegates.glVertexAttrib4ubNV((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + } + internal static unsafe void Load_VertexAttrib4ubv(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4ubv = (Delegates.VertexAttrib4ubv)GetExtensionDelegateStatic("glVertexAttrib4ubv", typeof(Delegates.VertexAttrib4ubv)); + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttrib4ubvARB(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4ubvARB = (Delegates.VertexAttrib4ubvARB)GetExtensionDelegateStatic("glVertexAttrib4ubvARB", typeof(Delegates.VertexAttrib4ubvARB)); + Delegates.glVertexAttrib4ubvARB((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttrib4ubvNV(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4ubvNV = (Delegates.VertexAttrib4ubvNV)GetExtensionDelegateStatic("glVertexAttrib4ubvNV", typeof(Delegates.VertexAttrib4ubvNV)); + Delegates.glVertexAttrib4ubvNV((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttrib4uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttrib4uiv = (Delegates.VertexAttrib4uiv)GetExtensionDelegateStatic("glVertexAttrib4uiv", typeof(Delegates.VertexAttrib4uiv)); + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttrib4uivARB(UInt32 index, UInt32* v) + { + Delegates.glVertexAttrib4uivARB = (Delegates.VertexAttrib4uivARB)GetExtensionDelegateStatic("glVertexAttrib4uivARB", typeof(Delegates.VertexAttrib4uivARB)); + Delegates.glVertexAttrib4uivARB((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttrib4usv(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib4usv = (Delegates.VertexAttrib4usv)GetExtensionDelegateStatic("glVertexAttrib4usv", typeof(Delegates.VertexAttrib4usv)); + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); + } + internal static unsafe void Load_VertexAttrib4usvARB(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib4usvARB = (Delegates.VertexAttrib4usvARB)GetExtensionDelegateStatic("glVertexAttrib4usvARB", typeof(Delegates.VertexAttrib4usvARB)); + Delegates.glVertexAttrib4usvARB((UInt32)index, (UInt16*)v); + } + internal static void Load_VertexAttribArrayObjectATI(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, UInt32 buffer, UInt32 offset) + { + Delegates.glVertexAttribArrayObjectATI = (Delegates.VertexAttribArrayObjectATI)GetExtensionDelegateStatic("glVertexAttribArrayObjectATI", typeof(Delegates.VertexAttribArrayObjectATI)); + Delegates.glVertexAttribArrayObjectATI((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (UInt32)buffer, (UInt32)offset); + } + internal static void Load_VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) + { + Delegates.glVertexAttribBinding = (Delegates.VertexAttribBinding)GetExtensionDelegateStatic("glVertexAttribBinding", typeof(Delegates.VertexAttribBinding)); + Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); + } + internal static void Load_VertexAttribDivisor(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisor = (Delegates.VertexAttribDivisor)GetExtensionDelegateStatic("glVertexAttribDivisor", typeof(Delegates.VertexAttribDivisor)); + Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribDivisorARB(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisorARB = (Delegates.VertexAttribDivisorARB)GetExtensionDelegateStatic("glVertexAttribDivisorARB", typeof(Delegates.VertexAttribDivisorARB)); + Delegates.glVertexAttribDivisorARB((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset) + { + Delegates.glVertexAttribFormat = (Delegates.VertexAttribFormat)GetExtensionDelegateStatic("glVertexAttribFormat", typeof(Delegates.VertexAttribFormat)); + Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); + } + internal static void Load_VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride) + { + Delegates.glVertexAttribFormatNV = (Delegates.VertexAttribFormatNV)GetExtensionDelegateStatic("glVertexAttribFormatNV", typeof(Delegates.VertexAttribFormatNV)); + Delegates.glVertexAttribFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (bool)normalized, (Int32)stride); + } + internal static void Load_VertexAttribI1i(UInt32 index, Int32 x) + { + Delegates.glVertexAttribI1i = (Delegates.VertexAttribI1i)GetExtensionDelegateStatic("glVertexAttribI1i", typeof(Delegates.VertexAttribI1i)); + Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); + } + internal static void Load_VertexAttribI1iEXT(UInt32 index, Int32 x) + { + Delegates.glVertexAttribI1iEXT = (Delegates.VertexAttribI1iEXT)GetExtensionDelegateStatic("glVertexAttribI1iEXT", typeof(Delegates.VertexAttribI1iEXT)); + Delegates.glVertexAttribI1iEXT((UInt32)index, (Int32)x); + } + internal static unsafe void Load_VertexAttribI1iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI1iv = (Delegates.VertexAttribI1iv)GetExtensionDelegateStatic("glVertexAttribI1iv", typeof(Delegates.VertexAttribI1iv)); + Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttribI1ivEXT(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI1ivEXT = (Delegates.VertexAttribI1ivEXT)GetExtensionDelegateStatic("glVertexAttribI1ivEXT", typeof(Delegates.VertexAttribI1ivEXT)); + Delegates.glVertexAttribI1ivEXT((UInt32)index, (Int32*)v); + } + internal static void Load_VertexAttribI1ui(UInt32 index, UInt32 x) + { + Delegates.glVertexAttribI1ui = (Delegates.VertexAttribI1ui)GetExtensionDelegateStatic("glVertexAttribI1ui", typeof(Delegates.VertexAttribI1ui)); + Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); + } + internal static void Load_VertexAttribI1uiEXT(UInt32 index, UInt32 x) + { + Delegates.glVertexAttribI1uiEXT = (Delegates.VertexAttribI1uiEXT)GetExtensionDelegateStatic("glVertexAttribI1uiEXT", typeof(Delegates.VertexAttribI1uiEXT)); + Delegates.glVertexAttribI1uiEXT((UInt32)index, (UInt32)x); + } + internal static unsafe void Load_VertexAttribI1uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI1uiv = (Delegates.VertexAttribI1uiv)GetExtensionDelegateStatic("glVertexAttribI1uiv", typeof(Delegates.VertexAttribI1uiv)); + Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI1uivEXT(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI1uivEXT = (Delegates.VertexAttribI1uivEXT)GetExtensionDelegateStatic("glVertexAttribI1uivEXT", typeof(Delegates.VertexAttribI1uivEXT)); + Delegates.glVertexAttribI1uivEXT((UInt32)index, (UInt32*)v); + } + internal static void Load_VertexAttribI2i(UInt32 index, Int32 x, Int32 y) + { + Delegates.glVertexAttribI2i = (Delegates.VertexAttribI2i)GetExtensionDelegateStatic("glVertexAttribI2i", typeof(Delegates.VertexAttribI2i)); + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + } + internal static void Load_VertexAttribI2iEXT(UInt32 index, Int32 x, Int32 y) + { + Delegates.glVertexAttribI2iEXT = (Delegates.VertexAttribI2iEXT)GetExtensionDelegateStatic("glVertexAttribI2iEXT", typeof(Delegates.VertexAttribI2iEXT)); + Delegates.glVertexAttribI2iEXT((UInt32)index, (Int32)x, (Int32)y); + } + internal static unsafe void Load_VertexAttribI2iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI2iv = (Delegates.VertexAttribI2iv)GetExtensionDelegateStatic("glVertexAttribI2iv", typeof(Delegates.VertexAttribI2iv)); + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttribI2ivEXT(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI2ivEXT = (Delegates.VertexAttribI2ivEXT)GetExtensionDelegateStatic("glVertexAttribI2ivEXT", typeof(Delegates.VertexAttribI2ivEXT)); + Delegates.glVertexAttribI2ivEXT((UInt32)index, (Int32*)v); + } + internal static void Load_VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y) + { + Delegates.glVertexAttribI2ui = (Delegates.VertexAttribI2ui)GetExtensionDelegateStatic("glVertexAttribI2ui", typeof(Delegates.VertexAttribI2ui)); + Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); + } + internal static void Load_VertexAttribI2uiEXT(UInt32 index, UInt32 x, UInt32 y) + { + Delegates.glVertexAttribI2uiEXT = (Delegates.VertexAttribI2uiEXT)GetExtensionDelegateStatic("glVertexAttribI2uiEXT", typeof(Delegates.VertexAttribI2uiEXT)); + Delegates.glVertexAttribI2uiEXT((UInt32)index, (UInt32)x, (UInt32)y); + } + internal static unsafe void Load_VertexAttribI2uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI2uiv = (Delegates.VertexAttribI2uiv)GetExtensionDelegateStatic("glVertexAttribI2uiv", typeof(Delegates.VertexAttribI2uiv)); + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI2uivEXT(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI2uivEXT = (Delegates.VertexAttribI2uivEXT)GetExtensionDelegateStatic("glVertexAttribI2uivEXT", typeof(Delegates.VertexAttribI2uivEXT)); + Delegates.glVertexAttribI2uivEXT((UInt32)index, (UInt32*)v); + } + internal static void Load_VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z) + { + Delegates.glVertexAttribI3i = (Delegates.VertexAttribI3i)GetExtensionDelegateStatic("glVertexAttribI3i", typeof(Delegates.VertexAttribI3i)); + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + } + internal static void Load_VertexAttribI3iEXT(UInt32 index, Int32 x, Int32 y, Int32 z) + { + Delegates.glVertexAttribI3iEXT = (Delegates.VertexAttribI3iEXT)GetExtensionDelegateStatic("glVertexAttribI3iEXT", typeof(Delegates.VertexAttribI3iEXT)); + Delegates.glVertexAttribI3iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + } + internal static unsafe void Load_VertexAttribI3iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI3iv = (Delegates.VertexAttribI3iv)GetExtensionDelegateStatic("glVertexAttribI3iv", typeof(Delegates.VertexAttribI3iv)); + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttribI3ivEXT(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI3ivEXT = (Delegates.VertexAttribI3ivEXT)GetExtensionDelegateStatic("glVertexAttribI3ivEXT", typeof(Delegates.VertexAttribI3ivEXT)); + Delegates.glVertexAttribI3ivEXT((UInt32)index, (Int32*)v); + } + internal static void Load_VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z) + { + Delegates.glVertexAttribI3ui = (Delegates.VertexAttribI3ui)GetExtensionDelegateStatic("glVertexAttribI3ui", typeof(Delegates.VertexAttribI3ui)); + Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + } + internal static void Load_VertexAttribI3uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z) + { + Delegates.glVertexAttribI3uiEXT = (Delegates.VertexAttribI3uiEXT)GetExtensionDelegateStatic("glVertexAttribI3uiEXT", typeof(Delegates.VertexAttribI3uiEXT)); + Delegates.glVertexAttribI3uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + } + internal static unsafe void Load_VertexAttribI3uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI3uiv = (Delegates.VertexAttribI3uiv)GetExtensionDelegateStatic("glVertexAttribI3uiv", typeof(Delegates.VertexAttribI3uiv)); + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI3uivEXT(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI3uivEXT = (Delegates.VertexAttribI3uivEXT)GetExtensionDelegateStatic("glVertexAttribI3uivEXT", typeof(Delegates.VertexAttribI3uivEXT)); + Delegates.glVertexAttribI3uivEXT((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI4bv(UInt32 index, SByte* v) + { + Delegates.glVertexAttribI4bv = (Delegates.VertexAttribI4bv)GetExtensionDelegateStatic("glVertexAttribI4bv", typeof(Delegates.VertexAttribI4bv)); + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); + } + internal static unsafe void Load_VertexAttribI4bvEXT(UInt32 index, SByte* v) + { + Delegates.glVertexAttribI4bvEXT = (Delegates.VertexAttribI4bvEXT)GetExtensionDelegateStatic("glVertexAttribI4bvEXT", typeof(Delegates.VertexAttribI4bvEXT)); + Delegates.glVertexAttribI4bvEXT((UInt32)index, (SByte*)v); + } + internal static void Load_VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glVertexAttribI4i = (Delegates.VertexAttribI4i)GetExtensionDelegateStatic("glVertexAttribI4i", typeof(Delegates.VertexAttribI4i)); + Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static void Load_VertexAttribI4iEXT(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glVertexAttribI4iEXT = (Delegates.VertexAttribI4iEXT)GetExtensionDelegateStatic("glVertexAttribI4iEXT", typeof(Delegates.VertexAttribI4iEXT)); + Delegates.glVertexAttribI4iEXT((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_VertexAttribI4iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI4iv = (Delegates.VertexAttribI4iv)GetExtensionDelegateStatic("glVertexAttribI4iv", typeof(Delegates.VertexAttribI4iv)); + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttribI4ivEXT(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI4ivEXT = (Delegates.VertexAttribI4ivEXT)GetExtensionDelegateStatic("glVertexAttribI4ivEXT", typeof(Delegates.VertexAttribI4ivEXT)); + Delegates.glVertexAttribI4ivEXT((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttribI4sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttribI4sv = (Delegates.VertexAttribI4sv)GetExtensionDelegateStatic("glVertexAttribI4sv", typeof(Delegates.VertexAttribI4sv)); + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttribI4svEXT(UInt32 index, Int16* v) + { + Delegates.glVertexAttribI4svEXT = (Delegates.VertexAttribI4svEXT)GetExtensionDelegateStatic("glVertexAttribI4svEXT", typeof(Delegates.VertexAttribI4svEXT)); + Delegates.glVertexAttribI4svEXT((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttribI4ubv(UInt32 index, Byte* v) + { + Delegates.glVertexAttribI4ubv = (Delegates.VertexAttribI4ubv)GetExtensionDelegateStatic("glVertexAttribI4ubv", typeof(Delegates.VertexAttribI4ubv)); + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttribI4ubvEXT(UInt32 index, Byte* v) + { + Delegates.glVertexAttribI4ubvEXT = (Delegates.VertexAttribI4ubvEXT)GetExtensionDelegateStatic("glVertexAttribI4ubvEXT", typeof(Delegates.VertexAttribI4ubvEXT)); + Delegates.glVertexAttribI4ubvEXT((UInt32)index, (Byte*)v); + } + internal static void Load_VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + Delegates.glVertexAttribI4ui = (Delegates.VertexAttribI4ui)GetExtensionDelegateStatic("glVertexAttribI4ui", typeof(Delegates.VertexAttribI4ui)); + Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + internal static void Load_VertexAttribI4uiEXT(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + Delegates.glVertexAttribI4uiEXT = (Delegates.VertexAttribI4uiEXT)GetExtensionDelegateStatic("glVertexAttribI4uiEXT", typeof(Delegates.VertexAttribI4uiEXT)); + Delegates.glVertexAttribI4uiEXT((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + internal static unsafe void Load_VertexAttribI4uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI4uiv = (Delegates.VertexAttribI4uiv)GetExtensionDelegateStatic("glVertexAttribI4uiv", typeof(Delegates.VertexAttribI4uiv)); + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI4uivEXT(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI4uivEXT = (Delegates.VertexAttribI4uivEXT)GetExtensionDelegateStatic("glVertexAttribI4uivEXT", typeof(Delegates.VertexAttribI4uivEXT)); + Delegates.glVertexAttribI4uivEXT((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI4usv(UInt32 index, UInt16* v) + { + Delegates.glVertexAttribI4usv = (Delegates.VertexAttribI4usv)GetExtensionDelegateStatic("glVertexAttribI4usv", typeof(Delegates.VertexAttribI4usv)); + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); + } + internal static unsafe void Load_VertexAttribI4usvEXT(UInt32 index, UInt16* v) + { + Delegates.glVertexAttribI4usvEXT = (Delegates.VertexAttribI4usvEXT)GetExtensionDelegateStatic("glVertexAttribI4usvEXT", typeof(Delegates.VertexAttribI4usvEXT)); + Delegates.glVertexAttribI4usvEXT((UInt32)index, (UInt16*)v); + } + internal static void Load_VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset) + { + Delegates.glVertexAttribIFormat = (Delegates.VertexAttribIFormat)GetExtensionDelegateStatic("glVertexAttribIFormat", typeof(Delegates.VertexAttribIFormat)); + Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset); + } + internal static void Load_VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glVertexAttribIFormatNV = (Delegates.VertexAttribIFormatNV)GetExtensionDelegateStatic("glVertexAttribIFormatNV", typeof(Delegates.VertexAttribIFormatNV)); + Delegates.glVertexAttribIFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static void Load_VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribIPointer = (Delegates.VertexAttribIPointer)GetExtensionDelegateStatic("glVertexAttribIPointer", typeof(Delegates.VertexAttribIPointer)); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribIPointerEXT = (Delegates.VertexAttribIPointerEXT)GetExtensionDelegateStatic("glVertexAttribIPointerEXT", typeof(Delegates.VertexAttribIPointerEXT)); + Delegates.glVertexAttribIPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexProgram4)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribL1d(UInt32 index, Double x) + { + Delegates.glVertexAttribL1d = (Delegates.VertexAttribL1d)GetExtensionDelegateStatic("glVertexAttribL1d", typeof(Delegates.VertexAttribL1d)); + Delegates.glVertexAttribL1d((UInt32)index, (Double)x); + } + internal static void Load_VertexAttribL1dEXT(UInt32 index, Double x) + { + Delegates.glVertexAttribL1dEXT = (Delegates.VertexAttribL1dEXT)GetExtensionDelegateStatic("glVertexAttribL1dEXT", typeof(Delegates.VertexAttribL1dEXT)); + Delegates.glVertexAttribL1dEXT((UInt32)index, (Double)x); + } + internal static unsafe void Load_VertexAttribL1dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL1dv = (Delegates.VertexAttribL1dv)GetExtensionDelegateStatic("glVertexAttribL1dv", typeof(Delegates.VertexAttribL1dv)); + Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttribL1dvEXT(UInt32 index, Double* v) + { + Delegates.glVertexAttribL1dvEXT = (Delegates.VertexAttribL1dvEXT)GetExtensionDelegateStatic("glVertexAttribL1dvEXT", typeof(Delegates.VertexAttribL1dvEXT)); + Delegates.glVertexAttribL1dvEXT((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribL1i64NV(UInt32 index, Int64 x) + { + Delegates.glVertexAttribL1i64NV = (Delegates.VertexAttribL1i64NV)GetExtensionDelegateStatic("glVertexAttribL1i64NV", typeof(Delegates.VertexAttribL1i64NV)); + Delegates.glVertexAttribL1i64NV((UInt32)index, (Int64)x); + } + internal static unsafe void Load_VertexAttribL1i64vNV(UInt32 index, Int64* v) + { + Delegates.glVertexAttribL1i64vNV = (Delegates.VertexAttribL1i64vNV)GetExtensionDelegateStatic("glVertexAttribL1i64vNV", typeof(Delegates.VertexAttribL1i64vNV)); + Delegates.glVertexAttribL1i64vNV((UInt32)index, (Int64*)v); + } + internal static void Load_VertexAttribL1ui64ARB(UInt32 index, UInt64 x) + { + Delegates.glVertexAttribL1ui64ARB = (Delegates.VertexAttribL1ui64ARB)GetExtensionDelegateStatic("glVertexAttribL1ui64ARB", typeof(Delegates.VertexAttribL1ui64ARB)); + Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); + } + internal static void Load_VertexAttribL1ui64NV(UInt32 index, UInt64 x) + { + Delegates.glVertexAttribL1ui64NV = (Delegates.VertexAttribL1ui64NV)GetExtensionDelegateStatic("glVertexAttribL1ui64NV", typeof(Delegates.VertexAttribL1ui64NV)); + Delegates.glVertexAttribL1ui64NV((UInt32)index, (UInt64)x); + } + internal static unsafe void Load_VertexAttribL1ui64vARB(UInt32 index, UInt64* v) + { + Delegates.glVertexAttribL1ui64vARB = (Delegates.VertexAttribL1ui64vARB)GetExtensionDelegateStatic("glVertexAttribL1ui64vARB", typeof(Delegates.VertexAttribL1ui64vARB)); + Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); + } + internal static unsafe void Load_VertexAttribL1ui64vNV(UInt32 index, UInt64* v) + { + Delegates.glVertexAttribL1ui64vNV = (Delegates.VertexAttribL1ui64vNV)GetExtensionDelegateStatic("glVertexAttribL1ui64vNV", typeof(Delegates.VertexAttribL1ui64vNV)); + Delegates.glVertexAttribL1ui64vNV((UInt32)index, (UInt64*)v); + } + internal static void Load_VertexAttribL2d(UInt32 index, Double x, Double y) + { + Delegates.glVertexAttribL2d = (Delegates.VertexAttribL2d)GetExtensionDelegateStatic("glVertexAttribL2d", typeof(Delegates.VertexAttribL2d)); + Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); + } + internal static void Load_VertexAttribL2dEXT(UInt32 index, Double x, Double y) + { + Delegates.glVertexAttribL2dEXT = (Delegates.VertexAttribL2dEXT)GetExtensionDelegateStatic("glVertexAttribL2dEXT", typeof(Delegates.VertexAttribL2dEXT)); + Delegates.glVertexAttribL2dEXT((UInt32)index, (Double)x, (Double)y); + } + internal static unsafe void Load_VertexAttribL2dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL2dv = (Delegates.VertexAttribL2dv)GetExtensionDelegateStatic("glVertexAttribL2dv", typeof(Delegates.VertexAttribL2dv)); + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttribL2dvEXT(UInt32 index, Double* v) + { + Delegates.glVertexAttribL2dvEXT = (Delegates.VertexAttribL2dvEXT)GetExtensionDelegateStatic("glVertexAttribL2dvEXT", typeof(Delegates.VertexAttribL2dvEXT)); + Delegates.glVertexAttribL2dvEXT((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribL2i64NV(UInt32 index, Int64 x, Int64 y) + { + Delegates.glVertexAttribL2i64NV = (Delegates.VertexAttribL2i64NV)GetExtensionDelegateStatic("glVertexAttribL2i64NV", typeof(Delegates.VertexAttribL2i64NV)); + Delegates.glVertexAttribL2i64NV((UInt32)index, (Int64)x, (Int64)y); + } + internal static unsafe void Load_VertexAttribL2i64vNV(UInt32 index, Int64* v) + { + Delegates.glVertexAttribL2i64vNV = (Delegates.VertexAttribL2i64vNV)GetExtensionDelegateStatic("glVertexAttribL2i64vNV", typeof(Delegates.VertexAttribL2i64vNV)); + Delegates.glVertexAttribL2i64vNV((UInt32)index, (Int64*)v); + } + internal static void Load_VertexAttribL2ui64NV(UInt32 index, UInt64 x, UInt64 y) + { + Delegates.glVertexAttribL2ui64NV = (Delegates.VertexAttribL2ui64NV)GetExtensionDelegateStatic("glVertexAttribL2ui64NV", typeof(Delegates.VertexAttribL2ui64NV)); + Delegates.glVertexAttribL2ui64NV((UInt32)index, (UInt64)x, (UInt64)y); + } + internal static unsafe void Load_VertexAttribL2ui64vNV(UInt32 index, UInt64* v) + { + Delegates.glVertexAttribL2ui64vNV = (Delegates.VertexAttribL2ui64vNV)GetExtensionDelegateStatic("glVertexAttribL2ui64vNV", typeof(Delegates.VertexAttribL2ui64vNV)); + Delegates.glVertexAttribL2ui64vNV((UInt32)index, (UInt64*)v); + } + internal static void Load_VertexAttribL3d(UInt32 index, Double x, Double y, Double z) + { + Delegates.glVertexAttribL3d = (Delegates.VertexAttribL3d)GetExtensionDelegateStatic("glVertexAttribL3d", typeof(Delegates.VertexAttribL3d)); + Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); + } + internal static void Load_VertexAttribL3dEXT(UInt32 index, Double x, Double y, Double z) + { + Delegates.glVertexAttribL3dEXT = (Delegates.VertexAttribL3dEXT)GetExtensionDelegateStatic("glVertexAttribL3dEXT", typeof(Delegates.VertexAttribL3dEXT)); + Delegates.glVertexAttribL3dEXT((UInt32)index, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_VertexAttribL3dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL3dv = (Delegates.VertexAttribL3dv)GetExtensionDelegateStatic("glVertexAttribL3dv", typeof(Delegates.VertexAttribL3dv)); + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttribL3dvEXT(UInt32 index, Double* v) + { + Delegates.glVertexAttribL3dvEXT = (Delegates.VertexAttribL3dvEXT)GetExtensionDelegateStatic("glVertexAttribL3dvEXT", typeof(Delegates.VertexAttribL3dvEXT)); + Delegates.glVertexAttribL3dvEXT((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribL3i64NV(UInt32 index, Int64 x, Int64 y, Int64 z) + { + Delegates.glVertexAttribL3i64NV = (Delegates.VertexAttribL3i64NV)GetExtensionDelegateStatic("glVertexAttribL3i64NV", typeof(Delegates.VertexAttribL3i64NV)); + Delegates.glVertexAttribL3i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z); + } + internal static unsafe void Load_VertexAttribL3i64vNV(UInt32 index, Int64* v) + { + Delegates.glVertexAttribL3i64vNV = (Delegates.VertexAttribL3i64vNV)GetExtensionDelegateStatic("glVertexAttribL3i64vNV", typeof(Delegates.VertexAttribL3i64vNV)); + Delegates.glVertexAttribL3i64vNV((UInt32)index, (Int64*)v); + } + internal static void Load_VertexAttribL3ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z) + { + Delegates.glVertexAttribL3ui64NV = (Delegates.VertexAttribL3ui64NV)GetExtensionDelegateStatic("glVertexAttribL3ui64NV", typeof(Delegates.VertexAttribL3ui64NV)); + Delegates.glVertexAttribL3ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z); + } + internal static unsafe void Load_VertexAttribL3ui64vNV(UInt32 index, UInt64* v) + { + Delegates.glVertexAttribL3ui64vNV = (Delegates.VertexAttribL3ui64vNV)GetExtensionDelegateStatic("glVertexAttribL3ui64vNV", typeof(Delegates.VertexAttribL3ui64vNV)); + Delegates.glVertexAttribL3ui64vNV((UInt32)index, (UInt64*)v); + } + internal static void Load_VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glVertexAttribL4d = (Delegates.VertexAttribL4d)GetExtensionDelegateStatic("glVertexAttribL4d", typeof(Delegates.VertexAttribL4d)); + Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static void Load_VertexAttribL4dEXT(UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glVertexAttribL4dEXT = (Delegates.VertexAttribL4dEXT)GetExtensionDelegateStatic("glVertexAttribL4dEXT", typeof(Delegates.VertexAttribL4dEXT)); + Delegates.glVertexAttribL4dEXT((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_VertexAttribL4dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL4dv = (Delegates.VertexAttribL4dv)GetExtensionDelegateStatic("glVertexAttribL4dv", typeof(Delegates.VertexAttribL4dv)); + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); + } + internal static unsafe void Load_VertexAttribL4dvEXT(UInt32 index, Double* v) + { + Delegates.glVertexAttribL4dvEXT = (Delegates.VertexAttribL4dvEXT)GetExtensionDelegateStatic("glVertexAttribL4dvEXT", typeof(Delegates.VertexAttribL4dvEXT)); + Delegates.glVertexAttribL4dvEXT((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribL4i64NV(UInt32 index, Int64 x, Int64 y, Int64 z, Int64 w) + { + Delegates.glVertexAttribL4i64NV = (Delegates.VertexAttribL4i64NV)GetExtensionDelegateStatic("glVertexAttribL4i64NV", typeof(Delegates.VertexAttribL4i64NV)); + Delegates.glVertexAttribL4i64NV((UInt32)index, (Int64)x, (Int64)y, (Int64)z, (Int64)w); + } + internal static unsafe void Load_VertexAttribL4i64vNV(UInt32 index, Int64* v) + { + Delegates.glVertexAttribL4i64vNV = (Delegates.VertexAttribL4i64vNV)GetExtensionDelegateStatic("glVertexAttribL4i64vNV", typeof(Delegates.VertexAttribL4i64vNV)); + Delegates.glVertexAttribL4i64vNV((UInt32)index, (Int64*)v); + } + internal static void Load_VertexAttribL4ui64NV(UInt32 index, UInt64 x, UInt64 y, UInt64 z, UInt64 w) + { + Delegates.glVertexAttribL4ui64NV = (Delegates.VertexAttribL4ui64NV)GetExtensionDelegateStatic("glVertexAttribL4ui64NV", typeof(Delegates.VertexAttribL4ui64NV)); + Delegates.glVertexAttribL4ui64NV((UInt32)index, (UInt64)x, (UInt64)y, (UInt64)z, (UInt64)w); + } + internal static unsafe void Load_VertexAttribL4ui64vNV(UInt32 index, UInt64* v) + { + Delegates.glVertexAttribL4ui64vNV = (Delegates.VertexAttribL4ui64vNV)GetExtensionDelegateStatic("glVertexAttribL4ui64vNV", typeof(Delegates.VertexAttribL4ui64vNV)); + Delegates.glVertexAttribL4ui64vNV((UInt32)index, (UInt64*)v); + } + internal static void Load_VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset) + { + Delegates.glVertexAttribLFormat = (Delegates.VertexAttribLFormat)GetExtensionDelegateStatic("glVertexAttribLFormat", typeof(Delegates.VertexAttribLFormat)); + Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset); + } + internal static void Load_VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride) + { + Delegates.glVertexAttribLFormatNV = (Delegates.VertexAttribLFormatNV)GetExtensionDelegateStatic("glVertexAttribLFormatNV", typeof(Delegates.VertexAttribLFormatNV)); + Delegates.glVertexAttribLFormatNV((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit)type, (Int32)stride); + } + internal static void Load_VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribLPointer = (Delegates.VertexAttribLPointer)GetExtensionDelegateStatic("glVertexAttribLPointer", typeof(Delegates.VertexAttribLPointer)); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribLPointerEXT = (Delegates.VertexAttribLPointerEXT)GetExtensionDelegateStatic("glVertexAttribLPointerEXT", typeof(Delegates.VertexAttribLPointerEXT)); + Delegates.glVertexAttribLPointerEXT((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP1ui = (Delegates.VertexAttribP1ui)GetExtensionDelegateStatic("glVertexAttribP1ui", typeof(Delegates.VertexAttribP1ui)); + Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP1uiv = (Delegates.VertexAttribP1uiv)GetExtensionDelegateStatic("glVertexAttribP1uiv", typeof(Delegates.VertexAttribP1uiv)); + Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP2ui = (Delegates.VertexAttribP2ui)GetExtensionDelegateStatic("glVertexAttribP2ui", typeof(Delegates.VertexAttribP2ui)); + Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP2uiv = (Delegates.VertexAttribP2uiv)GetExtensionDelegateStatic("glVertexAttribP2uiv", typeof(Delegates.VertexAttribP2uiv)); + Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP3ui = (Delegates.VertexAttribP3ui)GetExtensionDelegateStatic("glVertexAttribP3ui", typeof(Delegates.VertexAttribP3ui)); + Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP3uiv = (Delegates.VertexAttribP3uiv)GetExtensionDelegateStatic("glVertexAttribP3uiv", typeof(Delegates.VertexAttribP3uiv)); + Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP4ui = (Delegates.VertexAttribP4ui)GetExtensionDelegateStatic("glVertexAttribP4ui", typeof(Delegates.VertexAttribP4ui)); + Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP4uiv = (Delegates.VertexAttribP4uiv)GetExtensionDelegateStatic("glVertexAttribP4uiv", typeof(Delegates.VertexAttribP4uiv)); + Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribParameteriAMD(UInt32 index, OpenTK.Graphics.OpenGL.AmdInterleavedElements pname, Int32 param) + { + Delegates.glVertexAttribParameteriAMD = (Delegates.VertexAttribParameteriAMD)GetExtensionDelegateStatic("glVertexAttribParameteriAMD", typeof(Delegates.VertexAttribParameteriAMD)); + Delegates.glVertexAttribParameteriAMD((UInt32)index, (OpenTK.Graphics.OpenGL.AmdInterleavedElements)pname, (Int32)param); + } + internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribPointerARB(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb type, bool normalized, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribPointerARB = (Delegates.VertexAttribPointerARB)GetExtensionDelegateStatic("glVertexAttribPointerARB", typeof(Delegates.VertexAttribPointerARB)); + Delegates.glVertexAttribPointerARB((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribPointerTypeArb)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribPointerNV(UInt32 index, Int32 fsize, OpenTK.Graphics.OpenGL.VertexAttribParameterArb type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribPointerNV = (Delegates.VertexAttribPointerNV)GetExtensionDelegateStatic("glVertexAttribPointerNV", typeof(Delegates.VertexAttribPointerNV)); + Delegates.glVertexAttribPointerNV((UInt32)index, (Int32)fsize, (OpenTK.Graphics.OpenGL.VertexAttribParameterArb)type, (Int32)stride, (IntPtr)pointer); + } + internal static unsafe void Load_VertexAttribs1dvNV(UInt32 index, Int32 count, Double* v) + { + Delegates.glVertexAttribs1dvNV = (Delegates.VertexAttribs1dvNV)GetExtensionDelegateStatic("glVertexAttribs1dvNV", typeof(Delegates.VertexAttribs1dvNV)); + Delegates.glVertexAttribs1dvNV((UInt32)index, (Int32)count, (Double*)v); + } + internal static unsafe void Load_VertexAttribs1fvNV(UInt32 index, Int32 count, Single* v) + { + Delegates.glVertexAttribs1fvNV = (Delegates.VertexAttribs1fvNV)GetExtensionDelegateStatic("glVertexAttribs1fvNV", typeof(Delegates.VertexAttribs1fvNV)); + Delegates.glVertexAttribs1fvNV((UInt32)index, (Int32)count, (Single*)v); + } + internal static unsafe void Load_VertexAttribs1hvNV(UInt32 index, Int32 n, Half* v) + { + Delegates.glVertexAttribs1hvNV = (Delegates.VertexAttribs1hvNV)GetExtensionDelegateStatic("glVertexAttribs1hvNV", typeof(Delegates.VertexAttribs1hvNV)); + Delegates.glVertexAttribs1hvNV((UInt32)index, (Int32)n, (Half*)v); + } + internal static unsafe void Load_VertexAttribs1svNV(UInt32 index, Int32 count, Int16* v) + { + Delegates.glVertexAttribs1svNV = (Delegates.VertexAttribs1svNV)GetExtensionDelegateStatic("glVertexAttribs1svNV", typeof(Delegates.VertexAttribs1svNV)); + Delegates.glVertexAttribs1svNV((UInt32)index, (Int32)count, (Int16*)v); + } + internal static unsafe void Load_VertexAttribs2dvNV(UInt32 index, Int32 count, Double* v) + { + Delegates.glVertexAttribs2dvNV = (Delegates.VertexAttribs2dvNV)GetExtensionDelegateStatic("glVertexAttribs2dvNV", typeof(Delegates.VertexAttribs2dvNV)); + Delegates.glVertexAttribs2dvNV((UInt32)index, (Int32)count, (Double*)v); + } + internal static unsafe void Load_VertexAttribs2fvNV(UInt32 index, Int32 count, Single* v) + { + Delegates.glVertexAttribs2fvNV = (Delegates.VertexAttribs2fvNV)GetExtensionDelegateStatic("glVertexAttribs2fvNV", typeof(Delegates.VertexAttribs2fvNV)); + Delegates.glVertexAttribs2fvNV((UInt32)index, (Int32)count, (Single*)v); + } + internal static unsafe void Load_VertexAttribs2hvNV(UInt32 index, Int32 n, Half* v) + { + Delegates.glVertexAttribs2hvNV = (Delegates.VertexAttribs2hvNV)GetExtensionDelegateStatic("glVertexAttribs2hvNV", typeof(Delegates.VertexAttribs2hvNV)); + Delegates.glVertexAttribs2hvNV((UInt32)index, (Int32)n, (Half*)v); + } + internal static unsafe void Load_VertexAttribs2svNV(UInt32 index, Int32 count, Int16* v) + { + Delegates.glVertexAttribs2svNV = (Delegates.VertexAttribs2svNV)GetExtensionDelegateStatic("glVertexAttribs2svNV", typeof(Delegates.VertexAttribs2svNV)); + Delegates.glVertexAttribs2svNV((UInt32)index, (Int32)count, (Int16*)v); + } + internal static unsafe void Load_VertexAttribs3dvNV(UInt32 index, Int32 count, Double* v) + { + Delegates.glVertexAttribs3dvNV = (Delegates.VertexAttribs3dvNV)GetExtensionDelegateStatic("glVertexAttribs3dvNV", typeof(Delegates.VertexAttribs3dvNV)); + Delegates.glVertexAttribs3dvNV((UInt32)index, (Int32)count, (Double*)v); + } + internal static unsafe void Load_VertexAttribs3fvNV(UInt32 index, Int32 count, Single* v) + { + Delegates.glVertexAttribs3fvNV = (Delegates.VertexAttribs3fvNV)GetExtensionDelegateStatic("glVertexAttribs3fvNV", typeof(Delegates.VertexAttribs3fvNV)); + Delegates.glVertexAttribs3fvNV((UInt32)index, (Int32)count, (Single*)v); + } + internal static unsafe void Load_VertexAttribs3hvNV(UInt32 index, Int32 n, Half* v) + { + Delegates.glVertexAttribs3hvNV = (Delegates.VertexAttribs3hvNV)GetExtensionDelegateStatic("glVertexAttribs3hvNV", typeof(Delegates.VertexAttribs3hvNV)); + Delegates.glVertexAttribs3hvNV((UInt32)index, (Int32)n, (Half*)v); + } + internal static unsafe void Load_VertexAttribs3svNV(UInt32 index, Int32 count, Int16* v) + { + Delegates.glVertexAttribs3svNV = (Delegates.VertexAttribs3svNV)GetExtensionDelegateStatic("glVertexAttribs3svNV", typeof(Delegates.VertexAttribs3svNV)); + Delegates.glVertexAttribs3svNV((UInt32)index, (Int32)count, (Int16*)v); + } + internal static unsafe void Load_VertexAttribs4dvNV(UInt32 index, Int32 count, Double* v) + { + Delegates.glVertexAttribs4dvNV = (Delegates.VertexAttribs4dvNV)GetExtensionDelegateStatic("glVertexAttribs4dvNV", typeof(Delegates.VertexAttribs4dvNV)); + Delegates.glVertexAttribs4dvNV((UInt32)index, (Int32)count, (Double*)v); + } + internal static unsafe void Load_VertexAttribs4fvNV(UInt32 index, Int32 count, Single* v) + { + Delegates.glVertexAttribs4fvNV = (Delegates.VertexAttribs4fvNV)GetExtensionDelegateStatic("glVertexAttribs4fvNV", typeof(Delegates.VertexAttribs4fvNV)); + Delegates.glVertexAttribs4fvNV((UInt32)index, (Int32)count, (Single*)v); + } + internal static unsafe void Load_VertexAttribs4hvNV(UInt32 index, Int32 n, Half* v) + { + Delegates.glVertexAttribs4hvNV = (Delegates.VertexAttribs4hvNV)GetExtensionDelegateStatic("glVertexAttribs4hvNV", typeof(Delegates.VertexAttribs4hvNV)); + Delegates.glVertexAttribs4hvNV((UInt32)index, (Int32)n, (Half*)v); + } + internal static unsafe void Load_VertexAttribs4svNV(UInt32 index, Int32 count, Int16* v) + { + Delegates.glVertexAttribs4svNV = (Delegates.VertexAttribs4svNV)GetExtensionDelegateStatic("glVertexAttribs4svNV", typeof(Delegates.VertexAttribs4svNV)); + Delegates.glVertexAttribs4svNV((UInt32)index, (Int32)count, (Int16*)v); + } + internal static unsafe void Load_VertexAttribs4ubvNV(UInt32 index, Int32 count, Byte* v) + { + Delegates.glVertexAttribs4ubvNV = (Delegates.VertexAttribs4ubvNV)GetExtensionDelegateStatic("glVertexAttribs4ubvNV", typeof(Delegates.VertexAttribs4ubvNV)); + Delegates.glVertexAttribs4ubvNV((UInt32)index, (Int32)count, (Byte*)v); + } + internal static void Load_VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) + { + Delegates.glVertexBindingDivisor = (Delegates.VertexBindingDivisor)GetExtensionDelegateStatic("glVertexBindingDivisor", typeof(Delegates.VertexBindingDivisor)); + Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); + } + internal static void Load_VertexBlendARB(Int32 count) + { + Delegates.glVertexBlendARB = (Delegates.VertexBlendARB)GetExtensionDelegateStatic("glVertexBlendARB", typeof(Delegates.VertexBlendARB)); + Delegates.glVertexBlendARB((Int32)count); + } + internal static void Load_VertexBlendEnvfATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Single param) + { + Delegates.glVertexBlendEnvfATI = (Delegates.VertexBlendEnvfATI)GetExtensionDelegateStatic("glVertexBlendEnvfATI", typeof(Delegates.VertexBlendEnvfATI)); + Delegates.glVertexBlendEnvfATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Single)param); + } + internal static void Load_VertexBlendEnviATI(OpenTK.Graphics.OpenGL.AtiVertexStreams pname, Int32 param) + { + Delegates.glVertexBlendEnviATI = (Delegates.VertexBlendEnviATI)GetExtensionDelegateStatic("glVertexBlendEnviATI", typeof(Delegates.VertexBlendEnviATI)); + Delegates.glVertexBlendEnviATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)pname, (Int32)param); + } + internal static void Load_VertexFormatNV(Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride) + { + Delegates.glVertexFormatNV = (Delegates.VertexFormatNV)GetExtensionDelegateStatic("glVertexFormatNV", typeof(Delegates.VertexFormatNV)); + Delegates.glVertexFormatNV((Int32)size, (OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory)type, (Int32)stride); + } + internal static void Load_VertexP2ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) + { + Delegates.glVertexP2ui = (Delegates.VertexP2ui)GetExtensionDelegateStatic("glVertexP2ui", typeof(Delegates.VertexP2ui)); + Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + } + internal static unsafe void Load_VertexP2uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) + { + Delegates.glVertexP2uiv = (Delegates.VertexP2uiv)GetExtensionDelegateStatic("glVertexP2uiv", typeof(Delegates.VertexP2uiv)); + Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + } + internal static void Load_VertexP3ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) + { + Delegates.glVertexP3ui = (Delegates.VertexP3ui)GetExtensionDelegateStatic("glVertexP3ui", typeof(Delegates.VertexP3ui)); + Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + } + internal static unsafe void Load_VertexP3uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) + { + Delegates.glVertexP3uiv = (Delegates.VertexP3uiv)GetExtensionDelegateStatic("glVertexP3uiv", typeof(Delegates.VertexP3uiv)); + Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + } + internal static void Load_VertexP4ui(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32 value) + { + Delegates.glVertexP4ui = (Delegates.VertexP4ui)GetExtensionDelegateStatic("glVertexP4ui", typeof(Delegates.VertexP4ui)); + Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32)value); + } + internal static unsafe void Load_VertexP4uiv(OpenTK.Graphics.OpenGL.PackedPointerType type, UInt32* value) + { + Delegates.glVertexP4uiv = (Delegates.VertexP4uiv)GetExtensionDelegateStatic("glVertexP4uiv", typeof(Delegates.VertexP4uiv)); + Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL.PackedPointerType)type, (UInt32*)value); + } + internal static void Load_VertexPointer(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexPointer = (Delegates.VertexPointer)GetExtensionDelegateStatic("glVertexPointer", typeof(Delegates.VertexPointer)); + Delegates.glVertexPointer((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, Int32 count, IntPtr pointer) + { + Delegates.glVertexPointerEXT = (Delegates.VertexPointerEXT)GetExtensionDelegateStatic("glVertexPointerEXT", typeof(Delegates.VertexPointerEXT)); + Delegates.glVertexPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (Int32)count, (IntPtr)pointer); + } + internal static void Load_VertexPointerListIBM(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, Int32 stride, IntPtr pointer, Int32 ptrstride) + { + Delegates.glVertexPointerListIBM = (Delegates.VertexPointerListIBM)GetExtensionDelegateStatic("glVertexPointerListIBM", typeof(Delegates.VertexPointerListIBM)); + Delegates.glVertexPointerListIBM((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (Int32)stride, (IntPtr)pointer, (Int32)ptrstride); + } + internal static void Load_VertexPointervINTEL(Int32 size, OpenTK.Graphics.OpenGL.VertexPointerType type, IntPtr pointer) + { + Delegates.glVertexPointervINTEL = (Delegates.VertexPointervINTEL)GetExtensionDelegateStatic("glVertexPointervINTEL", typeof(Delegates.VertexPointervINTEL)); + Delegates.glVertexPointervINTEL((Int32)size, (OpenTK.Graphics.OpenGL.VertexPointerType)type, (IntPtr)pointer); + } + internal static void Load_VertexStream1dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x) + { + Delegates.glVertexStream1dATI = (Delegates.VertexStream1dATI)GetExtensionDelegateStatic("glVertexStream1dATI", typeof(Delegates.VertexStream1dATI)); + Delegates.glVertexStream1dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x); + } + internal static unsafe void Load_VertexStream1dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + Delegates.glVertexStream1dvATI = (Delegates.VertexStream1dvATI)GetExtensionDelegateStatic("glVertexStream1dvATI", typeof(Delegates.VertexStream1dvATI)); + Delegates.glVertexStream1dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + } + internal static void Load_VertexStream1fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x) + { + Delegates.glVertexStream1fATI = (Delegates.VertexStream1fATI)GetExtensionDelegateStatic("glVertexStream1fATI", typeof(Delegates.VertexStream1fATI)); + Delegates.glVertexStream1fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x); + } + internal static unsafe void Load_VertexStream1fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + Delegates.glVertexStream1fvATI = (Delegates.VertexStream1fvATI)GetExtensionDelegateStatic("glVertexStream1fvATI", typeof(Delegates.VertexStream1fvATI)); + Delegates.glVertexStream1fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + } + internal static void Load_VertexStream1iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x) + { + Delegates.glVertexStream1iATI = (Delegates.VertexStream1iATI)GetExtensionDelegateStatic("glVertexStream1iATI", typeof(Delegates.VertexStream1iATI)); + Delegates.glVertexStream1iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x); + } + internal static unsafe void Load_VertexStream1ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + Delegates.glVertexStream1ivATI = (Delegates.VertexStream1ivATI)GetExtensionDelegateStatic("glVertexStream1ivATI", typeof(Delegates.VertexStream1ivATI)); + Delegates.glVertexStream1ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + } + internal static void Load_VertexStream1sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x) + { + Delegates.glVertexStream1sATI = (Delegates.VertexStream1sATI)GetExtensionDelegateStatic("glVertexStream1sATI", typeof(Delegates.VertexStream1sATI)); + Delegates.glVertexStream1sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x); + } + internal static unsafe void Load_VertexStream1svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + Delegates.glVertexStream1svATI = (Delegates.VertexStream1svATI)GetExtensionDelegateStatic("glVertexStream1svATI", typeof(Delegates.VertexStream1svATI)); + Delegates.glVertexStream1svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + } + internal static void Load_VertexStream2dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y) + { + Delegates.glVertexStream2dATI = (Delegates.VertexStream2dATI)GetExtensionDelegateStatic("glVertexStream2dATI", typeof(Delegates.VertexStream2dATI)); + Delegates.glVertexStream2dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y); + } + internal static unsafe void Load_VertexStream2dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + Delegates.glVertexStream2dvATI = (Delegates.VertexStream2dvATI)GetExtensionDelegateStatic("glVertexStream2dvATI", typeof(Delegates.VertexStream2dvATI)); + Delegates.glVertexStream2dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + } + internal static void Load_VertexStream2fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y) + { + Delegates.glVertexStream2fATI = (Delegates.VertexStream2fATI)GetExtensionDelegateStatic("glVertexStream2fATI", typeof(Delegates.VertexStream2fATI)); + Delegates.glVertexStream2fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y); + } + internal static unsafe void Load_VertexStream2fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + Delegates.glVertexStream2fvATI = (Delegates.VertexStream2fvATI)GetExtensionDelegateStatic("glVertexStream2fvATI", typeof(Delegates.VertexStream2fvATI)); + Delegates.glVertexStream2fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + } + internal static void Load_VertexStream2iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y) + { + Delegates.glVertexStream2iATI = (Delegates.VertexStream2iATI)GetExtensionDelegateStatic("glVertexStream2iATI", typeof(Delegates.VertexStream2iATI)); + Delegates.glVertexStream2iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y); + } + internal static unsafe void Load_VertexStream2ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + Delegates.glVertexStream2ivATI = (Delegates.VertexStream2ivATI)GetExtensionDelegateStatic("glVertexStream2ivATI", typeof(Delegates.VertexStream2ivATI)); + Delegates.glVertexStream2ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + } + internal static void Load_VertexStream2sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y) + { + Delegates.glVertexStream2sATI = (Delegates.VertexStream2sATI)GetExtensionDelegateStatic("glVertexStream2sATI", typeof(Delegates.VertexStream2sATI)); + Delegates.glVertexStream2sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y); + } + internal static unsafe void Load_VertexStream2svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + Delegates.glVertexStream2svATI = (Delegates.VertexStream2svATI)GetExtensionDelegateStatic("glVertexStream2svATI", typeof(Delegates.VertexStream2svATI)); + Delegates.glVertexStream2svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + } + internal static void Load_VertexStream3dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z) + { + Delegates.glVertexStream3dATI = (Delegates.VertexStream3dATI)GetExtensionDelegateStatic("glVertexStream3dATI", typeof(Delegates.VertexStream3dATI)); + Delegates.glVertexStream3dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_VertexStream3dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + Delegates.glVertexStream3dvATI = (Delegates.VertexStream3dvATI)GetExtensionDelegateStatic("glVertexStream3dvATI", typeof(Delegates.VertexStream3dvATI)); + Delegates.glVertexStream3dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + } + internal static void Load_VertexStream3fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z) + { + Delegates.glVertexStream3fATI = (Delegates.VertexStream3fATI)GetExtensionDelegateStatic("glVertexStream3fATI", typeof(Delegates.VertexStream3fATI)); + Delegates.glVertexStream3fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_VertexStream3fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + Delegates.glVertexStream3fvATI = (Delegates.VertexStream3fvATI)GetExtensionDelegateStatic("glVertexStream3fvATI", typeof(Delegates.VertexStream3fvATI)); + Delegates.glVertexStream3fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + } + internal static void Load_VertexStream3iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z) + { + Delegates.glVertexStream3iATI = (Delegates.VertexStream3iATI)GetExtensionDelegateStatic("glVertexStream3iATI", typeof(Delegates.VertexStream3iATI)); + Delegates.glVertexStream3iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z); + } + internal static unsafe void Load_VertexStream3ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + Delegates.glVertexStream3ivATI = (Delegates.VertexStream3ivATI)GetExtensionDelegateStatic("glVertexStream3ivATI", typeof(Delegates.VertexStream3ivATI)); + Delegates.glVertexStream3ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + } + internal static void Load_VertexStream3sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z) + { + Delegates.glVertexStream3sATI = (Delegates.VertexStream3sATI)GetExtensionDelegateStatic("glVertexStream3sATI", typeof(Delegates.VertexStream3sATI)); + Delegates.glVertexStream3sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z); + } + internal static unsafe void Load_VertexStream3svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + Delegates.glVertexStream3svATI = (Delegates.VertexStream3svATI)GetExtensionDelegateStatic("glVertexStream3svATI", typeof(Delegates.VertexStream3svATI)); + Delegates.glVertexStream3svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + } + internal static void Load_VertexStream4dATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double x, Double y, Double z, Double w) + { + Delegates.glVertexStream4dATI = (Delegates.VertexStream4dATI)GetExtensionDelegateStatic("glVertexStream4dATI", typeof(Delegates.VertexStream4dATI)); + Delegates.glVertexStream4dATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_VertexStream4dvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Double* coords) + { + Delegates.glVertexStream4dvATI = (Delegates.VertexStream4dvATI)GetExtensionDelegateStatic("glVertexStream4dvATI", typeof(Delegates.VertexStream4dvATI)); + Delegates.glVertexStream4dvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Double*)coords); + } + internal static void Load_VertexStream4fATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single x, Single y, Single z, Single w) + { + Delegates.glVertexStream4fATI = (Delegates.VertexStream4fATI)GetExtensionDelegateStatic("glVertexStream4fATI", typeof(Delegates.VertexStream4fATI)); + Delegates.glVertexStream4fATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_VertexStream4fvATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Single* coords) + { + Delegates.glVertexStream4fvATI = (Delegates.VertexStream4fvATI)GetExtensionDelegateStatic("glVertexStream4fvATI", typeof(Delegates.VertexStream4fvATI)); + Delegates.glVertexStream4fvATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Single*)coords); + } + internal static void Load_VertexStream4iATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glVertexStream4iATI = (Delegates.VertexStream4iATI)GetExtensionDelegateStatic("glVertexStream4iATI", typeof(Delegates.VertexStream4iATI)); + Delegates.glVertexStream4iATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_VertexStream4ivATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int32* coords) + { + Delegates.glVertexStream4ivATI = (Delegates.VertexStream4ivATI)GetExtensionDelegateStatic("glVertexStream4ivATI", typeof(Delegates.VertexStream4ivATI)); + Delegates.glVertexStream4ivATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int32*)coords); + } + internal static void Load_VertexStream4sATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glVertexStream4sATI = (Delegates.VertexStream4sATI)GetExtensionDelegateStatic("glVertexStream4sATI", typeof(Delegates.VertexStream4sATI)); + Delegates.glVertexStream4sATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static unsafe void Load_VertexStream4svATI(OpenTK.Graphics.OpenGL.AtiVertexStreams stream, Int16* coords) + { + Delegates.glVertexStream4svATI = (Delegates.VertexStream4svATI)GetExtensionDelegateStatic("glVertexStream4svATI", typeof(Delegates.VertexStream4svATI)); + Delegates.glVertexStream4svATI((OpenTK.Graphics.OpenGL.AtiVertexStreams)stream, (Int16*)coords); + } + internal static void Load_VertexWeightfEXT(Single weight) + { + Delegates.glVertexWeightfEXT = (Delegates.VertexWeightfEXT)GetExtensionDelegateStatic("glVertexWeightfEXT", typeof(Delegates.VertexWeightfEXT)); + Delegates.glVertexWeightfEXT((Single)weight); + } + internal static unsafe void Load_VertexWeightfvEXT(Single* weight) + { + Delegates.glVertexWeightfvEXT = (Delegates.VertexWeightfvEXT)GetExtensionDelegateStatic("glVertexWeightfvEXT", typeof(Delegates.VertexWeightfvEXT)); + Delegates.glVertexWeightfvEXT((Single*)weight); + } + internal static void Load_VertexWeighthNV(Half weight) + { + Delegates.glVertexWeighthNV = (Delegates.VertexWeighthNV)GetExtensionDelegateStatic("glVertexWeighthNV", typeof(Delegates.VertexWeighthNV)); + Delegates.glVertexWeighthNV((Half)weight); + } + internal static unsafe void Load_VertexWeighthvNV(Half* weight) + { + Delegates.glVertexWeighthvNV = (Delegates.VertexWeighthvNV)GetExtensionDelegateStatic("glVertexWeighthvNV", typeof(Delegates.VertexWeighthvNV)); + Delegates.glVertexWeighthvNV((Half*)weight); + } + internal static void Load_VertexWeightPointerEXT(Int32 size, OpenTK.Graphics.OpenGL.ExtVertexWeighting type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexWeightPointerEXT = (Delegates.VertexWeightPointerEXT)GetExtensionDelegateStatic("glVertexWeightPointerEXT", typeof(Delegates.VertexWeightPointerEXT)); + Delegates.glVertexWeightPointerEXT((Int32)size, (OpenTK.Graphics.OpenGL.ExtVertexWeighting)type, (Int32)stride, (IntPtr)pointer); + } + internal static unsafe OpenTK.Graphics.OpenGL.NvVideoCapture Load_VideoCaptureNV(UInt32 video_capture_slot, [OutAttribute] UInt32* sequence_num, [OutAttribute] UInt64* capture_time) + { + Delegates.glVideoCaptureNV = (Delegates.VideoCaptureNV)GetExtensionDelegateStatic("glVideoCaptureNV", typeof(Delegates.VideoCaptureNV)); + return Delegates.glVideoCaptureNV((UInt32)video_capture_slot, (UInt32*)sequence_num, (UInt64*)capture_time); + } + internal static unsafe void Load_VideoCaptureStreamParameterdvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Double* @params) + { + Delegates.glVideoCaptureStreamParameterdvNV = (Delegates.VideoCaptureStreamParameterdvNV)GetExtensionDelegateStatic("glVideoCaptureStreamParameterdvNV", typeof(Delegates.VideoCaptureStreamParameterdvNV)); + Delegates.glVideoCaptureStreamParameterdvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Double*)@params); + } + internal static unsafe void Load_VideoCaptureStreamParameterfvNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Single* @params) + { + Delegates.glVideoCaptureStreamParameterfvNV = (Delegates.VideoCaptureStreamParameterfvNV)GetExtensionDelegateStatic("glVideoCaptureStreamParameterfvNV", typeof(Delegates.VideoCaptureStreamParameterfvNV)); + Delegates.glVideoCaptureStreamParameterfvNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Single*)@params); + } + internal static unsafe void Load_VideoCaptureStreamParameterivNV(UInt32 video_capture_slot, UInt32 stream, OpenTK.Graphics.OpenGL.NvVideoCapture pname, Int32* @params) + { + Delegates.glVideoCaptureStreamParameterivNV = (Delegates.VideoCaptureStreamParameterivNV)GetExtensionDelegateStatic("glVideoCaptureStreamParameterivNV", typeof(Delegates.VideoCaptureStreamParameterivNV)); + Delegates.glVideoCaptureStreamParameterivNV((UInt32)video_capture_slot, (UInt32)stream, (OpenTK.Graphics.OpenGL.NvVideoCapture)pname, (Int32*)@params); + } + internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static unsafe void Load_ViewportArrayv(UInt32 first, Int32 count, Single* v) + { + Delegates.glViewportArrayv = (Delegates.ViewportArrayv)GetExtensionDelegateStatic("glViewportArrayv", typeof(Delegates.ViewportArrayv)); + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); + } + internal static void Load_ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h) + { + Delegates.glViewportIndexedf = (Delegates.ViewportIndexedf)GetExtensionDelegateStatic("glViewportIndexedf", typeof(Delegates.ViewportIndexedf)); + Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); + } + internal static unsafe void Load_ViewportIndexedfv(UInt32 index, Single* v) + { + Delegates.glViewportIndexedfv = (Delegates.ViewportIndexedfv)GetExtensionDelegateStatic("glViewportIndexedfv", typeof(Delegates.ViewportIndexedfv)); + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); + } + internal static OpenTK.Graphics.OpenGL.WaitSyncStatus Load_WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL.WaitSyncFlags flags, UInt64 timeout) + { + Delegates.glWaitSync = (Delegates.WaitSync)GetExtensionDelegateStatic("glWaitSync", typeof(Delegates.WaitSync)); + return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL.WaitSyncFlags)flags, (UInt64)timeout); + } + internal static unsafe void Load_WeightbvARB(Int32 size, SByte* weights) + { + Delegates.glWeightbvARB = (Delegates.WeightbvARB)GetExtensionDelegateStatic("glWeightbvARB", typeof(Delegates.WeightbvARB)); + Delegates.glWeightbvARB((Int32)size, (SByte*)weights); + } + internal static unsafe void Load_WeightdvARB(Int32 size, Double* weights) + { + Delegates.glWeightdvARB = (Delegates.WeightdvARB)GetExtensionDelegateStatic("glWeightdvARB", typeof(Delegates.WeightdvARB)); + Delegates.glWeightdvARB((Int32)size, (Double*)weights); + } + internal static unsafe void Load_WeightfvARB(Int32 size, Single* weights) + { + Delegates.glWeightfvARB = (Delegates.WeightfvARB)GetExtensionDelegateStatic("glWeightfvARB", typeof(Delegates.WeightfvARB)); + Delegates.glWeightfvARB((Int32)size, (Single*)weights); + } + internal static unsafe void Load_WeightivARB(Int32 size, Int32* weights) + { + Delegates.glWeightivARB = (Delegates.WeightivARB)GetExtensionDelegateStatic("glWeightivARB", typeof(Delegates.WeightivARB)); + Delegates.glWeightivARB((Int32)size, (Int32*)weights); + } + internal static unsafe void Load_WeightPathsNV(UInt32 resultPath, Int32 numPaths, UInt32* paths, Single* weights) + { + Delegates.glWeightPathsNV = (Delegates.WeightPathsNV)GetExtensionDelegateStatic("glWeightPathsNV", typeof(Delegates.WeightPathsNV)); + Delegates.glWeightPathsNV((UInt32)resultPath, (Int32)numPaths, (UInt32*)paths, (Single*)weights); + } + internal static void Load_WeightPointerARB(Int32 size, OpenTK.Graphics.OpenGL.ArbVertexBlend type, Int32 stride, IntPtr pointer) + { + Delegates.glWeightPointerARB = (Delegates.WeightPointerARB)GetExtensionDelegateStatic("glWeightPointerARB", typeof(Delegates.WeightPointerARB)); + Delegates.glWeightPointerARB((Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexBlend)type, (Int32)stride, (IntPtr)pointer); + } + internal static unsafe void Load_WeightsvARB(Int32 size, Int16* weights) + { + Delegates.glWeightsvARB = (Delegates.WeightsvARB)GetExtensionDelegateStatic("glWeightsvARB", typeof(Delegates.WeightsvARB)); + Delegates.glWeightsvARB((Int32)size, (Int16*)weights); + } + internal static unsafe void Load_WeightubvARB(Int32 size, Byte* weights) + { + Delegates.glWeightubvARB = (Delegates.WeightubvARB)GetExtensionDelegateStatic("glWeightubvARB", typeof(Delegates.WeightubvARB)); + Delegates.glWeightubvARB((Int32)size, (Byte*)weights); + } + internal static unsafe void Load_WeightuivARB(Int32 size, UInt32* weights) + { + Delegates.glWeightuivARB = (Delegates.WeightuivARB)GetExtensionDelegateStatic("glWeightuivARB", typeof(Delegates.WeightuivARB)); + Delegates.glWeightuivARB((Int32)size, (UInt32*)weights); + } + internal static unsafe void Load_WeightusvARB(Int32 size, UInt16* weights) + { + Delegates.glWeightusvARB = (Delegates.WeightusvARB)GetExtensionDelegateStatic("glWeightusvARB", typeof(Delegates.WeightusvARB)); + Delegates.glWeightusvARB((Int32)size, (UInt16*)weights); + } + internal static void Load_WindowPos2d(Double x, Double y) + { + Delegates.glWindowPos2d = (Delegates.WindowPos2d)GetExtensionDelegateStatic("glWindowPos2d", typeof(Delegates.WindowPos2d)); + Delegates.glWindowPos2d((Double)x, (Double)y); + } + internal static void Load_WindowPos2dARB(Double x, Double y) + { + Delegates.glWindowPos2dARB = (Delegates.WindowPos2dARB)GetExtensionDelegateStatic("glWindowPos2dARB", typeof(Delegates.WindowPos2dARB)); + Delegates.glWindowPos2dARB((Double)x, (Double)y); + } + internal static void Load_WindowPos2dMESA(Double x, Double y) + { + Delegates.glWindowPos2dMESA = (Delegates.WindowPos2dMESA)GetExtensionDelegateStatic("glWindowPos2dMESA", typeof(Delegates.WindowPos2dMESA)); + Delegates.glWindowPos2dMESA((Double)x, (Double)y); + } + internal static unsafe void Load_WindowPos2dv(Double* v) + { + Delegates.glWindowPos2dv = (Delegates.WindowPos2dv)GetExtensionDelegateStatic("glWindowPos2dv", typeof(Delegates.WindowPos2dv)); + Delegates.glWindowPos2dv((Double*)v); + } + internal static unsafe void Load_WindowPos2dvARB(Double* v) + { + Delegates.glWindowPos2dvARB = (Delegates.WindowPos2dvARB)GetExtensionDelegateStatic("glWindowPos2dvARB", typeof(Delegates.WindowPos2dvARB)); + Delegates.glWindowPos2dvARB((Double*)v); + } + internal static unsafe void Load_WindowPos2dvMESA(Double* v) + { + Delegates.glWindowPos2dvMESA = (Delegates.WindowPos2dvMESA)GetExtensionDelegateStatic("glWindowPos2dvMESA", typeof(Delegates.WindowPos2dvMESA)); + Delegates.glWindowPos2dvMESA((Double*)v); + } + internal static void Load_WindowPos2f(Single x, Single y) + { + Delegates.glWindowPos2f = (Delegates.WindowPos2f)GetExtensionDelegateStatic("glWindowPos2f", typeof(Delegates.WindowPos2f)); + Delegates.glWindowPos2f((Single)x, (Single)y); + } + internal static void Load_WindowPos2fARB(Single x, Single y) + { + Delegates.glWindowPos2fARB = (Delegates.WindowPos2fARB)GetExtensionDelegateStatic("glWindowPos2fARB", typeof(Delegates.WindowPos2fARB)); + Delegates.glWindowPos2fARB((Single)x, (Single)y); + } + internal static void Load_WindowPos2fMESA(Single x, Single y) + { + Delegates.glWindowPos2fMESA = (Delegates.WindowPos2fMESA)GetExtensionDelegateStatic("glWindowPos2fMESA", typeof(Delegates.WindowPos2fMESA)); + Delegates.glWindowPos2fMESA((Single)x, (Single)y); + } + internal static unsafe void Load_WindowPos2fv(Single* v) + { + Delegates.glWindowPos2fv = (Delegates.WindowPos2fv)GetExtensionDelegateStatic("glWindowPos2fv", typeof(Delegates.WindowPos2fv)); + Delegates.glWindowPos2fv((Single*)v); + } + internal static unsafe void Load_WindowPos2fvARB(Single* v) + { + Delegates.glWindowPos2fvARB = (Delegates.WindowPos2fvARB)GetExtensionDelegateStatic("glWindowPos2fvARB", typeof(Delegates.WindowPos2fvARB)); + Delegates.glWindowPos2fvARB((Single*)v); + } + internal static unsafe void Load_WindowPos2fvMESA(Single* v) + { + Delegates.glWindowPos2fvMESA = (Delegates.WindowPos2fvMESA)GetExtensionDelegateStatic("glWindowPos2fvMESA", typeof(Delegates.WindowPos2fvMESA)); + Delegates.glWindowPos2fvMESA((Single*)v); + } + internal static void Load_WindowPos2i(Int32 x, Int32 y) + { + Delegates.glWindowPos2i = (Delegates.WindowPos2i)GetExtensionDelegateStatic("glWindowPos2i", typeof(Delegates.WindowPos2i)); + Delegates.glWindowPos2i((Int32)x, (Int32)y); + } + internal static void Load_WindowPos2iARB(Int32 x, Int32 y) + { + Delegates.glWindowPos2iARB = (Delegates.WindowPos2iARB)GetExtensionDelegateStatic("glWindowPos2iARB", typeof(Delegates.WindowPos2iARB)); + Delegates.glWindowPos2iARB((Int32)x, (Int32)y); + } + internal static void Load_WindowPos2iMESA(Int32 x, Int32 y) + { + Delegates.glWindowPos2iMESA = (Delegates.WindowPos2iMESA)GetExtensionDelegateStatic("glWindowPos2iMESA", typeof(Delegates.WindowPos2iMESA)); + Delegates.glWindowPos2iMESA((Int32)x, (Int32)y); + } + internal static unsafe void Load_WindowPos2iv(Int32* v) + { + Delegates.glWindowPos2iv = (Delegates.WindowPos2iv)GetExtensionDelegateStatic("glWindowPos2iv", typeof(Delegates.WindowPos2iv)); + Delegates.glWindowPos2iv((Int32*)v); + } + internal static unsafe void Load_WindowPos2ivARB(Int32* v) + { + Delegates.glWindowPos2ivARB = (Delegates.WindowPos2ivARB)GetExtensionDelegateStatic("glWindowPos2ivARB", typeof(Delegates.WindowPos2ivARB)); + Delegates.glWindowPos2ivARB((Int32*)v); + } + internal static unsafe void Load_WindowPos2ivMESA(Int32* v) + { + Delegates.glWindowPos2ivMESA = (Delegates.WindowPos2ivMESA)GetExtensionDelegateStatic("glWindowPos2ivMESA", typeof(Delegates.WindowPos2ivMESA)); + Delegates.glWindowPos2ivMESA((Int32*)v); + } + internal static void Load_WindowPos2s(Int16 x, Int16 y) + { + Delegates.glWindowPos2s = (Delegates.WindowPos2s)GetExtensionDelegateStatic("glWindowPos2s", typeof(Delegates.WindowPos2s)); + Delegates.glWindowPos2s((Int16)x, (Int16)y); + } + internal static void Load_WindowPos2sARB(Int16 x, Int16 y) + { + Delegates.glWindowPos2sARB = (Delegates.WindowPos2sARB)GetExtensionDelegateStatic("glWindowPos2sARB", typeof(Delegates.WindowPos2sARB)); + Delegates.glWindowPos2sARB((Int16)x, (Int16)y); + } + internal static void Load_WindowPos2sMESA(Int16 x, Int16 y) + { + Delegates.glWindowPos2sMESA = (Delegates.WindowPos2sMESA)GetExtensionDelegateStatic("glWindowPos2sMESA", typeof(Delegates.WindowPos2sMESA)); + Delegates.glWindowPos2sMESA((Int16)x, (Int16)y); + } + internal static unsafe void Load_WindowPos2sv(Int16* v) + { + Delegates.glWindowPos2sv = (Delegates.WindowPos2sv)GetExtensionDelegateStatic("glWindowPos2sv", typeof(Delegates.WindowPos2sv)); + Delegates.glWindowPos2sv((Int16*)v); + } + internal static unsafe void Load_WindowPos2svARB(Int16* v) + { + Delegates.glWindowPos2svARB = (Delegates.WindowPos2svARB)GetExtensionDelegateStatic("glWindowPos2svARB", typeof(Delegates.WindowPos2svARB)); + Delegates.glWindowPos2svARB((Int16*)v); + } + internal static unsafe void Load_WindowPos2svMESA(Int16* v) + { + Delegates.glWindowPos2svMESA = (Delegates.WindowPos2svMESA)GetExtensionDelegateStatic("glWindowPos2svMESA", typeof(Delegates.WindowPos2svMESA)); + Delegates.glWindowPos2svMESA((Int16*)v); + } + internal static void Load_WindowPos3d(Double x, Double y, Double z) + { + Delegates.glWindowPos3d = (Delegates.WindowPos3d)GetExtensionDelegateStatic("glWindowPos3d", typeof(Delegates.WindowPos3d)); + Delegates.glWindowPos3d((Double)x, (Double)y, (Double)z); + } + internal static void Load_WindowPos3dARB(Double x, Double y, Double z) + { + Delegates.glWindowPos3dARB = (Delegates.WindowPos3dARB)GetExtensionDelegateStatic("glWindowPos3dARB", typeof(Delegates.WindowPos3dARB)); + Delegates.glWindowPos3dARB((Double)x, (Double)y, (Double)z); + } + internal static void Load_WindowPos3dMESA(Double x, Double y, Double z) + { + Delegates.glWindowPos3dMESA = (Delegates.WindowPos3dMESA)GetExtensionDelegateStatic("glWindowPos3dMESA", typeof(Delegates.WindowPos3dMESA)); + Delegates.glWindowPos3dMESA((Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_WindowPos3dv(Double* v) + { + Delegates.glWindowPos3dv = (Delegates.WindowPos3dv)GetExtensionDelegateStatic("glWindowPos3dv", typeof(Delegates.WindowPos3dv)); + Delegates.glWindowPos3dv((Double*)v); + } + internal static unsafe void Load_WindowPos3dvARB(Double* v) + { + Delegates.glWindowPos3dvARB = (Delegates.WindowPos3dvARB)GetExtensionDelegateStatic("glWindowPos3dvARB", typeof(Delegates.WindowPos3dvARB)); + Delegates.glWindowPos3dvARB((Double*)v); + } + internal static unsafe void Load_WindowPos3dvMESA(Double* v) + { + Delegates.glWindowPos3dvMESA = (Delegates.WindowPos3dvMESA)GetExtensionDelegateStatic("glWindowPos3dvMESA", typeof(Delegates.WindowPos3dvMESA)); + Delegates.glWindowPos3dvMESA((Double*)v); + } + internal static void Load_WindowPos3f(Single x, Single y, Single z) + { + Delegates.glWindowPos3f = (Delegates.WindowPos3f)GetExtensionDelegateStatic("glWindowPos3f", typeof(Delegates.WindowPos3f)); + Delegates.glWindowPos3f((Single)x, (Single)y, (Single)z); + } + internal static void Load_WindowPos3fARB(Single x, Single y, Single z) + { + Delegates.glWindowPos3fARB = (Delegates.WindowPos3fARB)GetExtensionDelegateStatic("glWindowPos3fARB", typeof(Delegates.WindowPos3fARB)); + Delegates.glWindowPos3fARB((Single)x, (Single)y, (Single)z); + } + internal static void Load_WindowPos3fMESA(Single x, Single y, Single z) + { + Delegates.glWindowPos3fMESA = (Delegates.WindowPos3fMESA)GetExtensionDelegateStatic("glWindowPos3fMESA", typeof(Delegates.WindowPos3fMESA)); + Delegates.glWindowPos3fMESA((Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_WindowPos3fv(Single* v) + { + Delegates.glWindowPos3fv = (Delegates.WindowPos3fv)GetExtensionDelegateStatic("glWindowPos3fv", typeof(Delegates.WindowPos3fv)); + Delegates.glWindowPos3fv((Single*)v); + } + internal static unsafe void Load_WindowPos3fvARB(Single* v) + { + Delegates.glWindowPos3fvARB = (Delegates.WindowPos3fvARB)GetExtensionDelegateStatic("glWindowPos3fvARB", typeof(Delegates.WindowPos3fvARB)); + Delegates.glWindowPos3fvARB((Single*)v); + } + internal static unsafe void Load_WindowPos3fvMESA(Single* v) + { + Delegates.glWindowPos3fvMESA = (Delegates.WindowPos3fvMESA)GetExtensionDelegateStatic("glWindowPos3fvMESA", typeof(Delegates.WindowPos3fvMESA)); + Delegates.glWindowPos3fvMESA((Single*)v); + } + internal static void Load_WindowPos3i(Int32 x, Int32 y, Int32 z) + { + Delegates.glWindowPos3i = (Delegates.WindowPos3i)GetExtensionDelegateStatic("glWindowPos3i", typeof(Delegates.WindowPos3i)); + Delegates.glWindowPos3i((Int32)x, (Int32)y, (Int32)z); + } + internal static void Load_WindowPos3iARB(Int32 x, Int32 y, Int32 z) + { + Delegates.glWindowPos3iARB = (Delegates.WindowPos3iARB)GetExtensionDelegateStatic("glWindowPos3iARB", typeof(Delegates.WindowPos3iARB)); + Delegates.glWindowPos3iARB((Int32)x, (Int32)y, (Int32)z); + } + internal static void Load_WindowPos3iMESA(Int32 x, Int32 y, Int32 z) + { + Delegates.glWindowPos3iMESA = (Delegates.WindowPos3iMESA)GetExtensionDelegateStatic("glWindowPos3iMESA", typeof(Delegates.WindowPos3iMESA)); + Delegates.glWindowPos3iMESA((Int32)x, (Int32)y, (Int32)z); + } + internal static unsafe void Load_WindowPos3iv(Int32* v) + { + Delegates.glWindowPos3iv = (Delegates.WindowPos3iv)GetExtensionDelegateStatic("glWindowPos3iv", typeof(Delegates.WindowPos3iv)); + Delegates.glWindowPos3iv((Int32*)v); + } + internal static unsafe void Load_WindowPos3ivARB(Int32* v) + { + Delegates.glWindowPos3ivARB = (Delegates.WindowPos3ivARB)GetExtensionDelegateStatic("glWindowPos3ivARB", typeof(Delegates.WindowPos3ivARB)); + Delegates.glWindowPos3ivARB((Int32*)v); + } + internal static unsafe void Load_WindowPos3ivMESA(Int32* v) + { + Delegates.glWindowPos3ivMESA = (Delegates.WindowPos3ivMESA)GetExtensionDelegateStatic("glWindowPos3ivMESA", typeof(Delegates.WindowPos3ivMESA)); + Delegates.glWindowPos3ivMESA((Int32*)v); + } + internal static void Load_WindowPos3s(Int16 x, Int16 y, Int16 z) + { + Delegates.glWindowPos3s = (Delegates.WindowPos3s)GetExtensionDelegateStatic("glWindowPos3s", typeof(Delegates.WindowPos3s)); + Delegates.glWindowPos3s((Int16)x, (Int16)y, (Int16)z); + } + internal static void Load_WindowPos3sARB(Int16 x, Int16 y, Int16 z) + { + Delegates.glWindowPos3sARB = (Delegates.WindowPos3sARB)GetExtensionDelegateStatic("glWindowPos3sARB", typeof(Delegates.WindowPos3sARB)); + Delegates.glWindowPos3sARB((Int16)x, (Int16)y, (Int16)z); + } + internal static void Load_WindowPos3sMESA(Int16 x, Int16 y, Int16 z) + { + Delegates.glWindowPos3sMESA = (Delegates.WindowPos3sMESA)GetExtensionDelegateStatic("glWindowPos3sMESA", typeof(Delegates.WindowPos3sMESA)); + Delegates.glWindowPos3sMESA((Int16)x, (Int16)y, (Int16)z); + } + internal static unsafe void Load_WindowPos3sv(Int16* v) + { + Delegates.glWindowPos3sv = (Delegates.WindowPos3sv)GetExtensionDelegateStatic("glWindowPos3sv", typeof(Delegates.WindowPos3sv)); + Delegates.glWindowPos3sv((Int16*)v); + } + internal static unsafe void Load_WindowPos3svARB(Int16* v) + { + Delegates.glWindowPos3svARB = (Delegates.WindowPos3svARB)GetExtensionDelegateStatic("glWindowPos3svARB", typeof(Delegates.WindowPos3svARB)); + Delegates.glWindowPos3svARB((Int16*)v); + } + internal static unsafe void Load_WindowPos3svMESA(Int16* v) + { + Delegates.glWindowPos3svMESA = (Delegates.WindowPos3svMESA)GetExtensionDelegateStatic("glWindowPos3svMESA", typeof(Delegates.WindowPos3svMESA)); + Delegates.glWindowPos3svMESA((Int16*)v); + } + internal static void Load_WindowPos4dMESA(Double x, Double y, Double z, Double w) + { + Delegates.glWindowPos4dMESA = (Delegates.WindowPos4dMESA)GetExtensionDelegateStatic("glWindowPos4dMESA", typeof(Delegates.WindowPos4dMESA)); + Delegates.glWindowPos4dMESA((Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_WindowPos4dvMESA(Double* v) + { + Delegates.glWindowPos4dvMESA = (Delegates.WindowPos4dvMESA)GetExtensionDelegateStatic("glWindowPos4dvMESA", typeof(Delegates.WindowPos4dvMESA)); + Delegates.glWindowPos4dvMESA((Double*)v); + } + internal static void Load_WindowPos4fMESA(Single x, Single y, Single z, Single w) + { + Delegates.glWindowPos4fMESA = (Delegates.WindowPos4fMESA)GetExtensionDelegateStatic("glWindowPos4fMESA", typeof(Delegates.WindowPos4fMESA)); + Delegates.glWindowPos4fMESA((Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_WindowPos4fvMESA(Single* v) + { + Delegates.glWindowPos4fvMESA = (Delegates.WindowPos4fvMESA)GetExtensionDelegateStatic("glWindowPos4fvMESA", typeof(Delegates.WindowPos4fvMESA)); + Delegates.glWindowPos4fvMESA((Single*)v); + } + internal static void Load_WindowPos4iMESA(Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glWindowPos4iMESA = (Delegates.WindowPos4iMESA)GetExtensionDelegateStatic("glWindowPos4iMESA", typeof(Delegates.WindowPos4iMESA)); + Delegates.glWindowPos4iMESA((Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_WindowPos4ivMESA(Int32* v) + { + Delegates.glWindowPos4ivMESA = (Delegates.WindowPos4ivMESA)GetExtensionDelegateStatic("glWindowPos4ivMESA", typeof(Delegates.WindowPos4ivMESA)); + Delegates.glWindowPos4ivMESA((Int32*)v); + } + internal static void Load_WindowPos4sMESA(Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glWindowPos4sMESA = (Delegates.WindowPos4sMESA)GetExtensionDelegateStatic("glWindowPos4sMESA", typeof(Delegates.WindowPos4sMESA)); + Delegates.glWindowPos4sMESA((Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static unsafe void Load_WindowPos4svMESA(Int16* v) + { + Delegates.glWindowPos4svMESA = (Delegates.WindowPos4svMESA)GetExtensionDelegateStatic("glWindowPos4svMESA", typeof(Delegates.WindowPos4svMESA)); + Delegates.glWindowPos4svMESA((Int16*)v); + } + internal static void Load_WriteMaskEXT(UInt32 res, UInt32 @in, OpenTK.Graphics.OpenGL.ExtVertexShader outX, OpenTK.Graphics.OpenGL.ExtVertexShader outY, OpenTK.Graphics.OpenGL.ExtVertexShader outZ, OpenTK.Graphics.OpenGL.ExtVertexShader outW) + { + Delegates.glWriteMaskEXT = (Delegates.WriteMaskEXT)GetExtensionDelegateStatic("glWriteMaskEXT", typeof(Delegates.WriteMaskEXT)); + Delegates.glWriteMaskEXT((UInt32)res, (UInt32)@in, (OpenTK.Graphics.OpenGL.ExtVertexShader)outX, (OpenTK.Graphics.OpenGL.ExtVertexShader)outY, (OpenTK.Graphics.OpenGL.ExtVertexShader)outZ, (OpenTK.Graphics.OpenGL.ExtVertexShader)outW); + } } } } diff --git a/Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs b/Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs index d685160d..d872bda3 100644 --- a/Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs +++ b/Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs @@ -2055,3366 +2055,3366 @@ namespace OpenTK.Graphics.OpenGL4 [SuppressUnmanagedCodeSecurity] internal delegate OpenTK.Graphics.OpenGL4.WaitSyncStatus WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout); internal static WaitSync glWaitSync = Load_WaitSync; - } - internal static void Load_ActiveShaderProgram(UInt32 pipeline, UInt32 program) - { - Delegates.glActiveShaderProgram = (Delegates.ActiveShaderProgram)GetExtensionDelegateStatic("glActiveShaderProgram", typeof(Delegates.ActiveShaderProgram)); - Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); - } - internal static void Load_ActiveTexture(OpenTK.Graphics.OpenGL4.TextureUnit texture) - { - Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); - Delegates.glActiveTexture((OpenTK.Graphics.OpenGL4.TextureUnit)texture); - } - internal static void Load_AttachShader(UInt32 program, UInt32 shader) - { - Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); - Delegates.glAttachShader((UInt32)program, (UInt32)shader); - } - internal static void Load_BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode) - { - Delegates.glBeginConditionalRender = (Delegates.BeginConditionalRender)GetExtensionDelegateStatic("glBeginConditionalRender", typeof(Delegates.BeginConditionalRender)); - Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL4.ConditionalRenderType)mode); - } - internal static void Load_BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 id) - { - Delegates.glBeginQuery = (Delegates.BeginQuery)GetExtensionDelegateStatic("glBeginQuery", typeof(Delegates.BeginQuery)); - Delegates.glBeginQuery((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)id); - } - internal static void Load_BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, UInt32 id) - { - Delegates.glBeginQueryIndexed = (Delegates.BeginQueryIndexed)GetExtensionDelegateStatic("glBeginQueryIndexed", typeof(Delegates.BeginQueryIndexed)); - Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (UInt32)id); - } - internal static void Load_BeginTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType primitiveMode) - { - Delegates.glBeginTransformFeedback = (Delegates.BeginTransformFeedback)GetExtensionDelegateStatic("glBeginTransformFeedback", typeof(Delegates.BeginTransformFeedback)); - Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType)primitiveMode); - } - internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) - { - Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); - Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); - } - internal static void Load_BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, UInt32 buffer) - { - Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); - Delegates.glBindBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, (UInt32)buffer); - } - internal static void Load_BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer) - { - Delegates.glBindBufferBase = (Delegates.BindBufferBase)GetExtensionDelegateStatic("glBindBufferBase", typeof(Delegates.BindBufferBase)); - Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); - } - internal static void Load_BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glBindBufferRange = (Delegates.BindBufferRange)GetExtensionDelegateStatic("glBindBufferRange", typeof(Delegates.BindBufferRange)); - Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static unsafe void Load_BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) - { - Delegates.glBindBuffersBase = (Delegates.BindBuffersBase)GetExtensionDelegateStatic("glBindBuffersBase", typeof(Delegates.BindBuffersBase)); - Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); - } - internal static unsafe void Load_BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes) - { - Delegates.glBindBuffersRange = (Delegates.BindBuffersRange)GetExtensionDelegateStatic("glBindBuffersRange", typeof(Delegates.BindBuffersRange)); - Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); - } - internal static void Load_BindFragDataLocation(UInt32 program, UInt32 color, String name) - { - Delegates.glBindFragDataLocation = (Delegates.BindFragDataLocation)GetExtensionDelegateStatic("glBindFragDataLocation", typeof(Delegates.BindFragDataLocation)); - Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); - } - internal static void Load_BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) - { - Delegates.glBindFragDataLocationIndexed = (Delegates.BindFragDataLocationIndexed)GetExtensionDelegateStatic("glBindFragDataLocationIndexed", typeof(Delegates.BindFragDataLocationIndexed)); - Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); - } - internal static void Load_BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, UInt32 framebuffer) - { - Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); - Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (UInt32)framebuffer); - } - internal static void Load_BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format) - { - Delegates.glBindImageTexture = (Delegates.BindImageTexture)GetExtensionDelegateStatic("glBindImageTexture", typeof(Delegates.BindImageTexture)); - Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.TextureAccess)access, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)format); - } - internal static unsafe void Load_BindImageTextures(UInt32 first, Int32 count, UInt32* textures) - { - Delegates.glBindImageTextures = (Delegates.BindImageTextures)GetExtensionDelegateStatic("glBindImageTextures", typeof(Delegates.BindImageTextures)); - Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); - } - internal static void Load_BindProgramPipeline(UInt32 pipeline) - { - Delegates.glBindProgramPipeline = (Delegates.BindProgramPipeline)GetExtensionDelegateStatic("glBindProgramPipeline", typeof(Delegates.BindProgramPipeline)); - Delegates.glBindProgramPipeline((UInt32)pipeline); - } - internal static void Load_BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, UInt32 renderbuffer) - { - Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); - Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (UInt32)renderbuffer); - } - internal static void Load_BindSampler(UInt32 unit, UInt32 sampler) - { - Delegates.glBindSampler = (Delegates.BindSampler)GetExtensionDelegateStatic("glBindSampler", typeof(Delegates.BindSampler)); - Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); - } - internal static unsafe void Load_BindSamplers(UInt32 first, Int32 count, UInt32* samplers) - { - Delegates.glBindSamplers = (Delegates.BindSamplers)GetExtensionDelegateStatic("glBindSamplers", typeof(Delegates.BindSamplers)); - Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); - } - internal static void Load_BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 texture) - { - Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); - Delegates.glBindTexture((OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)texture); - } - internal static unsafe void Load_BindTextures(UInt32 first, Int32 count, UInt32* textures) - { - Delegates.glBindTextures = (Delegates.BindTextures)GetExtensionDelegateStatic("glBindTextures", typeof(Delegates.BindTextures)); - Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); - } - internal static void Load_BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, UInt32 id) - { - Delegates.glBindTransformFeedback = (Delegates.BindTransformFeedback)GetExtensionDelegateStatic("glBindTransformFeedback", typeof(Delegates.BindTransformFeedback)); - Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL4.TransformFeedbackTarget)target, (UInt32)id); - } - internal static void Load_BindVertexArray(UInt32 array) - { - Delegates.glBindVertexArray = (Delegates.BindVertexArray)GetExtensionDelegateStatic("glBindVertexArray", typeof(Delegates.BindVertexArray)); - Delegates.glBindVertexArray((UInt32)array); - } - internal static void Load_BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) - { - Delegates.glBindVertexBuffer = (Delegates.BindVertexBuffer)GetExtensionDelegateStatic("glBindVertexBuffer", typeof(Delegates.BindVertexBuffer)); - Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); - } - internal static unsafe void Load_BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) - { - Delegates.glBindVertexBuffers = (Delegates.BindVertexBuffers)GetExtensionDelegateStatic("glBindVertexBuffers", typeof(Delegates.BindVertexBuffers)); - Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); - } - internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); - Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_BlendEquation(OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); - Delegates.glBlendEquation((OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - } - internal static void Load_BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - Delegates.glBlendEquationi = (Delegates.BlendEquationi)GetExtensionDelegateStatic("glBlendEquationi", typeof(Delegates.BlendEquationi)); - Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - } - internal static void Load_BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) - { - Delegates.glBlendEquationiARB = (Delegates.BlendEquationiARB)GetExtensionDelegateStatic("glBlendEquationiARB", typeof(Delegates.BlendEquationiARB)); - Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); - } - internal static void Load_BlendEquationSeparate(OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); - Delegates.glBlendEquationSeparate((OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha); - } - internal static void Load_BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) - { - Delegates.glBlendEquationSeparatei = (Delegates.BlendEquationSeparatei)GetExtensionDelegateStatic("glBlendEquationSeparatei", typeof(Delegates.BlendEquationSeparatei)); - Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha); - } - internal static void Load_BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha) - { - Delegates.glBlendEquationSeparateiARB = (Delegates.BlendEquationSeparateiARB)GetExtensionDelegateStatic("glBlendEquationSeparateiARB", typeof(Delegates.BlendEquationSeparateiARB)); - Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)modeRGB, (OpenTK.Graphics.OpenGL4.All)modeAlpha); - } - internal static void Load_BlendFunc(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactor) - { - Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); - Delegates.glBlendFunc((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactor); - } - internal static void Load_BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst) - { - Delegates.glBlendFunci = (Delegates.BlendFunci)GetExtensionDelegateStatic("glBlendFunci", typeof(Delegates.BlendFunci)); - Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dst); - } - internal static void Load_BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst) - { - Delegates.glBlendFunciARB = (Delegates.BlendFunciARB)GetExtensionDelegateStatic("glBlendFunciARB", typeof(Delegates.BlendFunciARB)); - Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)src, (OpenTK.Graphics.OpenGL4.All)dst); - } - internal static void Load_BlendFuncSeparate(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorAlpha) - { - Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); - Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorAlpha); - } - internal static void Load_BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha) - { - Delegates.glBlendFuncSeparatei = (Delegates.BlendFuncSeparatei)GetExtensionDelegateStatic("glBlendFuncSeparatei", typeof(Delegates.BlendFuncSeparatei)); - Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstAlpha); - } - internal static void Load_BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha) - { - Delegates.glBlendFuncSeparateiARB = (Delegates.BlendFuncSeparateiARB)GetExtensionDelegateStatic("glBlendFuncSeparateiARB", typeof(Delegates.BlendFuncSeparateiARB)); - Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)srcRGB, (OpenTK.Graphics.OpenGL4.All)dstRGB, (OpenTK.Graphics.OpenGL4.All)srcAlpha, (OpenTK.Graphics.OpenGL4.All)dstAlpha); - } - internal static void Load_BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL4.ClearBufferMask mask, OpenTK.Graphics.OpenGL4.BlitFramebufferFilter filter) - { - Delegates.glBlitFramebuffer = (Delegates.BlitFramebuffer)GetExtensionDelegateStatic("glBlitFramebuffer", typeof(Delegates.BlitFramebuffer)); - Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL4.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL4.BlitFramebufferFilter)filter); - } - internal static void Load_BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) - { - Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); - Delegates.glBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage); - } - internal static void Load_BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) - { - Delegates.glBufferStorage = (Delegates.BufferStorage)GetExtensionDelegateStatic("glBufferStorage", typeof(Delegates.BufferStorage)); - Delegates.glBufferStorage((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags); - } - internal static void Load_BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) - { - Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); - Delegates.glBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static OpenTK.Graphics.OpenGL4.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.OpenGL4.FramebufferTarget target) - { - Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); - return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.OpenGL4.FramebufferTarget)target); - } - internal static void Load_ClampColor(OpenTK.Graphics.OpenGL4.ClampColorTarget target, OpenTK.Graphics.OpenGL4.ClampColorMode clamp) - { - Delegates.glClampColor = (Delegates.ClampColor)GetExtensionDelegateStatic("glClampColor", typeof(Delegates.ClampColor)); - Delegates.glClampColor((OpenTK.Graphics.OpenGL4.ClampColorTarget)target, (OpenTK.Graphics.OpenGL4.ClampColorMode)clamp); - } - internal static void Load_Clear(OpenTK.Graphics.OpenGL4.ClearBufferMask mask) - { - Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); - Delegates.glClear((OpenTK.Graphics.OpenGL4.ClearBufferMask)mask); - } - internal static void Load_ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data) - { - Delegates.glClearBufferData = (Delegates.ClearBufferData)GetExtensionDelegateStatic("glClearBufferData", typeof(Delegates.ClearBufferData)); - Delegates.glClearBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data); - } - internal static void Load_ClearBufferfi(OpenTK.Graphics.OpenGL4.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) - { - Delegates.glClearBufferfi = (Delegates.ClearBufferfi)GetExtensionDelegateStatic("glClearBufferfi", typeof(Delegates.ClearBufferfi)); - Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL4.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); - } - internal static unsafe void Load_ClearBufferfv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single* value) - { - Delegates.glClearBufferfv = (Delegates.ClearBufferfv)GetExtensionDelegateStatic("glClearBufferfv", typeof(Delegates.ClearBufferfv)); - Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); - } - internal static unsafe void Load_ClearBufferiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32* value) - { - Delegates.glClearBufferiv = (Delegates.ClearBufferiv)GetExtensionDelegateStatic("glClearBufferiv", typeof(Delegates.ClearBufferiv)); - Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); - } - internal static void Load_ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data) - { - Delegates.glClearBufferSubData = (Delegates.ClearBufferSubData)GetExtensionDelegateStatic("glClearBufferSubData", typeof(Delegates.ClearBufferSubData)); - Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data); - } - internal static unsafe void Load_ClearBufferuiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) - { - Delegates.glClearBufferuiv = (Delegates.ClearBufferuiv)GetExtensionDelegateStatic("glClearBufferuiv", typeof(Delegates.ClearBufferuiv)); - Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); - } - internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) - { - Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); - Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); - } - internal static void Load_ClearDepth(Double depth) - { - Delegates.glClearDepth = (Delegates.ClearDepth)GetExtensionDelegateStatic("glClearDepth", typeof(Delegates.ClearDepth)); - Delegates.glClearDepth((Double)depth); - } - internal static void Load_ClearDepthf(Single d) - { - Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); - Delegates.glClearDepthf((Single)d); - } - internal static void Load_ClearStencil(Int32 s) - { - Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); - Delegates.glClearStencil((Int32)s); - } - internal static void Load_ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - Delegates.glClearTexImage = (Delegates.ClearTexImage)GetExtensionDelegateStatic("glClearTexImage", typeof(Delegates.ClearTexImage)); - Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - } - internal static void Load_ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - Delegates.glClearTexSubImage = (Delegates.ClearTexSubImage)GetExtensionDelegateStatic("glClearTexSubImage", typeof(Delegates.ClearTexSubImage)); - Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - } - internal static OpenTK.Graphics.OpenGL4.WaitSyncStatus Load_ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, UInt64 timeout) - { - Delegates.glClientWaitSync = (Delegates.ClientWaitSync)GetExtensionDelegateStatic("glClientWaitSync", typeof(Delegates.ClientWaitSync)); - return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags)flags, (UInt64)timeout); - } - internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) - { - Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); - Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); - } - internal static void Load_ColorMaski(UInt32 index, bool r, bool g, bool b, bool a) - { - Delegates.glColorMaski = (Delegates.ColorMaski)GetExtensionDelegateStatic("glColorMaski", typeof(Delegates.ColorMaski)); - Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); - } - internal static void Load_ColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - Delegates.glColorP3ui = (Delegates.ColorP3ui)GetExtensionDelegateStatic("glColorP3ui", typeof(Delegates.ColorP3ui)); - Delegates.glColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - } - internal static unsafe void Load_ColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - Delegates.glColorP3uiv = (Delegates.ColorP3uiv)GetExtensionDelegateStatic("glColorP3uiv", typeof(Delegates.ColorP3uiv)); - Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - } - internal static void Load_ColorP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - Delegates.glColorP4ui = (Delegates.ColorP4ui)GetExtensionDelegateStatic("glColorP4ui", typeof(Delegates.ColorP4ui)); - Delegates.glColorP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - } - internal static unsafe void Load_ColorP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - Delegates.glColorP4uiv = (Delegates.ColorP4uiv)GetExtensionDelegateStatic("glColorP4uiv", typeof(Delegates.ColorP4uiv)); - Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - } - internal static void Load_ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) - { - Delegates.glColorSubTable = (Delegates.ColorSubTable)GetExtensionDelegateStatic("glColorSubTable", typeof(Delegates.ColorSubTable)); - Delegates.glColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); - } - internal static void Load_ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr table) - { - Delegates.glColorTable = (Delegates.ColorTable)GetExtensionDelegateStatic("glColorTable", typeof(Delegates.ColorTable)); - Delegates.glColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table); - } - internal static unsafe void Load_ColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single* @params) - { - Delegates.glColorTableParameterfv = (Delegates.ColorTableParameterfv)GetExtensionDelegateStatic("glColorTableParameterfv", typeof(Delegates.ColorTableParameterfv)); - Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_ColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32* @params) - { - Delegates.glColorTableParameteriv = (Delegates.ColorTableParameteriv)GetExtensionDelegateStatic("glColorTableParameteriv", typeof(Delegates.ColorTableParameteriv)); - Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Int32*)@params); - } - internal static void Load_CompileShader(UInt32 shader) - { - Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); - Delegates.glCompileShader((UInt32)shader); - } - internal static unsafe void Load_CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length) - { - Delegates.glCompileShaderIncludeARB = (Delegates.CompileShaderIncludeARB)GetExtensionDelegateStatic("glCompileShaderIncludeARB", typeof(Delegates.CompileShaderIncludeARB)); - Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); - } - internal static void Load_CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage1D = (Delegates.CompressedTexImage1D)GetExtensionDelegateStatic("glCompressedTexImage1D", typeof(Delegates.CompressedTexImage1D)); - Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); - Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexImage3D = (Delegates.CompressedTexImage3D)GetExtensionDelegateStatic("glCompressedTexImage3D", typeof(Delegates.CompressedTexImage3D)); - Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage1D = (Delegates.CompressedTexSubImage1D)GetExtensionDelegateStatic("glCompressedTexSubImage1D", typeof(Delegates.CompressedTexSubImage1D)); - Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); - Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) - { - Delegates.glCompressedTexSubImage3D = (Delegates.CompressedTexSubImage3D)GetExtensionDelegateStatic("glCompressedTexSubImage3D", typeof(Delegates.CompressedTexSubImage3D)); - Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); - } - internal static void Load_ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image) - { - Delegates.glConvolutionFilter1D = (Delegates.ConvolutionFilter1D)GetExtensionDelegateStatic("glConvolutionFilter1D", typeof(Delegates.ConvolutionFilter1D)); - Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); - } - internal static void Load_ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image) - { - Delegates.glConvolutionFilter2D = (Delegates.ConvolutionFilter2D)GetExtensionDelegateStatic("glConvolutionFilter2D", typeof(Delegates.ConvolutionFilter2D)); - Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); - } - internal static void Load_ConvolutionParameterf(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single @params) - { - Delegates.glConvolutionParameterf = (Delegates.ConvolutionParameterf)GetExtensionDelegateStatic("glConvolutionParameterf", typeof(Delegates.ConvolutionParameterf)); - Delegates.glConvolutionParameterf((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single)@params); - } - internal static unsafe void Load_ConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single* @params) - { - Delegates.glConvolutionParameterfv = (Delegates.ConvolutionParameterfv)GetExtensionDelegateStatic("glConvolutionParameterfv", typeof(Delegates.ConvolutionParameterfv)); - Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single*)@params); - } - internal static void Load_ConvolutionParameteri(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32 @params) - { - Delegates.glConvolutionParameteri = (Delegates.ConvolutionParameteri)GetExtensionDelegateStatic("glConvolutionParameteri", typeof(Delegates.ConvolutionParameteri)); - Delegates.glConvolutionParameteri((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32)@params); - } - internal static unsafe void Load_ConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32* @params) - { - Delegates.glConvolutionParameteriv = (Delegates.ConvolutionParameteriv)GetExtensionDelegateStatic("glConvolutionParameteriv", typeof(Delegates.ConvolutionParameteriv)); - Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32*)@params); - } - internal static void Load_CopyBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget readTarget, OpenTK.Graphics.OpenGL4.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) - { - Delegates.glCopyBufferSubData = (Delegates.CopyBufferSubData)GetExtensionDelegateStatic("glCopyBufferSubData", typeof(Delegates.CopyBufferSubData)); - Delegates.glCopyBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL4.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); - } - internal static void Load_CopyColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyColorSubTable = (Delegates.CopyColorSubTable)GetExtensionDelegateStatic("glCopyColorSubTable", typeof(Delegates.CopyColorSubTable)); - Delegates.glCopyColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyColorTable = (Delegates.CopyColorTable)GetExtensionDelegateStatic("glCopyColorTable", typeof(Delegates.CopyColorTable)); - Delegates.glCopyColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyConvolutionFilter1D = (Delegates.CopyConvolutionFilter1D)GetExtensionDelegateStatic("glCopyConvolutionFilter1D", typeof(Delegates.CopyConvolutionFilter1D)); - Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyConvolutionFilter2D = (Delegates.CopyConvolutionFilter2D)GetExtensionDelegateStatic("glCopyConvolutionFilter2D", typeof(Delegates.CopyConvolutionFilter2D)); - Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) - { - Delegates.glCopyImageSubData = (Delegates.CopyImageSubData)GetExtensionDelegateStatic("glCopyImageSubData", typeof(Delegates.CopyImageSubData)); - Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL4.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL4.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); - } - internal static void Load_CopyTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) - { - Delegates.glCopyTexImage1D = (Delegates.CopyTexImage1D)GetExtensionDelegateStatic("glCopyTexImage1D", typeof(Delegates.CopyTexImage1D)); - Delegates.glCopyTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); - } - internal static void Load_CopyTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) - { - Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); - Delegates.glCopyTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); - } - internal static void Load_CopyTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) - { - Delegates.glCopyTexSubImage1D = (Delegates.CopyTexSubImage1D)GetExtensionDelegateStatic("glCopyTexSubImage1D", typeof(Delegates.CopyTexSubImage1D)); - Delegates.glCopyTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); - } - internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); - Delegates.glCopyTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_CopyTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glCopyTexSubImage3D = (Delegates.CopyTexSubImage3D)GetExtensionDelegateStatic("glCopyTexSubImage3D", typeof(Delegates.CopyTexSubImage3D)); - Delegates.glCopyTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static Int32 Load_CreateProgram() - { - Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); - return Delegates.glCreateProgram(); - } - internal static Int32 Load_CreateShader(OpenTK.Graphics.OpenGL4.ShaderType type) - { - Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); - return Delegates.glCreateShader((OpenTK.Graphics.OpenGL4.ShaderType)type); - } - internal static Int32 Load_CreateShaderProgramv(OpenTK.Graphics.OpenGL4.ShaderType type, Int32 count, String[] strings) - { - Delegates.glCreateShaderProgramv = (Delegates.CreateShaderProgramv)GetExtensionDelegateStatic("glCreateShaderProgramv", typeof(Delegates.CreateShaderProgramv)); - return Delegates.glCreateShaderProgramv((OpenTK.Graphics.OpenGL4.ShaderType)type, (Int32)count, (String[])strings); - } - internal static unsafe IntPtr Load_CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) - { - Delegates.glCreateSyncFromCLeventARB = (Delegates.CreateSyncFromCLeventARB)GetExtensionDelegateStatic("glCreateSyncFromCLeventARB", typeof(Delegates.CreateSyncFromCLeventARB)); - return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); - } - internal static void Load_CullFace(OpenTK.Graphics.OpenGL4.CullFaceMode mode) - { - Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); - Delegates.glCullFace((OpenTK.Graphics.OpenGL4.CullFaceMode)mode); - } - internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) - { - Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); - Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); - } - internal static void Load_DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam) - { - Delegates.glDebugMessageCallbackARB = (Delegates.DebugMessageCallbackARB)GetExtensionDelegateStatic("glDebugMessageCallbackARB", typeof(Delegates.DebugMessageCallbackARB)); - Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam); - } - internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) - { - Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); - Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); - } - internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); - Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static unsafe void Load_DebugMessageControlARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControlARB = (Delegates.DebugMessageControlARB)GetExtensionDelegateStatic("glDebugMessageControlARB", typeof(Delegates.DebugMessageControlARB)); - Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled) - { - Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); - Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); - } - internal static void Load_DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); - Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL4.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.DebugSeverity)severity, (Int32)length, (String)buf); - } - internal static void Load_DebugMessageInsertARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsertARB = (Delegates.DebugMessageInsertARB)GetExtensionDelegateStatic("glDebugMessageInsertARB", typeof(Delegates.DebugMessageInsertARB)); - Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); - } - internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) - { - Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); - Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); - } - internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) - { - Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); - Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); - } - internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) - { - Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); - Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static void Load_DeleteNamedStringARB(Int32 namelen, String name) - { - Delegates.glDeleteNamedStringARB = (Delegates.DeleteNamedStringARB)GetExtensionDelegateStatic("glDeleteNamedStringARB", typeof(Delegates.DeleteNamedStringARB)); - Delegates.glDeleteNamedStringARB((Int32)namelen, (String)name); - } - internal static void Load_DeleteProgram(UInt32 program) - { - Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); - Delegates.glDeleteProgram((UInt32)program); - } - internal static unsafe void Load_DeleteProgramPipelines(Int32 n, UInt32* pipelines) - { - Delegates.glDeleteProgramPipelines = (Delegates.DeleteProgramPipelines)GetExtensionDelegateStatic("glDeleteProgramPipelines", typeof(Delegates.DeleteProgramPipelines)); - Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_DeleteQueries(Int32 n, UInt32* ids) - { - Delegates.glDeleteQueries = (Delegates.DeleteQueries)GetExtensionDelegateStatic("glDeleteQueries", typeof(Delegates.DeleteQueries)); - Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) - { - Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); - Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_DeleteSamplers(Int32 count, UInt32* samplers) - { - Delegates.glDeleteSamplers = (Delegates.DeleteSamplers)GetExtensionDelegateStatic("glDeleteSamplers", typeof(Delegates.DeleteSamplers)); - Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); - } - internal static void Load_DeleteShader(UInt32 shader) - { - Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); - Delegates.glDeleteShader((UInt32)shader); - } - internal static void Load_DeleteSync(IntPtr sync) - { - Delegates.glDeleteSync = (Delegates.DeleteSync)GetExtensionDelegateStatic("glDeleteSync", typeof(Delegates.DeleteSync)); - Delegates.glDeleteSync((IntPtr)sync); - } - internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) - { - Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); - Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_DeleteTransformFeedbacks(Int32 n, UInt32* ids) - { - Delegates.glDeleteTransformFeedbacks = (Delegates.DeleteTransformFeedbacks)GetExtensionDelegateStatic("glDeleteTransformFeedbacks", typeof(Delegates.DeleteTransformFeedbacks)); - Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_DeleteVertexArrays(Int32 n, UInt32* arrays) - { - Delegates.glDeleteVertexArrays = (Delegates.DeleteVertexArrays)GetExtensionDelegateStatic("glDeleteVertexArrays", typeof(Delegates.DeleteVertexArrays)); - Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); - } - internal static void Load_DepthFunc(OpenTK.Graphics.OpenGL4.DepthFunction func) - { - Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); - Delegates.glDepthFunc((OpenTK.Graphics.OpenGL4.DepthFunction)func); - } - internal static void Load_DepthMask(bool flag) - { - Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); - Delegates.glDepthMask((bool)flag); - } - internal static void Load_DepthRange(Double near, Double far) - { - Delegates.glDepthRange = (Delegates.DepthRange)GetExtensionDelegateStatic("glDepthRange", typeof(Delegates.DepthRange)); - Delegates.glDepthRange((Double)near, (Double)far); - } - internal static unsafe void Load_DepthRangeArrayv(UInt32 first, Int32 count, Double* v) - { - Delegates.glDepthRangeArrayv = (Delegates.DepthRangeArrayv)GetExtensionDelegateStatic("glDepthRangeArrayv", typeof(Delegates.DepthRangeArrayv)); - Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); - } - internal static void Load_DepthRangef(Single n, Single f) - { - Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); - Delegates.glDepthRangef((Single)n, (Single)f); - } - internal static void Load_DepthRangeIndexed(UInt32 index, Double n, Double f) - { - Delegates.glDepthRangeIndexed = (Delegates.DepthRangeIndexed)GetExtensionDelegateStatic("glDepthRangeIndexed", typeof(Delegates.DepthRangeIndexed)); - Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); - } - internal static void Load_DetachShader(UInt32 program, UInt32 shader) - { - Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); - Delegates.glDetachShader((UInt32)program, (UInt32)shader); - } - internal static void Load_Disable(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); - Delegates.glDisable((OpenTK.Graphics.OpenGL4.EnableCap)cap); - } - internal static void Load_Disablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - Delegates.glDisablei = (Delegates.Disablei)GetExtensionDelegateStatic("glDisablei", typeof(Delegates.Disablei)); - Delegates.glDisablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - } - internal static void Load_DisableVertexAttribArray(UInt32 index) - { - Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); - Delegates.glDisableVertexAttribArray((UInt32)index); - } - internal static void Load_DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) - { - Delegates.glDispatchCompute = (Delegates.DispatchCompute)GetExtensionDelegateStatic("glDispatchCompute", typeof(Delegates.DispatchCompute)); - Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); - } - internal static void Load_DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z) - { - Delegates.glDispatchComputeGroupSizeARB = (Delegates.DispatchComputeGroupSizeARB)GetExtensionDelegateStatic("glDispatchComputeGroupSizeARB", typeof(Delegates.DispatchComputeGroupSizeARB)); - Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); - } - internal static void Load_DispatchComputeIndirect(IntPtr indirect) - { - Delegates.glDispatchComputeIndirect = (Delegates.DispatchComputeIndirect)GetExtensionDelegateStatic("glDispatchComputeIndirect", typeof(Delegates.DispatchComputeIndirect)); - Delegates.glDispatchComputeIndirect((IntPtr)indirect); - } - internal static void Load_DrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count) - { - Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); - Delegates.glDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count); - } - internal static void Load_DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect) - { - Delegates.glDrawArraysIndirect = (Delegates.DrawArraysIndirect)GetExtensionDelegateStatic("glDrawArraysIndirect", typeof(Delegates.DrawArraysIndirect)); - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect); - } - internal static void Load_DrawArraysInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) - { - Delegates.glDrawArraysInstanced = (Delegates.DrawArraysInstanced)GetExtensionDelegateStatic("glDrawArraysInstanced", typeof(Delegates.DrawArraysInstanced)); - Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); - } - internal static void Load_DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) - { - Delegates.glDrawArraysInstancedBaseInstance = (Delegates.DrawArraysInstancedBaseInstance)GetExtensionDelegateStatic("glDrawArraysInstancedBaseInstance", typeof(Delegates.DrawArraysInstancedBaseInstance)); - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); - } - internal static void Load_DrawBuffer(OpenTK.Graphics.OpenGL4.DrawBufferMode mode) - { - Delegates.glDrawBuffer = (Delegates.DrawBuffer)GetExtensionDelegateStatic("glDrawBuffer", typeof(Delegates.DrawBuffer)); - Delegates.glDrawBuffer((OpenTK.Graphics.OpenGL4.DrawBufferMode)mode); - } - internal static unsafe void Load_DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs) - { - Delegates.glDrawBuffers = (Delegates.DrawBuffers)GetExtensionDelegateStatic("glDrawBuffers", typeof(Delegates.DrawBuffers)); - Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL4.DrawBuffersEnum*)bufs); - } - internal static void Load_DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); - Delegates.glDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - Delegates.glDrawElementsBaseVertex = (Delegates.DrawElementsBaseVertex)GetExtensionDelegateStatic("glDrawElementsBaseVertex", typeof(Delegates.DrawElementsBaseVertex)); - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - } - internal static void Load_DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect) - { - Delegates.glDrawElementsIndirect = (Delegates.DrawElementsIndirect)GetExtensionDelegateStatic("glDrawElementsIndirect", typeof(Delegates.DrawElementsIndirect)); - Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect); - } - internal static void Load_DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount) - { - Delegates.glDrawElementsInstanced = (Delegates.DrawElementsInstanced)GetExtensionDelegateStatic("glDrawElementsInstanced", typeof(Delegates.DrawElementsInstanced)); - Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); - } - internal static void Load_DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) - { - Delegates.glDrawElementsInstancedBaseInstance = (Delegates.DrawElementsInstancedBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseInstance", typeof(Delegates.DrawElementsInstancedBaseInstance)); - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); - } - internal static void Load_DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) - { - Delegates.glDrawElementsInstancedBaseVertex = (Delegates.DrawElementsInstancedBaseVertex)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertex", typeof(Delegates.DrawElementsInstancedBaseVertex)); - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); - } - internal static void Load_DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) - { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance = (Delegates.DrawElementsInstancedBaseVertexBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertexBaseInstance", typeof(Delegates.DrawElementsInstancedBaseVertexBaseInstance)); - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); - } - internal static void Load_DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) - { - Delegates.glDrawRangeElements = (Delegates.DrawRangeElements)GetExtensionDelegateStatic("glDrawRangeElements", typeof(Delegates.DrawRangeElements)); - Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices); - } - internal static void Load_DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex) - { - Delegates.glDrawRangeElementsBaseVertex = (Delegates.DrawRangeElementsBaseVertex)GetExtensionDelegateStatic("glDrawRangeElementsBaseVertex", typeof(Delegates.DrawRangeElementsBaseVertex)); - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); - } - internal static void Load_DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id) - { - Delegates.glDrawTransformFeedback = (Delegates.DrawTransformFeedback)GetExtensionDelegateStatic("glDrawTransformFeedback", typeof(Delegates.DrawTransformFeedback)); - Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id); - } - internal static void Load_DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, Int32 instancecount) - { - Delegates.glDrawTransformFeedbackInstanced = (Delegates.DrawTransformFeedbackInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackInstanced", typeof(Delegates.DrawTransformFeedbackInstanced)); - Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); - } - internal static void Load_DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream) - { - Delegates.glDrawTransformFeedbackStream = (Delegates.DrawTransformFeedbackStream)GetExtensionDelegateStatic("glDrawTransformFeedbackStream", typeof(Delegates.DrawTransformFeedbackStream)); - Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream); - } - internal static void Load_DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) - { - Delegates.glDrawTransformFeedbackStreamInstanced = (Delegates.DrawTransformFeedbackStreamInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackStreamInstanced", typeof(Delegates.DrawTransformFeedbackStreamInstanced)); - Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); - } - internal static void Load_Enable(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); - Delegates.glEnable((OpenTK.Graphics.OpenGL4.EnableCap)cap); - } - internal static void Load_Enablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - Delegates.glEnablei = (Delegates.Enablei)GetExtensionDelegateStatic("glEnablei", typeof(Delegates.Enablei)); - Delegates.glEnablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - } - internal static void Load_EnableVertexAttribArray(UInt32 index) - { - Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); - Delegates.glEnableVertexAttribArray((UInt32)index); - } - internal static void Load_EndConditionalRender() - { - Delegates.glEndConditionalRender = (Delegates.EndConditionalRender)GetExtensionDelegateStatic("glEndConditionalRender", typeof(Delegates.EndConditionalRender)); - Delegates.glEndConditionalRender(); - } - internal static void Load_EndQuery(OpenTK.Graphics.OpenGL4.QueryTarget target) - { - Delegates.glEndQuery = (Delegates.EndQuery)GetExtensionDelegateStatic("glEndQuery", typeof(Delegates.EndQuery)); - Delegates.glEndQuery((OpenTK.Graphics.OpenGL4.QueryTarget)target); - } - internal static void Load_EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index) - { - Delegates.glEndQueryIndexed = (Delegates.EndQueryIndexed)GetExtensionDelegateStatic("glEndQueryIndexed", typeof(Delegates.EndQueryIndexed)); - Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index); - } - internal static void Load_EndTransformFeedback() - { - Delegates.glEndTransformFeedback = (Delegates.EndTransformFeedback)GetExtensionDelegateStatic("glEndTransformFeedback", typeof(Delegates.EndTransformFeedback)); - Delegates.glEndTransformFeedback(); - } - internal static IntPtr Load_FenceSync(OpenTK.Graphics.OpenGL4.SyncCondition condition, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags) - { - Delegates.glFenceSync = (Delegates.FenceSync)GetExtensionDelegateStatic("glFenceSync", typeof(Delegates.FenceSync)); - return Delegates.glFenceSync((OpenTK.Graphics.OpenGL4.SyncCondition)condition, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags); - } - internal static void Load_Finish() - { - Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); - Delegates.glFinish(); - } - internal static void Load_Flush() - { - Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); - Delegates.glFlush(); - } - internal static void Load_FlushMappedBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length) - { - Delegates.glFlushMappedBufferRange = (Delegates.FlushMappedBufferRange)GetExtensionDelegateStatic("glFlushMappedBufferRange", typeof(Delegates.FlushMappedBufferRange)); - Delegates.glFlushMappedBufferRange((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length); - } - internal static void Load_FramebufferParameteri(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, Int32 param) - { - Delegates.glFramebufferParameteri = (Delegates.FramebufferParameteri)GetExtensionDelegateStatic("glFramebufferParameteri", typeof(Delegates.FramebufferParameteri)); - Delegates.glFramebufferParameteri((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32)param); - } - internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) - { - Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); - Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); - } - internal static void Load_FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture = (Delegates.FramebufferTexture)GetExtensionDelegateStatic("glFramebufferTexture", typeof(Delegates.FramebufferTexture)); - Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture1D = (Delegates.FramebufferTexture1D)GetExtensionDelegateStatic("glFramebufferTexture1D", typeof(Delegates.FramebufferTexture1D)); - Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level) - { - Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); - Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); - } - internal static void Load_FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) - { - Delegates.glFramebufferTexture3D = (Delegates.FramebufferTexture3D)GetExtensionDelegateStatic("glFramebufferTexture3D", typeof(Delegates.FramebufferTexture3D)); - Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); - } - internal static void Load_FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) - { - Delegates.glFramebufferTextureLayer = (Delegates.FramebufferTextureLayer)GetExtensionDelegateStatic("glFramebufferTextureLayer", typeof(Delegates.FramebufferTextureLayer)); - Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); - } - internal static void Load_FrontFace(OpenTK.Graphics.OpenGL4.FrontFaceDirection mode) - { - Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); - Delegates.glFrontFace((OpenTK.Graphics.OpenGL4.FrontFaceDirection)mode); - } - internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) - { - Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); - Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); - } - internal static void Load_GenerateMipmap(OpenTK.Graphics.OpenGL4.GenerateMipmapTarget target) - { - Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); - Delegates.glGenerateMipmap((OpenTK.Graphics.OpenGL4.GenerateMipmapTarget)target); - } - internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) - { - Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); - Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); - } - internal static unsafe void Load_GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) - { - Delegates.glGenProgramPipelines = (Delegates.GenProgramPipelines)GetExtensionDelegateStatic("glGenProgramPipelines", typeof(Delegates.GenProgramPipelines)); - Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); - } - internal static unsafe void Load_GenQueries(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenQueries = (Delegates.GenQueries)GetExtensionDelegateStatic("glGenQueries", typeof(Delegates.GenQueries)); - Delegates.glGenQueries((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) - { - Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); - Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); - } - internal static unsafe void Load_GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) - { - Delegates.glGenSamplers = (Delegates.GenSamplers)GetExtensionDelegateStatic("glGenSamplers", typeof(Delegates.GenSamplers)); - Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); - } - internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) - { - Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); - Delegates.glGenTextures((Int32)n, (UInt32*)textures); - } - internal static unsafe void Load_GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) - { - Delegates.glGenTransformFeedbacks = (Delegates.GenTransformFeedbacks)GetExtensionDelegateStatic("glGenTransformFeedbacks", typeof(Delegates.GenTransformFeedbacks)); - Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); - } - internal static unsafe void Load_GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) - { - Delegates.glGenVertexArrays = (Delegates.GenVertexArrays)GetExtensionDelegateStatic("glGenVertexArrays", typeof(Delegates.GenVertexArrays)); - Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); - } - internal static unsafe void Load_GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveAtomicCounterBufferiv = (Delegates.GetActiveAtomicCounterBufferiv)GetExtensionDelegateStatic("glGetActiveAtomicCounterBufferiv", typeof(Delegates.GetActiveAtomicCounterBufferiv)); - Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); - Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveAttribType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveSubroutineName = (Delegates.GetActiveSubroutineName)GetExtensionDelegateStatic("glGetActiveSubroutineName", typeof(Delegates.GetActiveSubroutineName)); - Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) - { - Delegates.glGetActiveSubroutineUniformiv = (Delegates.GetActiveSubroutineUniformiv)GetExtensionDelegateStatic("glGetActiveSubroutineUniformiv", typeof(Delegates.GetActiveSubroutineUniformiv)); - Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values); - } - internal static unsafe void Load_GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveSubroutineUniformName = (Delegates.GetActiveSubroutineUniformName)GetExtensionDelegateStatic("glGetActiveSubroutineUniformName", typeof(Delegates.GetActiveSubroutineUniformName)); - Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); - Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveUniformType*)type, (StringBuilder)name); - } - internal static unsafe void Load_GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveUniformBlockiv = (Delegates.GetActiveUniformBlockiv)GetExtensionDelegateStatic("glGetActiveUniformBlockiv", typeof(Delegates.GetActiveUniformBlockiv)); - Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) - { - Delegates.glGetActiveUniformBlockName = (Delegates.GetActiveUniformBlockName)GetExtensionDelegateStatic("glGetActiveUniformBlockName", typeof(Delegates.GetActiveUniformBlockName)); - Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); - } - internal static unsafe void Load_GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) - { - Delegates.glGetActiveUniformName = (Delegates.GetActiveUniformName)GetExtensionDelegateStatic("glGetActiveUniformName", typeof(Delegates.GetActiveUniformName)); - Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); - } - internal static unsafe void Load_GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetActiveUniformsiv = (Delegates.GetActiveUniformsiv)GetExtensionDelegateStatic("glGetActiveUniformsiv", typeof(Delegates.GetActiveUniformsiv)); - Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) - { - Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); - Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); - } - internal static Int32 Load_GetAttribLocation(UInt32 program, String name) - { - Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); - return Delegates.glGetAttribLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetBooleani_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) - { - Delegates.glGetBooleani_v = (Delegates.GetBooleani_v)GetExtensionDelegateStatic("glGetBooleani_v", typeof(Delegates.GetBooleani_v)); - Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data); - } - internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool* data) - { - Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); - Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data); - } - internal static unsafe void Load_GetBufferParameteri64v(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64* @params) - { - Delegates.glGetBufferParameteri64v = (Delegates.GetBufferParameteri64v)GetExtensionDelegateStatic("glGetBufferParameteri64v", typeof(Delegates.GetBufferParameteri64v)); - Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int64*)@params); - } - internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); - Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int32*)@params); - } - internal static void Load_GetBufferPointerv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetBufferPointerv = (Delegates.GetBufferPointerv)GetExtensionDelegateStatic("glGetBufferPointerv", typeof(Delegates.GetBufferPointerv)); - Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params); - } - internal static void Load_GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) - { - Delegates.glGetBufferSubData = (Delegates.GetBufferSubData)GetExtensionDelegateStatic("glGetBufferSubData", typeof(Delegates.GetBufferSubData)); - Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); - } - internal static void Load_GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr table) - { - Delegates.glGetColorTable = (Delegates.GetColorTable)GetExtensionDelegateStatic("glGetColorTable", typeof(Delegates.GetColorTable)); - Delegates.glGetColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table); - } - internal static unsafe void Load_GetColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetColorTableParameterfv = (Delegates.GetColorTableParameterfv)GetExtensionDelegateStatic("glGetColorTableParameterfv", typeof(Delegates.GetColorTableParameterfv)); - Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetColorTableParameteriv = (Delegates.GetColorTableParameteriv)GetExtensionDelegateStatic("glGetColorTableParameteriv", typeof(Delegates.GetColorTableParameteriv)); - Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Int32*)@params); - } - internal static void Load_GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) - { - Delegates.glGetCompressedTexImage = (Delegates.GetCompressedTexImage)GetExtensionDelegateStatic("glGetCompressedTexImage", typeof(Delegates.GetCompressedTexImage)); - Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img); - } - internal static void Load_GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr image) - { - Delegates.glGetConvolutionFilter = (Delegates.GetConvolutionFilter)GetExtensionDelegateStatic("glGetConvolutionFilter", typeof(Delegates.GetConvolutionFilter)); - Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); - } - internal static unsafe void Load_GetConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetConvolutionParameterfv = (Delegates.GetConvolutionParameterfv)GetExtensionDelegateStatic("glGetConvolutionParameterfv", typeof(Delegates.GetConvolutionParameterfv)); - Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetConvolutionParameteriv = (Delegates.GetConvolutionParameteriv)GetExtensionDelegateStatic("glGetConvolutionParameteriv", typeof(Delegates.GetConvolutionParameteriv)); - Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Int32*)@params); - } - internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); - return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe Int32 Load_GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLogARB = (Delegates.GetDebugMessageLogARB)GetExtensionDelegateStatic("glGetDebugMessageLogARB", typeof(Delegates.GetDebugMessageLogARB)); - return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) - { - Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); - return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); - } - internal static unsafe void Load_GetDoublei_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) - { - Delegates.glGetDoublei_v = (Delegates.GetDoublei_v)GetExtensionDelegateStatic("glGetDoublei_v", typeof(Delegates.GetDoublei_v)); - Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data); - } - internal static unsafe void Load_GetDoublev(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double* data) - { - Delegates.glGetDoublev = (Delegates.GetDoublev)GetExtensionDelegateStatic("glGetDoublev", typeof(Delegates.GetDoublev)); - Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data); - } - internal static OpenTK.Graphics.OpenGL4.ErrorCode Load_GetError() - { - Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); - return Delegates.glGetError(); - } - internal static unsafe void Load_GetFloati_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) - { - Delegates.glGetFloati_v = (Delegates.GetFloati_v)GetExtensionDelegateStatic("glGetFloati_v", typeof(Delegates.GetFloati_v)); - Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data); - } - internal static unsafe void Load_GetFloatv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single* data) - { - Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); - Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data); - } - internal static Int32 Load_GetFragDataIndex(UInt32 program, String name) - { - Delegates.glGetFragDataIndex = (Delegates.GetFragDataIndex)GetExtensionDelegateStatic("glGetFragDataIndex", typeof(Delegates.GetFragDataIndex)); - return Delegates.glGetFragDataIndex((UInt32)program, (String)name); - } - internal static Int32 Load_GetFragDataLocation(UInt32 program, String name) - { - Delegates.glGetFragDataLocation = (Delegates.GetFragDataLocation)GetExtensionDelegateStatic("glGetFragDataLocation", typeof(Delegates.GetFragDataLocation)); - return Delegates.glGetFragDataLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); - Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetFramebufferParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetFramebufferParameteriv = (Delegates.GetFramebufferParameteriv)GetExtensionDelegateStatic("glGetFramebufferParameteriv", typeof(Delegates.GetFramebufferParameteriv)); - Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32*)@params); - } - internal static OpenTK.Graphics.OpenGL4.All Load_GetGraphicsResetStatusARB() - { - Delegates.glGetGraphicsResetStatusARB = (Delegates.GetGraphicsResetStatusARB)GetExtensionDelegateStatic("glGetGraphicsResetStatusARB", typeof(Delegates.GetGraphicsResetStatusARB)); - return Delegates.glGetGraphicsResetStatusARB(); - } - internal static void Load_GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values) - { - Delegates.glGetHistogram = (Delegates.GetHistogram)GetExtensionDelegateStatic("glGetHistogram", typeof(Delegates.GetHistogram)); - Delegates.glGetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values); - } - internal static unsafe void Load_GetHistogramParameterfv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetHistogramParameterfv = (Delegates.GetHistogramParameterfv)GetExtensionDelegateStatic("glGetHistogramParameterfv", typeof(Delegates.GetHistogramParameterfv)); - Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetHistogramParameteriv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetHistogramParameteriv = (Delegates.GetHistogramParameteriv)GetExtensionDelegateStatic("glGetHistogramParameteriv", typeof(Delegates.GetHistogramParameteriv)); - Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Int32*)@params); - } - internal static Int64 Load_GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format) - { - Delegates.glGetImageHandleARB = (Delegates.GetImageHandleARB)GetExtensionDelegateStatic("glGetImageHandleARB", typeof(Delegates.GetImageHandleARB)); - return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.All)format); - } - internal static unsafe void Load_GetInteger64i_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) - { - Delegates.glGetInteger64i_v = (Delegates.GetInteger64i_v)GetExtensionDelegateStatic("glGetInteger64i_v", typeof(Delegates.GetInteger64i_v)); - Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data); - } - internal static unsafe void Load_GetInteger64v(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64* data) - { - Delegates.glGetInteger64v = (Delegates.GetInteger64v)GetExtensionDelegateStatic("glGetInteger64v", typeof(Delegates.GetInteger64v)); - Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int64*)data); - } - internal static unsafe void Load_GetIntegeri_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) - { - Delegates.glGetIntegeri_v = (Delegates.GetIntegeri_v)GetExtensionDelegateStatic("glGetIntegeri_v", typeof(Delegates.GetIntegeri_v)); - Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data); - } - internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data) - { - Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); - Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data); - } - internal static unsafe void Load_GetInternalformati64v(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) - { - Delegates.glGetInternalformati64v = (Delegates.GetInternalformati64v)GetExtensionDelegateStatic("glGetInternalformati64v", typeof(Delegates.GetInternalformati64v)); - Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params); - } - internal static unsafe void Load_GetInternalformativ(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetInternalformativ = (Delegates.GetInternalformativ)GetExtensionDelegateStatic("glGetInternalformativ", typeof(Delegates.GetInternalformativ)); - Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); - } - internal static void Load_GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values) - { - Delegates.glGetMinmax = (Delegates.GetMinmax)GetExtensionDelegateStatic("glGetMinmax", typeof(Delegates.GetMinmax)); - Delegates.glGetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values); - } - internal static unsafe void Load_GetMinmaxParameterfv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) - { - Delegates.glGetMinmaxParameterfv = (Delegates.GetMinmaxParameterfv)GetExtensionDelegateStatic("glGetMinmaxParameterfv", typeof(Delegates.GetMinmaxParameterfv)); - Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Single*)@params); - } - internal static unsafe void Load_GetMinmaxParameteriv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetMinmaxParameteriv = (Delegates.GetMinmaxParameteriv)GetExtensionDelegateStatic("glGetMinmaxParameteriv", typeof(Delegates.GetMinmaxParameteriv)); - Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetMultisamplefv(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) - { - Delegates.glGetMultisamplefv = (Delegates.GetMultisamplefv)GetExtensionDelegateStatic("glGetMultisamplefv", typeof(Delegates.GetMultisamplefv)); - Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val); - } - internal static unsafe void Load_GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) - { - Delegates.glGetNamedStringARB = (Delegates.GetNamedStringARB)GetExtensionDelegateStatic("glGetNamedStringARB", typeof(Delegates.GetNamedStringARB)); - Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen, (StringBuilder)@string); - } - internal static unsafe void Load_GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetNamedStringivARB = (Delegates.GetNamedStringivARB)GetExtensionDelegateStatic("glGetNamedStringivARB", typeof(Delegates.GetNamedStringivARB)); - Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params); - } - internal static void Load_GetnColorTableARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr table) - { - Delegates.glGetnColorTableARB = (Delegates.GetnColorTableARB)GetExtensionDelegateStatic("glGetnColorTableARB", typeof(Delegates.GetnColorTableARB)); - Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table); - } - internal static void Load_GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) - { - Delegates.glGetnCompressedTexImageARB = (Delegates.GetnCompressedTexImageARB)GetExtensionDelegateStatic("glGetnCompressedTexImageARB", typeof(Delegates.GetnCompressedTexImageARB)); - Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img); - } - internal static void Load_GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr image) - { - Delegates.glGetnConvolutionFilterARB = (Delegates.GetnConvolutionFilterARB)GetExtensionDelegateStatic("glGetnConvolutionFilterARB", typeof(Delegates.GetnConvolutionFilterARB)); - Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image); - } - internal static void Load_GetnHistogramARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values) - { - Delegates.glGetnHistogramARB = (Delegates.GetnHistogramARB)GetExtensionDelegateStatic("glGetnHistogramARB", typeof(Delegates.GetnHistogramARB)); - Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values); - } - internal static unsafe void Load_GetnMapdvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double* v) - { - Delegates.glGetnMapdvARB = (Delegates.GetnMapdvARB)GetExtensionDelegateStatic("glGetnMapdvARB", typeof(Delegates.GetnMapdvARB)); - Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Double*)v); - } - internal static unsafe void Load_GetnMapfvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single* v) - { - Delegates.glGetnMapfvARB = (Delegates.GetnMapfvARB)GetExtensionDelegateStatic("glGetnMapfvARB", typeof(Delegates.GetnMapfvARB)); - Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Single*)v); - } - internal static unsafe void Load_GetnMapivARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32* v) - { - Delegates.glGetnMapivARB = (Delegates.GetnMapivARB)GetExtensionDelegateStatic("glGetnMapivARB", typeof(Delegates.GetnMapivARB)); - Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Int32*)v); - } - internal static void Load_GetnMinmaxARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values) - { - Delegates.glGetnMinmaxARB = (Delegates.GetnMinmaxARB)GetExtensionDelegateStatic("glGetnMinmaxARB", typeof(Delegates.GetnMinmaxARB)); - Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values); - } - internal static unsafe void Load_GetnPixelMapfvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single* values) - { - Delegates.glGetnPixelMapfvARB = (Delegates.GetnPixelMapfvARB)GetExtensionDelegateStatic("glGetnPixelMapfvARB", typeof(Delegates.GetnPixelMapfvARB)); - Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (Single*)values); - } - internal static unsafe void Load_GetnPixelMapuivARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32* values) - { - Delegates.glGetnPixelMapuivARB = (Delegates.GetnPixelMapuivARB)GetExtensionDelegateStatic("glGetnPixelMapuivARB", typeof(Delegates.GetnPixelMapuivARB)); - Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values); - } - internal static unsafe void Load_GetnPixelMapusvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16* values) - { - Delegates.glGetnPixelMapusvARB = (Delegates.GetnPixelMapusvARB)GetExtensionDelegateStatic("glGetnPixelMapusvARB", typeof(Delegates.GetnPixelMapusvARB)); - Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values); - } - internal static unsafe void Load_GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern) - { - Delegates.glGetnPolygonStippleARB = (Delegates.GetnPolygonStippleARB)GetExtensionDelegateStatic("glGetnPolygonStippleARB", typeof(Delegates.GetnPolygonStippleARB)); - Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern); - } - internal static void Load_GetnSeparableFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - Delegates.glGetnSeparableFilterARB = (Delegates.GetnSeparableFilterARB)GetExtensionDelegateStatic("glGetnSeparableFilterARB", typeof(Delegates.GetnSeparableFilterARB)); - Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span); - } - internal static void Load_GetnTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr img) - { - Delegates.glGetnTexImageARB = (Delegates.GetnTexImageARB)GetExtensionDelegateStatic("glGetnTexImageARB", typeof(Delegates.GetnTexImageARB)); - Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img); - } - internal static unsafe void Load_GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) - { - Delegates.glGetnUniformdvARB = (Delegates.GetnUniformdvARB)GetExtensionDelegateStatic("glGetnUniformdvARB", typeof(Delegates.GetnUniformdvARB)); - Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); - } - internal static unsafe void Load_GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) - { - Delegates.glGetnUniformfvARB = (Delegates.GetnUniformfvARB)GetExtensionDelegateStatic("glGetnUniformfvARB", typeof(Delegates.GetnUniformfvARB)); - Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); - } - internal static unsafe void Load_GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) - { - Delegates.glGetnUniformivARB = (Delegates.GetnUniformivARB)GetExtensionDelegateStatic("glGetnUniformivARB", typeof(Delegates.GetnUniformivARB)); - Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); - } - internal static unsafe void Load_GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) - { - Delegates.glGetnUniformuivARB = (Delegates.GetnUniformuivARB)GetExtensionDelegateStatic("glGetnUniformuivARB", typeof(Delegates.GetnUniformuivARB)); - Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params); - } - internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); - Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); - Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); - Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) - { - Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); - Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); - } - internal static void Load_GetPointerv(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); - Delegates.glGetPointerv((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params); - } - internal static void Load_GetPointervKHR(OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] IntPtr @params) - { - Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); - Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params); - } - internal static unsafe void Load_GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) - { - Delegates.glGetProgramBinary = (Delegates.GetProgramBinary)GetExtensionDelegateStatic("glGetProgramBinary", typeof(Delegates.GetProgramBinary)); - Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary); - } - internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); - Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramInterfaceiv = (Delegates.GetProgramInterfaceiv)GetExtensionDelegateStatic("glGetProgramInterfaceiv", typeof(Delegates.GetProgramInterfaceiv)); - Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); - Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetProgramPipelineInfoLog = (Delegates.GetProgramPipelineInfoLog)GetExtensionDelegateStatic("glGetProgramPipelineInfoLog", typeof(Delegates.GetProgramPipelineInfoLog)); - Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramPipelineiv = (Delegates.GetProgramPipelineiv)GetExtensionDelegateStatic("glGetProgramPipelineiv", typeof(Delegates.GetProgramPipelineiv)); - Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params); - } - internal static Int32 Load_GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - Delegates.glGetProgramResourceIndex = (Delegates.GetProgramResourceIndex)GetExtensionDelegateStatic("glGetProgramResourceIndex", typeof(Delegates.GetProgramResourceIndex)); - return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - } - internal static unsafe void Load_GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) - { - Delegates.glGetProgramResourceiv = (Delegates.GetProgramResourceiv)GetExtensionDelegateStatic("glGetProgramResourceiv", typeof(Delegates.GetProgramResourceiv)); - Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); - } - internal static Int32 Load_GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - Delegates.glGetProgramResourceLocation = (Delegates.GetProgramResourceLocation)GetExtensionDelegateStatic("glGetProgramResourceLocation", typeof(Delegates.GetProgramResourceLocation)); - return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - } - internal static Int32 Load_GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) - { - Delegates.glGetProgramResourceLocationIndex = (Delegates.GetProgramResourceLocationIndex)GetExtensionDelegateStatic("glGetProgramResourceLocationIndex", typeof(Delegates.GetProgramResourceLocationIndex)); - return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); - } - internal static unsafe void Load_GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) - { - Delegates.glGetProgramResourceName = (Delegates.GetProgramResourceName)GetExtensionDelegateStatic("glGetProgramResourceName", typeof(Delegates.GetProgramResourceName)); - Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); - } - internal static unsafe void Load_GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values) - { - Delegates.glGetProgramStageiv = (Delegates.GetProgramStageiv)GetExtensionDelegateStatic("glGetProgramStageiv", typeof(Delegates.GetProgramStageiv)); - Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (Int32*)values); - } - internal static unsafe void Load_GetQueryIndexediv(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryIndexediv = (Delegates.GetQueryIndexediv)GetExtensionDelegateStatic("glGetQueryIndexediv", typeof(Delegates.GetQueryIndexediv)); - Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryiv(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryiv = (Delegates.GetQueryiv)GetExtensionDelegateStatic("glGetQueryiv", typeof(Delegates.GetQueryiv)); - Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params) - { - Delegates.glGetQueryObjecti64v = (Delegates.GetQueryObjecti64v)GetExtensionDelegateStatic("glGetQueryObjecti64v", typeof(Delegates.GetQueryObjecti64v)); - Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params); - } - internal static unsafe void Load_GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params) - { - Delegates.glGetQueryObjectiv = (Delegates.GetQueryObjectiv)GetExtensionDelegateStatic("glGetQueryObjectiv", typeof(Delegates.GetQueryObjectiv)); - Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params); - } - internal static unsafe void Load_GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetQueryObjectui64v = (Delegates.GetQueryObjectui64v)GetExtensionDelegateStatic("glGetQueryObjectui64v", typeof(Delegates.GetQueryObjectui64v)); - Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt64*)@params); - } - internal static unsafe void Load_GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetQueryObjectuiv = (Delegates.GetQueryObjectuiv)GetExtensionDelegateStatic("glGetQueryObjectuiv", typeof(Delegates.GetQueryObjectuiv)); - Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); - Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params) - { - Delegates.glGetSamplerParameterfv = (Delegates.GetSamplerParameterfv)GetExtensionDelegateStatic("glGetSamplerParameterfv", typeof(Delegates.GetSamplerParameterfv)); - Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params); - } - internal static unsafe void Load_GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) - { - Delegates.glGetSamplerParameterIiv = (Delegates.GetSamplerParameterIiv)GetExtensionDelegateStatic("glGetSamplerParameterIiv", typeof(Delegates.GetSamplerParameterIiv)); - Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params); - } - internal static unsafe void Load_GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetSamplerParameterIuiv = (Delegates.GetSamplerParameterIuiv)GetExtensionDelegateStatic("glGetSamplerParameterIuiv", typeof(Delegates.GetSamplerParameterIuiv)); - Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params) - { - Delegates.glGetSamplerParameteriv = (Delegates.GetSamplerParameteriv)GetExtensionDelegateStatic("glGetSamplerParameteriv", typeof(Delegates.GetSamplerParameteriv)); - Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params); - } - internal static void Load_GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) - { - Delegates.glGetSeparableFilter = (Delegates.GetSeparableFilter)GetExtensionDelegateStatic("glGetSeparableFilter", typeof(Delegates.GetSeparableFilter)); - Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); - } - internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) - { - Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); - Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); - } - internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); - Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) - { - Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); - Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); - } - internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) - { - Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); - Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); - } - internal static IntPtr Load_GetString(OpenTK.Graphics.OpenGL4.StringName name) - { - Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); - return Delegates.glGetString((OpenTK.Graphics.OpenGL4.StringName)name); - } - internal static IntPtr Load_GetStringi(OpenTK.Graphics.OpenGL4.StringNameIndexed name, UInt32 index) - { - Delegates.glGetStringi = (Delegates.GetStringi)GetExtensionDelegateStatic("glGetStringi", typeof(Delegates.GetStringi)); - return Delegates.glGetStringi((OpenTK.Graphics.OpenGL4.StringNameIndexed)name, (UInt32)index); - } - internal static Int32 Load_GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - Delegates.glGetSubroutineIndex = (Delegates.GetSubroutineIndex)GetExtensionDelegateStatic("glGetSubroutineIndex", typeof(Delegates.GetSubroutineIndex)); - return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); - } - internal static Int32 Load_GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) - { - Delegates.glGetSubroutineUniformLocation = (Delegates.GetSubroutineUniformLocation)GetExtensionDelegateStatic("glGetSubroutineUniformLocation", typeof(Delegates.GetSubroutineUniformLocation)); - return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); - } - internal static unsafe void Load_GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) - { - Delegates.glGetSynciv = (Delegates.GetSynciv)GetExtensionDelegateStatic("glGetSynciv", typeof(Delegates.GetSynciv)); - Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); - } - internal static void Load_GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glGetTexImage = (Delegates.GetTexImage)GetExtensionDelegateStatic("glGetTexImage", typeof(Delegates.GetTexImage)); - Delegates.glGetTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static unsafe void Load_GetTexLevelParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexLevelParameterfv = (Delegates.GetTexLevelParameterfv)GetExtensionDelegateStatic("glGetTexLevelParameterfv", typeof(Delegates.GetTexLevelParameterfv)); - Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexLevelParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexLevelParameteriv = (Delegates.GetTexLevelParameteriv)GetExtensionDelegateStatic("glGetTexLevelParameteriv", typeof(Delegates.GetTexLevelParameteriv)); - Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); - Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetTexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameterIiv = (Delegates.GetTexParameterIiv)GetExtensionDelegateStatic("glGetTexParameterIiv", typeof(Delegates.GetTexParameterIiv)); - Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetTexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetTexParameterIuiv = (Delegates.GetTexParameterIuiv)GetExtensionDelegateStatic("glGetTexParameterIuiv", typeof(Delegates.GetTexParameterIuiv)); - Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); - Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); - } - internal static Int64 Load_GetTextureHandleARB(UInt32 texture) - { - Delegates.glGetTextureHandleARB = (Delegates.GetTextureHandleARB)GetExtensionDelegateStatic("glGetTextureHandleARB", typeof(Delegates.GetTextureHandleARB)); - return Delegates.glGetTextureHandleARB((UInt32)texture); - } - internal static Int64 Load_GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler) - { - Delegates.glGetTextureSamplerHandleARB = (Delegates.GetTextureSamplerHandleARB)GetExtensionDelegateStatic("glGetTextureSamplerHandleARB", typeof(Delegates.GetTextureSamplerHandleARB)); - return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); - } - internal static unsafe void Load_GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name) - { - Delegates.glGetTransformFeedbackVarying = (Delegates.GetTransformFeedbackVarying)GetExtensionDelegateStatic("glGetTransformFeedbackVarying", typeof(Delegates.GetTransformFeedbackVarying)); - Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.TransformFeedbackType*)type, (StringBuilder)name); - } - internal static Int32 Load_GetUniformBlockIndex(UInt32 program, String uniformBlockName) - { - Delegates.glGetUniformBlockIndex = (Delegates.GetUniformBlockIndex)GetExtensionDelegateStatic("glGetUniformBlockIndex", typeof(Delegates.GetUniformBlockIndex)); - return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); - } - internal static unsafe void Load_GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params) - { - Delegates.glGetUniformdv = (Delegates.GetUniformdv)GetExtensionDelegateStatic("glGetUniformdv", typeof(Delegates.GetUniformdv)); - Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); - } - internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) - { - Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); - Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); - } - internal static unsafe void Load_GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) - { - Delegates.glGetUniformIndices = (Delegates.GetUniformIndices)GetExtensionDelegateStatic("glGetUniformIndices", typeof(Delegates.GetUniformIndices)); - Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); - } - internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) - { - Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); - Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); - } - internal static Int32 Load_GetUniformLocation(UInt32 program, String name) - { - Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); - return Delegates.glGetUniformLocation((UInt32)program, (String)name); - } - internal static unsafe void Load_GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) - { - Delegates.glGetUniformSubroutineuiv = (Delegates.GetUniformSubroutineuiv)GetExtensionDelegateStatic("glGetUniformSubroutineuiv", typeof(Delegates.GetUniformSubroutineuiv)); - Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (UInt32*)@params); - } - internal static unsafe void Load_GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) - { - Delegates.glGetUniformuiv = (Delegates.GetUniformuiv)GetExtensionDelegateStatic("glGetUniformuiv", typeof(Delegates.GetUniformuiv)); - Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); - } - internal static unsafe void Load_GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - Delegates.glGetVertexAttribdv = (Delegates.GetVertexAttribdv)GetExtensionDelegateStatic("glGetVertexAttribdv", typeof(Delegates.GetVertexAttribdv)); - Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); - } - internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params) - { - Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); - Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params); - } - internal static unsafe void Load_GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribIiv = (Delegates.GetVertexAttribIiv)GetExtensionDelegateStatic("glGetVertexAttribIiv", typeof(Delegates.GetVertexAttribIiv)); - Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] UInt32* @params) - { - Delegates.glGetVertexAttribIuiv = (Delegates.GetVertexAttribIuiv)GetExtensionDelegateStatic("glGetVertexAttribIuiv", typeof(Delegates.GetVertexAttribIuiv)); - Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (UInt32*)@params); - } - internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) - { - Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); - Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); - } - internal static unsafe void Load_GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) - { - Delegates.glGetVertexAttribLdv = (Delegates.GetVertexAttribLdv)GetExtensionDelegateStatic("glGetVertexAttribLdv", typeof(Delegates.GetVertexAttribLdv)); - Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); - } - internal static unsafe void Load_GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) - { - Delegates.glGetVertexAttribLui64vARB = (Delegates.GetVertexAttribLui64vARB)GetExtensionDelegateStatic("glGetVertexAttribLui64vARB", typeof(Delegates.GetVertexAttribLui64vARB)); - Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params); - } - internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) - { - Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); - Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer); - } - internal static void Load_Hint(OpenTK.Graphics.OpenGL4.HintTarget target, OpenTK.Graphics.OpenGL4.HintMode mode) - { - Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); - Delegates.glHint((OpenTK.Graphics.OpenGL4.HintTarget)target, (OpenTK.Graphics.OpenGL4.HintMode)mode); - } - internal static void Load_Histogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) - { - Delegates.glHistogram = (Delegates.Histogram)GetExtensionDelegateStatic("glHistogram", typeof(Delegates.Histogram)); - Delegates.glHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink); - } - internal static void Load_InvalidateBufferData(UInt32 buffer) - { - Delegates.glInvalidateBufferData = (Delegates.InvalidateBufferData)GetExtensionDelegateStatic("glInvalidateBufferData", typeof(Delegates.InvalidateBufferData)); - Delegates.glInvalidateBufferData((UInt32)buffer); - } - internal static void Load_InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) - { - Delegates.glInvalidateBufferSubData = (Delegates.InvalidateBufferSubData)GetExtensionDelegateStatic("glInvalidateBufferSubData", typeof(Delegates.InvalidateBufferSubData)); - Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); - } - internal static unsafe void Load_InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments) - { - Delegates.glInvalidateFramebuffer = (Delegates.InvalidateFramebuffer)GetExtensionDelegateStatic("glInvalidateFramebuffer", typeof(Delegates.InvalidateFramebuffer)); - Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments); - } - internal static unsafe void Load_InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glInvalidateSubFramebuffer = (Delegates.InvalidateSubFramebuffer)GetExtensionDelegateStatic("glInvalidateSubFramebuffer", typeof(Delegates.InvalidateSubFramebuffer)); - Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static void Load_InvalidateTexImage(UInt32 texture, Int32 level) - { - Delegates.glInvalidateTexImage = (Delegates.InvalidateTexImage)GetExtensionDelegateStatic("glInvalidateTexImage", typeof(Delegates.InvalidateTexImage)); - Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); - } - internal static void Load_InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) - { - Delegates.glInvalidateTexSubImage = (Delegates.InvalidateTexSubImage)GetExtensionDelegateStatic("glInvalidateTexSubImage", typeof(Delegates.InvalidateTexSubImage)); - Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); - } - internal static bool Load_IsBuffer(UInt32 buffer) - { - Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); - return Delegates.glIsBuffer((UInt32)buffer); - } - internal static bool Load_IsEnabled(OpenTK.Graphics.OpenGL4.EnableCap cap) - { - Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); - return Delegates.glIsEnabled((OpenTK.Graphics.OpenGL4.EnableCap)cap); - } - internal static bool Load_IsEnabledi(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) - { - Delegates.glIsEnabledi = (Delegates.IsEnabledi)GetExtensionDelegateStatic("glIsEnabledi", typeof(Delegates.IsEnabledi)); - return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); - } - internal static bool Load_IsFramebuffer(UInt32 framebuffer) - { - Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); - return Delegates.glIsFramebuffer((UInt32)framebuffer); - } - internal static bool Load_IsImageHandleResidentARB(UInt64 handle) - { - Delegates.glIsImageHandleResidentARB = (Delegates.IsImageHandleResidentARB)GetExtensionDelegateStatic("glIsImageHandleResidentARB", typeof(Delegates.IsImageHandleResidentARB)); - return Delegates.glIsImageHandleResidentARB((UInt64)handle); - } - internal static bool Load_IsNamedStringARB(Int32 namelen, String name) - { - Delegates.glIsNamedStringARB = (Delegates.IsNamedStringARB)GetExtensionDelegateStatic("glIsNamedStringARB", typeof(Delegates.IsNamedStringARB)); - return Delegates.glIsNamedStringARB((Int32)namelen, (String)name); - } - internal static bool Load_IsProgram(UInt32 program) - { - Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); - return Delegates.glIsProgram((UInt32)program); - } - internal static bool Load_IsProgramPipeline(UInt32 pipeline) - { - Delegates.glIsProgramPipeline = (Delegates.IsProgramPipeline)GetExtensionDelegateStatic("glIsProgramPipeline", typeof(Delegates.IsProgramPipeline)); - return Delegates.glIsProgramPipeline((UInt32)pipeline); - } - internal static bool Load_IsQuery(UInt32 id) - { - Delegates.glIsQuery = (Delegates.IsQuery)GetExtensionDelegateStatic("glIsQuery", typeof(Delegates.IsQuery)); - return Delegates.glIsQuery((UInt32)id); - } - internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) - { - Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); - return Delegates.glIsRenderbuffer((UInt32)renderbuffer); - } - internal static bool Load_IsSampler(UInt32 sampler) - { - Delegates.glIsSampler = (Delegates.IsSampler)GetExtensionDelegateStatic("glIsSampler", typeof(Delegates.IsSampler)); - return Delegates.glIsSampler((UInt32)sampler); - } - internal static bool Load_IsShader(UInt32 shader) - { - Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); - return Delegates.glIsShader((UInt32)shader); - } - internal static bool Load_IsSync(IntPtr sync) - { - Delegates.glIsSync = (Delegates.IsSync)GetExtensionDelegateStatic("glIsSync", typeof(Delegates.IsSync)); - return Delegates.glIsSync((IntPtr)sync); - } - internal static bool Load_IsTexture(UInt32 texture) - { - Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); - return Delegates.glIsTexture((UInt32)texture); - } - internal static bool Load_IsTextureHandleResidentARB(UInt64 handle) - { - Delegates.glIsTextureHandleResidentARB = (Delegates.IsTextureHandleResidentARB)GetExtensionDelegateStatic("glIsTextureHandleResidentARB", typeof(Delegates.IsTextureHandleResidentARB)); - return Delegates.glIsTextureHandleResidentARB((UInt64)handle); - } - internal static bool Load_IsTransformFeedback(UInt32 id) - { - Delegates.glIsTransformFeedback = (Delegates.IsTransformFeedback)GetExtensionDelegateStatic("glIsTransformFeedback", typeof(Delegates.IsTransformFeedback)); - return Delegates.glIsTransformFeedback((UInt32)id); - } - internal static bool Load_IsVertexArray(UInt32 array) - { - Delegates.glIsVertexArray = (Delegates.IsVertexArray)GetExtensionDelegateStatic("glIsVertexArray", typeof(Delegates.IsVertexArray)); - return Delegates.glIsVertexArray((UInt32)array); - } - internal static void Load_LineWidth(Single width) - { - Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); - Delegates.glLineWidth((Single)width); - } - internal static void Load_LinkProgram(UInt32 program) - { - Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); - Delegates.glLinkProgram((UInt32)program); - } - internal static void Load_LogicOp(OpenTK.Graphics.OpenGL4.LogicOp opcode) - { - Delegates.glLogicOp = (Delegates.LogicOp)GetExtensionDelegateStatic("glLogicOp", typeof(Delegates.LogicOp)); - Delegates.glLogicOp((OpenTK.Graphics.OpenGL4.LogicOp)opcode); - } - internal static void Load_MakeImageHandleNonResidentARB(UInt64 handle) - { - Delegates.glMakeImageHandleNonResidentARB = (Delegates.MakeImageHandleNonResidentARB)GetExtensionDelegateStatic("glMakeImageHandleNonResidentARB", typeof(Delegates.MakeImageHandleNonResidentARB)); - Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); - } - internal static void Load_MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL4.All access) - { - Delegates.glMakeImageHandleResidentARB = (Delegates.MakeImageHandleResidentARB)GetExtensionDelegateStatic("glMakeImageHandleResidentARB", typeof(Delegates.MakeImageHandleResidentARB)); - Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL4.All)access); - } - internal static void Load_MakeTextureHandleNonResidentARB(UInt64 handle) - { - Delegates.glMakeTextureHandleNonResidentARB = (Delegates.MakeTextureHandleNonResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleNonResidentARB", typeof(Delegates.MakeTextureHandleNonResidentARB)); - Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); - } - internal static void Load_MakeTextureHandleResidentARB(UInt64 handle) - { - Delegates.glMakeTextureHandleResidentARB = (Delegates.MakeTextureHandleResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleResidentARB", typeof(Delegates.MakeTextureHandleResidentARB)); - Delegates.glMakeTextureHandleResidentARB((UInt64)handle); - } - internal static IntPtr Load_MapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferAccess access) - { - Delegates.glMapBuffer = (Delegates.MapBuffer)GetExtensionDelegateStatic("glMapBuffer", typeof(Delegates.MapBuffer)); - return Delegates.glMapBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferAccess)access); - } - internal static IntPtr Load_MapBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL4.BufferAccessMask access) - { - Delegates.glMapBufferRange = (Delegates.MapBufferRange)GetExtensionDelegateStatic("glMapBufferRange", typeof(Delegates.MapBufferRange)); - return Delegates.glMapBufferRange((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL4.BufferAccessMask)access); - } - internal static void Load_MemoryBarrier(OpenTK.Graphics.OpenGL4.MemoryBarrierFlags barriers) - { - Delegates.glMemoryBarrier = (Delegates.MemoryBarrier)GetExtensionDelegateStatic("glMemoryBarrier", typeof(Delegates.MemoryBarrier)); - Delegates.glMemoryBarrier((OpenTK.Graphics.OpenGL4.MemoryBarrierFlags)barriers); - } - internal static void Load_Minmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) - { - Delegates.glMinmax = (Delegates.Minmax)GetExtensionDelegateStatic("glMinmax", typeof(Delegates.Minmax)); - Delegates.glMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink); - } - internal static void Load_MinSampleShading(Single value) - { - Delegates.glMinSampleShading = (Delegates.MinSampleShading)GetExtensionDelegateStatic("glMinSampleShading", typeof(Delegates.MinSampleShading)); - Delegates.glMinSampleShading((Single)value); - } - internal static void Load_MinSampleShadingARB(Single value) - { - Delegates.glMinSampleShadingARB = (Delegates.MinSampleShadingARB)GetExtensionDelegateStatic("glMinSampleShadingARB", typeof(Delegates.MinSampleShadingARB)); - Delegates.glMinSampleShadingARB((Single)value); - } - internal static unsafe void Load_MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) - { - Delegates.glMultiDrawArrays = (Delegates.MultiDrawArrays)GetExtensionDelegateStatic("glMultiDrawArrays", typeof(Delegates.MultiDrawArrays)); - Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount); - } - internal static void Load_MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) - { - Delegates.glMultiDrawArraysIndirect = (Delegates.MultiDrawArraysIndirect)GetExtensionDelegateStatic("glMultiDrawArraysIndirect", typeof(Delegates.MultiDrawArraysIndirect)); - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - } - internal static void Load_MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - Delegates.glMultiDrawArraysIndirectCountARB = (Delegates.MultiDrawArraysIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawArraysIndirectCountARB", typeof(Delegates.MultiDrawArraysIndirectCountARB)); - Delegates.glMultiDrawArraysIndirectCountARB((OpenTK.Graphics.OpenGL4.All)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - } - internal static unsafe void Load_MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount) - { - Delegates.glMultiDrawElements = (Delegates.MultiDrawElements)GetExtensionDelegateStatic("glMultiDrawElements", typeof(Delegates.MultiDrawElements)); - Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); - } - internal static unsafe void Load_MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) - { - Delegates.glMultiDrawElementsBaseVertex = (Delegates.MultiDrawElementsBaseVertex)GetExtensionDelegateStatic("glMultiDrawElementsBaseVertex", typeof(Delegates.MultiDrawElementsBaseVertex)); - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); - } - internal static void Load_MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, Int32 drawcount, Int32 stride) - { - Delegates.glMultiDrawElementsIndirect = (Delegates.MultiDrawElementsIndirect)GetExtensionDelegateStatic("glMultiDrawElementsIndirect", typeof(Delegates.MultiDrawElementsIndirect)); - Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); - } - internal static void Load_MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) - { - Delegates.glMultiDrawElementsIndirectCountARB = (Delegates.MultiDrawElementsIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawElementsIndirectCountARB", typeof(Delegates.MultiDrawElementsIndirectCountARB)); - Delegates.glMultiDrawElementsIndirectCountARB((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); - } - internal static void Load_MultiTexCoordP1ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP1ui = (Delegates.MultiTexCoordP1ui)GetExtensionDelegateStatic("glMultiTexCoordP1ui", typeof(Delegates.MultiTexCoordP1ui)); - Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP1uiv = (Delegates.MultiTexCoordP1uiv)GetExtensionDelegateStatic("glMultiTexCoordP1uiv", typeof(Delegates.MultiTexCoordP1uiv)); - Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_MultiTexCoordP2ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP2ui = (Delegates.MultiTexCoordP2ui)GetExtensionDelegateStatic("glMultiTexCoordP2ui", typeof(Delegates.MultiTexCoordP2ui)); - Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP2uiv = (Delegates.MultiTexCoordP2uiv)GetExtensionDelegateStatic("glMultiTexCoordP2uiv", typeof(Delegates.MultiTexCoordP2uiv)); - Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_MultiTexCoordP3ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP3ui = (Delegates.MultiTexCoordP3ui)GetExtensionDelegateStatic("glMultiTexCoordP3ui", typeof(Delegates.MultiTexCoordP3ui)); - Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP3uiv = (Delegates.MultiTexCoordP3uiv)GetExtensionDelegateStatic("glMultiTexCoordP3uiv", typeof(Delegates.MultiTexCoordP3uiv)); - Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_MultiTexCoordP4ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glMultiTexCoordP4ui = (Delegates.MultiTexCoordP4ui)GetExtensionDelegateStatic("glMultiTexCoordP4ui", typeof(Delegates.MultiTexCoordP4ui)); - Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glMultiTexCoordP4uiv = (Delegates.MultiTexCoordP4uiv)GetExtensionDelegateStatic("glMultiTexCoordP4uiv", typeof(Delegates.MultiTexCoordP4uiv)); - Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_NamedStringARB(OpenTK.Graphics.OpenGL4.All type, Int32 namelen, String name, Int32 stringlen, String @string) - { - Delegates.glNamedStringARB = (Delegates.NamedStringARB)GetExtensionDelegateStatic("glNamedStringARB", typeof(Delegates.NamedStringARB)); - Delegates.glNamedStringARB((OpenTK.Graphics.OpenGL4.All)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string); - } - internal static void Load_NormalP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glNormalP3ui = (Delegates.NormalP3ui)GetExtensionDelegateStatic("glNormalP3ui", typeof(Delegates.NormalP3ui)); - Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_NormalP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glNormalP3uiv = (Delegates.NormalP3uiv)GetExtensionDelegateStatic("glNormalP3uiv", typeof(Delegates.NormalP3uiv)); - Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); - Delegates.glObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 length, String label) - { - Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); - Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); - Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); - } - internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) - { - Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); - Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); - } - internal static unsafe void Load_PatchParameterfv(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single* values) - { - Delegates.glPatchParameterfv = (Delegates.PatchParameterfv)GetExtensionDelegateStatic("glPatchParameterfv", typeof(Delegates.PatchParameterfv)); - Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (Single*)values); - } - internal static void Load_PatchParameteri(OpenTK.Graphics.OpenGL4.PatchParameterInt pname, Int32 value) - { - Delegates.glPatchParameteri = (Delegates.PatchParameteri)GetExtensionDelegateStatic("glPatchParameteri", typeof(Delegates.PatchParameteri)); - Delegates.glPatchParameteri((OpenTK.Graphics.OpenGL4.PatchParameterInt)pname, (Int32)value); - } - internal static void Load_PauseTransformFeedback() - { - Delegates.glPauseTransformFeedback = (Delegates.PauseTransformFeedback)GetExtensionDelegateStatic("glPauseTransformFeedback", typeof(Delegates.PauseTransformFeedback)); - Delegates.glPauseTransformFeedback(); - } - internal static void Load_PixelStoref(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Single param) - { - Delegates.glPixelStoref = (Delegates.PixelStoref)GetExtensionDelegateStatic("glPixelStoref", typeof(Delegates.PixelStoref)); - Delegates.glPixelStoref((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Single)param); - } - internal static void Load_PixelStorei(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Int32 param) - { - Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); - Delegates.glPixelStorei((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Int32)param); - } - internal static void Load_PointParameterf(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single param) - { - Delegates.glPointParameterf = (Delegates.PointParameterf)GetExtensionDelegateStatic("glPointParameterf", typeof(Delegates.PointParameterf)); - Delegates.glPointParameterf((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single)param); - } - internal static unsafe void Load_PointParameterfv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single* @params) - { - Delegates.glPointParameterfv = (Delegates.PointParameterfv)GetExtensionDelegateStatic("glPointParameterfv", typeof(Delegates.PointParameterfv)); - Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single*)@params); - } - internal static void Load_PointParameteri(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32 param) - { - Delegates.glPointParameteri = (Delegates.PointParameteri)GetExtensionDelegateStatic("glPointParameteri", typeof(Delegates.PointParameteri)); - Delegates.glPointParameteri((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32)param); - } - internal static unsafe void Load_PointParameteriv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32* @params) - { - Delegates.glPointParameteriv = (Delegates.PointParameteriv)GetExtensionDelegateStatic("glPointParameteriv", typeof(Delegates.PointParameteriv)); - Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32*)@params); - } - internal static void Load_PointSize(Single size) - { - Delegates.glPointSize = (Delegates.PointSize)GetExtensionDelegateStatic("glPointSize", typeof(Delegates.PointSize)); - Delegates.glPointSize((Single)size); - } - internal static void Load_PolygonMode(OpenTK.Graphics.OpenGL4.MaterialFace face, OpenTK.Graphics.OpenGL4.PolygonMode mode) - { - Delegates.glPolygonMode = (Delegates.PolygonMode)GetExtensionDelegateStatic("glPolygonMode", typeof(Delegates.PolygonMode)); - Delegates.glPolygonMode((OpenTK.Graphics.OpenGL4.MaterialFace)face, (OpenTK.Graphics.OpenGL4.PolygonMode)mode); - } - internal static void Load_PolygonOffset(Single factor, Single units) - { - Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); - Delegates.glPolygonOffset((Single)factor, (Single)units); - } - internal static void Load_PopDebugGroup() - { - Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); - Delegates.glPopDebugGroup(); - } - internal static void Load_PopDebugGroupKHR() - { - Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); - Delegates.glPopDebugGroupKHR(); - } - internal static void Load_PrimitiveRestartIndex(UInt32 index) - { - Delegates.glPrimitiveRestartIndex = (Delegates.PrimitiveRestartIndex)GetExtensionDelegateStatic("glPrimitiveRestartIndex", typeof(Delegates.PrimitiveRestartIndex)); - Delegates.glPrimitiveRestartIndex((UInt32)index); - } - internal static void Load_ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length) - { - Delegates.glProgramBinary = (Delegates.ProgramBinary)GetExtensionDelegateStatic("glProgramBinary", typeof(Delegates.ProgramBinary)); - Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); - } - internal static void Load_ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value) - { - Delegates.glProgramParameteri = (Delegates.ProgramParameteri)GetExtensionDelegateStatic("glProgramParameteri", typeof(Delegates.ProgramParameteri)); - Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramParameterName)pname, (Int32)value); - } - internal static void Load_ProgramUniform1d(UInt32 program, Int32 location, Double v0) - { - Delegates.glProgramUniform1d = (Delegates.ProgramUniform1d)GetExtensionDelegateStatic("glProgramUniform1d", typeof(Delegates.ProgramUniform1d)); - Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); - } - internal static unsafe void Load_ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform1dv = (Delegates.ProgramUniform1dv)GetExtensionDelegateStatic("glProgramUniform1dv", typeof(Delegates.ProgramUniform1dv)); - Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform1f(UInt32 program, Int32 location, Single v0) - { - Delegates.glProgramUniform1f = (Delegates.ProgramUniform1f)GetExtensionDelegateStatic("glProgramUniform1f", typeof(Delegates.ProgramUniform1f)); - Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); - } - internal static unsafe void Load_ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform1fv = (Delegates.ProgramUniform1fv)GetExtensionDelegateStatic("glProgramUniform1fv", typeof(Delegates.ProgramUniform1fv)); - Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform1i(UInt32 program, Int32 location, Int32 v0) - { - Delegates.glProgramUniform1i = (Delegates.ProgramUniform1i)GetExtensionDelegateStatic("glProgramUniform1i", typeof(Delegates.ProgramUniform1i)); - Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); - } - internal static unsafe void Load_ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform1iv = (Delegates.ProgramUniform1iv)GetExtensionDelegateStatic("glProgramUniform1iv", typeof(Delegates.ProgramUniform1iv)); - Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0) - { - Delegates.glProgramUniform1ui = (Delegates.ProgramUniform1ui)GetExtensionDelegateStatic("glProgramUniform1ui", typeof(Delegates.ProgramUniform1ui)); - Delegates.glProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); - } - internal static unsafe void Load_ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform1uiv = (Delegates.ProgramUniform1uiv)GetExtensionDelegateStatic("glProgramUniform1uiv", typeof(Delegates.ProgramUniform1uiv)); - Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1) - { - Delegates.glProgramUniform2d = (Delegates.ProgramUniform2d)GetExtensionDelegateStatic("glProgramUniform2d", typeof(Delegates.ProgramUniform2d)); - Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); - } - internal static unsafe void Load_ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform2dv = (Delegates.ProgramUniform2dv)GetExtensionDelegateStatic("glProgramUniform2dv", typeof(Delegates.ProgramUniform2dv)); - Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1) - { - Delegates.glProgramUniform2f = (Delegates.ProgramUniform2f)GetExtensionDelegateStatic("glProgramUniform2f", typeof(Delegates.ProgramUniform2f)); - Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform2fv = (Delegates.ProgramUniform2fv)GetExtensionDelegateStatic("glProgramUniform2fv", typeof(Delegates.ProgramUniform2fv)); - Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1) - { - Delegates.glProgramUniform2i = (Delegates.ProgramUniform2i)GetExtensionDelegateStatic("glProgramUniform2i", typeof(Delegates.ProgramUniform2i)); - Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform2iv = (Delegates.ProgramUniform2iv)GetExtensionDelegateStatic("glProgramUniform2iv", typeof(Delegates.ProgramUniform2iv)); - Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glProgramUniform2ui = (Delegates.ProgramUniform2ui)GetExtensionDelegateStatic("glProgramUniform2ui", typeof(Delegates.ProgramUniform2ui)); - Delegates.glProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static unsafe void Load_ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform2uiv = (Delegates.ProgramUniform2uiv)GetExtensionDelegateStatic("glProgramUniform2uiv", typeof(Delegates.ProgramUniform2uiv)); - Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2) - { - Delegates.glProgramUniform3d = (Delegates.ProgramUniform3d)GetExtensionDelegateStatic("glProgramUniform3d", typeof(Delegates.ProgramUniform3d)); - Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); - } - internal static unsafe void Load_ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform3dv = (Delegates.ProgramUniform3dv)GetExtensionDelegateStatic("glProgramUniform3dv", typeof(Delegates.ProgramUniform3dv)); - Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glProgramUniform3f = (Delegates.ProgramUniform3f)GetExtensionDelegateStatic("glProgramUniform3f", typeof(Delegates.ProgramUniform3f)); - Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform3fv = (Delegates.ProgramUniform3fv)GetExtensionDelegateStatic("glProgramUniform3fv", typeof(Delegates.ProgramUniform3fv)); - Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glProgramUniform3i = (Delegates.ProgramUniform3i)GetExtensionDelegateStatic("glProgramUniform3i", typeof(Delegates.ProgramUniform3i)); - Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform3iv = (Delegates.ProgramUniform3iv)GetExtensionDelegateStatic("glProgramUniform3iv", typeof(Delegates.ProgramUniform3iv)); - Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glProgramUniform3ui = (Delegates.ProgramUniform3ui)GetExtensionDelegateStatic("glProgramUniform3ui", typeof(Delegates.ProgramUniform3ui)); - Delegates.glProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static unsafe void Load_ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform3uiv = (Delegates.ProgramUniform3uiv)GetExtensionDelegateStatic("glProgramUniform3uiv", typeof(Delegates.ProgramUniform3uiv)); - Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) - { - Delegates.glProgramUniform4d = (Delegates.ProgramUniform4d)GetExtensionDelegateStatic("glProgramUniform4d", typeof(Delegates.ProgramUniform4d)); - Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); - } - internal static unsafe void Load_ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value) - { - Delegates.glProgramUniform4dv = (Delegates.ProgramUniform4dv)GetExtensionDelegateStatic("glProgramUniform4dv", typeof(Delegates.ProgramUniform4dv)); - Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glProgramUniform4f = (Delegates.ProgramUniform4f)GetExtensionDelegateStatic("glProgramUniform4f", typeof(Delegates.ProgramUniform4f)); - Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value) - { - Delegates.glProgramUniform4fv = (Delegates.ProgramUniform4fv)GetExtensionDelegateStatic("glProgramUniform4fv", typeof(Delegates.ProgramUniform4fv)); - Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glProgramUniform4i = (Delegates.ProgramUniform4i)GetExtensionDelegateStatic("glProgramUniform4i", typeof(Delegates.ProgramUniform4i)); - Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value) - { - Delegates.glProgramUniform4iv = (Delegates.ProgramUniform4iv)GetExtensionDelegateStatic("glProgramUniform4iv", typeof(Delegates.ProgramUniform4iv)); - Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glProgramUniform4ui = (Delegates.ProgramUniform4ui)GetExtensionDelegateStatic("glProgramUniform4ui", typeof(Delegates.ProgramUniform4ui)); - Delegates.glProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static unsafe void Load_ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) - { - Delegates.glProgramUniform4uiv = (Delegates.ProgramUniform4uiv)GetExtensionDelegateStatic("glProgramUniform4uiv", typeof(Delegates.ProgramUniform4uiv)); - Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value) - { - Delegates.glProgramUniformHandleui64ARB = (Delegates.ProgramUniformHandleui64ARB)GetExtensionDelegateStatic("glProgramUniformHandleui64ARB", typeof(Delegates.ProgramUniformHandleui64ARB)); - Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); - } - internal static unsafe void Load_ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values) - { - Delegates.glProgramUniformHandleui64vARB = (Delegates.ProgramUniformHandleui64vARB)GetExtensionDelegateStatic("glProgramUniformHandleui64vARB", typeof(Delegates.ProgramUniformHandleui64vARB)); - Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); - } - internal static unsafe void Load_ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2dv = (Delegates.ProgramUniformMatrix2dv)GetExtensionDelegateStatic("glProgramUniformMatrix2dv", typeof(Delegates.ProgramUniformMatrix2dv)); - Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2fv = (Delegates.ProgramUniformMatrix2fv)GetExtensionDelegateStatic("glProgramUniformMatrix2fv", typeof(Delegates.ProgramUniformMatrix2fv)); - Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2x3dv = (Delegates.ProgramUniformMatrix2x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3dv", typeof(Delegates.ProgramUniformMatrix2x3dv)); - Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x3fv = (Delegates.ProgramUniformMatrix2x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fv", typeof(Delegates.ProgramUniformMatrix2x3fv)); - Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix2x4dv = (Delegates.ProgramUniformMatrix2x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4dv", typeof(Delegates.ProgramUniformMatrix2x4dv)); - Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix2x4fv = (Delegates.ProgramUniformMatrix2x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fv", typeof(Delegates.ProgramUniformMatrix2x4fv)); - Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3dv = (Delegates.ProgramUniformMatrix3dv)GetExtensionDelegateStatic("glProgramUniformMatrix3dv", typeof(Delegates.ProgramUniformMatrix3dv)); - Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3fv = (Delegates.ProgramUniformMatrix3fv)GetExtensionDelegateStatic("glProgramUniformMatrix3fv", typeof(Delegates.ProgramUniformMatrix3fv)); - Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3x2dv = (Delegates.ProgramUniformMatrix3x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2dv", typeof(Delegates.ProgramUniformMatrix3x2dv)); - Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x2fv = (Delegates.ProgramUniformMatrix3x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fv", typeof(Delegates.ProgramUniformMatrix3x2fv)); - Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix3x4dv = (Delegates.ProgramUniformMatrix3x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4dv", typeof(Delegates.ProgramUniformMatrix3x4dv)); - Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix3x4fv = (Delegates.ProgramUniformMatrix3x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fv", typeof(Delegates.ProgramUniformMatrix3x4fv)); - Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4dv = (Delegates.ProgramUniformMatrix4dv)GetExtensionDelegateStatic("glProgramUniformMatrix4dv", typeof(Delegates.ProgramUniformMatrix4dv)); - Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4fv = (Delegates.ProgramUniformMatrix4fv)GetExtensionDelegateStatic("glProgramUniformMatrix4fv", typeof(Delegates.ProgramUniformMatrix4fv)); - Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4x2dv = (Delegates.ProgramUniformMatrix4x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2dv", typeof(Delegates.ProgramUniformMatrix4x2dv)); - Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x2fv = (Delegates.ProgramUniformMatrix4x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fv", typeof(Delegates.ProgramUniformMatrix4x2fv)); - Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glProgramUniformMatrix4x3dv = (Delegates.ProgramUniformMatrix4x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3dv", typeof(Delegates.ProgramUniformMatrix4x3dv)); - Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glProgramUniformMatrix4x3fv = (Delegates.ProgramUniformMatrix4x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fv", typeof(Delegates.ProgramUniformMatrix4x3fv)); - Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static void Load_ProvokingVertex(OpenTK.Graphics.OpenGL4.ProvokingVertexMode mode) - { - Delegates.glProvokingVertex = (Delegates.ProvokingVertex)GetExtensionDelegateStatic("glProvokingVertex", typeof(Delegates.ProvokingVertex)); - Delegates.glProvokingVertex((OpenTK.Graphics.OpenGL4.ProvokingVertexMode)mode); - } - internal static void Load_PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); - Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.OpenGL4.All source, UInt32 id, Int32 length, String message) - { - Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); - Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL4.All)source, (UInt32)id, (Int32)length, (String)message); - } - internal static void Load_QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target) - { - Delegates.glQueryCounter = (Delegates.QueryCounter)GetExtensionDelegateStatic("glQueryCounter", typeof(Delegates.QueryCounter)); - Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL4.QueryCounterTarget)target); - } - internal static void Load_ReadBuffer(OpenTK.Graphics.OpenGL4.ReadBufferMode mode) - { - Delegates.glReadBuffer = (Delegates.ReadBuffer)GetExtensionDelegateStatic("glReadBuffer", typeof(Delegates.ReadBuffer)); - Delegates.glReadBuffer((OpenTK.Graphics.OpenGL4.ReadBufferMode)mode); - } - internal static void Load_ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr data) - { - Delegates.glReadnPixelsARB = (Delegates.ReadnPixelsARB)GetExtensionDelegateStatic("glReadnPixelsARB", typeof(Delegates.ReadnPixelsARB)); - Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data); - } - internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels) - { - Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); - Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static void Load_ReleaseShaderCompiler() - { - Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); - Delegates.glReleaseShaderCompiler(); - } - internal static void Load_RenderbufferStorage(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); - Delegates.glRenderbufferStorage((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height) - { - Delegates.glRenderbufferStorageMultisample = (Delegates.RenderbufferStorageMultisample)GetExtensionDelegateStatic("glRenderbufferStorageMultisample", typeof(Delegates.RenderbufferStorageMultisample)); - Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_ResetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target) - { - Delegates.glResetHistogram = (Delegates.ResetHistogram)GetExtensionDelegateStatic("glResetHistogram", typeof(Delegates.ResetHistogram)); - Delegates.glResetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target); - } - internal static void Load_ResetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target) - { - Delegates.glResetMinmax = (Delegates.ResetMinmax)GetExtensionDelegateStatic("glResetMinmax", typeof(Delegates.ResetMinmax)); - Delegates.glResetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target); - } - internal static void Load_ResumeTransformFeedback() - { - Delegates.glResumeTransformFeedback = (Delegates.ResumeTransformFeedback)GetExtensionDelegateStatic("glResumeTransformFeedback", typeof(Delegates.ResumeTransformFeedback)); - Delegates.glResumeTransformFeedback(); - } - internal static void Load_SampleCoverage(Single value, bool invert) - { - Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); - Delegates.glSampleCoverage((Single)value, (bool)invert); - } - internal static void Load_SampleMaski(UInt32 index, UInt32 mask) - { - Delegates.glSampleMaski = (Delegates.SampleMaski)GetExtensionDelegateStatic("glSampleMaski", typeof(Delegates.SampleMaski)); - Delegates.glSampleMaski((UInt32)index, (UInt32)mask); - } - internal static void Load_SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param) - { - Delegates.glSamplerParameterf = (Delegates.SamplerParameterf)GetExtensionDelegateStatic("glSamplerParameterf", typeof(Delegates.SamplerParameterf)); - Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single)param); - } - internal static unsafe void Load_SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param) - { - Delegates.glSamplerParameterfv = (Delegates.SamplerParameterfv)GetExtensionDelegateStatic("glSamplerParameterfv", typeof(Delegates.SamplerParameterfv)); - Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)param); - } - internal static void Load_SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param) - { - Delegates.glSamplerParameteri = (Delegates.SamplerParameteri)GetExtensionDelegateStatic("glSamplerParameteri", typeof(Delegates.SamplerParameteri)); - Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32)param); - } - internal static unsafe void Load_SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - Delegates.glSamplerParameterIiv = (Delegates.SamplerParameterIiv)GetExtensionDelegateStatic("glSamplerParameterIiv", typeof(Delegates.SamplerParameterIiv)); - Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); - } - internal static unsafe void Load_SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32* param) - { - Delegates.glSamplerParameterIuiv = (Delegates.SamplerParameterIuiv)GetExtensionDelegateStatic("glSamplerParameterIuiv", typeof(Delegates.SamplerParameterIuiv)); - Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (UInt32*)param); - } - internal static unsafe void Load_SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) - { - Delegates.glSamplerParameteriv = (Delegates.SamplerParameteriv)GetExtensionDelegateStatic("glSamplerParameteriv", typeof(Delegates.SamplerParameteriv)); - Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); - } - internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); - Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static unsafe void Load_ScissorArrayv(UInt32 first, Int32 count, Int32* v) - { - Delegates.glScissorArrayv = (Delegates.ScissorArrayv)GetExtensionDelegateStatic("glScissorArrayv", typeof(Delegates.ScissorArrayv)); - Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); - } - internal static void Load_ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) - { - Delegates.glScissorIndexed = (Delegates.ScissorIndexed)GetExtensionDelegateStatic("glScissorIndexed", typeof(Delegates.ScissorIndexed)); - Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); - } - internal static unsafe void Load_ScissorIndexedv(UInt32 index, Int32* v) - { - Delegates.glScissorIndexedv = (Delegates.ScissorIndexedv)GetExtensionDelegateStatic("glScissorIndexedv", typeof(Delegates.ScissorIndexedv)); - Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); - } - internal static void Load_SecondaryColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) - { - Delegates.glSecondaryColorP3ui = (Delegates.SecondaryColorP3ui)GetExtensionDelegateStatic("glSecondaryColorP3ui", typeof(Delegates.SecondaryColorP3ui)); - Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); - } - internal static unsafe void Load_SecondaryColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) - { - Delegates.glSecondaryColorP3uiv = (Delegates.SecondaryColorP3uiv)GetExtensionDelegateStatic("glSecondaryColorP3uiv", typeof(Delegates.SecondaryColorP3uiv)); - Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); - } - internal static void Load_SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr row, IntPtr column) - { - Delegates.glSeparableFilter2D = (Delegates.SeparableFilter2D)GetExtensionDelegateStatic("glSeparableFilter2D", typeof(Delegates.SeparableFilter2D)); - Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row, (IntPtr)column); - } - internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) - { - Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); - Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); - } - internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) - { - Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); - Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); - } - internal static void Load_ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) - { - Delegates.glShaderStorageBlockBinding = (Delegates.ShaderStorageBlockBinding)GetExtensionDelegateStatic("glShaderStorageBlockBinding", typeof(Delegates.ShaderStorageBlockBinding)); - Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); - } - internal static void Load_StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); - Delegates.glStencilFunc((OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) - { - Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); - Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); - } - internal static void Load_StencilMask(UInt32 mask) - { - Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); - Delegates.glStencilMask((UInt32)mask); - } - internal static void Load_StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, UInt32 mask) - { - Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); - Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (UInt32)mask); - } - internal static void Load_StencilOp(OpenTK.Graphics.OpenGL4.StencilOp fail, OpenTK.Graphics.OpenGL4.StencilOp zfail, OpenTK.Graphics.OpenGL4.StencilOp zpass) - { - Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); - Delegates.glStencilOp((OpenTK.Graphics.OpenGL4.StencilOp)fail, (OpenTK.Graphics.OpenGL4.StencilOp)zfail, (OpenTK.Graphics.OpenGL4.StencilOp)zpass); - } - internal static void Load_StencilOpSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilOp sfail, OpenTK.Graphics.OpenGL4.StencilOp dpfail, OpenTK.Graphics.OpenGL4.StencilOp dppass) - { - Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); - Delegates.glStencilOpSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilOp)sfail, (OpenTK.Graphics.OpenGL4.StencilOp)dpfail, (OpenTK.Graphics.OpenGL4.StencilOp)dppass); - } - internal static void Load_TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer) - { - Delegates.glTexBuffer = (Delegates.TexBuffer)GetExtensionDelegateStatic("glTexBuffer", typeof(Delegates.TexBuffer)); - Delegates.glTexBuffer((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer); - } - internal static void Load_TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size) - { - Delegates.glTexBufferRange = (Delegates.TexBufferRange)GetExtensionDelegateStatic("glTexBufferRange", typeof(Delegates.TexBufferRange)); - Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); - } - internal static void Load_TexCoordP1ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP1ui = (Delegates.TexCoordP1ui)GetExtensionDelegateStatic("glTexCoordP1ui", typeof(Delegates.TexCoordP1ui)); - Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP1uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP1uiv = (Delegates.TexCoordP1uiv)GetExtensionDelegateStatic("glTexCoordP1uiv", typeof(Delegates.TexCoordP1uiv)); - Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexCoordP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP2ui = (Delegates.TexCoordP2ui)GetExtensionDelegateStatic("glTexCoordP2ui", typeof(Delegates.TexCoordP2ui)); - Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP2uiv = (Delegates.TexCoordP2uiv)GetExtensionDelegateStatic("glTexCoordP2uiv", typeof(Delegates.TexCoordP2uiv)); - Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexCoordP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP3ui = (Delegates.TexCoordP3ui)GetExtensionDelegateStatic("glTexCoordP3ui", typeof(Delegates.TexCoordP3ui)); - Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP3uiv = (Delegates.TexCoordP3uiv)GetExtensionDelegateStatic("glTexCoordP3uiv", typeof(Delegates.TexCoordP3uiv)); - Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexCoordP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) - { - Delegates.glTexCoordP4ui = (Delegates.TexCoordP4ui)GetExtensionDelegateStatic("glTexCoordP4ui", typeof(Delegates.TexCoordP4ui)); - Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); - } - internal static unsafe void Load_TexCoordP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) - { - Delegates.glTexCoordP4uiv = (Delegates.TexCoordP4uiv)GetExtensionDelegateStatic("glTexCoordP4uiv", typeof(Delegates.TexCoordP4uiv)); - Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); - } - internal static void Load_TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - Delegates.glTexImage1D = (Delegates.TexImage1D)GetExtensionDelegateStatic("glTexImage1D", typeof(Delegates.TexImage1D)); - Delegates.glTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); - Delegates.glTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - Delegates.glTexImage2DMultisample = (Delegates.TexImage2DMultisample)GetExtensionDelegateStatic("glTexImage2DMultisample", typeof(Delegates.TexImage2DMultisample)); - Delegates.glTexImage2DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - } - internal static void Load_TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - Delegates.glTexImage3D = (Delegates.TexImage3D)GetExtensionDelegateStatic("glTexImage3D", typeof(Delegates.TexImage3D)); - Delegates.glTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexImage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - Delegates.glTexImage3DMultisample = (Delegates.TexImage3DMultisample)GetExtensionDelegateStatic("glTexImage3DMultisample", typeof(Delegates.TexImage3DMultisample)); - Delegates.glTexImage3DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - } - internal static void Load_TexPageCommitmentARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) - { - Delegates.glTexPageCommitmentARB = (Delegates.TexPageCommitmentARB)GetExtensionDelegateStatic("glTexPageCommitmentARB", typeof(Delegates.TexPageCommitmentARB)); - Delegates.glTexPageCommitmentARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); - } - internal static void Load_TexParameterf(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single param) - { - Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); - Delegates.glTexParameterf((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single)param); - } - internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single* @params) - { - Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); - Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single*)@params); - } - internal static void Load_TexParameteri(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32 param) - { - Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); - Delegates.glTexParameteri((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32)param); - } - internal static unsafe void Load_TexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameterIiv = (Delegates.TexParameterIiv)GetExtensionDelegateStatic("glTexParameterIiv", typeof(Delegates.TexParameterIiv)); - Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params); - } - internal static unsafe void Load_TexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32* @params) - { - Delegates.glTexParameterIuiv = (Delegates.TexParameterIuiv)GetExtensionDelegateStatic("glTexParameterIuiv", typeof(Delegates.TexParameterIuiv)); - Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (UInt32*)@params); - } - internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) - { - Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); - Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params); - } - internal static void Load_TexStorage1D(OpenTK.Graphics.OpenGL4.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width) - { - Delegates.glTexStorage1D = (Delegates.TexStorage1D)GetExtensionDelegateStatic("glTexStorage1D", typeof(Delegates.TexStorage1D)); - Delegates.glTexStorage1D((OpenTK.Graphics.OpenGL4.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width); - } - internal static void Load_TexStorage2D(OpenTK.Graphics.OpenGL4.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height) - { - Delegates.glTexStorage2D = (Delegates.TexStorage2D)GetExtensionDelegateStatic("glTexStorage2D", typeof(Delegates.TexStorage2D)); - Delegates.glTexStorage2D((OpenTK.Graphics.OpenGL4.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); - } - internal static void Load_TexStorage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) - { - Delegates.glTexStorage2DMultisample = (Delegates.TexStorage2DMultisample)GetExtensionDelegateStatic("glTexStorage2DMultisample", typeof(Delegates.TexStorage2DMultisample)); - Delegates.glTexStorage2DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); - } - internal static void Load_TexStorage3D(OpenTK.Graphics.OpenGL4.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) - { - Delegates.glTexStorage3D = (Delegates.TexStorage3D)GetExtensionDelegateStatic("glTexStorage3D", typeof(Delegates.TexStorage3D)); - Delegates.glTexStorage3D((OpenTK.Graphics.OpenGL4.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); - } - internal static void Load_TexStorage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) - { - Delegates.glTexStorage3DMultisample = (Delegates.TexStorage3DMultisample)GetExtensionDelegateStatic("glTexStorage3DMultisample", typeof(Delegates.TexStorage3DMultisample)); - Delegates.glTexStorage3DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); - } - internal static void Load_TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage1D = (Delegates.TexSubImage1D)GetExtensionDelegateStatic("glTexSubImage1D", typeof(Delegates.TexSubImage1D)); - Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); - Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) - { - Delegates.glTexSubImage3D = (Delegates.TexSubImage3D)GetExtensionDelegateStatic("glTexSubImage3D", typeof(Delegates.TexSubImage3D)); - Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); - } - internal static void Load_TextureView(UInt32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers) - { - Delegates.glTextureView = (Delegates.TextureView)GetExtensionDelegateStatic("glTextureView", typeof(Delegates.TextureView)); - Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); - } - internal static void Load_TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode) - { - Delegates.glTransformFeedbackVaryings = (Delegates.TransformFeedbackVaryings)GetExtensionDelegateStatic("glTransformFeedbackVaryings", typeof(Delegates.TransformFeedbackVaryings)); - Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL4.TransformFeedbackMode)bufferMode); - } - internal static void Load_Uniform1d(Int32 location, Double x) - { - Delegates.glUniform1d = (Delegates.Uniform1d)GetExtensionDelegateStatic("glUniform1d", typeof(Delegates.Uniform1d)); - Delegates.glUniform1d((Int32)location, (Double)x); - } - internal static unsafe void Load_Uniform1dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform1dv = (Delegates.Uniform1dv)GetExtensionDelegateStatic("glUniform1dv", typeof(Delegates.Uniform1dv)); - Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform1f(Int32 location, Single v0) - { - Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); - Delegates.glUniform1f((Int32)location, (Single)v0); - } - internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); - Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform1i(Int32 location, Int32 v0) - { - Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); - Delegates.glUniform1i((Int32)location, (Int32)v0); - } - internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); - Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform1ui(Int32 location, UInt32 v0) - { - Delegates.glUniform1ui = (Delegates.Uniform1ui)GetExtensionDelegateStatic("glUniform1ui", typeof(Delegates.Uniform1ui)); - Delegates.glUniform1ui((Int32)location, (UInt32)v0); - } - internal static unsafe void Load_Uniform1uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform1uiv = (Delegates.Uniform1uiv)GetExtensionDelegateStatic("glUniform1uiv", typeof(Delegates.Uniform1uiv)); - Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform2d(Int32 location, Double x, Double y) - { - Delegates.glUniform2d = (Delegates.Uniform2d)GetExtensionDelegateStatic("glUniform2d", typeof(Delegates.Uniform2d)); - Delegates.glUniform2d((Int32)location, (Double)x, (Double)y); - } - internal static unsafe void Load_Uniform2dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform2dv = (Delegates.Uniform2dv)GetExtensionDelegateStatic("glUniform2dv", typeof(Delegates.Uniform2dv)); - Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) - { - Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); - Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); - } - internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); - Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) - { - Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); - Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); - } - internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); - Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform2ui(Int32 location, UInt32 v0, UInt32 v1) - { - Delegates.glUniform2ui = (Delegates.Uniform2ui)GetExtensionDelegateStatic("glUniform2ui", typeof(Delegates.Uniform2ui)); - Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); - } - internal static unsafe void Load_Uniform2uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform2uiv = (Delegates.Uniform2uiv)GetExtensionDelegateStatic("glUniform2uiv", typeof(Delegates.Uniform2uiv)); - Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform3d(Int32 location, Double x, Double y, Double z) - { - Delegates.glUniform3d = (Delegates.Uniform3d)GetExtensionDelegateStatic("glUniform3d", typeof(Delegates.Uniform3d)); - Delegates.glUniform3d((Int32)location, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_Uniform3dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform3dv = (Delegates.Uniform3dv)GetExtensionDelegateStatic("glUniform3dv", typeof(Delegates.Uniform3dv)); - Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) - { - Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); - Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); - } - internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); - Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) - { - Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); - Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); - } - internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); - Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) - { - Delegates.glUniform3ui = (Delegates.Uniform3ui)GetExtensionDelegateStatic("glUniform3ui", typeof(Delegates.Uniform3ui)); - Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); - } - internal static unsafe void Load_Uniform3uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform3uiv = (Delegates.Uniform3uiv)GetExtensionDelegateStatic("glUniform3uiv", typeof(Delegates.Uniform3uiv)); - Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_Uniform4d(Int32 location, Double x, Double y, Double z, Double w) - { - Delegates.glUniform4d = (Delegates.Uniform4d)GetExtensionDelegateStatic("glUniform4d", typeof(Delegates.Uniform4d)); - Delegates.glUniform4d((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_Uniform4dv(Int32 location, Int32 count, Double* value) - { - Delegates.glUniform4dv = (Delegates.Uniform4dv)GetExtensionDelegateStatic("glUniform4dv", typeof(Delegates.Uniform4dv)); - Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value); - } - internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) - { - Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); - Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); - } - internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) - { - Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); - Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); - } - internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) - { - Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); - Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); - } - internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) - { - Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); - Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); - } - internal static void Load_Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) - { - Delegates.glUniform4ui = (Delegates.Uniform4ui)GetExtensionDelegateStatic("glUniform4ui", typeof(Delegates.Uniform4ui)); - Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); - } - internal static unsafe void Load_Uniform4uiv(Int32 location, Int32 count, UInt32* value) - { - Delegates.glUniform4uiv = (Delegates.Uniform4uiv)GetExtensionDelegateStatic("glUniform4uiv", typeof(Delegates.Uniform4uiv)); - Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); - } - internal static void Load_UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) - { - Delegates.glUniformBlockBinding = (Delegates.UniformBlockBinding)GetExtensionDelegateStatic("glUniformBlockBinding", typeof(Delegates.UniformBlockBinding)); - Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); - } - internal static void Load_UniformHandleui64ARB(Int32 location, UInt64 value) - { - Delegates.glUniformHandleui64ARB = (Delegates.UniformHandleui64ARB)GetExtensionDelegateStatic("glUniformHandleui64ARB", typeof(Delegates.UniformHandleui64ARB)); - Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); - } - internal static unsafe void Load_UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value) - { - Delegates.glUniformHandleui64vARB = (Delegates.UniformHandleui64vARB)GetExtensionDelegateStatic("glUniformHandleui64vARB", typeof(Delegates.UniformHandleui64vARB)); - Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); - } - internal static unsafe void Load_UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix2dv = (Delegates.UniformMatrix2dv)GetExtensionDelegateStatic("glUniformMatrix2dv", typeof(Delegates.UniformMatrix2dv)); - Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); - Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix2x3dv = (Delegates.UniformMatrix2x3dv)GetExtensionDelegateStatic("glUniformMatrix2x3dv", typeof(Delegates.UniformMatrix2x3dv)); - Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x3fv = (Delegates.UniformMatrix2x3fv)GetExtensionDelegateStatic("glUniformMatrix2x3fv", typeof(Delegates.UniformMatrix2x3fv)); - Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix2x4dv = (Delegates.UniformMatrix2x4dv)GetExtensionDelegateStatic("glUniformMatrix2x4dv", typeof(Delegates.UniformMatrix2x4dv)); - Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix2x4fv = (Delegates.UniformMatrix2x4fv)GetExtensionDelegateStatic("glUniformMatrix2x4fv", typeof(Delegates.UniformMatrix2x4fv)); - Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix3dv = (Delegates.UniformMatrix3dv)GetExtensionDelegateStatic("glUniformMatrix3dv", typeof(Delegates.UniformMatrix3dv)); - Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); - Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix3x2dv = (Delegates.UniformMatrix3x2dv)GetExtensionDelegateStatic("glUniformMatrix3x2dv", typeof(Delegates.UniformMatrix3x2dv)); - Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x2fv = (Delegates.UniformMatrix3x2fv)GetExtensionDelegateStatic("glUniformMatrix3x2fv", typeof(Delegates.UniformMatrix3x2fv)); - Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix3x4dv = (Delegates.UniformMatrix3x4dv)GetExtensionDelegateStatic("glUniformMatrix3x4dv", typeof(Delegates.UniformMatrix3x4dv)); - Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix3x4fv = (Delegates.UniformMatrix3x4fv)GetExtensionDelegateStatic("glUniformMatrix3x4fv", typeof(Delegates.UniformMatrix3x4fv)); - Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix4dv = (Delegates.UniformMatrix4dv)GetExtensionDelegateStatic("glUniformMatrix4dv", typeof(Delegates.UniformMatrix4dv)); - Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); - Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix4x2dv = (Delegates.UniformMatrix4x2dv)GetExtensionDelegateStatic("glUniformMatrix4x2dv", typeof(Delegates.UniformMatrix4x2dv)); - Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x2fv = (Delegates.UniformMatrix4x2fv)GetExtensionDelegateStatic("glUniformMatrix4x2fv", typeof(Delegates.UniformMatrix4x2fv)); - Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value) - { - Delegates.glUniformMatrix4x3dv = (Delegates.UniformMatrix4x3dv)GetExtensionDelegateStatic("glUniformMatrix4x3dv", typeof(Delegates.UniformMatrix4x3dv)); - Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); - } - internal static unsafe void Load_UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value) - { - Delegates.glUniformMatrix4x3fv = (Delegates.UniformMatrix4x3fv)GetExtensionDelegateStatic("glUniformMatrix4x3fv", typeof(Delegates.UniformMatrix4x3fv)); - Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); - } - internal static unsafe void Load_UniformSubroutinesuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32* indices) - { - Delegates.glUniformSubroutinesuiv = (Delegates.UniformSubroutinesuiv)GetExtensionDelegateStatic("glUniformSubroutinesuiv", typeof(Delegates.UniformSubroutinesuiv)); - Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices); - } - internal static bool Load_UnmapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target) - { - Delegates.glUnmapBuffer = (Delegates.UnmapBuffer)GetExtensionDelegateStatic("glUnmapBuffer", typeof(Delegates.UnmapBuffer)); - return Delegates.glUnmapBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target); - } - internal static void Load_UseProgram(UInt32 program) - { - Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); - Delegates.glUseProgram((UInt32)program); - } - internal static void Load_UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, UInt32 program) - { - Delegates.glUseProgramStages = (Delegates.UseProgramStages)GetExtensionDelegateStatic("glUseProgramStages", typeof(Delegates.UseProgramStages)); - Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramStageMask)stages, (UInt32)program); - } - internal static void Load_ValidateProgram(UInt32 program) - { - Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); - Delegates.glValidateProgram((UInt32)program); - } - internal static void Load_ValidateProgramPipeline(UInt32 pipeline) - { - Delegates.glValidateProgramPipeline = (Delegates.ValidateProgramPipeline)GetExtensionDelegateStatic("glValidateProgramPipeline", typeof(Delegates.ValidateProgramPipeline)); - Delegates.glValidateProgramPipeline((UInt32)pipeline); - } - internal static void Load_VertexAttrib1d(UInt32 index, Double x) - { - Delegates.glVertexAttrib1d = (Delegates.VertexAttrib1d)GetExtensionDelegateStatic("glVertexAttrib1d", typeof(Delegates.VertexAttrib1d)); - Delegates.glVertexAttrib1d((UInt32)index, (Double)x); - } - internal static unsafe void Load_VertexAttrib1dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib1dv = (Delegates.VertexAttrib1dv)GetExtensionDelegateStatic("glVertexAttrib1dv", typeof(Delegates.VertexAttrib1dv)); - Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib1f(UInt32 index, Single x) - { - Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); - Delegates.glVertexAttrib1f((UInt32)index, (Single)x); - } - internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); - Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib1s(UInt32 index, Int16 x) - { - Delegates.glVertexAttrib1s = (Delegates.VertexAttrib1s)GetExtensionDelegateStatic("glVertexAttrib1s", typeof(Delegates.VertexAttrib1s)); - Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); - } - internal static unsafe void Load_VertexAttrib1sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib1sv = (Delegates.VertexAttrib1sv)GetExtensionDelegateStatic("glVertexAttrib1sv", typeof(Delegates.VertexAttrib1sv)); - Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); - } - internal static void Load_VertexAttrib2d(UInt32 index, Double x, Double y) - { - Delegates.glVertexAttrib2d = (Delegates.VertexAttrib2d)GetExtensionDelegateStatic("glVertexAttrib2d", typeof(Delegates.VertexAttrib2d)); - Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); - } - internal static unsafe void Load_VertexAttrib2dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib2dv = (Delegates.VertexAttrib2dv)GetExtensionDelegateStatic("glVertexAttrib2dv", typeof(Delegates.VertexAttrib2dv)); - Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) - { - Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); - Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); - } - internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); - Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib2s(UInt32 index, Int16 x, Int16 y) - { - Delegates.glVertexAttrib2s = (Delegates.VertexAttrib2s)GetExtensionDelegateStatic("glVertexAttrib2s", typeof(Delegates.VertexAttrib2s)); - Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); - } - internal static unsafe void Load_VertexAttrib2sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib2sv = (Delegates.VertexAttrib2sv)GetExtensionDelegateStatic("glVertexAttrib2sv", typeof(Delegates.VertexAttrib2sv)); - Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); - } - internal static void Load_VertexAttrib3d(UInt32 index, Double x, Double y, Double z) - { - Delegates.glVertexAttrib3d = (Delegates.VertexAttrib3d)GetExtensionDelegateStatic("glVertexAttrib3d", typeof(Delegates.VertexAttrib3d)); - Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_VertexAttrib3dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib3dv = (Delegates.VertexAttrib3dv)GetExtensionDelegateStatic("glVertexAttrib3dv", typeof(Delegates.VertexAttrib3dv)); - Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) - { - Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); - Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); - } - internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); - Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); - } - internal static void Load_VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z) - { - Delegates.glVertexAttrib3s = (Delegates.VertexAttrib3s)GetExtensionDelegateStatic("glVertexAttrib3s", typeof(Delegates.VertexAttrib3s)); - Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); - } - internal static unsafe void Load_VertexAttrib3sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib3sv = (Delegates.VertexAttrib3sv)GetExtensionDelegateStatic("glVertexAttrib3sv", typeof(Delegates.VertexAttrib3sv)); - Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib4bv(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4bv = (Delegates.VertexAttrib4bv)GetExtensionDelegateStatic("glVertexAttrib4bv", typeof(Delegates.VertexAttrib4bv)); - Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); - } - internal static void Load_VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glVertexAttrib4d = (Delegates.VertexAttrib4d)GetExtensionDelegateStatic("glVertexAttrib4d", typeof(Delegates.VertexAttrib4d)); - Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_VertexAttrib4dv(UInt32 index, Double* v) - { - Delegates.glVertexAttrib4dv = (Delegates.VertexAttrib4dv)GetExtensionDelegateStatic("glVertexAttrib4dv", typeof(Delegates.VertexAttrib4dv)); - Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) - { - Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); - Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); - } - internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) - { - Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); - Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); - } - internal static unsafe void Load_VertexAttrib4iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4iv = (Delegates.VertexAttrib4iv)GetExtensionDelegateStatic("glVertexAttrib4iv", typeof(Delegates.VertexAttrib4iv)); - Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttrib4Nbv(UInt32 index, SByte* v) - { - Delegates.glVertexAttrib4Nbv = (Delegates.VertexAttrib4Nbv)GetExtensionDelegateStatic("glVertexAttrib4Nbv", typeof(Delegates.VertexAttrib4Nbv)); - Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); - } - internal static unsafe void Load_VertexAttrib4Niv(UInt32 index, Int32* v) - { - Delegates.glVertexAttrib4Niv = (Delegates.VertexAttrib4Niv)GetExtensionDelegateStatic("glVertexAttrib4Niv", typeof(Delegates.VertexAttrib4Niv)); - Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttrib4Nsv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4Nsv = (Delegates.VertexAttrib4Nsv)GetExtensionDelegateStatic("glVertexAttrib4Nsv", typeof(Delegates.VertexAttrib4Nsv)); - Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); - } - internal static void Load_VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w) - { - Delegates.glVertexAttrib4Nub = (Delegates.VertexAttrib4Nub)GetExtensionDelegateStatic("glVertexAttrib4Nub", typeof(Delegates.VertexAttrib4Nub)); - Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); - } - internal static unsafe void Load_VertexAttrib4Nubv(UInt32 index, Byte* v) - { - Delegates.glVertexAttrib4Nubv = (Delegates.VertexAttrib4Nubv)GetExtensionDelegateStatic("glVertexAttrib4Nubv", typeof(Delegates.VertexAttrib4Nubv)); - Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttrib4Nuiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttrib4Nuiv = (Delegates.VertexAttrib4Nuiv)GetExtensionDelegateStatic("glVertexAttrib4Nuiv", typeof(Delegates.VertexAttrib4Nuiv)); - Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttrib4Nusv(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4Nusv = (Delegates.VertexAttrib4Nusv)GetExtensionDelegateStatic("glVertexAttrib4Nusv", typeof(Delegates.VertexAttrib4Nusv)); - Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); - } - internal static void Load_VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) - { - Delegates.glVertexAttrib4s = (Delegates.VertexAttrib4s)GetExtensionDelegateStatic("glVertexAttrib4s", typeof(Delegates.VertexAttrib4s)); - Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); - } - internal static unsafe void Load_VertexAttrib4sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttrib4sv = (Delegates.VertexAttrib4sv)GetExtensionDelegateStatic("glVertexAttrib4sv", typeof(Delegates.VertexAttrib4sv)); - Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttrib4ubv(UInt32 index, Byte* v) - { - Delegates.glVertexAttrib4ubv = (Delegates.VertexAttrib4ubv)GetExtensionDelegateStatic("glVertexAttrib4ubv", typeof(Delegates.VertexAttrib4ubv)); - Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); - } - internal static unsafe void Load_VertexAttrib4uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttrib4uiv = (Delegates.VertexAttrib4uiv)GetExtensionDelegateStatic("glVertexAttrib4uiv", typeof(Delegates.VertexAttrib4uiv)); - Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttrib4usv(UInt32 index, UInt16* v) - { - Delegates.glVertexAttrib4usv = (Delegates.VertexAttrib4usv)GetExtensionDelegateStatic("glVertexAttrib4usv", typeof(Delegates.VertexAttrib4usv)); - Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); - } - internal static void Load_VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) - { - Delegates.glVertexAttribBinding = (Delegates.VertexAttribBinding)GetExtensionDelegateStatic("glVertexAttribBinding", typeof(Delegates.VertexAttribBinding)); - Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); - } - internal static void Load_VertexAttribDivisor(UInt32 index, UInt32 divisor) - { - Delegates.glVertexAttribDivisor = (Delegates.VertexAttribDivisor)GetExtensionDelegateStatic("glVertexAttribDivisor", typeof(Delegates.VertexAttribDivisor)); - Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); - } - internal static void Load_VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, UInt32 relativeoffset) - { - Delegates.glVertexAttribFormat = (Delegates.VertexAttribFormat)GetExtensionDelegateStatic("glVertexAttribFormat", typeof(Delegates.VertexAttribFormat)); - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); - } - internal static void Load_VertexAttribI1i(UInt32 index, Int32 x) - { - Delegates.glVertexAttribI1i = (Delegates.VertexAttribI1i)GetExtensionDelegateStatic("glVertexAttribI1i", typeof(Delegates.VertexAttribI1i)); - Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); - } - internal static unsafe void Load_VertexAttribI1iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI1iv = (Delegates.VertexAttribI1iv)GetExtensionDelegateStatic("glVertexAttribI1iv", typeof(Delegates.VertexAttribI1iv)); - Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); - } - internal static void Load_VertexAttribI1ui(UInt32 index, UInt32 x) - { - Delegates.glVertexAttribI1ui = (Delegates.VertexAttribI1ui)GetExtensionDelegateStatic("glVertexAttribI1ui", typeof(Delegates.VertexAttribI1ui)); - Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); - } - internal static unsafe void Load_VertexAttribI1uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI1uiv = (Delegates.VertexAttribI1uiv)GetExtensionDelegateStatic("glVertexAttribI1uiv", typeof(Delegates.VertexAttribI1uiv)); - Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); - } - internal static void Load_VertexAttribI2i(UInt32 index, Int32 x, Int32 y) - { - Delegates.glVertexAttribI2i = (Delegates.VertexAttribI2i)GetExtensionDelegateStatic("glVertexAttribI2i", typeof(Delegates.VertexAttribI2i)); - Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); - } - internal static unsafe void Load_VertexAttribI2iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI2iv = (Delegates.VertexAttribI2iv)GetExtensionDelegateStatic("glVertexAttribI2iv", typeof(Delegates.VertexAttribI2iv)); - Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); - } - internal static void Load_VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y) - { - Delegates.glVertexAttribI2ui = (Delegates.VertexAttribI2ui)GetExtensionDelegateStatic("glVertexAttribI2ui", typeof(Delegates.VertexAttribI2ui)); - Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); - } - internal static unsafe void Load_VertexAttribI2uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI2uiv = (Delegates.VertexAttribI2uiv)GetExtensionDelegateStatic("glVertexAttribI2uiv", typeof(Delegates.VertexAttribI2uiv)); - Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); - } - internal static void Load_VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z) - { - Delegates.glVertexAttribI3i = (Delegates.VertexAttribI3i)GetExtensionDelegateStatic("glVertexAttribI3i", typeof(Delegates.VertexAttribI3i)); - Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); - } - internal static unsafe void Load_VertexAttribI3iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI3iv = (Delegates.VertexAttribI3iv)GetExtensionDelegateStatic("glVertexAttribI3iv", typeof(Delegates.VertexAttribI3iv)); - Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); - } - internal static void Load_VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z) - { - Delegates.glVertexAttribI3ui = (Delegates.VertexAttribI3ui)GetExtensionDelegateStatic("glVertexAttribI3ui", typeof(Delegates.VertexAttribI3ui)); - Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); - } - internal static unsafe void Load_VertexAttribI3uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI3uiv = (Delegates.VertexAttribI3uiv)GetExtensionDelegateStatic("glVertexAttribI3uiv", typeof(Delegates.VertexAttribI3uiv)); - Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI4bv(UInt32 index, SByte* v) - { - Delegates.glVertexAttribI4bv = (Delegates.VertexAttribI4bv)GetExtensionDelegateStatic("glVertexAttribI4bv", typeof(Delegates.VertexAttribI4bv)); - Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); - } - internal static void Load_VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) - { - Delegates.glVertexAttribI4i = (Delegates.VertexAttribI4i)GetExtensionDelegateStatic("glVertexAttribI4i", typeof(Delegates.VertexAttribI4i)); - Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); - } - internal static unsafe void Load_VertexAttribI4iv(UInt32 index, Int32* v) - { - Delegates.glVertexAttribI4iv = (Delegates.VertexAttribI4iv)GetExtensionDelegateStatic("glVertexAttribI4iv", typeof(Delegates.VertexAttribI4iv)); - Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); - } - internal static unsafe void Load_VertexAttribI4sv(UInt32 index, Int16* v) - { - Delegates.glVertexAttribI4sv = (Delegates.VertexAttribI4sv)GetExtensionDelegateStatic("glVertexAttribI4sv", typeof(Delegates.VertexAttribI4sv)); - Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); - } - internal static unsafe void Load_VertexAttribI4ubv(UInt32 index, Byte* v) - { - Delegates.glVertexAttribI4ubv = (Delegates.VertexAttribI4ubv)GetExtensionDelegateStatic("glVertexAttribI4ubv", typeof(Delegates.VertexAttribI4ubv)); - Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); - } - internal static void Load_VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) - { - Delegates.glVertexAttribI4ui = (Delegates.VertexAttribI4ui)GetExtensionDelegateStatic("glVertexAttribI4ui", typeof(Delegates.VertexAttribI4ui)); - Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); - } - internal static unsafe void Load_VertexAttribI4uiv(UInt32 index, UInt32* v) - { - Delegates.glVertexAttribI4uiv = (Delegates.VertexAttribI4uiv)GetExtensionDelegateStatic("glVertexAttribI4uiv", typeof(Delegates.VertexAttribI4uiv)); - Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); - } - internal static unsafe void Load_VertexAttribI4usv(UInt32 index, UInt16* v) - { - Delegates.glVertexAttribI4usv = (Delegates.VertexAttribI4usv)GetExtensionDelegateStatic("glVertexAttribI4usv", typeof(Delegates.VertexAttribI4usv)); - Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); - } - internal static void Load_VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, UInt32 relativeoffset) - { - Delegates.glVertexAttribIFormat = (Delegates.VertexAttribIFormat)GetExtensionDelegateStatic("glVertexAttribIFormat", typeof(Delegates.VertexAttribIFormat)); - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (UInt32)relativeoffset); - } - internal static void Load_VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribIPointer = (Delegates.VertexAttribIPointer)GetExtensionDelegateStatic("glVertexAttribIPointer", typeof(Delegates.VertexAttribIPointer)); - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribL1d(UInt32 index, Double x) - { - Delegates.glVertexAttribL1d = (Delegates.VertexAttribL1d)GetExtensionDelegateStatic("glVertexAttribL1d", typeof(Delegates.VertexAttribL1d)); - Delegates.glVertexAttribL1d((UInt32)index, (Double)x); - } - internal static unsafe void Load_VertexAttribL1dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL1dv = (Delegates.VertexAttribL1dv)GetExtensionDelegateStatic("glVertexAttribL1dv", typeof(Delegates.VertexAttribL1dv)); - Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribL1ui64ARB(UInt32 index, UInt64 x) - { - Delegates.glVertexAttribL1ui64ARB = (Delegates.VertexAttribL1ui64ARB)GetExtensionDelegateStatic("glVertexAttribL1ui64ARB", typeof(Delegates.VertexAttribL1ui64ARB)); - Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); - } - internal static unsafe void Load_VertexAttribL1ui64vARB(UInt32 index, UInt64* v) - { - Delegates.glVertexAttribL1ui64vARB = (Delegates.VertexAttribL1ui64vARB)GetExtensionDelegateStatic("glVertexAttribL1ui64vARB", typeof(Delegates.VertexAttribL1ui64vARB)); - Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); - } - internal static void Load_VertexAttribL2d(UInt32 index, Double x, Double y) - { - Delegates.glVertexAttribL2d = (Delegates.VertexAttribL2d)GetExtensionDelegateStatic("glVertexAttribL2d", typeof(Delegates.VertexAttribL2d)); - Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); - } - internal static unsafe void Load_VertexAttribL2dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL2dv = (Delegates.VertexAttribL2dv)GetExtensionDelegateStatic("glVertexAttribL2dv", typeof(Delegates.VertexAttribL2dv)); - Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribL3d(UInt32 index, Double x, Double y, Double z) - { - Delegates.glVertexAttribL3d = (Delegates.VertexAttribL3d)GetExtensionDelegateStatic("glVertexAttribL3d", typeof(Delegates.VertexAttribL3d)); - Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); - } - internal static unsafe void Load_VertexAttribL3dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL3dv = (Delegates.VertexAttribL3dv)GetExtensionDelegateStatic("glVertexAttribL3dv", typeof(Delegates.VertexAttribL3dv)); - Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w) - { - Delegates.glVertexAttribL4d = (Delegates.VertexAttribL4d)GetExtensionDelegateStatic("glVertexAttribL4d", typeof(Delegates.VertexAttribL4d)); - Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); - } - internal static unsafe void Load_VertexAttribL4dv(UInt32 index, Double* v) - { - Delegates.glVertexAttribL4dv = (Delegates.VertexAttribL4dv)GetExtensionDelegateStatic("glVertexAttribL4dv", typeof(Delegates.VertexAttribL4dv)); - Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); - } - internal static void Load_VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, UInt32 relativeoffset) - { - Delegates.glVertexAttribLFormat = (Delegates.VertexAttribLFormat)GetExtensionDelegateStatic("glVertexAttribLFormat", typeof(Delegates.VertexAttribLFormat)); - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (UInt32)relativeoffset); - } - internal static void Load_VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribLPointer = (Delegates.VertexAttribLPointer)GetExtensionDelegateStatic("glVertexAttribLPointer", typeof(Delegates.VertexAttribLPointer)); - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP1ui = (Delegates.VertexAttribP1ui)GetExtensionDelegateStatic("glVertexAttribP1ui", typeof(Delegates.VertexAttribP1ui)); - Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP1uiv = (Delegates.VertexAttribP1uiv)GetExtensionDelegateStatic("glVertexAttribP1uiv", typeof(Delegates.VertexAttribP1uiv)); - Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP2ui = (Delegates.VertexAttribP2ui)GetExtensionDelegateStatic("glVertexAttribP2ui", typeof(Delegates.VertexAttribP2ui)); - Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP2uiv = (Delegates.VertexAttribP2uiv)GetExtensionDelegateStatic("glVertexAttribP2uiv", typeof(Delegates.VertexAttribP2uiv)); - Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP3ui = (Delegates.VertexAttribP3ui)GetExtensionDelegateStatic("glVertexAttribP3ui", typeof(Delegates.VertexAttribP3ui)); - Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP3uiv = (Delegates.VertexAttribP3uiv)GetExtensionDelegateStatic("glVertexAttribP3uiv", typeof(Delegates.VertexAttribP3uiv)); - Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) - { - Delegates.glVertexAttribP4ui = (Delegates.VertexAttribP4ui)GetExtensionDelegateStatic("glVertexAttribP4ui", typeof(Delegates.VertexAttribP4ui)); - Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); - } - internal static unsafe void Load_VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) - { - Delegates.glVertexAttribP4uiv = (Delegates.VertexAttribP4uiv)GetExtensionDelegateStatic("glVertexAttribP4uiv", typeof(Delegates.VertexAttribP4uiv)); - Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); - } - internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) - { - Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); - Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); - } - internal static void Load_VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) - { - Delegates.glVertexBindingDivisor = (Delegates.VertexBindingDivisor)GetExtensionDelegateStatic("glVertexBindingDivisor", typeof(Delegates.VertexBindingDivisor)); - Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); - } - internal static void Load_VertexP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - Delegates.glVertexP2ui = (Delegates.VertexP2ui)GetExtensionDelegateStatic("glVertexP2ui", typeof(Delegates.VertexP2ui)); - Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - } - internal static unsafe void Load_VertexP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - Delegates.glVertexP2uiv = (Delegates.VertexP2uiv)GetExtensionDelegateStatic("glVertexP2uiv", typeof(Delegates.VertexP2uiv)); - Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - } - internal static void Load_VertexP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - Delegates.glVertexP3ui = (Delegates.VertexP3ui)GetExtensionDelegateStatic("glVertexP3ui", typeof(Delegates.VertexP3ui)); - Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - } - internal static unsafe void Load_VertexP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - Delegates.glVertexP3uiv = (Delegates.VertexP3uiv)GetExtensionDelegateStatic("glVertexP3uiv", typeof(Delegates.VertexP3uiv)); - Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - } - internal static void Load_VertexP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) - { - Delegates.glVertexP4ui = (Delegates.VertexP4ui)GetExtensionDelegateStatic("glVertexP4ui", typeof(Delegates.VertexP4ui)); - Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); - } - internal static unsafe void Load_VertexP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) - { - Delegates.glVertexP4uiv = (Delegates.VertexP4uiv)GetExtensionDelegateStatic("glVertexP4uiv", typeof(Delegates.VertexP4uiv)); - Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); - } - internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) - { - Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); - Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); - } - internal static unsafe void Load_ViewportArrayv(UInt32 first, Int32 count, Single* v) - { - Delegates.glViewportArrayv = (Delegates.ViewportArrayv)GetExtensionDelegateStatic("glViewportArrayv", typeof(Delegates.ViewportArrayv)); - Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); - } - internal static void Load_ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h) - { - Delegates.glViewportIndexedf = (Delegates.ViewportIndexedf)GetExtensionDelegateStatic("glViewportIndexedf", typeof(Delegates.ViewportIndexedf)); - Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); - } - internal static unsafe void Load_ViewportIndexedfv(UInt32 index, Single* v) - { - Delegates.glViewportIndexedfv = (Delegates.ViewportIndexedfv)GetExtensionDelegateStatic("glViewportIndexedfv", typeof(Delegates.ViewportIndexedfv)); - Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); - } - internal static OpenTK.Graphics.OpenGL4.WaitSyncStatus Load_WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout) - { - Delegates.glWaitSync = (Delegates.WaitSync)GetExtensionDelegateStatic("glWaitSync", typeof(Delegates.WaitSync)); - return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags, (UInt64)timeout); + internal static void Load_ActiveShaderProgram(UInt32 pipeline, UInt32 program) + { + Delegates.glActiveShaderProgram = (Delegates.ActiveShaderProgram)GetExtensionDelegateStatic("glActiveShaderProgram", typeof(Delegates.ActiveShaderProgram)); + Delegates.glActiveShaderProgram((UInt32)pipeline, (UInt32)program); + } + internal static void Load_ActiveTexture(OpenTK.Graphics.OpenGL4.TextureUnit texture) + { + Delegates.glActiveTexture = (Delegates.ActiveTexture)GetExtensionDelegateStatic("glActiveTexture", typeof(Delegates.ActiveTexture)); + Delegates.glActiveTexture((OpenTK.Graphics.OpenGL4.TextureUnit)texture); + } + internal static void Load_AttachShader(UInt32 program, UInt32 shader) + { + Delegates.glAttachShader = (Delegates.AttachShader)GetExtensionDelegateStatic("glAttachShader", typeof(Delegates.AttachShader)); + Delegates.glAttachShader((UInt32)program, (UInt32)shader); + } + internal static void Load_BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL4.ConditionalRenderType mode) + { + Delegates.glBeginConditionalRender = (Delegates.BeginConditionalRender)GetExtensionDelegateStatic("glBeginConditionalRender", typeof(Delegates.BeginConditionalRender)); + Delegates.glBeginConditionalRender((UInt32)id, (OpenTK.Graphics.OpenGL4.ConditionalRenderType)mode); + } + internal static void Load_BeginQuery(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 id) + { + Delegates.glBeginQuery = (Delegates.BeginQuery)GetExtensionDelegateStatic("glBeginQuery", typeof(Delegates.BeginQuery)); + Delegates.glBeginQuery((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)id); + } + internal static void Load_BeginQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, UInt32 id) + { + Delegates.glBeginQueryIndexed = (Delegates.BeginQueryIndexed)GetExtensionDelegateStatic("glBeginQueryIndexed", typeof(Delegates.BeginQueryIndexed)); + Delegates.glBeginQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (UInt32)id); + } + internal static void Load_BeginTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType primitiveMode) + { + Delegates.glBeginTransformFeedback = (Delegates.BeginTransformFeedback)GetExtensionDelegateStatic("glBeginTransformFeedback", typeof(Delegates.BeginTransformFeedback)); + Delegates.glBeginTransformFeedback((OpenTK.Graphics.OpenGL4.TransformFeedbackPrimitiveType)primitiveMode); + } + internal static void Load_BindAttribLocation(UInt32 program, UInt32 index, String name) + { + Delegates.glBindAttribLocation = (Delegates.BindAttribLocation)GetExtensionDelegateStatic("glBindAttribLocation", typeof(Delegates.BindAttribLocation)); + Delegates.glBindAttribLocation((UInt32)program, (UInt32)index, (String)name); + } + internal static void Load_BindBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, UInt32 buffer) + { + Delegates.glBindBuffer = (Delegates.BindBuffer)GetExtensionDelegateStatic("glBindBuffer", typeof(Delegates.BindBuffer)); + Delegates.glBindBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, (UInt32)buffer); + } + internal static void Load_BindBufferBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer) + { + Delegates.glBindBufferBase = (Delegates.BindBufferBase)GetExtensionDelegateStatic("glBindBufferBase", typeof(Delegates.BindBufferBase)); + Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); + } + internal static void Load_BindBufferRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glBindBufferRange = (Delegates.BindBufferRange)GetExtensionDelegateStatic("glBindBufferRange", typeof(Delegates.BindBufferRange)); + Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static unsafe void Load_BindBuffersBase(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers) + { + Delegates.glBindBuffersBase = (Delegates.BindBuffersBase)GetExtensionDelegateStatic("glBindBuffersBase", typeof(Delegates.BindBuffersBase)); + Delegates.glBindBuffersBase((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers); + } + internal static unsafe void Load_BindBuffersRange(OpenTK.Graphics.OpenGL4.BufferRangeTarget target, UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, IntPtr* sizes) + { + Delegates.glBindBuffersRange = (Delegates.BindBuffersRange)GetExtensionDelegateStatic("glBindBuffersRange", typeof(Delegates.BindBuffersRange)); + Delegates.glBindBuffersRange((OpenTK.Graphics.OpenGL4.BufferRangeTarget)target, (UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (IntPtr*)sizes); + } + internal static void Load_BindFragDataLocation(UInt32 program, UInt32 color, String name) + { + Delegates.glBindFragDataLocation = (Delegates.BindFragDataLocation)GetExtensionDelegateStatic("glBindFragDataLocation", typeof(Delegates.BindFragDataLocation)); + Delegates.glBindFragDataLocation((UInt32)program, (UInt32)color, (String)name); + } + internal static void Load_BindFragDataLocationIndexed(UInt32 program, UInt32 colorNumber, UInt32 index, String name) + { + Delegates.glBindFragDataLocationIndexed = (Delegates.BindFragDataLocationIndexed)GetExtensionDelegateStatic("glBindFragDataLocationIndexed", typeof(Delegates.BindFragDataLocationIndexed)); + Delegates.glBindFragDataLocationIndexed((UInt32)program, (UInt32)colorNumber, (UInt32)index, (String)name); + } + internal static void Load_BindFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, UInt32 framebuffer) + { + Delegates.glBindFramebuffer = (Delegates.BindFramebuffer)GetExtensionDelegateStatic("glBindFramebuffer", typeof(Delegates.BindFramebuffer)); + Delegates.glBindFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (UInt32)framebuffer); + } + internal static void Load_BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.TextureAccess access, OpenTK.Graphics.OpenGL4.SizedInternalFormat format) + { + Delegates.glBindImageTexture = (Delegates.BindImageTexture)GetExtensionDelegateStatic("glBindImageTexture", typeof(Delegates.BindImageTexture)); + Delegates.glBindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.TextureAccess)access, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)format); + } + internal static unsafe void Load_BindImageTextures(UInt32 first, Int32 count, UInt32* textures) + { + Delegates.glBindImageTextures = (Delegates.BindImageTextures)GetExtensionDelegateStatic("glBindImageTextures", typeof(Delegates.BindImageTextures)); + Delegates.glBindImageTextures((UInt32)first, (Int32)count, (UInt32*)textures); + } + internal static void Load_BindProgramPipeline(UInt32 pipeline) + { + Delegates.glBindProgramPipeline = (Delegates.BindProgramPipeline)GetExtensionDelegateStatic("glBindProgramPipeline", typeof(Delegates.BindProgramPipeline)); + Delegates.glBindProgramPipeline((UInt32)pipeline); + } + internal static void Load_BindRenderbuffer(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, UInt32 renderbuffer) + { + Delegates.glBindRenderbuffer = (Delegates.BindRenderbuffer)GetExtensionDelegateStatic("glBindRenderbuffer", typeof(Delegates.BindRenderbuffer)); + Delegates.glBindRenderbuffer((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (UInt32)renderbuffer); + } + internal static void Load_BindSampler(UInt32 unit, UInt32 sampler) + { + Delegates.glBindSampler = (Delegates.BindSampler)GetExtensionDelegateStatic("glBindSampler", typeof(Delegates.BindSampler)); + Delegates.glBindSampler((UInt32)unit, (UInt32)sampler); + } + internal static unsafe void Load_BindSamplers(UInt32 first, Int32 count, UInt32* samplers) + { + Delegates.glBindSamplers = (Delegates.BindSamplers)GetExtensionDelegateStatic("glBindSamplers", typeof(Delegates.BindSamplers)); + Delegates.glBindSamplers((UInt32)first, (Int32)count, (UInt32*)samplers); + } + internal static void Load_BindTexture(OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 texture) + { + Delegates.glBindTexture = (Delegates.BindTexture)GetExtensionDelegateStatic("glBindTexture", typeof(Delegates.BindTexture)); + Delegates.glBindTexture((OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)texture); + } + internal static unsafe void Load_BindTextures(UInt32 first, Int32 count, UInt32* textures) + { + Delegates.glBindTextures = (Delegates.BindTextures)GetExtensionDelegateStatic("glBindTextures", typeof(Delegates.BindTextures)); + Delegates.glBindTextures((UInt32)first, (Int32)count, (UInt32*)textures); + } + internal static void Load_BindTransformFeedback(OpenTK.Graphics.OpenGL4.TransformFeedbackTarget target, UInt32 id) + { + Delegates.glBindTransformFeedback = (Delegates.BindTransformFeedback)GetExtensionDelegateStatic("glBindTransformFeedback", typeof(Delegates.BindTransformFeedback)); + Delegates.glBindTransformFeedback((OpenTK.Graphics.OpenGL4.TransformFeedbackTarget)target, (UInt32)id); + } + internal static void Load_BindVertexArray(UInt32 array) + { + Delegates.glBindVertexArray = (Delegates.BindVertexArray)GetExtensionDelegateStatic("glBindVertexArray", typeof(Delegates.BindVertexArray)); + Delegates.glBindVertexArray((UInt32)array); + } + internal static void Load_BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) + { + Delegates.glBindVertexBuffer = (Delegates.BindVertexBuffer)GetExtensionDelegateStatic("glBindVertexBuffer", typeof(Delegates.BindVertexBuffer)); + Delegates.glBindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); + } + internal static unsafe void Load_BindVertexBuffers(UInt32 first, Int32 count, UInt32* buffers, IntPtr* offsets, Int32* strides) + { + Delegates.glBindVertexBuffers = (Delegates.BindVertexBuffers)GetExtensionDelegateStatic("glBindVertexBuffers", typeof(Delegates.BindVertexBuffers)); + Delegates.glBindVertexBuffers((UInt32)first, (Int32)count, (UInt32*)buffers, (IntPtr*)offsets, (Int32*)strides); + } + internal static void Load_BlendColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glBlendColor = (Delegates.BlendColor)GetExtensionDelegateStatic("glBlendColor", typeof(Delegates.BlendColor)); + Delegates.glBlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_BlendEquation(OpenTK.Graphics.OpenGL4.BlendEquationMode mode) + { + Delegates.glBlendEquation = (Delegates.BlendEquation)GetExtensionDelegateStatic("glBlendEquation", typeof(Delegates.BlendEquation)); + Delegates.glBlendEquation((OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); + } + internal static void Load_BlendEquationi(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) + { + Delegates.glBlendEquationi = (Delegates.BlendEquationi)GetExtensionDelegateStatic("glBlendEquationi", typeof(Delegates.BlendEquationi)); + Delegates.glBlendEquationi((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); + } + internal static void Load_BlendEquationiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode mode) + { + Delegates.glBlendEquationiARB = (Delegates.BlendEquationiARB)GetExtensionDelegateStatic("glBlendEquationiARB", typeof(Delegates.BlendEquationiARB)); + Delegates.glBlendEquationiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)mode); + } + internal static void Load_BlendEquationSeparate(OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) + { + Delegates.glBlendEquationSeparate = (Delegates.BlendEquationSeparate)GetExtensionDelegateStatic("glBlendEquationSeparate", typeof(Delegates.BlendEquationSeparate)); + Delegates.glBlendEquationSeparate((OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha); + } + internal static void Load_BlendEquationSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendEquationMode modeRGB, OpenTK.Graphics.OpenGL4.BlendEquationMode modeAlpha) + { + Delegates.glBlendEquationSeparatei = (Delegates.BlendEquationSeparatei)GetExtensionDelegateStatic("glBlendEquationSeparatei", typeof(Delegates.BlendEquationSeparatei)); + Delegates.glBlendEquationSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeRGB, (OpenTK.Graphics.OpenGL4.BlendEquationMode)modeAlpha); + } + internal static void Load_BlendEquationSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All modeRGB, OpenTK.Graphics.OpenGL4.All modeAlpha) + { + Delegates.glBlendEquationSeparateiARB = (Delegates.BlendEquationSeparateiARB)GetExtensionDelegateStatic("glBlendEquationSeparateiARB", typeof(Delegates.BlendEquationSeparateiARB)); + Delegates.glBlendEquationSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)modeRGB, (OpenTK.Graphics.OpenGL4.All)modeAlpha); + } + internal static void Load_BlendFunc(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactor, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactor) + { + Delegates.glBlendFunc = (Delegates.BlendFunc)GetExtensionDelegateStatic("glBlendFunc", typeof(Delegates.BlendFunc)); + Delegates.glBlendFunc((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactor, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactor); + } + internal static void Load_BlendFunci(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc src, OpenTK.Graphics.OpenGL4.BlendingFactorDest dst) + { + Delegates.glBlendFunci = (Delegates.BlendFunci)GetExtensionDelegateStatic("glBlendFunci", typeof(Delegates.BlendFunci)); + Delegates.glBlendFunci((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)src, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dst); + } + internal static void Load_BlendFunciARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All src, OpenTK.Graphics.OpenGL4.All dst) + { + Delegates.glBlendFunciARB = (Delegates.BlendFunciARB)GetExtensionDelegateStatic("glBlendFunciARB", typeof(Delegates.BlendFunciARB)); + Delegates.glBlendFunciARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)src, (OpenTK.Graphics.OpenGL4.All)dst); + } + internal static void Load_BlendFuncSeparate(OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc sfactorAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dfactorAlpha) + { + Delegates.glBlendFuncSeparate = (Delegates.BlendFuncSeparate)GetExtensionDelegateStatic("glBlendFuncSeparate", typeof(Delegates.BlendFuncSeparate)); + Delegates.glBlendFuncSeparate((OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)sfactorAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dfactorAlpha); + } + internal static void Load_BlendFuncSeparatei(UInt32 buf, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcRGB, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstRGB, OpenTK.Graphics.OpenGL4.BlendingFactorSrc srcAlpha, OpenTK.Graphics.OpenGL4.BlendingFactorDest dstAlpha) + { + Delegates.glBlendFuncSeparatei = (Delegates.BlendFuncSeparatei)GetExtensionDelegateStatic("glBlendFuncSeparatei", typeof(Delegates.BlendFuncSeparatei)); + Delegates.glBlendFuncSeparatei((UInt32)buf, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstRGB, (OpenTK.Graphics.OpenGL4.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.OpenGL4.BlendingFactorDest)dstAlpha); + } + internal static void Load_BlendFuncSeparateiARB(UInt32 buf, OpenTK.Graphics.OpenGL4.All srcRGB, OpenTK.Graphics.OpenGL4.All dstRGB, OpenTK.Graphics.OpenGL4.All srcAlpha, OpenTK.Graphics.OpenGL4.All dstAlpha) + { + Delegates.glBlendFuncSeparateiARB = (Delegates.BlendFuncSeparateiARB)GetExtensionDelegateStatic("glBlendFuncSeparateiARB", typeof(Delegates.BlendFuncSeparateiARB)); + Delegates.glBlendFuncSeparateiARB((UInt32)buf, (OpenTK.Graphics.OpenGL4.All)srcRGB, (OpenTK.Graphics.OpenGL4.All)dstRGB, (OpenTK.Graphics.OpenGL4.All)srcAlpha, (OpenTK.Graphics.OpenGL4.All)dstAlpha); + } + internal static void Load_BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.OpenGL4.ClearBufferMask mask, OpenTK.Graphics.OpenGL4.BlitFramebufferFilter filter) + { + Delegates.glBlitFramebuffer = (Delegates.BlitFramebuffer)GetExtensionDelegateStatic("glBlitFramebuffer", typeof(Delegates.BlitFramebuffer)); + Delegates.glBlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.OpenGL4.ClearBufferMask)mask, (OpenTK.Graphics.OpenGL4.BlitFramebufferFilter)filter); + } + internal static void Load_BufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferUsageHint usage) + { + Delegates.glBufferData = (Delegates.BufferData)GetExtensionDelegateStatic("glBufferData", typeof(Delegates.BufferData)); + Delegates.glBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferUsageHint)usage); + } + internal static void Load_BufferStorage(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.OpenGL4.BufferStorageFlags flags) + { + Delegates.glBufferStorage = (Delegates.BufferStorage)GetExtensionDelegateStatic("glBufferStorage", typeof(Delegates.BufferStorage)); + Delegates.glBufferStorage((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.OpenGL4.BufferStorageFlags)flags); + } + internal static void Load_BufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + Delegates.glBufferSubData = (Delegates.BufferSubData)GetExtensionDelegateStatic("glBufferSubData", typeof(Delegates.BufferSubData)); + Delegates.glBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static OpenTK.Graphics.OpenGL4.FramebufferErrorCode Load_CheckFramebufferStatus(OpenTK.Graphics.OpenGL4.FramebufferTarget target) + { + Delegates.glCheckFramebufferStatus = (Delegates.CheckFramebufferStatus)GetExtensionDelegateStatic("glCheckFramebufferStatus", typeof(Delegates.CheckFramebufferStatus)); + return Delegates.glCheckFramebufferStatus((OpenTK.Graphics.OpenGL4.FramebufferTarget)target); + } + internal static void Load_ClampColor(OpenTK.Graphics.OpenGL4.ClampColorTarget target, OpenTK.Graphics.OpenGL4.ClampColorMode clamp) + { + Delegates.glClampColor = (Delegates.ClampColor)GetExtensionDelegateStatic("glClampColor", typeof(Delegates.ClampColor)); + Delegates.glClampColor((OpenTK.Graphics.OpenGL4.ClampColorTarget)target, (OpenTK.Graphics.OpenGL4.ClampColorMode)clamp); + } + internal static void Load_Clear(OpenTK.Graphics.OpenGL4.ClearBufferMask mask) + { + Delegates.glClear = (Delegates.Clear)GetExtensionDelegateStatic("glClear", typeof(Delegates.Clear)); + Delegates.glClear((OpenTK.Graphics.OpenGL4.ClearBufferMask)mask); + } + internal static void Load_ClearBufferData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data) + { + Delegates.glClearBufferData = (Delegates.ClearBufferData)GetExtensionDelegateStatic("glClearBufferData", typeof(Delegates.ClearBufferData)); + Delegates.glClearBufferData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data); + } + internal static void Load_ClearBufferfi(OpenTK.Graphics.OpenGL4.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) + { + Delegates.glClearBufferfi = (Delegates.ClearBufferfi)GetExtensionDelegateStatic("glClearBufferfi", typeof(Delegates.ClearBufferfi)); + Delegates.glClearBufferfi((OpenTK.Graphics.OpenGL4.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + } + internal static unsafe void Load_ClearBufferfv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Single* value) + { + Delegates.glClearBufferfv = (Delegates.ClearBufferfv)GetExtensionDelegateStatic("glClearBufferfv", typeof(Delegates.ClearBufferfv)); + Delegates.glClearBufferfv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + } + internal static unsafe void Load_ClearBufferiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, Int32* value) + { + Delegates.glClearBufferiv = (Delegates.ClearBufferiv)GetExtensionDelegateStatic("glClearBufferiv", typeof(Delegates.ClearBufferiv)); + Delegates.glClearBufferiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + } + internal static void Load_ClearBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.All type, IntPtr data) + { + Delegates.glClearBufferSubData = (Delegates.ClearBufferSubData)GetExtensionDelegateStatic("glClearBufferSubData", typeof(Delegates.ClearBufferSubData)); + Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)data); + } + internal static unsafe void Load_ClearBufferuiv(OpenTK.Graphics.OpenGL4.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) + { + Delegates.glClearBufferuiv = (Delegates.ClearBufferuiv)GetExtensionDelegateStatic("glClearBufferuiv", typeof(Delegates.ClearBufferuiv)); + Delegates.glClearBufferuiv((OpenTK.Graphics.OpenGL4.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + } + internal static void Load_ClearColor(Single red, Single green, Single blue, Single alpha) + { + Delegates.glClearColor = (Delegates.ClearColor)GetExtensionDelegateStatic("glClearColor", typeof(Delegates.ClearColor)); + Delegates.glClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + } + internal static void Load_ClearDepth(Double depth) + { + Delegates.glClearDepth = (Delegates.ClearDepth)GetExtensionDelegateStatic("glClearDepth", typeof(Delegates.ClearDepth)); + Delegates.glClearDepth((Double)depth); + } + internal static void Load_ClearDepthf(Single d) + { + Delegates.glClearDepthf = (Delegates.ClearDepthf)GetExtensionDelegateStatic("glClearDepthf", typeof(Delegates.ClearDepthf)); + Delegates.glClearDepthf((Single)d); + } + internal static void Load_ClearStencil(Int32 s) + { + Delegates.glClearStencil = (Delegates.ClearStencil)GetExtensionDelegateStatic("glClearStencil", typeof(Delegates.ClearStencil)); + Delegates.glClearStencil((Int32)s); + } + internal static void Load_ClearTexImage(UInt32 texture, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) + { + Delegates.glClearTexImage = (Delegates.ClearTexImage)GetExtensionDelegateStatic("glClearTexImage", typeof(Delegates.ClearTexImage)); + Delegates.glClearTexImage((UInt32)texture, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); + } + internal static void Load_ClearTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) + { + Delegates.glClearTexSubImage = (Delegates.ClearTexSubImage)GetExtensionDelegateStatic("glClearTexSubImage", typeof(Delegates.ClearTexSubImage)); + Delegates.glClearTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); + } + internal static OpenTK.Graphics.OpenGL4.WaitSyncStatus Load_ClientWaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags flags, UInt64 timeout) + { + Delegates.glClientWaitSync = (Delegates.ClientWaitSync)GetExtensionDelegateStatic("glClientWaitSync", typeof(Delegates.ClientWaitSync)); + return Delegates.glClientWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.ClientWaitSyncFlags)flags, (UInt64)timeout); + } + internal static void Load_ColorMask(bool red, bool green, bool blue, bool alpha) + { + Delegates.glColorMask = (Delegates.ColorMask)GetExtensionDelegateStatic("glColorMask", typeof(Delegates.ColorMask)); + Delegates.glColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + } + internal static void Load_ColorMaski(UInt32 index, bool r, bool g, bool b, bool a) + { + Delegates.glColorMaski = (Delegates.ColorMaski)GetExtensionDelegateStatic("glColorMaski", typeof(Delegates.ColorMaski)); + Delegates.glColorMaski((UInt32)index, (bool)r, (bool)g, (bool)b, (bool)a); + } + internal static void Load_ColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) + { + Delegates.glColorP3ui = (Delegates.ColorP3ui)GetExtensionDelegateStatic("glColorP3ui", typeof(Delegates.ColorP3ui)); + Delegates.glColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); + } + internal static unsafe void Load_ColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) + { + Delegates.glColorP3uiv = (Delegates.ColorP3uiv)GetExtensionDelegateStatic("glColorP3uiv", typeof(Delegates.ColorP3uiv)); + Delegates.glColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); + } + internal static void Load_ColorP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) + { + Delegates.glColorP4ui = (Delegates.ColorP4ui)GetExtensionDelegateStatic("glColorP4ui", typeof(Delegates.ColorP4ui)); + Delegates.glColorP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); + } + internal static unsafe void Load_ColorP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) + { + Delegates.glColorP4uiv = (Delegates.ColorP4uiv)GetExtensionDelegateStatic("glColorP4uiv", typeof(Delegates.ColorP4uiv)); + Delegates.glColorP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); + } + internal static void Load_ColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 count, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr data) + { + Delegates.glColorSubTable = (Delegates.ColorSubTable)GetExtensionDelegateStatic("glColorSubTable", typeof(Delegates.ColorSubTable)); + Delegates.glColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)count, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)data); + } + internal static void Load_ColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr table) + { + Delegates.glColorTable = (Delegates.ColorTable)GetExtensionDelegateStatic("glColorTable", typeof(Delegates.ColorTable)); + Delegates.glColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table); + } + internal static unsafe void Load_ColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Single* @params) + { + Delegates.glColorTableParameterfv = (Delegates.ColorTableParameterfv)GetExtensionDelegateStatic("glColorTableParameterfv", typeof(Delegates.ColorTableParameterfv)); + Delegates.glColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_ColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.ColorTableParameterPName pname, Int32* @params) + { + Delegates.glColorTableParameteriv = (Delegates.ColorTableParameteriv)GetExtensionDelegateStatic("glColorTableParameteriv", typeof(Delegates.ColorTableParameteriv)); + Delegates.glColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.ColorTableParameterPName)pname, (Int32*)@params); + } + internal static void Load_CompileShader(UInt32 shader) + { + Delegates.glCompileShader = (Delegates.CompileShader)GetExtensionDelegateStatic("glCompileShader", typeof(Delegates.CompileShader)); + Delegates.glCompileShader((UInt32)shader); + } + internal static unsafe void Load_CompileShaderIncludeARB(UInt32 shader, Int32 count, String[] path, Int32* length) + { + Delegates.glCompileShaderIncludeARB = (Delegates.CompileShaderIncludeARB)GetExtensionDelegateStatic("glCompileShaderIncludeARB", typeof(Delegates.CompileShaderIncludeARB)); + Delegates.glCompileShaderIncludeARB((UInt32)shader, (Int32)count, (String[])path, (Int32*)length); + } + internal static void Load_CompressedTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage1D = (Delegates.CompressedTexImage1D)GetExtensionDelegateStatic("glCompressedTexImage1D", typeof(Delegates.CompressedTexImage1D)); + Delegates.glCompressedTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage2D = (Delegates.CompressedTexImage2D)GetExtensionDelegateStatic("glCompressedTexImage2D", typeof(Delegates.CompressedTexImage2D)); + Delegates.glCompressedTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexImage3D = (Delegates.CompressedTexImage3D)GetExtensionDelegateStatic("glCompressedTexImage3D", typeof(Delegates.CompressedTexImage3D)); + Delegates.glCompressedTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage1D = (Delegates.CompressedTexSubImage1D)GetExtensionDelegateStatic("glCompressedTexSubImage1D", typeof(Delegates.CompressedTexSubImage1D)); + Delegates.glCompressedTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage2D = (Delegates.CompressedTexSubImage2D)GetExtensionDelegateStatic("glCompressedTexSubImage2D", typeof(Delegates.CompressedTexSubImage2D)); + Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_CompressedTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, Int32 imageSize, IntPtr data) + { + Delegates.glCompressedTexSubImage3D = (Delegates.CompressedTexSubImage3D)GetExtensionDelegateStatic("glCompressedTexSubImage3D", typeof(Delegates.CompressedTexSubImage3D)); + Delegates.glCompressedTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + } + internal static void Load_ConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image) + { + Delegates.glConvolutionFilter1D = (Delegates.ConvolutionFilter1D)GetExtensionDelegateStatic("glConvolutionFilter1D", typeof(Delegates.ConvolutionFilter1D)); + Delegates.glConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); + } + internal static void Load_ConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr image) + { + Delegates.glConvolutionFilter2D = (Delegates.ConvolutionFilter2D)GetExtensionDelegateStatic("glConvolutionFilter2D", typeof(Delegates.ConvolutionFilter2D)); + Delegates.glConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); + } + internal static void Load_ConvolutionParameterf(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single @params) + { + Delegates.glConvolutionParameterf = (Delegates.ConvolutionParameterf)GetExtensionDelegateStatic("glConvolutionParameterf", typeof(Delegates.ConvolutionParameterf)); + Delegates.glConvolutionParameterf((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single)@params); + } + internal static unsafe void Load_ConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Single* @params) + { + Delegates.glConvolutionParameterfv = (Delegates.ConvolutionParameterfv)GetExtensionDelegateStatic("glConvolutionParameterfv", typeof(Delegates.ConvolutionParameterfv)); + Delegates.glConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Single*)@params); + } + internal static void Load_ConvolutionParameteri(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32 @params) + { + Delegates.glConvolutionParameteri = (Delegates.ConvolutionParameteri)GetExtensionDelegateStatic("glConvolutionParameteri", typeof(Delegates.ConvolutionParameteri)); + Delegates.glConvolutionParameteri((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32)@params); + } + internal static unsafe void Load_ConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.ConvolutionParameter pname, Int32* @params) + { + Delegates.glConvolutionParameteriv = (Delegates.ConvolutionParameteriv)GetExtensionDelegateStatic("glConvolutionParameteriv", typeof(Delegates.ConvolutionParameteriv)); + Delegates.glConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.ConvolutionParameter)pname, (Int32*)@params); + } + internal static void Load_CopyBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget readTarget, OpenTK.Graphics.OpenGL4.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + Delegates.glCopyBufferSubData = (Delegates.CopyBufferSubData)GetExtensionDelegateStatic("glCopyBufferSubData", typeof(Delegates.CopyBufferSubData)); + Delegates.glCopyBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)readTarget, (OpenTK.Graphics.OpenGL4.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + } + internal static void Load_CopyColorSubTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, Int32 start, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyColorSubTable = (Delegates.CopyColorSubTable)GetExtensionDelegateStatic("glCopyColorSubTable", typeof(Delegates.CopyColorSubTable)); + Delegates.glCopyColorSubTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (Int32)start, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyColorTable = (Delegates.CopyColorTable)GetExtensionDelegateStatic("glCopyColorTable", typeof(Delegates.CopyColorTable)); + Delegates.glCopyColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyConvolutionFilter1D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyConvolutionFilter1D = (Delegates.CopyConvolutionFilter1D)GetExtensionDelegateStatic("glCopyConvolutionFilter1D", typeof(Delegates.CopyConvolutionFilter1D)); + Delegates.glCopyConvolutionFilter1D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyConvolutionFilter2D(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyConvolutionFilter2D = (Delegates.CopyConvolutionFilter2D)GetExtensionDelegateStatic("glCopyConvolutionFilter2D", typeof(Delegates.CopyConvolutionFilter2D)); + Delegates.glCopyConvolutionFilter2D((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyImageSubData(UInt32 srcName, OpenTK.Graphics.OpenGL4.ImageTarget srcTarget, Int32 srcLevel, Int32 srcX, Int32 srcY, Int32 srcZ, UInt32 dstName, OpenTK.Graphics.OpenGL4.ImageTarget dstTarget, Int32 dstLevel, Int32 dstX, Int32 dstY, Int32 dstZ, Int32 srcWidth, Int32 srcHeight, Int32 srcDepth) + { + Delegates.glCopyImageSubData = (Delegates.CopyImageSubData)GetExtensionDelegateStatic("glCopyImageSubData", typeof(Delegates.CopyImageSubData)); + Delegates.glCopyImageSubData((UInt32)srcName, (OpenTK.Graphics.OpenGL4.ImageTarget)srcTarget, (Int32)srcLevel, (Int32)srcX, (Int32)srcY, (Int32)srcZ, (UInt32)dstName, (OpenTK.Graphics.OpenGL4.ImageTarget)dstTarget, (Int32)dstLevel, (Int32)dstX, (Int32)dstY, (Int32)dstZ, (Int32)srcWidth, (Int32)srcHeight, (Int32)srcDepth); + } + internal static void Load_CopyTexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 border) + { + Delegates.glCopyTexImage1D = (Delegates.CopyTexImage1D)GetExtensionDelegateStatic("glCopyTexImage1D", typeof(Delegates.CopyTexImage1D)); + Delegates.glCopyTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)border); + } + internal static void Load_CopyTexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + Delegates.glCopyTexImage2D = (Delegates.CopyTexImage2D)GetExtensionDelegateStatic("glCopyTexImage2D", typeof(Delegates.CopyTexImage2D)); + Delegates.glCopyTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + } + internal static void Load_CopyTexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 x, Int32 y, Int32 width) + { + Delegates.glCopyTexSubImage1D = (Delegates.CopyTexSubImage1D)GetExtensionDelegateStatic("glCopyTexSubImage1D", typeof(Delegates.CopyTexSubImage1D)); + Delegates.glCopyTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)x, (Int32)y, (Int32)width); + } + internal static void Load_CopyTexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage2D = (Delegates.CopyTexSubImage2D)GetExtensionDelegateStatic("glCopyTexSubImage2D", typeof(Delegates.CopyTexSubImage2D)); + Delegates.glCopyTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_CopyTexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glCopyTexSubImage3D = (Delegates.CopyTexSubImage3D)GetExtensionDelegateStatic("glCopyTexSubImage3D", typeof(Delegates.CopyTexSubImage3D)); + Delegates.glCopyTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static Int32 Load_CreateProgram() + { + Delegates.glCreateProgram = (Delegates.CreateProgram)GetExtensionDelegateStatic("glCreateProgram", typeof(Delegates.CreateProgram)); + return Delegates.glCreateProgram(); + } + internal static Int32 Load_CreateShader(OpenTK.Graphics.OpenGL4.ShaderType type) + { + Delegates.glCreateShader = (Delegates.CreateShader)GetExtensionDelegateStatic("glCreateShader", typeof(Delegates.CreateShader)); + return Delegates.glCreateShader((OpenTK.Graphics.OpenGL4.ShaderType)type); + } + internal static Int32 Load_CreateShaderProgramv(OpenTK.Graphics.OpenGL4.ShaderType type, Int32 count, String[] strings) + { + Delegates.glCreateShaderProgramv = (Delegates.CreateShaderProgramv)GetExtensionDelegateStatic("glCreateShaderProgramv", typeof(Delegates.CreateShaderProgramv)); + return Delegates.glCreateShaderProgramv((OpenTK.Graphics.OpenGL4.ShaderType)type, (Int32)count, (String[])strings); + } + internal static unsafe IntPtr Load_CreateSyncFromCLeventARB([OutAttribute] IntPtr* context, [OutAttribute] IntPtr* @event, UInt32 flags) + { + Delegates.glCreateSyncFromCLeventARB = (Delegates.CreateSyncFromCLeventARB)GetExtensionDelegateStatic("glCreateSyncFromCLeventARB", typeof(Delegates.CreateSyncFromCLeventARB)); + return Delegates.glCreateSyncFromCLeventARB((IntPtr*)context, (IntPtr*)@event, (UInt32)flags); + } + internal static void Load_CullFace(OpenTK.Graphics.OpenGL4.CullFaceMode mode) + { + Delegates.glCullFace = (Delegates.CullFace)GetExtensionDelegateStatic("glCullFace", typeof(Delegates.CullFace)); + Delegates.glCullFace((OpenTK.Graphics.OpenGL4.CullFaceMode)mode); + } + internal static void Load_DebugMessageCallback(DebugProc callback, IntPtr userParam) + { + Delegates.glDebugMessageCallback = (Delegates.DebugMessageCallback)GetExtensionDelegateStatic("glDebugMessageCallback", typeof(Delegates.DebugMessageCallback)); + Delegates.glDebugMessageCallback((DebugProc)callback, (IntPtr)userParam); + } + internal static void Load_DebugMessageCallbackARB(DebugProcArb callback, IntPtr userParam) + { + Delegates.glDebugMessageCallbackARB = (Delegates.DebugMessageCallbackARB)GetExtensionDelegateStatic("glDebugMessageCallbackARB", typeof(Delegates.DebugMessageCallbackARB)); + Delegates.glDebugMessageCallbackARB((DebugProcArb)callback, (IntPtr)userParam); + } + internal static void Load_DebugMessageCallbackKHR(DebugProcKhr callback, IntPtr userParam) + { + Delegates.glDebugMessageCallbackKHR = (Delegates.DebugMessageCallbackKHR)GetExtensionDelegateStatic("glDebugMessageCallbackKHR", typeof(Delegates.DebugMessageCallbackKHR)); + Delegates.glDebugMessageCallbackKHR((DebugProcKhr)callback, (IntPtr)userParam); + } + internal static unsafe void Load_DebugMessageControl(OpenTK.Graphics.OpenGL4.DebugSourceControl source, OpenTK.Graphics.OpenGL4.DebugTypeControl type, OpenTK.Graphics.OpenGL4.DebugSeverityControl severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControl = (Delegates.DebugMessageControl)GetExtensionDelegateStatic("glDebugMessageControl", typeof(Delegates.DebugMessageControl)); + Delegates.glDebugMessageControl((OpenTK.Graphics.OpenGL4.DebugSourceControl)source, (OpenTK.Graphics.OpenGL4.DebugTypeControl)type, (OpenTK.Graphics.OpenGL4.DebugSeverityControl)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static unsafe void Load_DebugMessageControlARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControlARB = (Delegates.DebugMessageControlARB)GetExtensionDelegateStatic("glDebugMessageControlARB", typeof(Delegates.DebugMessageControlARB)); + Delegates.glDebugMessageControlARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static unsafe void Load_DebugMessageControlKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, OpenTK.Graphics.OpenGL4.All severity, Int32 count, UInt32* ids, bool enabled) + { + Delegates.glDebugMessageControlKHR = (Delegates.DebugMessageControlKHR)GetExtensionDelegateStatic("glDebugMessageControlKHR", typeof(Delegates.DebugMessageControlKHR)); + Delegates.glDebugMessageControlKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)count, (UInt32*)ids, (bool)enabled); + } + internal static void Load_DebugMessageInsert(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, OpenTK.Graphics.OpenGL4.DebugType type, UInt32 id, OpenTK.Graphics.OpenGL4.DebugSeverity severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsert = (Delegates.DebugMessageInsert)GetExtensionDelegateStatic("glDebugMessageInsert", typeof(Delegates.DebugMessageInsert)); + Delegates.glDebugMessageInsert((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (OpenTK.Graphics.OpenGL4.DebugType)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.DebugSeverity)severity, (Int32)length, (String)buf); + } + internal static void Load_DebugMessageInsertARB(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsertARB = (Delegates.DebugMessageInsertARB)GetExtensionDelegateStatic("glDebugMessageInsertARB", typeof(Delegates.DebugMessageInsertARB)); + Delegates.glDebugMessageInsertARB((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); + } + internal static void Load_DebugMessageInsertKHR(OpenTK.Graphics.OpenGL4.All source, OpenTK.Graphics.OpenGL4.All type, UInt32 id, OpenTK.Graphics.OpenGL4.All severity, Int32 length, String buf) + { + Delegates.glDebugMessageInsertKHR = (Delegates.DebugMessageInsertKHR)GetExtensionDelegateStatic("glDebugMessageInsertKHR", typeof(Delegates.DebugMessageInsertKHR)); + Delegates.glDebugMessageInsertKHR((OpenTK.Graphics.OpenGL4.All)source, (OpenTK.Graphics.OpenGL4.All)type, (UInt32)id, (OpenTK.Graphics.OpenGL4.All)severity, (Int32)length, (String)buf); + } + internal static unsafe void Load_DeleteBuffers(Int32 n, UInt32* buffers) + { + Delegates.glDeleteBuffers = (Delegates.DeleteBuffers)GetExtensionDelegateStatic("glDeleteBuffers", typeof(Delegates.DeleteBuffers)); + Delegates.glDeleteBuffers((Int32)n, (UInt32*)buffers); + } + internal static unsafe void Load_DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + Delegates.glDeleteFramebuffers = (Delegates.DeleteFramebuffers)GetExtensionDelegateStatic("glDeleteFramebuffers", typeof(Delegates.DeleteFramebuffers)); + Delegates.glDeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static void Load_DeleteNamedStringARB(Int32 namelen, String name) + { + Delegates.glDeleteNamedStringARB = (Delegates.DeleteNamedStringARB)GetExtensionDelegateStatic("glDeleteNamedStringARB", typeof(Delegates.DeleteNamedStringARB)); + Delegates.glDeleteNamedStringARB((Int32)namelen, (String)name); + } + internal static void Load_DeleteProgram(UInt32 program) + { + Delegates.glDeleteProgram = (Delegates.DeleteProgram)GetExtensionDelegateStatic("glDeleteProgram", typeof(Delegates.DeleteProgram)); + Delegates.glDeleteProgram((UInt32)program); + } + internal static unsafe void Load_DeleteProgramPipelines(Int32 n, UInt32* pipelines) + { + Delegates.glDeleteProgramPipelines = (Delegates.DeleteProgramPipelines)GetExtensionDelegateStatic("glDeleteProgramPipelines", typeof(Delegates.DeleteProgramPipelines)); + Delegates.glDeleteProgramPipelines((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_DeleteQueries(Int32 n, UInt32* ids) + { + Delegates.glDeleteQueries = (Delegates.DeleteQueries)GetExtensionDelegateStatic("glDeleteQueries", typeof(Delegates.DeleteQueries)); + Delegates.glDeleteQueries((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + Delegates.glDeleteRenderbuffers = (Delegates.DeleteRenderbuffers)GetExtensionDelegateStatic("glDeleteRenderbuffers", typeof(Delegates.DeleteRenderbuffers)); + Delegates.glDeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_DeleteSamplers(Int32 count, UInt32* samplers) + { + Delegates.glDeleteSamplers = (Delegates.DeleteSamplers)GetExtensionDelegateStatic("glDeleteSamplers", typeof(Delegates.DeleteSamplers)); + Delegates.glDeleteSamplers((Int32)count, (UInt32*)samplers); + } + internal static void Load_DeleteShader(UInt32 shader) + { + Delegates.glDeleteShader = (Delegates.DeleteShader)GetExtensionDelegateStatic("glDeleteShader", typeof(Delegates.DeleteShader)); + Delegates.glDeleteShader((UInt32)shader); + } + internal static void Load_DeleteSync(IntPtr sync) + { + Delegates.glDeleteSync = (Delegates.DeleteSync)GetExtensionDelegateStatic("glDeleteSync", typeof(Delegates.DeleteSync)); + Delegates.glDeleteSync((IntPtr)sync); + } + internal static unsafe void Load_DeleteTextures(Int32 n, UInt32* textures) + { + Delegates.glDeleteTextures = (Delegates.DeleteTextures)GetExtensionDelegateStatic("glDeleteTextures", typeof(Delegates.DeleteTextures)); + Delegates.glDeleteTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_DeleteTransformFeedbacks(Int32 n, UInt32* ids) + { + Delegates.glDeleteTransformFeedbacks = (Delegates.DeleteTransformFeedbacks)GetExtensionDelegateStatic("glDeleteTransformFeedbacks", typeof(Delegates.DeleteTransformFeedbacks)); + Delegates.glDeleteTransformFeedbacks((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_DeleteVertexArrays(Int32 n, UInt32* arrays) + { + Delegates.glDeleteVertexArrays = (Delegates.DeleteVertexArrays)GetExtensionDelegateStatic("glDeleteVertexArrays", typeof(Delegates.DeleteVertexArrays)); + Delegates.glDeleteVertexArrays((Int32)n, (UInt32*)arrays); + } + internal static void Load_DepthFunc(OpenTK.Graphics.OpenGL4.DepthFunction func) + { + Delegates.glDepthFunc = (Delegates.DepthFunc)GetExtensionDelegateStatic("glDepthFunc", typeof(Delegates.DepthFunc)); + Delegates.glDepthFunc((OpenTK.Graphics.OpenGL4.DepthFunction)func); + } + internal static void Load_DepthMask(bool flag) + { + Delegates.glDepthMask = (Delegates.DepthMask)GetExtensionDelegateStatic("glDepthMask", typeof(Delegates.DepthMask)); + Delegates.glDepthMask((bool)flag); + } + internal static void Load_DepthRange(Double near, Double far) + { + Delegates.glDepthRange = (Delegates.DepthRange)GetExtensionDelegateStatic("glDepthRange", typeof(Delegates.DepthRange)); + Delegates.glDepthRange((Double)near, (Double)far); + } + internal static unsafe void Load_DepthRangeArrayv(UInt32 first, Int32 count, Double* v) + { + Delegates.glDepthRangeArrayv = (Delegates.DepthRangeArrayv)GetExtensionDelegateStatic("glDepthRangeArrayv", typeof(Delegates.DepthRangeArrayv)); + Delegates.glDepthRangeArrayv((UInt32)first, (Int32)count, (Double*)v); + } + internal static void Load_DepthRangef(Single n, Single f) + { + Delegates.glDepthRangef = (Delegates.DepthRangef)GetExtensionDelegateStatic("glDepthRangef", typeof(Delegates.DepthRangef)); + Delegates.glDepthRangef((Single)n, (Single)f); + } + internal static void Load_DepthRangeIndexed(UInt32 index, Double n, Double f) + { + Delegates.glDepthRangeIndexed = (Delegates.DepthRangeIndexed)GetExtensionDelegateStatic("glDepthRangeIndexed", typeof(Delegates.DepthRangeIndexed)); + Delegates.glDepthRangeIndexed((UInt32)index, (Double)n, (Double)f); + } + internal static void Load_DetachShader(UInt32 program, UInt32 shader) + { + Delegates.glDetachShader = (Delegates.DetachShader)GetExtensionDelegateStatic("glDetachShader", typeof(Delegates.DetachShader)); + Delegates.glDetachShader((UInt32)program, (UInt32)shader); + } + internal static void Load_Disable(OpenTK.Graphics.OpenGL4.EnableCap cap) + { + Delegates.glDisable = (Delegates.Disable)GetExtensionDelegateStatic("glDisable", typeof(Delegates.Disable)); + Delegates.glDisable((OpenTK.Graphics.OpenGL4.EnableCap)cap); + } + internal static void Load_Disablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) + { + Delegates.glDisablei = (Delegates.Disablei)GetExtensionDelegateStatic("glDisablei", typeof(Delegates.Disablei)); + Delegates.glDisablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); + } + internal static void Load_DisableVertexAttribArray(UInt32 index) + { + Delegates.glDisableVertexAttribArray = (Delegates.DisableVertexAttribArray)GetExtensionDelegateStatic("glDisableVertexAttribArray", typeof(Delegates.DisableVertexAttribArray)); + Delegates.glDisableVertexAttribArray((UInt32)index); + } + internal static void Load_DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) + { + Delegates.glDispatchCompute = (Delegates.DispatchCompute)GetExtensionDelegateStatic("glDispatchCompute", typeof(Delegates.DispatchCompute)); + Delegates.glDispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); + } + internal static void Load_DispatchComputeGroupSizeARB(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z, UInt32 group_size_x, UInt32 group_size_y, UInt32 group_size_z) + { + Delegates.glDispatchComputeGroupSizeARB = (Delegates.DispatchComputeGroupSizeARB)GetExtensionDelegateStatic("glDispatchComputeGroupSizeARB", typeof(Delegates.DispatchComputeGroupSizeARB)); + Delegates.glDispatchComputeGroupSizeARB((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z, (UInt32)group_size_x, (UInt32)group_size_y, (UInt32)group_size_z); + } + internal static void Load_DispatchComputeIndirect(IntPtr indirect) + { + Delegates.glDispatchComputeIndirect = (Delegates.DispatchComputeIndirect)GetExtensionDelegateStatic("glDispatchComputeIndirect", typeof(Delegates.DispatchComputeIndirect)); + Delegates.glDispatchComputeIndirect((IntPtr)indirect); + } + internal static void Load_DrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count) + { + Delegates.glDrawArrays = (Delegates.DrawArrays)GetExtensionDelegateStatic("glDrawArrays", typeof(Delegates.DrawArrays)); + Delegates.glDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count); + } + internal static void Load_DrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect) + { + Delegates.glDrawArraysIndirect = (Delegates.DrawArraysIndirect)GetExtensionDelegateStatic("glDrawArraysIndirect", typeof(Delegates.DrawArraysIndirect)); + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect); + } + internal static void Load_DrawArraysInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount) + { + Delegates.glDrawArraysInstanced = (Delegates.DrawArraysInstanced)GetExtensionDelegateStatic("glDrawArraysInstanced", typeof(Delegates.DrawArraysInstanced)); + Delegates.glDrawArraysInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount); + } + internal static void Load_DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) + { + Delegates.glDrawArraysInstancedBaseInstance = (Delegates.DrawArraysInstancedBaseInstance)GetExtensionDelegateStatic("glDrawArraysInstancedBaseInstance", typeof(Delegates.DrawArraysInstancedBaseInstance)); + Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); + } + internal static void Load_DrawBuffer(OpenTK.Graphics.OpenGL4.DrawBufferMode mode) + { + Delegates.glDrawBuffer = (Delegates.DrawBuffer)GetExtensionDelegateStatic("glDrawBuffer", typeof(Delegates.DrawBuffer)); + Delegates.glDrawBuffer((OpenTK.Graphics.OpenGL4.DrawBufferMode)mode); + } + internal static unsafe void Load_DrawBuffers(Int32 n, OpenTK.Graphics.OpenGL4.DrawBuffersEnum* bufs) + { + Delegates.glDrawBuffers = (Delegates.DrawBuffers)GetExtensionDelegateStatic("glDrawBuffers", typeof(Delegates.DrawBuffers)); + Delegates.glDrawBuffers((Int32)n, (OpenTK.Graphics.OpenGL4.DrawBuffersEnum*)bufs); + } + internal static void Load_DrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawElements = (Delegates.DrawElements)GetExtensionDelegateStatic("glDrawElements", typeof(Delegates.DrawElements)); + Delegates.glDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_DrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + Delegates.glDrawElementsBaseVertex = (Delegates.DrawElementsBaseVertex)GetExtensionDelegateStatic("glDrawElementsBaseVertex", typeof(Delegates.DrawElementsBaseVertex)); + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + } + internal static void Load_DrawElementsIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect) + { + Delegates.glDrawElementsIndirect = (Delegates.DrawElementsIndirect)GetExtensionDelegateStatic("glDrawElementsIndirect", typeof(Delegates.DrawElementsIndirect)); + Delegates.glDrawElementsIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect); + } + internal static void Load_DrawElementsInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount) + { + Delegates.glDrawElementsInstanced = (Delegates.DrawElementsInstanced)GetExtensionDelegateStatic("glDrawElementsInstanced", typeof(Delegates.DrawElementsInstanced)); + Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount); + } + internal static void Load_DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) + { + Delegates.glDrawElementsInstancedBaseInstance = (Delegates.DrawElementsInstancedBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseInstance", typeof(Delegates.DrawElementsInstancedBaseInstance)); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); + } + internal static void Load_DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) + { + Delegates.glDrawElementsInstancedBaseVertex = (Delegates.DrawElementsInstancedBaseVertex)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertex", typeof(Delegates.DrawElementsInstancedBaseVertex)); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); + } + internal static void Load_DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + { + Delegates.glDrawElementsInstancedBaseVertexBaseInstance = (Delegates.DrawElementsInstancedBaseVertexBaseInstance)GetExtensionDelegateStatic("glDrawElementsInstancedBaseVertexBaseInstance", typeof(Delegates.DrawElementsInstancedBaseVertexBaseInstance)); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + } + internal static void Load_DrawRangeElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices) + { + Delegates.glDrawRangeElements = (Delegates.DrawRangeElements)GetExtensionDelegateStatic("glDrawRangeElements", typeof(Delegates.DrawRangeElements)); + Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices); + } + internal static void Load_DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 basevertex) + { + Delegates.glDrawRangeElementsBaseVertex = (Delegates.DrawRangeElementsBaseVertex)GetExtensionDelegateStatic("glDrawRangeElementsBaseVertex", typeof(Delegates.DrawRangeElementsBaseVertex)); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + } + internal static void Load_DrawTransformFeedback(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id) + { + Delegates.glDrawTransformFeedback = (Delegates.DrawTransformFeedback)GetExtensionDelegateStatic("glDrawTransformFeedback", typeof(Delegates.DrawTransformFeedback)); + Delegates.glDrawTransformFeedback((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id); + } + internal static void Load_DrawTransformFeedbackInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, Int32 instancecount) + { + Delegates.glDrawTransformFeedbackInstanced = (Delegates.DrawTransformFeedbackInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackInstanced", typeof(Delegates.DrawTransformFeedbackInstanced)); + Delegates.glDrawTransformFeedbackInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (Int32)instancecount); + } + internal static void Load_DrawTransformFeedbackStream(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream) + { + Delegates.glDrawTransformFeedbackStream = (Delegates.DrawTransformFeedbackStream)GetExtensionDelegateStatic("glDrawTransformFeedbackStream", typeof(Delegates.DrawTransformFeedbackStream)); + Delegates.glDrawTransformFeedbackStream((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream); + } + internal static void Load_DrawTransformFeedbackStreamInstanced(OpenTK.Graphics.OpenGL4.PrimitiveType mode, UInt32 id, UInt32 stream, Int32 instancecount) + { + Delegates.glDrawTransformFeedbackStreamInstanced = (Delegates.DrawTransformFeedbackStreamInstanced)GetExtensionDelegateStatic("glDrawTransformFeedbackStreamInstanced", typeof(Delegates.DrawTransformFeedbackStreamInstanced)); + Delegates.glDrawTransformFeedbackStreamInstanced((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (UInt32)id, (UInt32)stream, (Int32)instancecount); + } + internal static void Load_Enable(OpenTK.Graphics.OpenGL4.EnableCap cap) + { + Delegates.glEnable = (Delegates.Enable)GetExtensionDelegateStatic("glEnable", typeof(Delegates.Enable)); + Delegates.glEnable((OpenTK.Graphics.OpenGL4.EnableCap)cap); + } + internal static void Load_Enablei(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) + { + Delegates.glEnablei = (Delegates.Enablei)GetExtensionDelegateStatic("glEnablei", typeof(Delegates.Enablei)); + Delegates.glEnablei((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); + } + internal static void Load_EnableVertexAttribArray(UInt32 index) + { + Delegates.glEnableVertexAttribArray = (Delegates.EnableVertexAttribArray)GetExtensionDelegateStatic("glEnableVertexAttribArray", typeof(Delegates.EnableVertexAttribArray)); + Delegates.glEnableVertexAttribArray((UInt32)index); + } + internal static void Load_EndConditionalRender() + { + Delegates.glEndConditionalRender = (Delegates.EndConditionalRender)GetExtensionDelegateStatic("glEndConditionalRender", typeof(Delegates.EndConditionalRender)); + Delegates.glEndConditionalRender(); + } + internal static void Load_EndQuery(OpenTK.Graphics.OpenGL4.QueryTarget target) + { + Delegates.glEndQuery = (Delegates.EndQuery)GetExtensionDelegateStatic("glEndQuery", typeof(Delegates.EndQuery)); + Delegates.glEndQuery((OpenTK.Graphics.OpenGL4.QueryTarget)target); + } + internal static void Load_EndQueryIndexed(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index) + { + Delegates.glEndQueryIndexed = (Delegates.EndQueryIndexed)GetExtensionDelegateStatic("glEndQueryIndexed", typeof(Delegates.EndQueryIndexed)); + Delegates.glEndQueryIndexed((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index); + } + internal static void Load_EndTransformFeedback() + { + Delegates.glEndTransformFeedback = (Delegates.EndTransformFeedback)GetExtensionDelegateStatic("glEndTransformFeedback", typeof(Delegates.EndTransformFeedback)); + Delegates.glEndTransformFeedback(); + } + internal static IntPtr Load_FenceSync(OpenTK.Graphics.OpenGL4.SyncCondition condition, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags) + { + Delegates.glFenceSync = (Delegates.FenceSync)GetExtensionDelegateStatic("glFenceSync", typeof(Delegates.FenceSync)); + return Delegates.glFenceSync((OpenTK.Graphics.OpenGL4.SyncCondition)condition, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags); + } + internal static void Load_Finish() + { + Delegates.glFinish = (Delegates.Finish)GetExtensionDelegateStatic("glFinish", typeof(Delegates.Finish)); + Delegates.glFinish(); + } + internal static void Load_Flush() + { + Delegates.glFlush = (Delegates.Flush)GetExtensionDelegateStatic("glFlush", typeof(Delegates.Flush)); + Delegates.glFlush(); + } + internal static void Load_FlushMappedBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length) + { + Delegates.glFlushMappedBufferRange = (Delegates.FlushMappedBufferRange)GetExtensionDelegateStatic("glFlushMappedBufferRange", typeof(Delegates.FlushMappedBufferRange)); + Delegates.glFlushMappedBufferRange((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + } + internal static void Load_FramebufferParameteri(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, Int32 param) + { + Delegates.glFramebufferParameteri = (Delegates.FramebufferParameteri)GetExtensionDelegateStatic("glFramebufferParameteri", typeof(Delegates.FramebufferParameteri)); + Delegates.glFramebufferParameteri((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32)param); + } + internal static void Load_FramebufferRenderbuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + Delegates.glFramebufferRenderbuffer = (Delegates.FramebufferRenderbuffer)GetExtensionDelegateStatic("glFramebufferRenderbuffer", typeof(Delegates.FramebufferRenderbuffer)); + Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + } + internal static void Load_FramebufferTexture(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture = (Delegates.FramebufferTexture)GetExtensionDelegateStatic("glFramebufferTexture", typeof(Delegates.FramebufferTexture)); + Delegates.glFramebufferTexture((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture1D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture1D = (Delegates.FramebufferTexture1D)GetExtensionDelegateStatic("glFramebufferTexture1D", typeof(Delegates.FramebufferTexture1D)); + Delegates.glFramebufferTexture1D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture2D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level) + { + Delegates.glFramebufferTexture2D = (Delegates.FramebufferTexture2D)GetExtensionDelegateStatic("glFramebufferTexture2D", typeof(Delegates.FramebufferTexture2D)); + Delegates.glFramebufferTexture2D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level); + } + internal static void Load_FramebufferTexture3D(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.TextureTarget textarget, UInt32 texture, Int32 level, Int32 zoffset) + { + Delegates.glFramebufferTexture3D = (Delegates.FramebufferTexture3D)GetExtensionDelegateStatic("glFramebufferTexture3D", typeof(Delegates.FramebufferTexture3D)); + Delegates.glFramebufferTexture3D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.TextureTarget)textarget, (UInt32)texture, (Int32)level, (Int32)zoffset); + } + internal static void Load_FramebufferTextureLayer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + Delegates.glFramebufferTextureLayer = (Delegates.FramebufferTextureLayer)GetExtensionDelegateStatic("glFramebufferTextureLayer", typeof(Delegates.FramebufferTextureLayer)); + Delegates.glFramebufferTextureLayer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + } + internal static void Load_FrontFace(OpenTK.Graphics.OpenGL4.FrontFaceDirection mode) + { + Delegates.glFrontFace = (Delegates.FrontFace)GetExtensionDelegateStatic("glFrontFace", typeof(Delegates.FrontFace)); + Delegates.glFrontFace((OpenTK.Graphics.OpenGL4.FrontFaceDirection)mode); + } + internal static unsafe void Load_GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + Delegates.glGenBuffers = (Delegates.GenBuffers)GetExtensionDelegateStatic("glGenBuffers", typeof(Delegates.GenBuffers)); + Delegates.glGenBuffers((Int32)n, (UInt32*)buffers); + } + internal static void Load_GenerateMipmap(OpenTK.Graphics.OpenGL4.GenerateMipmapTarget target) + { + Delegates.glGenerateMipmap = (Delegates.GenerateMipmap)GetExtensionDelegateStatic("glGenerateMipmap", typeof(Delegates.GenerateMipmap)); + Delegates.glGenerateMipmap((OpenTK.Graphics.OpenGL4.GenerateMipmapTarget)target); + } + internal static unsafe void Load_GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + Delegates.glGenFramebuffers = (Delegates.GenFramebuffers)GetExtensionDelegateStatic("glGenFramebuffers", typeof(Delegates.GenFramebuffers)); + Delegates.glGenFramebuffers((Int32)n, (UInt32*)framebuffers); + } + internal static unsafe void Load_GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) + { + Delegates.glGenProgramPipelines = (Delegates.GenProgramPipelines)GetExtensionDelegateStatic("glGenProgramPipelines", typeof(Delegates.GenProgramPipelines)); + Delegates.glGenProgramPipelines((Int32)n, (UInt32*)pipelines); + } + internal static unsafe void Load_GenQueries(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenQueries = (Delegates.GenQueries)GetExtensionDelegateStatic("glGenQueries", typeof(Delegates.GenQueries)); + Delegates.glGenQueries((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + Delegates.glGenRenderbuffers = (Delegates.GenRenderbuffers)GetExtensionDelegateStatic("glGenRenderbuffers", typeof(Delegates.GenRenderbuffers)); + Delegates.glGenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + } + internal static unsafe void Load_GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) + { + Delegates.glGenSamplers = (Delegates.GenSamplers)GetExtensionDelegateStatic("glGenSamplers", typeof(Delegates.GenSamplers)); + Delegates.glGenSamplers((Int32)count, (UInt32*)samplers); + } + internal static unsafe void Load_GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + Delegates.glGenTextures = (Delegates.GenTextures)GetExtensionDelegateStatic("glGenTextures", typeof(Delegates.GenTextures)); + Delegates.glGenTextures((Int32)n, (UInt32*)textures); + } + internal static unsafe void Load_GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids) + { + Delegates.glGenTransformFeedbacks = (Delegates.GenTransformFeedbacks)GetExtensionDelegateStatic("glGenTransformFeedbacks", typeof(Delegates.GenTransformFeedbacks)); + Delegates.glGenTransformFeedbacks((Int32)n, (UInt32*)ids); + } + internal static unsafe void Load_GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) + { + Delegates.glGenVertexArrays = (Delegates.GenVertexArrays)GetExtensionDelegateStatic("glGenVertexArrays", typeof(Delegates.GenVertexArrays)); + Delegates.glGenVertexArrays((Int32)n, (UInt32*)arrays); + } + internal static unsafe void Load_GetActiveAtomicCounterBufferiv(UInt32 program, UInt32 bufferIndex, OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveAtomicCounterBufferiv = (Delegates.GetActiveAtomicCounterBufferiv)GetExtensionDelegateStatic("glGetActiveAtomicCounterBufferiv", typeof(Delegates.GetActiveAtomicCounterBufferiv)); + Delegates.glGetActiveAtomicCounterBufferiv((UInt32)program, (UInt32)bufferIndex, (OpenTK.Graphics.OpenGL4.AtomicCounterBufferParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveAttrib = (Delegates.GetActiveAttrib)GetExtensionDelegateStatic("glGetActiveAttrib", typeof(Delegates.GetActiveAttrib)); + Delegates.glGetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveAttribType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveSubroutineName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveSubroutineName = (Delegates.GetActiveSubroutineName)GetExtensionDelegateStatic("glGetActiveSubroutineName", typeof(Delegates.GetActiveSubroutineName)); + Delegates.glGetActiveSubroutineName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveSubroutineUniformiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter pname, [OutAttribute] Int32* values) + { + Delegates.glGetActiveSubroutineUniformiv = (Delegates.GetActiveSubroutineUniformiv)GetExtensionDelegateStatic("glGetActiveSubroutineUniformiv", typeof(Delegates.GetActiveSubroutineUniformiv)); + Delegates.glGetActiveSubroutineUniformiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (OpenTK.Graphics.OpenGL4.ActiveSubroutineUniformParameter)pname, (Int32*)values); + } + internal static unsafe void Load_GetActiveSubroutineUniformName(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveSubroutineUniformName = (Delegates.GetActiveSubroutineUniformName)GetExtensionDelegateStatic("glGetActiveSubroutineUniformName", typeof(Delegates.GetActiveSubroutineUniformName)); + Delegates.glGetActiveSubroutineUniformName((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (UInt32)index, (Int32)bufsize, (Int32*)length, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniform(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetActiveUniform = (Delegates.GetActiveUniform)GetExtensionDelegateStatic("glGetActiveUniform", typeof(Delegates.GetActiveUniform)); + Delegates.glGetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.ActiveUniformType*)type, (StringBuilder)name); + } + internal static unsafe void Load_GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveUniformBlockiv = (Delegates.GetActiveUniformBlockiv)GetExtensionDelegateStatic("glGetActiveUniformBlockiv", typeof(Delegates.GetActiveUniformBlockiv)); + Delegates.glGetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.OpenGL4.ActiveUniformBlockParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) + { + Delegates.glGetActiveUniformBlockName = (Delegates.GetActiveUniformBlockName)GetExtensionDelegateStatic("glGetActiveUniformBlockName", typeof(Delegates.GetActiveUniformBlockName)); + Delegates.glGetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); + } + internal static unsafe void Load_GetActiveUniformName(UInt32 program, UInt32 uniformIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformName) + { + Delegates.glGetActiveUniformName = (Delegates.GetActiveUniformName)GetExtensionDelegateStatic("glGetActiveUniformName", typeof(Delegates.GetActiveUniformName)); + Delegates.glGetActiveUniformName((UInt32)program, (UInt32)uniformIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformName); + } + internal static unsafe void Load_GetActiveUniformsiv(UInt32 program, Int32 uniformCount, UInt32* uniformIndices, OpenTK.Graphics.OpenGL4.ActiveUniformParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetActiveUniformsiv = (Delegates.GetActiveUniformsiv)GetExtensionDelegateStatic("glGetActiveUniformsiv", typeof(Delegates.GetActiveUniformsiv)); + Delegates.glGetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.OpenGL4.ActiveUniformParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetAttachedShaders(UInt32 program, Int32 maxCount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) + { + Delegates.glGetAttachedShaders = (Delegates.GetAttachedShaders)GetExtensionDelegateStatic("glGetAttachedShaders", typeof(Delegates.GetAttachedShaders)); + Delegates.glGetAttachedShaders((UInt32)program, (Int32)maxCount, (Int32*)count, (UInt32*)shaders); + } + internal static Int32 Load_GetAttribLocation(UInt32 program, String name) + { + Delegates.glGetAttribLocation = (Delegates.GetAttribLocation)GetExtensionDelegateStatic("glGetAttribLocation", typeof(Delegates.GetAttribLocation)); + return Delegates.glGetAttribLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetBooleani_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] bool* data) + { + Delegates.glGetBooleani_v = (Delegates.GetBooleani_v)GetExtensionDelegateStatic("glGetBooleani_v", typeof(Delegates.GetBooleani_v)); + Delegates.glGetBooleani_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (bool*)data); + } + internal static unsafe void Load_GetBooleanv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] bool* data) + { + Delegates.glGetBooleanv = (Delegates.GetBooleanv)GetExtensionDelegateStatic("glGetBooleanv", typeof(Delegates.GetBooleanv)); + Delegates.glGetBooleanv((OpenTK.Graphics.OpenGL4.GetPName)pname, (bool*)data); + } + internal static unsafe void Load_GetBufferParameteri64v(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int64* @params) + { + Delegates.glGetBufferParameteri64v = (Delegates.GetBufferParameteri64v)GetExtensionDelegateStatic("glGetBufferParameteri64v", typeof(Delegates.GetBufferParameteri64v)); + Delegates.glGetBufferParameteri64v((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int64*)@params); + } + internal static unsafe void Load_GetBufferParameteriv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetBufferParameteriv = (Delegates.GetBufferParameteriv)GetExtensionDelegateStatic("glGetBufferParameteriv", typeof(Delegates.GetBufferParameteriv)); + Delegates.glGetBufferParameteriv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferParameterName)pname, (Int32*)@params); + } + internal static void Load_GetBufferPointerv(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferPointer pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetBufferPointerv = (Delegates.GetBufferPointerv)GetExtensionDelegateStatic("glGetBufferPointerv", typeof(Delegates.GetBufferPointerv)); + Delegates.glGetBufferPointerv((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferPointer)pname, (IntPtr)@params); + } + internal static void Load_GetBufferSubData(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr size, [OutAttribute] IntPtr data) + { + Delegates.glGetBufferSubData = (Delegates.GetBufferSubData)GetExtensionDelegateStatic("glGetBufferSubData", typeof(Delegates.GetBufferSubData)); + Delegates.glGetBufferSubData((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + } + internal static void Load_GetColorTable(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr table) + { + Delegates.glGetColorTable = (Delegates.GetColorTable)GetExtensionDelegateStatic("glGetColorTable", typeof(Delegates.GetColorTable)); + Delegates.glGetColorTable((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)table); + } + internal static unsafe void Load_GetColorTableParameterfv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetColorTableParameterfv = (Delegates.GetColorTableParameterfv)GetExtensionDelegateStatic("glGetColorTableParameterfv", typeof(Delegates.GetColorTableParameterfv)); + Delegates.glGetColorTableParameterfv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetColorTableParameteriv(OpenTK.Graphics.OpenGL4.ColorTableTarget target, OpenTK.Graphics.OpenGL4.GetColorTableParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetColorTableParameteriv = (Delegates.GetColorTableParameteriv)GetExtensionDelegateStatic("glGetColorTableParameteriv", typeof(Delegates.GetColorTableParameteriv)); + Delegates.glGetColorTableParameteriv((OpenTK.Graphics.OpenGL4.ColorTableTarget)target, (OpenTK.Graphics.OpenGL4.GetColorTableParameterPName)pname, (Int32*)@params); + } + internal static void Load_GetCompressedTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, [OutAttribute] IntPtr img) + { + Delegates.glGetCompressedTexImage = (Delegates.GetCompressedTexImage)GetExtensionDelegateStatic("glGetCompressedTexImage", typeof(Delegates.GetCompressedTexImage)); + Delegates.glGetCompressedTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (IntPtr)img); + } + internal static void Load_GetConvolutionFilter(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr image) + { + Delegates.glGetConvolutionFilter = (Delegates.GetConvolutionFilter)GetExtensionDelegateStatic("glGetConvolutionFilter", typeof(Delegates.GetConvolutionFilter)); + Delegates.glGetConvolutionFilter((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)image); + } + internal static unsafe void Load_GetConvolutionParameterfv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetConvolutionParameterfv = (Delegates.GetConvolutionParameterfv)GetExtensionDelegateStatic("glGetConvolutionParameterfv", typeof(Delegates.GetConvolutionParameterfv)); + Delegates.glGetConvolutionParameterfv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetConvolutionParameteriv = (Delegates.GetConvolutionParameteriv)GetExtensionDelegateStatic("glGetConvolutionParameteriv", typeof(Delegates.GetConvolutionParameteriv)); + Delegates.glGetConvolutionParameteriv((OpenTK.Graphics.OpenGL4.ConvolutionTarget)target, (OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName)pname, (Int32*)@params); + } + internal static unsafe Int32 Load_GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLog = (Delegates.GetDebugMessageLog)GetExtensionDelegateStatic("glGetDebugMessageLog", typeof(Delegates.GetDebugMessageLog)); + return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe Int32 Load_GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLogARB = (Delegates.GetDebugMessageLogARB)GetExtensionDelegateStatic("glGetDebugMessageLogARB", typeof(Delegates.GetDebugMessageLogARB)); + return Delegates.glGetDebugMessageLogARB((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe Int32 Load_GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) + { + Delegates.glGetDebugMessageLogKHR = (Delegates.GetDebugMessageLogKHR)GetExtensionDelegateStatic("glGetDebugMessageLogKHR", typeof(Delegates.GetDebugMessageLogKHR)); + return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); + } + internal static unsafe void Load_GetDoublei_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Double* data) + { + Delegates.glGetDoublei_v = (Delegates.GetDoublei_v)GetExtensionDelegateStatic("glGetDoublei_v", typeof(Delegates.GetDoublei_v)); + Delegates.glGetDoublei_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Double*)data); + } + internal static unsafe void Load_GetDoublev(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Double* data) + { + Delegates.glGetDoublev = (Delegates.GetDoublev)GetExtensionDelegateStatic("glGetDoublev", typeof(Delegates.GetDoublev)); + Delegates.glGetDoublev((OpenTK.Graphics.OpenGL4.GetPName)pname, (Double*)data); + } + internal static OpenTK.Graphics.OpenGL4.ErrorCode Load_GetError() + { + Delegates.glGetError = (Delegates.GetError)GetExtensionDelegateStatic("glGetError", typeof(Delegates.GetError)); + return Delegates.glGetError(); + } + internal static unsafe void Load_GetFloati_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Single* data) + { + Delegates.glGetFloati_v = (Delegates.GetFloati_v)GetExtensionDelegateStatic("glGetFloati_v", typeof(Delegates.GetFloati_v)); + Delegates.glGetFloati_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Single*)data); + } + internal static unsafe void Load_GetFloatv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Single* data) + { + Delegates.glGetFloatv = (Delegates.GetFloatv)GetExtensionDelegateStatic("glGetFloatv", typeof(Delegates.GetFloatv)); + Delegates.glGetFloatv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Single*)data); + } + internal static Int32 Load_GetFragDataIndex(UInt32 program, String name) + { + Delegates.glGetFragDataIndex = (Delegates.GetFragDataIndex)GetExtensionDelegateStatic("glGetFragDataIndex", typeof(Delegates.GetFragDataIndex)); + return Delegates.glGetFragDataIndex((UInt32)program, (String)name); + } + internal static Int32 Load_GetFragDataLocation(UInt32 program, String name) + { + Delegates.glGetFragDataLocation = (Delegates.GetFragDataLocation)GetExtensionDelegateStatic("glGetFragDataLocation", typeof(Delegates.GetFragDataLocation)); + return Delegates.glGetFragDataLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetFramebufferAttachmentParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferAttachment attachment, OpenTK.Graphics.OpenGL4.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferAttachmentParameteriv = (Delegates.GetFramebufferAttachmentParameteriv)GetExtensionDelegateStatic("glGetFramebufferAttachmentParameteriv", typeof(Delegates.GetFramebufferAttachmentParameteriv)); + Delegates.glGetFramebufferAttachmentParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.FramebufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetFramebufferParameteriv(OpenTK.Graphics.OpenGL4.FramebufferTarget target, OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetFramebufferParameteriv = (Delegates.GetFramebufferParameteriv)GetExtensionDelegateStatic("glGetFramebufferParameteriv", typeof(Delegates.GetFramebufferParameteriv)); + Delegates.glGetFramebufferParameteriv((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferDefaultParameter)pname, (Int32*)@params); + } + internal static OpenTK.Graphics.OpenGL4.All Load_GetGraphicsResetStatusARB() + { + Delegates.glGetGraphicsResetStatusARB = (Delegates.GetGraphicsResetStatusARB)GetExtensionDelegateStatic("glGetGraphicsResetStatusARB", typeof(Delegates.GetGraphicsResetStatusARB)); + return Delegates.glGetGraphicsResetStatusARB(); + } + internal static void Load_GetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values) + { + Delegates.glGetHistogram = (Delegates.GetHistogram)GetExtensionDelegateStatic("glGetHistogram", typeof(Delegates.GetHistogram)); + Delegates.glGetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values); + } + internal static unsafe void Load_GetHistogramParameterfv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetHistogramParameterfv = (Delegates.GetHistogramParameterfv)GetExtensionDelegateStatic("glGetHistogramParameterfv", typeof(Delegates.GetHistogramParameterfv)); + Delegates.glGetHistogramParameterfv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetHistogramParameteriv(OpenTK.Graphics.OpenGL4.HistogramTarget target, OpenTK.Graphics.OpenGL4.GetHistogramParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetHistogramParameteriv = (Delegates.GetHistogramParameteriv)GetExtensionDelegateStatic("glGetHistogramParameteriv", typeof(Delegates.GetHistogramParameteriv)); + Delegates.glGetHistogramParameteriv((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (OpenTK.Graphics.OpenGL4.GetHistogramParameterPName)pname, (Int32*)@params); + } + internal static Int64 Load_GetImageHandleARB(UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.OpenGL4.All format) + { + Delegates.glGetImageHandleARB = (Delegates.GetImageHandleARB)GetExtensionDelegateStatic("glGetImageHandleARB", typeof(Delegates.GetImageHandleARB)); + return Delegates.glGetImageHandleARB((UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.OpenGL4.All)format); + } + internal static unsafe void Load_GetInteger64i_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) + { + Delegates.glGetInteger64i_v = (Delegates.GetInteger64i_v)GetExtensionDelegateStatic("glGetInteger64i_v", typeof(Delegates.GetInteger64i_v)); + Delegates.glGetInteger64i_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int64*)data); + } + internal static unsafe void Load_GetInteger64v(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int64* data) + { + Delegates.glGetInteger64v = (Delegates.GetInteger64v)GetExtensionDelegateStatic("glGetInteger64v", typeof(Delegates.GetInteger64v)); + Delegates.glGetInteger64v((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int64*)data); + } + internal static unsafe void Load_GetIntegeri_v(OpenTK.Graphics.OpenGL4.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + Delegates.glGetIntegeri_v = (Delegates.GetIntegeri_v)GetExtensionDelegateStatic("glGetIntegeri_v", typeof(Delegates.GetIntegeri_v)); + Delegates.glGetIntegeri_v((OpenTK.Graphics.OpenGL4.GetIndexedPName)target, (UInt32)index, (Int32*)data); + } + internal static unsafe void Load_GetIntegerv(OpenTK.Graphics.OpenGL4.GetPName pname, [OutAttribute] Int32* data) + { + Delegates.glGetIntegerv = (Delegates.GetIntegerv)GetExtensionDelegateStatic("glGetIntegerv", typeof(Delegates.GetIntegerv)); + Delegates.glGetIntegerv((OpenTK.Graphics.OpenGL4.GetPName)pname, (Int32*)data); + } + internal static unsafe void Load_GetInternalformati64v(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int64* @params) + { + Delegates.glGetInternalformati64v = (Delegates.GetInternalformati64v)GetExtensionDelegateStatic("glGetInternalformati64v", typeof(Delegates.GetInternalformati64v)); + Delegates.glGetInternalformati64v((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int64*)@params); + } + internal static unsafe void Load_GetInternalformativ(OpenTK.Graphics.OpenGL4.ImageTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, OpenTK.Graphics.OpenGL4.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetInternalformativ = (Delegates.GetInternalformativ)GetExtensionDelegateStatic("glGetInternalformativ", typeof(Delegates.GetInternalformativ)); + Delegates.glGetInternalformativ((OpenTK.Graphics.OpenGL4.ImageTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (OpenTK.Graphics.OpenGL4.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); + } + internal static void Load_GetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, bool reset, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr values) + { + Delegates.glGetMinmax = (Delegates.GetMinmax)GetExtensionDelegateStatic("glGetMinmax", typeof(Delegates.GetMinmax)); + Delegates.glGetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (bool)reset, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)values); + } + internal static unsafe void Load_GetMinmaxParameterfv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Single* @params) + { + Delegates.glGetMinmaxParameterfv = (Delegates.GetMinmaxParameterfv)GetExtensionDelegateStatic("glGetMinmaxParameterfv", typeof(Delegates.GetMinmaxParameterfv)); + Delegates.glGetMinmaxParameterfv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Single*)@params); + } + internal static unsafe void Load_GetMinmaxParameteriv(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetMinmaxParameteriv = (Delegates.GetMinmaxParameteriv)GetExtensionDelegateStatic("glGetMinmaxParameteriv", typeof(Delegates.GetMinmaxParameteriv)); + Delegates.glGetMinmaxParameteriv((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.GetMinmaxParameterPName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetMultisamplefv(OpenTK.Graphics.OpenGL4.GetMultisamplePName pname, UInt32 index, [OutAttribute] Single* val) + { + Delegates.glGetMultisamplefv = (Delegates.GetMultisamplefv)GetExtensionDelegateStatic("glGetMultisamplefv", typeof(Delegates.GetMultisamplefv)); + Delegates.glGetMultisamplefv((OpenTK.Graphics.OpenGL4.GetMultisamplePName)pname, (UInt32)index, (Single*)val); + } + internal static unsafe void Load_GetNamedStringARB(Int32 namelen, String name, Int32 bufSize, [OutAttribute] Int32* stringlen, [OutAttribute] StringBuilder @string) + { + Delegates.glGetNamedStringARB = (Delegates.GetNamedStringARB)GetExtensionDelegateStatic("glGetNamedStringARB", typeof(Delegates.GetNamedStringARB)); + Delegates.glGetNamedStringARB((Int32)namelen, (String)name, (Int32)bufSize, (Int32*)stringlen, (StringBuilder)@string); + } + internal static unsafe void Load_GetNamedStringivARB(Int32 namelen, String name, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetNamedStringivARB = (Delegates.GetNamedStringivARB)GetExtensionDelegateStatic("glGetNamedStringivARB", typeof(Delegates.GetNamedStringivARB)); + Delegates.glGetNamedStringivARB((Int32)namelen, (String)name, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params); + } + internal static void Load_GetnColorTableARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr table) + { + Delegates.glGetnColorTableARB = (Delegates.GetnColorTableARB)GetExtensionDelegateStatic("glGetnColorTableARB", typeof(Delegates.GetnColorTableARB)); + Delegates.glGetnColorTableARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)table); + } + internal static void Load_GetnCompressedTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 lod, Int32 bufSize, [OutAttribute] IntPtr img) + { + Delegates.glGetnCompressedTexImageARB = (Delegates.GetnCompressedTexImageARB)GetExtensionDelegateStatic("glGetnCompressedTexImageARB", typeof(Delegates.GetnCompressedTexImageARB)); + Delegates.glGetnCompressedTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)lod, (Int32)bufSize, (IntPtr)img); + } + internal static void Load_GetnConvolutionFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr image) + { + Delegates.glGetnConvolutionFilterARB = (Delegates.GetnConvolutionFilterARB)GetExtensionDelegateStatic("glGetnConvolutionFilterARB", typeof(Delegates.GetnConvolutionFilterARB)); + Delegates.glGetnConvolutionFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)image); + } + internal static void Load_GetnHistogramARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values) + { + Delegates.glGetnHistogramARB = (Delegates.GetnHistogramARB)GetExtensionDelegateStatic("glGetnHistogramARB", typeof(Delegates.GetnHistogramARB)); + Delegates.glGetnHistogramARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values); + } + internal static unsafe void Load_GetnMapdvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Double* v) + { + Delegates.glGetnMapdvARB = (Delegates.GetnMapdvARB)GetExtensionDelegateStatic("glGetnMapdvARB", typeof(Delegates.GetnMapdvARB)); + Delegates.glGetnMapdvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Double*)v); + } + internal static unsafe void Load_GetnMapfvARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Single* v) + { + Delegates.glGetnMapfvARB = (Delegates.GetnMapfvARB)GetExtensionDelegateStatic("glGetnMapfvARB", typeof(Delegates.GetnMapfvARB)); + Delegates.glGetnMapfvARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Single*)v); + } + internal static unsafe void Load_GetnMapivARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All query, Int32 bufSize, [OutAttribute] Int32* v) + { + Delegates.glGetnMapivARB = (Delegates.GetnMapivARB)GetExtensionDelegateStatic("glGetnMapivARB", typeof(Delegates.GetnMapivARB)); + Delegates.glGetnMapivARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)query, (Int32)bufSize, (Int32*)v); + } + internal static void Load_GetnMinmaxARB(OpenTK.Graphics.OpenGL4.All target, bool reset, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr values) + { + Delegates.glGetnMinmaxARB = (Delegates.GetnMinmaxARB)GetExtensionDelegateStatic("glGetnMinmaxARB", typeof(Delegates.GetnMinmaxARB)); + Delegates.glGetnMinmaxARB((OpenTK.Graphics.OpenGL4.All)target, (bool)reset, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)values); + } + internal static unsafe void Load_GetnPixelMapfvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] Single* values) + { + Delegates.glGetnPixelMapfvARB = (Delegates.GetnPixelMapfvARB)GetExtensionDelegateStatic("glGetnPixelMapfvARB", typeof(Delegates.GetnPixelMapfvARB)); + Delegates.glGetnPixelMapfvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (Single*)values); + } + internal static unsafe void Load_GetnPixelMapuivARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt32* values) + { + Delegates.glGetnPixelMapuivARB = (Delegates.GetnPixelMapuivARB)GetExtensionDelegateStatic("glGetnPixelMapuivARB", typeof(Delegates.GetnPixelMapuivARB)); + Delegates.glGetnPixelMapuivARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt32*)values); + } + internal static unsafe void Load_GetnPixelMapusvARB(OpenTK.Graphics.OpenGL4.All map, Int32 bufSize, [OutAttribute] UInt16* values) + { + Delegates.glGetnPixelMapusvARB = (Delegates.GetnPixelMapusvARB)GetExtensionDelegateStatic("glGetnPixelMapusvARB", typeof(Delegates.GetnPixelMapusvARB)); + Delegates.glGetnPixelMapusvARB((OpenTK.Graphics.OpenGL4.All)map, (Int32)bufSize, (UInt16*)values); + } + internal static unsafe void Load_GetnPolygonStippleARB(Int32 bufSize, [OutAttribute] Byte* pattern) + { + Delegates.glGetnPolygonStippleARB = (Delegates.GetnPolygonStippleARB)GetExtensionDelegateStatic("glGetnPolygonStippleARB", typeof(Delegates.GetnPolygonStippleARB)); + Delegates.glGetnPolygonStippleARB((Int32)bufSize, (Byte*)pattern); + } + internal static void Load_GetnSeparableFilterARB(OpenTK.Graphics.OpenGL4.All target, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 rowBufSize, [OutAttribute] IntPtr row, Int32 columnBufSize, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + Delegates.glGetnSeparableFilterARB = (Delegates.GetnSeparableFilterARB)GetExtensionDelegateStatic("glGetnSeparableFilterARB", typeof(Delegates.GetnSeparableFilterARB)); + Delegates.glGetnSeparableFilterARB((OpenTK.Graphics.OpenGL4.All)target, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)rowBufSize, (IntPtr)row, (Int32)columnBufSize, (IntPtr)column, (IntPtr)span); + } + internal static void Load_GetnTexImageARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr img) + { + Delegates.glGetnTexImageARB = (Delegates.GetnTexImageARB)GetExtensionDelegateStatic("glGetnTexImageARB", typeof(Delegates.GetnTexImageARB)); + Delegates.glGetnTexImageARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)img); + } + internal static unsafe void Load_GetnUniformdvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Double* @params) + { + Delegates.glGetnUniformdvARB = (Delegates.GetnUniformdvARB)GetExtensionDelegateStatic("glGetnUniformdvARB", typeof(Delegates.GetnUniformdvARB)); + Delegates.glGetnUniformdvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Double*)@params); + } + internal static unsafe void Load_GetnUniformfvARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Single* @params) + { + Delegates.glGetnUniformfvARB = (Delegates.GetnUniformfvARB)GetExtensionDelegateStatic("glGetnUniformfvARB", typeof(Delegates.GetnUniformfvARB)); + Delegates.glGetnUniformfvARB((UInt32)program, (Int32)location, (Int32)bufSize, (Single*)@params); + } + internal static unsafe void Load_GetnUniformivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params) + { + Delegates.glGetnUniformivARB = (Delegates.GetnUniformivARB)GetExtensionDelegateStatic("glGetnUniformivARB", typeof(Delegates.GetnUniformivARB)); + Delegates.glGetnUniformivARB((UInt32)program, (Int32)location, (Int32)bufSize, (Int32*)@params); + } + internal static unsafe void Load_GetnUniformuivARB(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] UInt32* @params) + { + Delegates.glGetnUniformuivARB = (Delegates.GetnUniformuivARB)GetExtensionDelegateStatic("glGetnUniformuivARB", typeof(Delegates.GetnUniformuivARB)); + Delegates.glGetnUniformuivARB((UInt32)program, (Int32)location, (Int32)bufSize, (UInt32*)@params); + } + internal static unsafe void Load_GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabel = (Delegates.GetObjectLabel)GetExtensionDelegateStatic("glGetObjectLabel", typeof(Delegates.GetObjectLabel)); + Delegates.glGetObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectLabelKHR = (Delegates.GetObjectLabelKHR)GetExtensionDelegateStatic("glGetObjectLabelKHR", typeof(Delegates.GetObjectLabelKHR)); + Delegates.glGetObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabel = (Delegates.GetObjectPtrLabel)GetExtensionDelegateStatic("glGetObjectPtrLabel", typeof(Delegates.GetObjectPtrLabel)); + Delegates.glGetObjectPtrLabel((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static unsafe void Load_GetObjectPtrLabelKHR(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label) + { + Delegates.glGetObjectPtrLabelKHR = (Delegates.GetObjectPtrLabelKHR)GetExtensionDelegateStatic("glGetObjectPtrLabelKHR", typeof(Delegates.GetObjectPtrLabelKHR)); + Delegates.glGetObjectPtrLabelKHR((IntPtr)ptr, (Int32)bufSize, (Int32*)length, (StringBuilder)label); + } + internal static void Load_GetPointerv(OpenTK.Graphics.OpenGL4.GetPointervPName pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointerv = (Delegates.GetPointerv)GetExtensionDelegateStatic("glGetPointerv", typeof(Delegates.GetPointerv)); + Delegates.glGetPointerv((OpenTK.Graphics.OpenGL4.GetPointervPName)pname, (IntPtr)@params); + } + internal static void Load_GetPointervKHR(OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] IntPtr @params) + { + Delegates.glGetPointervKHR = (Delegates.GetPointervKHR)GetExtensionDelegateStatic("glGetPointervKHR", typeof(Delegates.GetPointervKHR)); + Delegates.glGetPointervKHR((OpenTK.Graphics.OpenGL4.All)pname, (IntPtr)@params); + } + internal static unsafe void Load_GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.OpenGL4.BinaryFormat* binaryFormat, [OutAttribute] IntPtr binary) + { + Delegates.glGetProgramBinary = (Delegates.GetProgramBinary)GetExtensionDelegateStatic("glGetProgramBinary", typeof(Delegates.GetProgramBinary)); + Delegates.glGetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.OpenGL4.BinaryFormat*)binaryFormat, (IntPtr)binary); + } + internal static unsafe void Load_GetProgramInfoLog(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramInfoLog = (Delegates.GetProgramInfoLog)GetExtensionDelegateStatic("glGetProgramInfoLog", typeof(Delegates.GetProgramInfoLog)); + Delegates.glGetProgramInfoLog((UInt32)program, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramInterfaceiv = (Delegates.GetProgramInterfaceiv)GetExtensionDelegateStatic("glGetProgramInterfaceiv", typeof(Delegates.GetProgramInterfaceiv)); + Delegates.glGetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (OpenTK.Graphics.OpenGL4.ProgramInterfaceParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramiv(UInt32 program, OpenTK.Graphics.OpenGL4.GetProgramParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramiv = (Delegates.GetProgramiv)GetExtensionDelegateStatic("glGetProgramiv", typeof(Delegates.GetProgramiv)); + Delegates.glGetProgramiv((UInt32)program, (OpenTK.Graphics.OpenGL4.GetProgramParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetProgramPipelineInfoLog = (Delegates.GetProgramPipelineInfoLog)GetExtensionDelegateStatic("glGetProgramPipelineInfoLog", typeof(Delegates.GetProgramPipelineInfoLog)); + Delegates.glGetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramPipelineParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramPipelineiv = (Delegates.GetProgramPipelineiv)GetExtensionDelegateStatic("glGetProgramPipelineiv", typeof(Delegates.GetProgramPipelineiv)); + Delegates.glGetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramPipelineParameter)pname, (Int32*)@params); + } + internal static Int32 Load_GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) + { + Delegates.glGetProgramResourceIndex = (Delegates.GetProgramResourceIndex)GetExtensionDelegateStatic("glGetProgramResourceIndex", typeof(Delegates.GetProgramResourceIndex)); + return Delegates.glGetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); + } + internal static unsafe void Load_GetProgramResourceiv(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) + { + Delegates.glGetProgramResourceiv = (Delegates.GetProgramResourceiv)GetExtensionDelegateStatic("glGetProgramResourceiv", typeof(Delegates.GetProgramResourceiv)); + Delegates.glGetProgramResourceiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.OpenGL4.ProgramProperty*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); + } + internal static Int32 Load_GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) + { + Delegates.glGetProgramResourceLocation = (Delegates.GetProgramResourceLocation)GetExtensionDelegateStatic("glGetProgramResourceLocation", typeof(Delegates.GetProgramResourceLocation)); + return Delegates.glGetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); + } + internal static Int32 Load_GetProgramResourceLocationIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, String name) + { + Delegates.glGetProgramResourceLocationIndex = (Delegates.GetProgramResourceLocationIndex)GetExtensionDelegateStatic("glGetProgramResourceLocationIndex", typeof(Delegates.GetProgramResourceLocationIndex)); + return Delegates.glGetProgramResourceLocationIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (String)name); + } + internal static unsafe void Load_GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + Delegates.glGetProgramResourceName = (Delegates.GetProgramResourceName)GetExtensionDelegateStatic("glGetProgramResourceName", typeof(Delegates.GetProgramResourceName)); + Delegates.glGetProgramResourceName((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramInterface)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); + } + internal static unsafe void Load_GetProgramStageiv(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ProgramStageParameter pname, [OutAttribute] Int32* values) + { + Delegates.glGetProgramStageiv = (Delegates.GetProgramStageiv)GetExtensionDelegateStatic("glGetProgramStageiv", typeof(Delegates.GetProgramStageiv)); + Delegates.glGetProgramStageiv((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ProgramStageParameter)pname, (Int32*)values); + } + internal static unsafe void Load_GetQueryIndexediv(OpenTK.Graphics.OpenGL4.QueryTarget target, UInt32 index, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryIndexediv = (Delegates.GetQueryIndexediv)GetExtensionDelegateStatic("glGetQueryIndexediv", typeof(Delegates.GetQueryIndexediv)); + Delegates.glGetQueryIndexediv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (UInt32)index, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryiv(OpenTK.Graphics.OpenGL4.QueryTarget target, OpenTK.Graphics.OpenGL4.GetQueryParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryiv = (Delegates.GetQueryiv)GetExtensionDelegateStatic("glGetQueryiv", typeof(Delegates.GetQueryiv)); + Delegates.glGetQueryiv((OpenTK.Graphics.OpenGL4.QueryTarget)target, (OpenTK.Graphics.OpenGL4.GetQueryParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjecti64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int64* @params) + { + Delegates.glGetQueryObjecti64v = (Delegates.GetQueryObjecti64v)GetExtensionDelegateStatic("glGetQueryObjecti64v", typeof(Delegates.GetQueryObjecti64v)); + Delegates.glGetQueryObjecti64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int64*)@params); + } + internal static unsafe void Load_GetQueryObjectiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] Int32* @params) + { + Delegates.glGetQueryObjectiv = (Delegates.GetQueryObjectiv)GetExtensionDelegateStatic("glGetQueryObjectiv", typeof(Delegates.GetQueryObjectiv)); + Delegates.glGetQueryObjectiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (Int32*)@params); + } + internal static unsafe void Load_GetQueryObjectui64v(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetQueryObjectui64v = (Delegates.GetQueryObjectui64v)GetExtensionDelegateStatic("glGetQueryObjectui64v", typeof(Delegates.GetQueryObjectui64v)); + Delegates.glGetQueryObjectui64v((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt64*)@params); + } + internal static unsafe void Load_GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.OpenGL4.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetQueryObjectuiv = (Delegates.GetQueryObjectuiv)GetExtensionDelegateStatic("glGetQueryObjectuiv", typeof(Delegates.GetQueryObjectuiv)); + Delegates.glGetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.OpenGL4.GetQueryObjectParam)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetRenderbufferParameteriv(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetRenderbufferParameteriv = (Delegates.GetRenderbufferParameteriv)GetExtensionDelegateStatic("glGetRenderbufferParameteriv", typeof(Delegates.GetRenderbufferParameteriv)); + Delegates.glGetRenderbufferParameteriv((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Single* @params) + { + Delegates.glGetSamplerParameterfv = (Delegates.GetSamplerParameterfv)GetExtensionDelegateStatic("glGetSamplerParameterfv", typeof(Delegates.GetSamplerParameterfv)); + Delegates.glGetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)@params); + } + internal static unsafe void Load_GetSamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] Int32* @params) + { + Delegates.glGetSamplerParameterIiv = (Delegates.GetSamplerParameterIiv)GetExtensionDelegateStatic("glGetSamplerParameterIiv", typeof(Delegates.GetSamplerParameterIiv)); + Delegates.glGetSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (Int32*)@params); + } + internal static unsafe void Load_GetSamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.All pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetSamplerParameterIuiv = (Delegates.GetSamplerParameterIuiv)GetExtensionDelegateStatic("glGetSamplerParameterIuiv", typeof(Delegates.GetSamplerParameterIuiv)); + Delegates.glGetSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.All)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, [OutAttribute] Int32* @params) + { + Delegates.glGetSamplerParameteriv = (Delegates.GetSamplerParameteriv)GetExtensionDelegateStatic("glGetSamplerParameteriv", typeof(Delegates.GetSamplerParameteriv)); + Delegates.glGetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)@params); + } + internal static void Load_GetSeparableFilter(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr row, [OutAttribute] IntPtr column, [OutAttribute] IntPtr span) + { + Delegates.glGetSeparableFilter = (Delegates.GetSeparableFilter)GetExtensionDelegateStatic("glGetSeparableFilter", typeof(Delegates.GetSeparableFilter)); + Delegates.glGetSeparableFilter((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row, (IntPtr)column, (IntPtr)span); + } + internal static unsafe void Load_GetShaderInfoLog(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + Delegates.glGetShaderInfoLog = (Delegates.GetShaderInfoLog)GetExtensionDelegateStatic("glGetShaderInfoLog", typeof(Delegates.GetShaderInfoLog)); + Delegates.glGetShaderInfoLog((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + } + internal static unsafe void Load_GetShaderiv(UInt32 shader, OpenTK.Graphics.OpenGL4.ShaderParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetShaderiv = (Delegates.GetShaderiv)GetExtensionDelegateStatic("glGetShaderiv", typeof(Delegates.GetShaderiv)); + Delegates.glGetShaderiv((UInt32)shader, (OpenTK.Graphics.OpenGL4.ShaderParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetShaderPrecisionFormat(OpenTK.Graphics.OpenGL4.ShaderType shadertype, OpenTK.Graphics.OpenGL4.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + Delegates.glGetShaderPrecisionFormat = (Delegates.GetShaderPrecisionFormat)GetExtensionDelegateStatic("glGetShaderPrecisionFormat", typeof(Delegates.GetShaderPrecisionFormat)); + Delegates.glGetShaderPrecisionFormat((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (OpenTK.Graphics.OpenGL4.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); + } + internal static unsafe void Load_GetShaderSource(UInt32 shader, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + Delegates.glGetShaderSource = (Delegates.GetShaderSource)GetExtensionDelegateStatic("glGetShaderSource", typeof(Delegates.GetShaderSource)); + Delegates.glGetShaderSource((UInt32)shader, (Int32)bufSize, (Int32*)length, (StringBuilder)source); + } + internal static IntPtr Load_GetString(OpenTK.Graphics.OpenGL4.StringName name) + { + Delegates.glGetString = (Delegates.GetString)GetExtensionDelegateStatic("glGetString", typeof(Delegates.GetString)); + return Delegates.glGetString((OpenTK.Graphics.OpenGL4.StringName)name); + } + internal static IntPtr Load_GetStringi(OpenTK.Graphics.OpenGL4.StringNameIndexed name, UInt32 index) + { + Delegates.glGetStringi = (Delegates.GetStringi)GetExtensionDelegateStatic("glGetStringi", typeof(Delegates.GetStringi)); + return Delegates.glGetStringi((OpenTK.Graphics.OpenGL4.StringNameIndexed)name, (UInt32)index); + } + internal static Int32 Load_GetSubroutineIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) + { + Delegates.glGetSubroutineIndex = (Delegates.GetSubroutineIndex)GetExtensionDelegateStatic("glGetSubroutineIndex", typeof(Delegates.GetSubroutineIndex)); + return Delegates.glGetSubroutineIndex((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); + } + internal static Int32 Load_GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name) + { + Delegates.glGetSubroutineUniformLocation = (Delegates.GetSubroutineUniformLocation)GetExtensionDelegateStatic("glGetSubroutineUniformLocation", typeof(Delegates.GetSubroutineUniformLocation)); + return Delegates.glGetSubroutineUniformLocation((UInt32)program, (OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (String)name); + } + internal static unsafe void Load_GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + Delegates.glGetSynciv = (Delegates.GetSynciv)GetExtensionDelegateStatic("glGetSynciv", typeof(Delegates.GetSynciv)); + Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + } + internal static void Load_GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glGetTexImage = (Delegates.GetTexImage)GetExtensionDelegateStatic("glGetTexImage", typeof(Delegates.GetTexImage)); + Delegates.glGetTexImage((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static unsafe void Load_GetTexLevelParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexLevelParameterfv = (Delegates.GetTexLevelParameterfv)GetExtensionDelegateStatic("glGetTexLevelParameterfv", typeof(Delegates.GetTexLevelParameterfv)); + Delegates.glGetTexLevelParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexLevelParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexLevelParameteriv = (Delegates.GetTexLevelParameteriv)GetExtensionDelegateStatic("glGetTexLevelParameteriv", typeof(Delegates.GetTexLevelParameteriv)); + Delegates.glGetTexLevelParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetTexParameterfv = (Delegates.GetTexParameterfv)GetExtensionDelegateStatic("glGetTexParameterfv", typeof(Delegates.GetTexParameterfv)); + Delegates.glGetTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetTexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameterIiv = (Delegates.GetTexParameterIiv)GetExtensionDelegateStatic("glGetTexParameterIiv", typeof(Delegates.GetTexParameterIiv)); + Delegates.glGetTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetTexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetTexParameterIuiv = (Delegates.GetTexParameterIuiv)GetExtensionDelegateStatic("glGetTexParameterIuiv", typeof(Delegates.GetTexParameterIuiv)); + Delegates.glGetTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetTexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetTexParameteriv = (Delegates.GetTexParameteriv)GetExtensionDelegateStatic("glGetTexParameteriv", typeof(Delegates.GetTexParameteriv)); + Delegates.glGetTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.GetTextureParameter)pname, (Int32*)@params); + } + internal static Int64 Load_GetTextureHandleARB(UInt32 texture) + { + Delegates.glGetTextureHandleARB = (Delegates.GetTextureHandleARB)GetExtensionDelegateStatic("glGetTextureHandleARB", typeof(Delegates.GetTextureHandleARB)); + return Delegates.glGetTextureHandleARB((UInt32)texture); + } + internal static Int64 Load_GetTextureSamplerHandleARB(UInt32 texture, UInt32 sampler) + { + Delegates.glGetTextureSamplerHandleARB = (Delegates.GetTextureSamplerHandleARB)GetExtensionDelegateStatic("glGetTextureSamplerHandleARB", typeof(Delegates.GetTextureSamplerHandleARB)); + return Delegates.glGetTextureSamplerHandleARB((UInt32)texture, (UInt32)sampler); + } + internal static unsafe void Load_GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.OpenGL4.TransformFeedbackType* type, [OutAttribute] StringBuilder name) + { + Delegates.glGetTransformFeedbackVarying = (Delegates.GetTransformFeedbackVarying)GetExtensionDelegateStatic("glGetTransformFeedbackVarying", typeof(Delegates.GetTransformFeedbackVarying)); + Delegates.glGetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.OpenGL4.TransformFeedbackType*)type, (StringBuilder)name); + } + internal static Int32 Load_GetUniformBlockIndex(UInt32 program, String uniformBlockName) + { + Delegates.glGetUniformBlockIndex = (Delegates.GetUniformBlockIndex)GetExtensionDelegateStatic("glGetUniformBlockIndex", typeof(Delegates.GetUniformBlockIndex)); + return Delegates.glGetUniformBlockIndex((UInt32)program, (String)uniformBlockName); + } + internal static unsafe void Load_GetUniformdv(UInt32 program, Int32 location, [OutAttribute] Double* @params) + { + Delegates.glGetUniformdv = (Delegates.GetUniformdv)GetExtensionDelegateStatic("glGetUniformdv", typeof(Delegates.GetUniformdv)); + Delegates.glGetUniformdv((UInt32)program, (Int32)location, (Double*)@params); + } + internal static unsafe void Load_GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params) + { + Delegates.glGetUniformfv = (Delegates.GetUniformfv)GetExtensionDelegateStatic("glGetUniformfv", typeof(Delegates.GetUniformfv)); + Delegates.glGetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + } + internal static unsafe void Load_GetUniformIndices(UInt32 program, Int32 uniformCount, String[] uniformNames, [OutAttribute] UInt32* uniformIndices) + { + Delegates.glGetUniformIndices = (Delegates.GetUniformIndices)GetExtensionDelegateStatic("glGetUniformIndices", typeof(Delegates.GetUniformIndices)); + Delegates.glGetUniformIndices((UInt32)program, (Int32)uniformCount, (String[])uniformNames, (UInt32*)uniformIndices); + } + internal static unsafe void Load_GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params) + { + Delegates.glGetUniformiv = (Delegates.GetUniformiv)GetExtensionDelegateStatic("glGetUniformiv", typeof(Delegates.GetUniformiv)); + Delegates.glGetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + } + internal static Int32 Load_GetUniformLocation(UInt32 program, String name) + { + Delegates.glGetUniformLocation = (Delegates.GetUniformLocation)GetExtensionDelegateStatic("glGetUniformLocation", typeof(Delegates.GetUniformLocation)); + return Delegates.glGetUniformLocation((UInt32)program, (String)name); + } + internal static unsafe void Load_GetUniformSubroutineuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 location, [OutAttribute] UInt32* @params) + { + Delegates.glGetUniformSubroutineuiv = (Delegates.GetUniformSubroutineuiv)GetExtensionDelegateStatic("glGetUniformSubroutineuiv", typeof(Delegates.GetUniformSubroutineuiv)); + Delegates.glGetUniformSubroutineuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)location, (UInt32*)@params); + } + internal static unsafe void Load_GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) + { + Delegates.glGetUniformuiv = (Delegates.GetUniformuiv)GetExtensionDelegateStatic("glGetUniformuiv", typeof(Delegates.GetUniformuiv)); + Delegates.glGetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); + } + internal static unsafe void Load_GetVertexAttribdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + Delegates.glGetVertexAttribdv = (Delegates.GetVertexAttribdv)GetExtensionDelegateStatic("glGetVertexAttribdv", typeof(Delegates.GetVertexAttribdv)); + Delegates.glGetVertexAttribdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); + } + internal static unsafe void Load_GetVertexAttribfv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + Delegates.glGetVertexAttribfv = (Delegates.GetVertexAttribfv)GetExtensionDelegateStatic("glGetVertexAttribfv", typeof(Delegates.GetVertexAttribfv)); + Delegates.glGetVertexAttribfv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Single*)@params); + } + internal static unsafe void Load_GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribIiv = (Delegates.GetVertexAttribIiv)GetExtensionDelegateStatic("glGetVertexAttribIiv", typeof(Delegates.GetVertexAttribIiv)); + Delegates.glGetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] UInt32* @params) + { + Delegates.glGetVertexAttribIuiv = (Delegates.GetVertexAttribIuiv)GetExtensionDelegateStatic("glGetVertexAttribIuiv", typeof(Delegates.GetVertexAttribIuiv)); + Delegates.glGetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (UInt32*)@params); + } + internal static unsafe void Load_GetVertexAttribiv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + Delegates.glGetVertexAttribiv = (Delegates.GetVertexAttribiv)GetExtensionDelegateStatic("glGetVertexAttribiv", typeof(Delegates.GetVertexAttribiv)); + Delegates.glGetVertexAttribiv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Int32*)@params); + } + internal static unsafe void Load_GetVertexAttribLdv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameter pname, [OutAttribute] Double* @params) + { + Delegates.glGetVertexAttribLdv = (Delegates.GetVertexAttribLdv)GetExtensionDelegateStatic("glGetVertexAttribLdv", typeof(Delegates.GetVertexAttribLdv)); + Delegates.glGetVertexAttribLdv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameter)pname, (Double*)@params); + } + internal static unsafe void Load_GetVertexAttribLui64vARB(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribParameterArb pname, [OutAttribute] UInt64* @params) + { + Delegates.glGetVertexAttribLui64vARB = (Delegates.GetVertexAttribLui64vARB)GetExtensionDelegateStatic("glGetVertexAttribLui64vARB", typeof(Delegates.GetVertexAttribLui64vARB)); + Delegates.glGetVertexAttribLui64vARB((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribParameterArb)pname, (UInt64*)@params); + } + internal static void Load_GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + Delegates.glGetVertexAttribPointerv = (Delegates.GetVertexAttribPointerv)GetExtensionDelegateStatic("glGetVertexAttribPointerv", typeof(Delegates.GetVertexAttribPointerv)); + Delegates.glGetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.OpenGL4.VertexAttribPointerParameter)pname, (IntPtr)pointer); + } + internal static void Load_Hint(OpenTK.Graphics.OpenGL4.HintTarget target, OpenTK.Graphics.OpenGL4.HintMode mode) + { + Delegates.glHint = (Delegates.Hint)GetExtensionDelegateStatic("glHint", typeof(Delegates.Hint)); + Delegates.glHint((OpenTK.Graphics.OpenGL4.HintTarget)target, (OpenTK.Graphics.OpenGL4.HintMode)mode); + } + internal static void Load_Histogram(OpenTK.Graphics.OpenGL4.HistogramTarget target, Int32 width, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) + { + Delegates.glHistogram = (Delegates.Histogram)GetExtensionDelegateStatic("glHistogram", typeof(Delegates.Histogram)); + Delegates.glHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink); + } + internal static void Load_InvalidateBufferData(UInt32 buffer) + { + Delegates.glInvalidateBufferData = (Delegates.InvalidateBufferData)GetExtensionDelegateStatic("glInvalidateBufferData", typeof(Delegates.InvalidateBufferData)); + Delegates.glInvalidateBufferData((UInt32)buffer); + } + internal static void Load_InvalidateBufferSubData(UInt32 buffer, IntPtr offset, IntPtr length) + { + Delegates.glInvalidateBufferSubData = (Delegates.InvalidateBufferSubData)GetExtensionDelegateStatic("glInvalidateBufferSubData", typeof(Delegates.InvalidateBufferSubData)); + Delegates.glInvalidateBufferSubData((UInt32)buffer, (IntPtr)offset, (IntPtr)length); + } + internal static unsafe void Load_InvalidateFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments) + { + Delegates.glInvalidateFramebuffer = (Delegates.InvalidateFramebuffer)GetExtensionDelegateStatic("glInvalidateFramebuffer", typeof(Delegates.InvalidateFramebuffer)); + Delegates.glInvalidateFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments); + } + internal static unsafe void Load_InvalidateSubFramebuffer(OpenTK.Graphics.OpenGL4.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.OpenGL4.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glInvalidateSubFramebuffer = (Delegates.InvalidateSubFramebuffer)GetExtensionDelegateStatic("glInvalidateSubFramebuffer", typeof(Delegates.InvalidateSubFramebuffer)); + Delegates.glInvalidateSubFramebuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.OpenGL4.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static void Load_InvalidateTexImage(UInt32 texture, Int32 level) + { + Delegates.glInvalidateTexImage = (Delegates.InvalidateTexImage)GetExtensionDelegateStatic("glInvalidateTexImage", typeof(Delegates.InvalidateTexImage)); + Delegates.glInvalidateTexImage((UInt32)texture, (Int32)level); + } + internal static void Load_InvalidateTexSubImage(UInt32 texture, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth) + { + Delegates.glInvalidateTexSubImage = (Delegates.InvalidateTexSubImage)GetExtensionDelegateStatic("glInvalidateTexSubImage", typeof(Delegates.InvalidateTexSubImage)); + Delegates.glInvalidateTexSubImage((UInt32)texture, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth); + } + internal static bool Load_IsBuffer(UInt32 buffer) + { + Delegates.glIsBuffer = (Delegates.IsBuffer)GetExtensionDelegateStatic("glIsBuffer", typeof(Delegates.IsBuffer)); + return Delegates.glIsBuffer((UInt32)buffer); + } + internal static bool Load_IsEnabled(OpenTK.Graphics.OpenGL4.EnableCap cap) + { + Delegates.glIsEnabled = (Delegates.IsEnabled)GetExtensionDelegateStatic("glIsEnabled", typeof(Delegates.IsEnabled)); + return Delegates.glIsEnabled((OpenTK.Graphics.OpenGL4.EnableCap)cap); + } + internal static bool Load_IsEnabledi(OpenTK.Graphics.OpenGL4.IndexedEnableCap target, UInt32 index) + { + Delegates.glIsEnabledi = (Delegates.IsEnabledi)GetExtensionDelegateStatic("glIsEnabledi", typeof(Delegates.IsEnabledi)); + return Delegates.glIsEnabledi((OpenTK.Graphics.OpenGL4.IndexedEnableCap)target, (UInt32)index); + } + internal static bool Load_IsFramebuffer(UInt32 framebuffer) + { + Delegates.glIsFramebuffer = (Delegates.IsFramebuffer)GetExtensionDelegateStatic("glIsFramebuffer", typeof(Delegates.IsFramebuffer)); + return Delegates.glIsFramebuffer((UInt32)framebuffer); + } + internal static bool Load_IsImageHandleResidentARB(UInt64 handle) + { + Delegates.glIsImageHandleResidentARB = (Delegates.IsImageHandleResidentARB)GetExtensionDelegateStatic("glIsImageHandleResidentARB", typeof(Delegates.IsImageHandleResidentARB)); + return Delegates.glIsImageHandleResidentARB((UInt64)handle); + } + internal static bool Load_IsNamedStringARB(Int32 namelen, String name) + { + Delegates.glIsNamedStringARB = (Delegates.IsNamedStringARB)GetExtensionDelegateStatic("glIsNamedStringARB", typeof(Delegates.IsNamedStringARB)); + return Delegates.glIsNamedStringARB((Int32)namelen, (String)name); + } + internal static bool Load_IsProgram(UInt32 program) + { + Delegates.glIsProgram = (Delegates.IsProgram)GetExtensionDelegateStatic("glIsProgram", typeof(Delegates.IsProgram)); + return Delegates.glIsProgram((UInt32)program); + } + internal static bool Load_IsProgramPipeline(UInt32 pipeline) + { + Delegates.glIsProgramPipeline = (Delegates.IsProgramPipeline)GetExtensionDelegateStatic("glIsProgramPipeline", typeof(Delegates.IsProgramPipeline)); + return Delegates.glIsProgramPipeline((UInt32)pipeline); + } + internal static bool Load_IsQuery(UInt32 id) + { + Delegates.glIsQuery = (Delegates.IsQuery)GetExtensionDelegateStatic("glIsQuery", typeof(Delegates.IsQuery)); + return Delegates.glIsQuery((UInt32)id); + } + internal static bool Load_IsRenderbuffer(UInt32 renderbuffer) + { + Delegates.glIsRenderbuffer = (Delegates.IsRenderbuffer)GetExtensionDelegateStatic("glIsRenderbuffer", typeof(Delegates.IsRenderbuffer)); + return Delegates.glIsRenderbuffer((UInt32)renderbuffer); + } + internal static bool Load_IsSampler(UInt32 sampler) + { + Delegates.glIsSampler = (Delegates.IsSampler)GetExtensionDelegateStatic("glIsSampler", typeof(Delegates.IsSampler)); + return Delegates.glIsSampler((UInt32)sampler); + } + internal static bool Load_IsShader(UInt32 shader) + { + Delegates.glIsShader = (Delegates.IsShader)GetExtensionDelegateStatic("glIsShader", typeof(Delegates.IsShader)); + return Delegates.glIsShader((UInt32)shader); + } + internal static bool Load_IsSync(IntPtr sync) + { + Delegates.glIsSync = (Delegates.IsSync)GetExtensionDelegateStatic("glIsSync", typeof(Delegates.IsSync)); + return Delegates.glIsSync((IntPtr)sync); + } + internal static bool Load_IsTexture(UInt32 texture) + { + Delegates.glIsTexture = (Delegates.IsTexture)GetExtensionDelegateStatic("glIsTexture", typeof(Delegates.IsTexture)); + return Delegates.glIsTexture((UInt32)texture); + } + internal static bool Load_IsTextureHandleResidentARB(UInt64 handle) + { + Delegates.glIsTextureHandleResidentARB = (Delegates.IsTextureHandleResidentARB)GetExtensionDelegateStatic("glIsTextureHandleResidentARB", typeof(Delegates.IsTextureHandleResidentARB)); + return Delegates.glIsTextureHandleResidentARB((UInt64)handle); + } + internal static bool Load_IsTransformFeedback(UInt32 id) + { + Delegates.glIsTransformFeedback = (Delegates.IsTransformFeedback)GetExtensionDelegateStatic("glIsTransformFeedback", typeof(Delegates.IsTransformFeedback)); + return Delegates.glIsTransformFeedback((UInt32)id); + } + internal static bool Load_IsVertexArray(UInt32 array) + { + Delegates.glIsVertexArray = (Delegates.IsVertexArray)GetExtensionDelegateStatic("glIsVertexArray", typeof(Delegates.IsVertexArray)); + return Delegates.glIsVertexArray((UInt32)array); + } + internal static void Load_LineWidth(Single width) + { + Delegates.glLineWidth = (Delegates.LineWidth)GetExtensionDelegateStatic("glLineWidth", typeof(Delegates.LineWidth)); + Delegates.glLineWidth((Single)width); + } + internal static void Load_LinkProgram(UInt32 program) + { + Delegates.glLinkProgram = (Delegates.LinkProgram)GetExtensionDelegateStatic("glLinkProgram", typeof(Delegates.LinkProgram)); + Delegates.glLinkProgram((UInt32)program); + } + internal static void Load_LogicOp(OpenTK.Graphics.OpenGL4.LogicOp opcode) + { + Delegates.glLogicOp = (Delegates.LogicOp)GetExtensionDelegateStatic("glLogicOp", typeof(Delegates.LogicOp)); + Delegates.glLogicOp((OpenTK.Graphics.OpenGL4.LogicOp)opcode); + } + internal static void Load_MakeImageHandleNonResidentARB(UInt64 handle) + { + Delegates.glMakeImageHandleNonResidentARB = (Delegates.MakeImageHandleNonResidentARB)GetExtensionDelegateStatic("glMakeImageHandleNonResidentARB", typeof(Delegates.MakeImageHandleNonResidentARB)); + Delegates.glMakeImageHandleNonResidentARB((UInt64)handle); + } + internal static void Load_MakeImageHandleResidentARB(UInt64 handle, OpenTK.Graphics.OpenGL4.All access) + { + Delegates.glMakeImageHandleResidentARB = (Delegates.MakeImageHandleResidentARB)GetExtensionDelegateStatic("glMakeImageHandleResidentARB", typeof(Delegates.MakeImageHandleResidentARB)); + Delegates.glMakeImageHandleResidentARB((UInt64)handle, (OpenTK.Graphics.OpenGL4.All)access); + } + internal static void Load_MakeTextureHandleNonResidentARB(UInt64 handle) + { + Delegates.glMakeTextureHandleNonResidentARB = (Delegates.MakeTextureHandleNonResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleNonResidentARB", typeof(Delegates.MakeTextureHandleNonResidentARB)); + Delegates.glMakeTextureHandleNonResidentARB((UInt64)handle); + } + internal static void Load_MakeTextureHandleResidentARB(UInt64 handle) + { + Delegates.glMakeTextureHandleResidentARB = (Delegates.MakeTextureHandleResidentARB)GetExtensionDelegateStatic("glMakeTextureHandleResidentARB", typeof(Delegates.MakeTextureHandleResidentARB)); + Delegates.glMakeTextureHandleResidentARB((UInt64)handle); + } + internal static IntPtr Load_MapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target, OpenTK.Graphics.OpenGL4.BufferAccess access) + { + Delegates.glMapBuffer = (Delegates.MapBuffer)GetExtensionDelegateStatic("glMapBuffer", typeof(Delegates.MapBuffer)); + return Delegates.glMapBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target, (OpenTK.Graphics.OpenGL4.BufferAccess)access); + } + internal static IntPtr Load_MapBufferRange(OpenTK.Graphics.OpenGL4.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.OpenGL4.BufferAccessMask access) + { + Delegates.glMapBufferRange = (Delegates.MapBufferRange)GetExtensionDelegateStatic("glMapBufferRange", typeof(Delegates.MapBufferRange)); + return Delegates.glMapBufferRange((OpenTK.Graphics.OpenGL4.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.OpenGL4.BufferAccessMask)access); + } + internal static void Load_MemoryBarrier(OpenTK.Graphics.OpenGL4.MemoryBarrierFlags barriers) + { + Delegates.glMemoryBarrier = (Delegates.MemoryBarrier)GetExtensionDelegateStatic("glMemoryBarrier", typeof(Delegates.MemoryBarrier)); + Delegates.glMemoryBarrier((OpenTK.Graphics.OpenGL4.MemoryBarrierFlags)barriers); + } + internal static void Load_Minmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, bool sink) + { + Delegates.glMinmax = (Delegates.Minmax)GetExtensionDelegateStatic("glMinmax", typeof(Delegates.Minmax)); + Delegates.glMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (bool)sink); + } + internal static void Load_MinSampleShading(Single value) + { + Delegates.glMinSampleShading = (Delegates.MinSampleShading)GetExtensionDelegateStatic("glMinSampleShading", typeof(Delegates.MinSampleShading)); + Delegates.glMinSampleShading((Single)value); + } + internal static void Load_MinSampleShadingARB(Single value) + { + Delegates.glMinSampleShadingARB = (Delegates.MinSampleShadingARB)GetExtensionDelegateStatic("glMinSampleShadingARB", typeof(Delegates.MinSampleShadingARB)); + Delegates.glMinSampleShadingARB((Single)value); + } + internal static unsafe void Load_MultiDrawArrays(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount) + { + Delegates.glMultiDrawArrays = (Delegates.MultiDrawArrays)GetExtensionDelegateStatic("glMultiDrawArrays", typeof(Delegates.MultiDrawArrays)); + Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount); + } + internal static void Load_MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL4.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) + { + Delegates.glMultiDrawArraysIndirect = (Delegates.MultiDrawArraysIndirect)GetExtensionDelegateStatic("glMultiDrawArraysIndirect", typeof(Delegates.MultiDrawArraysIndirect)); + Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); + } + internal static void Load_MultiDrawArraysIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) + { + Delegates.glMultiDrawArraysIndirectCountARB = (Delegates.MultiDrawArraysIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawArraysIndirectCountARB", typeof(Delegates.MultiDrawArraysIndirectCountARB)); + Delegates.glMultiDrawArraysIndirectCountARB((OpenTK.Graphics.OpenGL4.All)mode, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); + } + internal static unsafe void Load_MultiDrawElements(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount) + { + Delegates.glMultiDrawElements = (Delegates.MultiDrawElements)GetExtensionDelegateStatic("glMultiDrawElements", typeof(Delegates.MultiDrawElements)); + Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount); + } + internal static unsafe void Load_MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL4.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL4.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) + { + Delegates.glMultiDrawElementsBaseVertex = (Delegates.MultiDrawElementsBaseVertex)GetExtensionDelegateStatic("glMultiDrawElementsBaseVertex", typeof(Delegates.MultiDrawElementsBaseVertex)); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL4.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL4.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); + } + internal static void Load_MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, Int32 drawcount, Int32 stride) + { + Delegates.glMultiDrawElementsIndirect = (Delegates.MultiDrawElementsIndirect)GetExtensionDelegateStatic("glMultiDrawElementsIndirect", typeof(Delegates.MultiDrawElementsIndirect)); + Delegates.glMultiDrawElementsIndirect((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); + } + internal static void Load_MultiDrawElementsIndirectCountARB(OpenTK.Graphics.OpenGL4.All mode, OpenTK.Graphics.OpenGL4.All type, IntPtr indirect, IntPtr drawcount, Int32 maxdrawcount, Int32 stride) + { + Delegates.glMultiDrawElementsIndirectCountARB = (Delegates.MultiDrawElementsIndirectCountARB)GetExtensionDelegateStatic("glMultiDrawElementsIndirectCountARB", typeof(Delegates.MultiDrawElementsIndirectCountARB)); + Delegates.glMultiDrawElementsIndirectCountARB((OpenTK.Graphics.OpenGL4.All)mode, (OpenTK.Graphics.OpenGL4.All)type, (IntPtr)indirect, (IntPtr)drawcount, (Int32)maxdrawcount, (Int32)stride); + } + internal static void Load_MultiTexCoordP1ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP1ui = (Delegates.MultiTexCoordP1ui)GetExtensionDelegateStatic("glMultiTexCoordP1ui", typeof(Delegates.MultiTexCoordP1ui)); + Delegates.glMultiTexCoordP1ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP1uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP1uiv = (Delegates.MultiTexCoordP1uiv)GetExtensionDelegateStatic("glMultiTexCoordP1uiv", typeof(Delegates.MultiTexCoordP1uiv)); + Delegates.glMultiTexCoordP1uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_MultiTexCoordP2ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP2ui = (Delegates.MultiTexCoordP2ui)GetExtensionDelegateStatic("glMultiTexCoordP2ui", typeof(Delegates.MultiTexCoordP2ui)); + Delegates.glMultiTexCoordP2ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP2uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP2uiv = (Delegates.MultiTexCoordP2uiv)GetExtensionDelegateStatic("glMultiTexCoordP2uiv", typeof(Delegates.MultiTexCoordP2uiv)); + Delegates.glMultiTexCoordP2uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_MultiTexCoordP3ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP3ui = (Delegates.MultiTexCoordP3ui)GetExtensionDelegateStatic("glMultiTexCoordP3ui", typeof(Delegates.MultiTexCoordP3ui)); + Delegates.glMultiTexCoordP3ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP3uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP3uiv = (Delegates.MultiTexCoordP3uiv)GetExtensionDelegateStatic("glMultiTexCoordP3uiv", typeof(Delegates.MultiTexCoordP3uiv)); + Delegates.glMultiTexCoordP3uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_MultiTexCoordP4ui(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glMultiTexCoordP4ui = (Delegates.MultiTexCoordP4ui)GetExtensionDelegateStatic("glMultiTexCoordP4ui", typeof(Delegates.MultiTexCoordP4ui)); + Delegates.glMultiTexCoordP4ui((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_MultiTexCoordP4uiv(OpenTK.Graphics.OpenGL4.TextureUnit texture, OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glMultiTexCoordP4uiv = (Delegates.MultiTexCoordP4uiv)GetExtensionDelegateStatic("glMultiTexCoordP4uiv", typeof(Delegates.MultiTexCoordP4uiv)); + Delegates.glMultiTexCoordP4uiv((OpenTK.Graphics.OpenGL4.TextureUnit)texture, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_NamedStringARB(OpenTK.Graphics.OpenGL4.All type, Int32 namelen, String name, Int32 stringlen, String @string) + { + Delegates.glNamedStringARB = (Delegates.NamedStringARB)GetExtensionDelegateStatic("glNamedStringARB", typeof(Delegates.NamedStringARB)); + Delegates.glNamedStringARB((OpenTK.Graphics.OpenGL4.All)type, (Int32)namelen, (String)name, (Int32)stringlen, (String)@string); + } + internal static void Load_NormalP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glNormalP3ui = (Delegates.NormalP3ui)GetExtensionDelegateStatic("glNormalP3ui", typeof(Delegates.NormalP3ui)); + Delegates.glNormalP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_NormalP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glNormalP3uiv = (Delegates.NormalP3uiv)GetExtensionDelegateStatic("glNormalP3uiv", typeof(Delegates.NormalP3uiv)); + Delegates.glNormalP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_ObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabel = (Delegates.ObjectLabel)GetExtensionDelegateStatic("glObjectLabel", typeof(Delegates.ObjectLabel)); + Delegates.glObjectLabel((OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectLabelKHR(OpenTK.Graphics.OpenGL4.All identifier, UInt32 name, Int32 length, String label) + { + Delegates.glObjectLabelKHR = (Delegates.ObjectLabelKHR)GetExtensionDelegateStatic("glObjectLabelKHR", typeof(Delegates.ObjectLabelKHR)); + Delegates.glObjectLabelKHR((OpenTK.Graphics.OpenGL4.All)identifier, (UInt32)name, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabel(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabel = (Delegates.ObjectPtrLabel)GetExtensionDelegateStatic("glObjectPtrLabel", typeof(Delegates.ObjectPtrLabel)); + Delegates.glObjectPtrLabel((IntPtr)ptr, (Int32)length, (String)label); + } + internal static void Load_ObjectPtrLabelKHR(IntPtr ptr, Int32 length, String label) + { + Delegates.glObjectPtrLabelKHR = (Delegates.ObjectPtrLabelKHR)GetExtensionDelegateStatic("glObjectPtrLabelKHR", typeof(Delegates.ObjectPtrLabelKHR)); + Delegates.glObjectPtrLabelKHR((IntPtr)ptr, (Int32)length, (String)label); + } + internal static unsafe void Load_PatchParameterfv(OpenTK.Graphics.OpenGL4.PatchParameterFloat pname, Single* values) + { + Delegates.glPatchParameterfv = (Delegates.PatchParameterfv)GetExtensionDelegateStatic("glPatchParameterfv", typeof(Delegates.PatchParameterfv)); + Delegates.glPatchParameterfv((OpenTK.Graphics.OpenGL4.PatchParameterFloat)pname, (Single*)values); + } + internal static void Load_PatchParameteri(OpenTK.Graphics.OpenGL4.PatchParameterInt pname, Int32 value) + { + Delegates.glPatchParameteri = (Delegates.PatchParameteri)GetExtensionDelegateStatic("glPatchParameteri", typeof(Delegates.PatchParameteri)); + Delegates.glPatchParameteri((OpenTK.Graphics.OpenGL4.PatchParameterInt)pname, (Int32)value); + } + internal static void Load_PauseTransformFeedback() + { + Delegates.glPauseTransformFeedback = (Delegates.PauseTransformFeedback)GetExtensionDelegateStatic("glPauseTransformFeedback", typeof(Delegates.PauseTransformFeedback)); + Delegates.glPauseTransformFeedback(); + } + internal static void Load_PixelStoref(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Single param) + { + Delegates.glPixelStoref = (Delegates.PixelStoref)GetExtensionDelegateStatic("glPixelStoref", typeof(Delegates.PixelStoref)); + Delegates.glPixelStoref((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Single)param); + } + internal static void Load_PixelStorei(OpenTK.Graphics.OpenGL4.PixelStoreParameter pname, Int32 param) + { + Delegates.glPixelStorei = (Delegates.PixelStorei)GetExtensionDelegateStatic("glPixelStorei", typeof(Delegates.PixelStorei)); + Delegates.glPixelStorei((OpenTK.Graphics.OpenGL4.PixelStoreParameter)pname, (Int32)param); + } + internal static void Load_PointParameterf(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single param) + { + Delegates.glPointParameterf = (Delegates.PointParameterf)GetExtensionDelegateStatic("glPointParameterf", typeof(Delegates.PointParameterf)); + Delegates.glPointParameterf((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single)param); + } + internal static unsafe void Load_PointParameterfv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Single* @params) + { + Delegates.glPointParameterfv = (Delegates.PointParameterfv)GetExtensionDelegateStatic("glPointParameterfv", typeof(Delegates.PointParameterfv)); + Delegates.glPointParameterfv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Single*)@params); + } + internal static void Load_PointParameteri(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32 param) + { + Delegates.glPointParameteri = (Delegates.PointParameteri)GetExtensionDelegateStatic("glPointParameteri", typeof(Delegates.PointParameteri)); + Delegates.glPointParameteri((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32)param); + } + internal static unsafe void Load_PointParameteriv(OpenTK.Graphics.OpenGL4.PointParameterName pname, Int32* @params) + { + Delegates.glPointParameteriv = (Delegates.PointParameteriv)GetExtensionDelegateStatic("glPointParameteriv", typeof(Delegates.PointParameteriv)); + Delegates.glPointParameteriv((OpenTK.Graphics.OpenGL4.PointParameterName)pname, (Int32*)@params); + } + internal static void Load_PointSize(Single size) + { + Delegates.glPointSize = (Delegates.PointSize)GetExtensionDelegateStatic("glPointSize", typeof(Delegates.PointSize)); + Delegates.glPointSize((Single)size); + } + internal static void Load_PolygonMode(OpenTK.Graphics.OpenGL4.MaterialFace face, OpenTK.Graphics.OpenGL4.PolygonMode mode) + { + Delegates.glPolygonMode = (Delegates.PolygonMode)GetExtensionDelegateStatic("glPolygonMode", typeof(Delegates.PolygonMode)); + Delegates.glPolygonMode((OpenTK.Graphics.OpenGL4.MaterialFace)face, (OpenTK.Graphics.OpenGL4.PolygonMode)mode); + } + internal static void Load_PolygonOffset(Single factor, Single units) + { + Delegates.glPolygonOffset = (Delegates.PolygonOffset)GetExtensionDelegateStatic("glPolygonOffset", typeof(Delegates.PolygonOffset)); + Delegates.glPolygonOffset((Single)factor, (Single)units); + } + internal static void Load_PopDebugGroup() + { + Delegates.glPopDebugGroup = (Delegates.PopDebugGroup)GetExtensionDelegateStatic("glPopDebugGroup", typeof(Delegates.PopDebugGroup)); + Delegates.glPopDebugGroup(); + } + internal static void Load_PopDebugGroupKHR() + { + Delegates.glPopDebugGroupKHR = (Delegates.PopDebugGroupKHR)GetExtensionDelegateStatic("glPopDebugGroupKHR", typeof(Delegates.PopDebugGroupKHR)); + Delegates.glPopDebugGroupKHR(); + } + internal static void Load_PrimitiveRestartIndex(UInt32 index) + { + Delegates.glPrimitiveRestartIndex = (Delegates.PrimitiveRestartIndex)GetExtensionDelegateStatic("glPrimitiveRestartIndex", typeof(Delegates.PrimitiveRestartIndex)); + Delegates.glPrimitiveRestartIndex((UInt32)index); + } + internal static void Load_ProgramBinary(UInt32 program, OpenTK.Graphics.OpenGL4.BinaryFormat binaryFormat, IntPtr binary, Int32 length) + { + Delegates.glProgramBinary = (Delegates.ProgramBinary)GetExtensionDelegateStatic("glProgramBinary", typeof(Delegates.ProgramBinary)); + Delegates.glProgramBinary((UInt32)program, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryFormat, (IntPtr)binary, (Int32)length); + } + internal static void Load_ProgramParameteri(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramParameterName pname, Int32 value) + { + Delegates.glProgramParameteri = (Delegates.ProgramParameteri)GetExtensionDelegateStatic("glProgramParameteri", typeof(Delegates.ProgramParameteri)); + Delegates.glProgramParameteri((UInt32)program, (OpenTK.Graphics.OpenGL4.ProgramParameterName)pname, (Int32)value); + } + internal static void Load_ProgramUniform1d(UInt32 program, Int32 location, Double v0) + { + Delegates.glProgramUniform1d = (Delegates.ProgramUniform1d)GetExtensionDelegateStatic("glProgramUniform1d", typeof(Delegates.ProgramUniform1d)); + Delegates.glProgramUniform1d((UInt32)program, (Int32)location, (Double)v0); + } + internal static unsafe void Load_ProgramUniform1dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform1dv = (Delegates.ProgramUniform1dv)GetExtensionDelegateStatic("glProgramUniform1dv", typeof(Delegates.ProgramUniform1dv)); + Delegates.glProgramUniform1dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform1f(UInt32 program, Int32 location, Single v0) + { + Delegates.glProgramUniform1f = (Delegates.ProgramUniform1f)GetExtensionDelegateStatic("glProgramUniform1f", typeof(Delegates.ProgramUniform1f)); + Delegates.glProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); + } + internal static unsafe void Load_ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform1fv = (Delegates.ProgramUniform1fv)GetExtensionDelegateStatic("glProgramUniform1fv", typeof(Delegates.ProgramUniform1fv)); + Delegates.glProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform1i(UInt32 program, Int32 location, Int32 v0) + { + Delegates.glProgramUniform1i = (Delegates.ProgramUniform1i)GetExtensionDelegateStatic("glProgramUniform1i", typeof(Delegates.ProgramUniform1i)); + Delegates.glProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); + } + internal static unsafe void Load_ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform1iv = (Delegates.ProgramUniform1iv)GetExtensionDelegateStatic("glProgramUniform1iv", typeof(Delegates.ProgramUniform1iv)); + Delegates.glProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0) + { + Delegates.glProgramUniform1ui = (Delegates.ProgramUniform1ui)GetExtensionDelegateStatic("glProgramUniform1ui", typeof(Delegates.ProgramUniform1ui)); + Delegates.glProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); + } + internal static unsafe void Load_ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform1uiv = (Delegates.ProgramUniform1uiv)GetExtensionDelegateStatic("glProgramUniform1uiv", typeof(Delegates.ProgramUniform1uiv)); + Delegates.glProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform2d(UInt32 program, Int32 location, Double v0, Double v1) + { + Delegates.glProgramUniform2d = (Delegates.ProgramUniform2d)GetExtensionDelegateStatic("glProgramUniform2d", typeof(Delegates.ProgramUniform2d)); + Delegates.glProgramUniform2d((UInt32)program, (Int32)location, (Double)v0, (Double)v1); + } + internal static unsafe void Load_ProgramUniform2dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform2dv = (Delegates.ProgramUniform2dv)GetExtensionDelegateStatic("glProgramUniform2dv", typeof(Delegates.ProgramUniform2dv)); + Delegates.glProgramUniform2dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1) + { + Delegates.glProgramUniform2f = (Delegates.ProgramUniform2f)GetExtensionDelegateStatic("glProgramUniform2f", typeof(Delegates.ProgramUniform2f)); + Delegates.glProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform2fv = (Delegates.ProgramUniform2fv)GetExtensionDelegateStatic("glProgramUniform2fv", typeof(Delegates.ProgramUniform2fv)); + Delegates.glProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + Delegates.glProgramUniform2i = (Delegates.ProgramUniform2i)GetExtensionDelegateStatic("glProgramUniform2i", typeof(Delegates.ProgramUniform2i)); + Delegates.glProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform2iv = (Delegates.ProgramUniform2iv)GetExtensionDelegateStatic("glProgramUniform2iv", typeof(Delegates.ProgramUniform2iv)); + Delegates.glProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glProgramUniform2ui = (Delegates.ProgramUniform2ui)GetExtensionDelegateStatic("glProgramUniform2ui", typeof(Delegates.ProgramUniform2ui)); + Delegates.glProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static unsafe void Load_ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform2uiv = (Delegates.ProgramUniform2uiv)GetExtensionDelegateStatic("glProgramUniform2uiv", typeof(Delegates.ProgramUniform2uiv)); + Delegates.glProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform3d(UInt32 program, Int32 location, Double v0, Double v1, Double v2) + { + Delegates.glProgramUniform3d = (Delegates.ProgramUniform3d)GetExtensionDelegateStatic("glProgramUniform3d", typeof(Delegates.ProgramUniform3d)); + Delegates.glProgramUniform3d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2); + } + internal static unsafe void Load_ProgramUniform3dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform3dv = (Delegates.ProgramUniform3dv)GetExtensionDelegateStatic("glProgramUniform3dv", typeof(Delegates.ProgramUniform3dv)); + Delegates.glProgramUniform3dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glProgramUniform3f = (Delegates.ProgramUniform3f)GetExtensionDelegateStatic("glProgramUniform3f", typeof(Delegates.ProgramUniform3f)); + Delegates.glProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform3fv = (Delegates.ProgramUniform3fv)GetExtensionDelegateStatic("glProgramUniform3fv", typeof(Delegates.ProgramUniform3fv)); + Delegates.glProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glProgramUniform3i = (Delegates.ProgramUniform3i)GetExtensionDelegateStatic("glProgramUniform3i", typeof(Delegates.ProgramUniform3i)); + Delegates.glProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform3iv = (Delegates.ProgramUniform3iv)GetExtensionDelegateStatic("glProgramUniform3iv", typeof(Delegates.ProgramUniform3iv)); + Delegates.glProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glProgramUniform3ui = (Delegates.ProgramUniform3ui)GetExtensionDelegateStatic("glProgramUniform3ui", typeof(Delegates.ProgramUniform3ui)); + Delegates.glProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static unsafe void Load_ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform3uiv = (Delegates.ProgramUniform3uiv)GetExtensionDelegateStatic("glProgramUniform3uiv", typeof(Delegates.ProgramUniform3uiv)); + Delegates.glProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniform4d(UInt32 program, Int32 location, Double v0, Double v1, Double v2, Double v3) + { + Delegates.glProgramUniform4d = (Delegates.ProgramUniform4d)GetExtensionDelegateStatic("glProgramUniform4d", typeof(Delegates.ProgramUniform4d)); + Delegates.glProgramUniform4d((UInt32)program, (Int32)location, (Double)v0, (Double)v1, (Double)v2, (Double)v3); + } + internal static unsafe void Load_ProgramUniform4dv(UInt32 program, Int32 location, Int32 count, Double* value) + { + Delegates.glProgramUniform4dv = (Delegates.ProgramUniform4dv)GetExtensionDelegateStatic("glProgramUniform4dv", typeof(Delegates.ProgramUniform4dv)); + Delegates.glProgramUniform4dv((UInt32)program, (Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glProgramUniform4f = (Delegates.ProgramUniform4f)GetExtensionDelegateStatic("glProgramUniform4f", typeof(Delegates.ProgramUniform4f)); + Delegates.glProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value) + { + Delegates.glProgramUniform4fv = (Delegates.ProgramUniform4fv)GetExtensionDelegateStatic("glProgramUniform4fv", typeof(Delegates.ProgramUniform4fv)); + Delegates.glProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glProgramUniform4i = (Delegates.ProgramUniform4i)GetExtensionDelegateStatic("glProgramUniform4i", typeof(Delegates.ProgramUniform4i)); + Delegates.glProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value) + { + Delegates.glProgramUniform4iv = (Delegates.ProgramUniform4iv)GetExtensionDelegateStatic("glProgramUniform4iv", typeof(Delegates.ProgramUniform4iv)); + Delegates.glProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glProgramUniform4ui = (Delegates.ProgramUniform4ui)GetExtensionDelegateStatic("glProgramUniform4ui", typeof(Delegates.ProgramUniform4ui)); + Delegates.glProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static unsafe void Load_ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + Delegates.glProgramUniform4uiv = (Delegates.ProgramUniform4uiv)GetExtensionDelegateStatic("glProgramUniform4uiv", typeof(Delegates.ProgramUniform4uiv)); + Delegates.glProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_ProgramUniformHandleui64ARB(UInt32 program, Int32 location, UInt64 value) + { + Delegates.glProgramUniformHandleui64ARB = (Delegates.ProgramUniformHandleui64ARB)GetExtensionDelegateStatic("glProgramUniformHandleui64ARB", typeof(Delegates.ProgramUniformHandleui64ARB)); + Delegates.glProgramUniformHandleui64ARB((UInt32)program, (Int32)location, (UInt64)value); + } + internal static unsafe void Load_ProgramUniformHandleui64vARB(UInt32 program, Int32 location, Int32 count, UInt64* values) + { + Delegates.glProgramUniformHandleui64vARB = (Delegates.ProgramUniformHandleui64vARB)GetExtensionDelegateStatic("glProgramUniformHandleui64vARB", typeof(Delegates.ProgramUniformHandleui64vARB)); + Delegates.glProgramUniformHandleui64vARB((UInt32)program, (Int32)location, (Int32)count, (UInt64*)values); + } + internal static unsafe void Load_ProgramUniformMatrix2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2dv = (Delegates.ProgramUniformMatrix2dv)GetExtensionDelegateStatic("glProgramUniformMatrix2dv", typeof(Delegates.ProgramUniformMatrix2dv)); + Delegates.glProgramUniformMatrix2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2fv = (Delegates.ProgramUniformMatrix2fv)GetExtensionDelegateStatic("glProgramUniformMatrix2fv", typeof(Delegates.ProgramUniformMatrix2fv)); + Delegates.glProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2x3dv = (Delegates.ProgramUniformMatrix2x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3dv", typeof(Delegates.ProgramUniformMatrix2x3dv)); + Delegates.glProgramUniformMatrix2x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x3fv = (Delegates.ProgramUniformMatrix2x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x3fv", typeof(Delegates.ProgramUniformMatrix2x3fv)); + Delegates.glProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix2x4dv = (Delegates.ProgramUniformMatrix2x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4dv", typeof(Delegates.ProgramUniformMatrix2x4dv)); + Delegates.glProgramUniformMatrix2x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix2x4fv = (Delegates.ProgramUniformMatrix2x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix2x4fv", typeof(Delegates.ProgramUniformMatrix2x4fv)); + Delegates.glProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3dv = (Delegates.ProgramUniformMatrix3dv)GetExtensionDelegateStatic("glProgramUniformMatrix3dv", typeof(Delegates.ProgramUniformMatrix3dv)); + Delegates.glProgramUniformMatrix3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3fv = (Delegates.ProgramUniformMatrix3fv)GetExtensionDelegateStatic("glProgramUniformMatrix3fv", typeof(Delegates.ProgramUniformMatrix3fv)); + Delegates.glProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3x2dv = (Delegates.ProgramUniformMatrix3x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2dv", typeof(Delegates.ProgramUniformMatrix3x2dv)); + Delegates.glProgramUniformMatrix3x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x2fv = (Delegates.ProgramUniformMatrix3x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x2fv", typeof(Delegates.ProgramUniformMatrix3x2fv)); + Delegates.glProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix3x4dv = (Delegates.ProgramUniformMatrix3x4dv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4dv", typeof(Delegates.ProgramUniformMatrix3x4dv)); + Delegates.glProgramUniformMatrix3x4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix3x4fv = (Delegates.ProgramUniformMatrix3x4fv)GetExtensionDelegateStatic("glProgramUniformMatrix3x4fv", typeof(Delegates.ProgramUniformMatrix3x4fv)); + Delegates.glProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4dv = (Delegates.ProgramUniformMatrix4dv)GetExtensionDelegateStatic("glProgramUniformMatrix4dv", typeof(Delegates.ProgramUniformMatrix4dv)); + Delegates.glProgramUniformMatrix4dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4fv = (Delegates.ProgramUniformMatrix4fv)GetExtensionDelegateStatic("glProgramUniformMatrix4fv", typeof(Delegates.ProgramUniformMatrix4fv)); + Delegates.glProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4x2dv = (Delegates.ProgramUniformMatrix4x2dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2dv", typeof(Delegates.ProgramUniformMatrix4x2dv)); + Delegates.glProgramUniformMatrix4x2dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x2fv = (Delegates.ProgramUniformMatrix4x2fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x2fv", typeof(Delegates.ProgramUniformMatrix4x2fv)); + Delegates.glProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3dv(UInt32 program, Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glProgramUniformMatrix4x3dv = (Delegates.ProgramUniformMatrix4x3dv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3dv", typeof(Delegates.ProgramUniformMatrix4x3dv)); + Delegates.glProgramUniformMatrix4x3dv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glProgramUniformMatrix4x3fv = (Delegates.ProgramUniformMatrix4x3fv)GetExtensionDelegateStatic("glProgramUniformMatrix4x3fv", typeof(Delegates.ProgramUniformMatrix4x3fv)); + Delegates.glProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static void Load_ProvokingVertex(OpenTK.Graphics.OpenGL4.ProvokingVertexMode mode) + { + Delegates.glProvokingVertex = (Delegates.ProvokingVertex)GetExtensionDelegateStatic("glProvokingVertex", typeof(Delegates.ProvokingVertex)); + Delegates.glProvokingVertex((OpenTK.Graphics.OpenGL4.ProvokingVertexMode)mode); + } + internal static void Load_PushDebugGroup(OpenTK.Graphics.OpenGL4.DebugSourceExternal source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroup = (Delegates.PushDebugGroup)GetExtensionDelegateStatic("glPushDebugGroup", typeof(Delegates.PushDebugGroup)); + Delegates.glPushDebugGroup((OpenTK.Graphics.OpenGL4.DebugSourceExternal)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_PushDebugGroupKHR(OpenTK.Graphics.OpenGL4.All source, UInt32 id, Int32 length, String message) + { + Delegates.glPushDebugGroupKHR = (Delegates.PushDebugGroupKHR)GetExtensionDelegateStatic("glPushDebugGroupKHR", typeof(Delegates.PushDebugGroupKHR)); + Delegates.glPushDebugGroupKHR((OpenTK.Graphics.OpenGL4.All)source, (UInt32)id, (Int32)length, (String)message); + } + internal static void Load_QueryCounter(UInt32 id, OpenTK.Graphics.OpenGL4.QueryCounterTarget target) + { + Delegates.glQueryCounter = (Delegates.QueryCounter)GetExtensionDelegateStatic("glQueryCounter", typeof(Delegates.QueryCounter)); + Delegates.glQueryCounter((UInt32)id, (OpenTK.Graphics.OpenGL4.QueryCounterTarget)target); + } + internal static void Load_ReadBuffer(OpenTK.Graphics.OpenGL4.ReadBufferMode mode) + { + Delegates.glReadBuffer = (Delegates.ReadBuffer)GetExtensionDelegateStatic("glReadBuffer", typeof(Delegates.ReadBuffer)); + Delegates.glReadBuffer((OpenTK.Graphics.OpenGL4.ReadBufferMode)mode); + } + internal static void Load_ReadnPixelsARB(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.All format, OpenTK.Graphics.OpenGL4.All type, Int32 bufSize, [OutAttribute] IntPtr data) + { + Delegates.glReadnPixelsARB = (Delegates.ReadnPixelsARB)GetExtensionDelegateStatic("glReadnPixelsARB", typeof(Delegates.ReadnPixelsARB)); + Delegates.glReadnPixelsARB((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.All)format, (OpenTK.Graphics.OpenGL4.All)type, (Int32)bufSize, (IntPtr)data); + } + internal static void Load_ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels) + { + Delegates.glReadPixels = (Delegates.ReadPixels)GetExtensionDelegateStatic("glReadPixels", typeof(Delegates.ReadPixels)); + Delegates.glReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static void Load_ReleaseShaderCompiler() + { + Delegates.glReleaseShaderCompiler = (Delegates.ReleaseShaderCompiler)GetExtensionDelegateStatic("glReleaseShaderCompiler", typeof(Delegates.ReleaseShaderCompiler)); + Delegates.glReleaseShaderCompiler(); + } + internal static void Load_RenderbufferStorage(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorage = (Delegates.RenderbufferStorage)GetExtensionDelegateStatic("glRenderbufferStorage", typeof(Delegates.RenderbufferStorage)); + Delegates.glRenderbufferStorage((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_RenderbufferStorageMultisample(OpenTK.Graphics.OpenGL4.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.OpenGL4.RenderbufferStorage internalformat, Int32 width, Int32 height) + { + Delegates.glRenderbufferStorageMultisample = (Delegates.RenderbufferStorageMultisample)GetExtensionDelegateStatic("glRenderbufferStorageMultisample", typeof(Delegates.RenderbufferStorageMultisample)); + Delegates.glRenderbufferStorageMultisample((OpenTK.Graphics.OpenGL4.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.RenderbufferStorage)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_ResetHistogram(OpenTK.Graphics.OpenGL4.HistogramTarget target) + { + Delegates.glResetHistogram = (Delegates.ResetHistogram)GetExtensionDelegateStatic("glResetHistogram", typeof(Delegates.ResetHistogram)); + Delegates.glResetHistogram((OpenTK.Graphics.OpenGL4.HistogramTarget)target); + } + internal static void Load_ResetMinmax(OpenTK.Graphics.OpenGL4.MinmaxTarget target) + { + Delegates.glResetMinmax = (Delegates.ResetMinmax)GetExtensionDelegateStatic("glResetMinmax", typeof(Delegates.ResetMinmax)); + Delegates.glResetMinmax((OpenTK.Graphics.OpenGL4.MinmaxTarget)target); + } + internal static void Load_ResumeTransformFeedback() + { + Delegates.glResumeTransformFeedback = (Delegates.ResumeTransformFeedback)GetExtensionDelegateStatic("glResumeTransformFeedback", typeof(Delegates.ResumeTransformFeedback)); + Delegates.glResumeTransformFeedback(); + } + internal static void Load_SampleCoverage(Single value, bool invert) + { + Delegates.glSampleCoverage = (Delegates.SampleCoverage)GetExtensionDelegateStatic("glSampleCoverage", typeof(Delegates.SampleCoverage)); + Delegates.glSampleCoverage((Single)value, (bool)invert); + } + internal static void Load_SampleMaski(UInt32 index, UInt32 mask) + { + Delegates.glSampleMaski = (Delegates.SampleMaski)GetExtensionDelegateStatic("glSampleMaski", typeof(Delegates.SampleMaski)); + Delegates.glSampleMaski((UInt32)index, (UInt32)mask); + } + internal static void Load_SamplerParameterf(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single param) + { + Delegates.glSamplerParameterf = (Delegates.SamplerParameterf)GetExtensionDelegateStatic("glSamplerParameterf", typeof(Delegates.SamplerParameterf)); + Delegates.glSamplerParameterf((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single)param); + } + internal static unsafe void Load_SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Single* param) + { + Delegates.glSamplerParameterfv = (Delegates.SamplerParameterfv)GetExtensionDelegateStatic("glSamplerParameterfv", typeof(Delegates.SamplerParameterfv)); + Delegates.glSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Single*)param); + } + internal static void Load_SamplerParameteri(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32 param) + { + Delegates.glSamplerParameteri = (Delegates.SamplerParameteri)GetExtensionDelegateStatic("glSamplerParameteri", typeof(Delegates.SamplerParameteri)); + Delegates.glSamplerParameteri((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32)param); + } + internal static unsafe void Load_SamplerParameterIiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) + { + Delegates.glSamplerParameterIiv = (Delegates.SamplerParameterIiv)GetExtensionDelegateStatic("glSamplerParameterIiv", typeof(Delegates.SamplerParameterIiv)); + Delegates.glSamplerParameterIiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); + } + internal static unsafe void Load_SamplerParameterIuiv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, UInt32* param) + { + Delegates.glSamplerParameterIuiv = (Delegates.SamplerParameterIuiv)GetExtensionDelegateStatic("glSamplerParameterIuiv", typeof(Delegates.SamplerParameterIuiv)); + Delegates.glSamplerParameterIuiv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (UInt32*)param); + } + internal static unsafe void Load_SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.OpenGL4.SamplerParameterName pname, Int32* param) + { + Delegates.glSamplerParameteriv = (Delegates.SamplerParameteriv)GetExtensionDelegateStatic("glSamplerParameteriv", typeof(Delegates.SamplerParameteriv)); + Delegates.glSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.OpenGL4.SamplerParameterName)pname, (Int32*)param); + } + internal static void Load_Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glScissor = (Delegates.Scissor)GetExtensionDelegateStatic("glScissor", typeof(Delegates.Scissor)); + Delegates.glScissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static unsafe void Load_ScissorArrayv(UInt32 first, Int32 count, Int32* v) + { + Delegates.glScissorArrayv = (Delegates.ScissorArrayv)GetExtensionDelegateStatic("glScissorArrayv", typeof(Delegates.ScissorArrayv)); + Delegates.glScissorArrayv((UInt32)first, (Int32)count, (Int32*)v); + } + internal static void Load_ScissorIndexed(UInt32 index, Int32 left, Int32 bottom, Int32 width, Int32 height) + { + Delegates.glScissorIndexed = (Delegates.ScissorIndexed)GetExtensionDelegateStatic("glScissorIndexed", typeof(Delegates.ScissorIndexed)); + Delegates.glScissorIndexed((UInt32)index, (Int32)left, (Int32)bottom, (Int32)width, (Int32)height); + } + internal static unsafe void Load_ScissorIndexedv(UInt32 index, Int32* v) + { + Delegates.glScissorIndexedv = (Delegates.ScissorIndexedv)GetExtensionDelegateStatic("glScissorIndexedv", typeof(Delegates.ScissorIndexedv)); + Delegates.glScissorIndexedv((UInt32)index, (Int32*)v); + } + internal static void Load_SecondaryColorP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 color) + { + Delegates.glSecondaryColorP3ui = (Delegates.SecondaryColorP3ui)GetExtensionDelegateStatic("glSecondaryColorP3ui", typeof(Delegates.SecondaryColorP3ui)); + Delegates.glSecondaryColorP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)color); + } + internal static unsafe void Load_SecondaryColorP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* color) + { + Delegates.glSecondaryColorP3uiv = (Delegates.SecondaryColorP3uiv)GetExtensionDelegateStatic("glSecondaryColorP3uiv", typeof(Delegates.SecondaryColorP3uiv)); + Delegates.glSecondaryColorP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)color); + } + internal static void Load_SeparableFilter2D(OpenTK.Graphics.OpenGL4.SeparableTarget target, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr row, IntPtr column) + { + Delegates.glSeparableFilter2D = (Delegates.SeparableFilter2D)GetExtensionDelegateStatic("glSeparableFilter2D", typeof(Delegates.SeparableFilter2D)); + Delegates.glSeparableFilter2D((OpenTK.Graphics.OpenGL4.SeparableTarget)target, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)row, (IntPtr)column); + } + internal static unsafe void Load_ShaderBinary(Int32 count, UInt32* shaders, OpenTK.Graphics.OpenGL4.BinaryFormat binaryformat, IntPtr binary, Int32 length) + { + Delegates.glShaderBinary = (Delegates.ShaderBinary)GetExtensionDelegateStatic("glShaderBinary", typeof(Delegates.ShaderBinary)); + Delegates.glShaderBinary((Int32)count, (UInt32*)shaders, (OpenTK.Graphics.OpenGL4.BinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + internal static unsafe void Load_ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + Delegates.glShaderSource = (Delegates.ShaderSource)GetExtensionDelegateStatic("glShaderSource", typeof(Delegates.ShaderSource)); + Delegates.glShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + } + internal static void Load_ShaderStorageBlockBinding(UInt32 program, UInt32 storageBlockIndex, UInt32 storageBlockBinding) + { + Delegates.glShaderStorageBlockBinding = (Delegates.ShaderStorageBlockBinding)GetExtensionDelegateStatic("glShaderStorageBlockBinding", typeof(Delegates.ShaderStorageBlockBinding)); + Delegates.glShaderStorageBlockBinding((UInt32)program, (UInt32)storageBlockIndex, (UInt32)storageBlockBinding); + } + internal static void Load_StencilFunc(OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFunc = (Delegates.StencilFunc)GetExtensionDelegateStatic("glStencilFunc", typeof(Delegates.StencilFunc)); + Delegates.glStencilFunc((OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilFuncSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilFunction func, Int32 @ref, UInt32 mask) + { + Delegates.glStencilFuncSeparate = (Delegates.StencilFuncSeparate)GetExtensionDelegateStatic("glStencilFuncSeparate", typeof(Delegates.StencilFuncSeparate)); + Delegates.glStencilFuncSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilFunction)func, (Int32)@ref, (UInt32)mask); + } + internal static void Load_StencilMask(UInt32 mask) + { + Delegates.glStencilMask = (Delegates.StencilMask)GetExtensionDelegateStatic("glStencilMask", typeof(Delegates.StencilMask)); + Delegates.glStencilMask((UInt32)mask); + } + internal static void Load_StencilMaskSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, UInt32 mask) + { + Delegates.glStencilMaskSeparate = (Delegates.StencilMaskSeparate)GetExtensionDelegateStatic("glStencilMaskSeparate", typeof(Delegates.StencilMaskSeparate)); + Delegates.glStencilMaskSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (UInt32)mask); + } + internal static void Load_StencilOp(OpenTK.Graphics.OpenGL4.StencilOp fail, OpenTK.Graphics.OpenGL4.StencilOp zfail, OpenTK.Graphics.OpenGL4.StencilOp zpass) + { + Delegates.glStencilOp = (Delegates.StencilOp)GetExtensionDelegateStatic("glStencilOp", typeof(Delegates.StencilOp)); + Delegates.glStencilOp((OpenTK.Graphics.OpenGL4.StencilOp)fail, (OpenTK.Graphics.OpenGL4.StencilOp)zfail, (OpenTK.Graphics.OpenGL4.StencilOp)zpass); + } + internal static void Load_StencilOpSeparate(OpenTK.Graphics.OpenGL4.StencilFace face, OpenTK.Graphics.OpenGL4.StencilOp sfail, OpenTK.Graphics.OpenGL4.StencilOp dpfail, OpenTK.Graphics.OpenGL4.StencilOp dppass) + { + Delegates.glStencilOpSeparate = (Delegates.StencilOpSeparate)GetExtensionDelegateStatic("glStencilOpSeparate", typeof(Delegates.StencilOpSeparate)); + Delegates.glStencilOpSeparate((OpenTK.Graphics.OpenGL4.StencilFace)face, (OpenTK.Graphics.OpenGL4.StencilOp)sfail, (OpenTK.Graphics.OpenGL4.StencilOp)dpfail, (OpenTK.Graphics.OpenGL4.StencilOp)dppass); + } + internal static void Load_TexBuffer(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer) + { + Delegates.glTexBuffer = (Delegates.TexBuffer)GetExtensionDelegateStatic("glTexBuffer", typeof(Delegates.TexBuffer)); + Delegates.glTexBuffer((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer); + } + internal static void Load_TexBufferRange(OpenTK.Graphics.OpenGL4.TextureBufferTarget target, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, UInt32 buffer, IntPtr offset, IntPtr size) + { + Delegates.glTexBufferRange = (Delegates.TexBufferRange)GetExtensionDelegateStatic("glTexBufferRange", typeof(Delegates.TexBufferRange)); + Delegates.glTexBufferRange((OpenTK.Graphics.OpenGL4.TextureBufferTarget)target, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + } + internal static void Load_TexCoordP1ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP1ui = (Delegates.TexCoordP1ui)GetExtensionDelegateStatic("glTexCoordP1ui", typeof(Delegates.TexCoordP1ui)); + Delegates.glTexCoordP1ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP1uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP1uiv = (Delegates.TexCoordP1uiv)GetExtensionDelegateStatic("glTexCoordP1uiv", typeof(Delegates.TexCoordP1uiv)); + Delegates.glTexCoordP1uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexCoordP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP2ui = (Delegates.TexCoordP2ui)GetExtensionDelegateStatic("glTexCoordP2ui", typeof(Delegates.TexCoordP2ui)); + Delegates.glTexCoordP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP2uiv = (Delegates.TexCoordP2uiv)GetExtensionDelegateStatic("glTexCoordP2uiv", typeof(Delegates.TexCoordP2uiv)); + Delegates.glTexCoordP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexCoordP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP3ui = (Delegates.TexCoordP3ui)GetExtensionDelegateStatic("glTexCoordP3ui", typeof(Delegates.TexCoordP3ui)); + Delegates.glTexCoordP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP3uiv = (Delegates.TexCoordP3uiv)GetExtensionDelegateStatic("glTexCoordP3uiv", typeof(Delegates.TexCoordP3uiv)); + Delegates.glTexCoordP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexCoordP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 coords) + { + Delegates.glTexCoordP4ui = (Delegates.TexCoordP4ui)GetExtensionDelegateStatic("glTexCoordP4ui", typeof(Delegates.TexCoordP4ui)); + Delegates.glTexCoordP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)coords); + } + internal static unsafe void Load_TexCoordP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* coords) + { + Delegates.glTexCoordP4uiv = (Delegates.TexCoordP4uiv)GetExtensionDelegateStatic("glTexCoordP4uiv", typeof(Delegates.TexCoordP4uiv)); + Delegates.glTexCoordP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)coords); + } + internal static void Load_TexImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) + { + Delegates.glTexImage1D = (Delegates.TexImage1D)GetExtensionDelegateStatic("glTexImage1D", typeof(Delegates.TexImage1D)); + Delegates.glTexImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) + { + Delegates.glTexImage2D = (Delegates.TexImage2D)GetExtensionDelegateStatic("glTexImage2D", typeof(Delegates.TexImage2D)); + Delegates.glTexImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + { + Delegates.glTexImage2DMultisample = (Delegates.TexImage2DMultisample)GetExtensionDelegateStatic("glTexImage2DMultisample", typeof(Delegates.TexImage2DMultisample)); + Delegates.glTexImage2DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + } + internal static void Load_TexImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) + { + Delegates.glTexImage3D = (Delegates.TexImage3D)GetExtensionDelegateStatic("glTexImage3D", typeof(Delegates.TexImage3D)); + Delegates.glTexImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexImage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample target, Int32 samples, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + { + Delegates.glTexImage3DMultisample = (Delegates.TexImage3DMultisample)GetExtensionDelegateStatic("glTexImage3DMultisample", typeof(Delegates.TexImage3DMultisample)); + Delegates.glTexImage3DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + } + internal static void Load_TexPageCommitmentARB(OpenTK.Graphics.OpenGL4.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, bool resident) + { + Delegates.glTexPageCommitmentARB = (Delegates.TexPageCommitmentARB)GetExtensionDelegateStatic("glTexPageCommitmentARB", typeof(Delegates.TexPageCommitmentARB)); + Delegates.glTexPageCommitmentARB((OpenTK.Graphics.OpenGL4.All)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (bool)resident); + } + internal static void Load_TexParameterf(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single param) + { + Delegates.glTexParameterf = (Delegates.TexParameterf)GetExtensionDelegateStatic("glTexParameterf", typeof(Delegates.TexParameterf)); + Delegates.glTexParameterf((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single)param); + } + internal static unsafe void Load_TexParameterfv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Single* @params) + { + Delegates.glTexParameterfv = (Delegates.TexParameterfv)GetExtensionDelegateStatic("glTexParameterfv", typeof(Delegates.TexParameterfv)); + Delegates.glTexParameterfv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Single*)@params); + } + internal static void Load_TexParameteri(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32 param) + { + Delegates.glTexParameteri = (Delegates.TexParameteri)GetExtensionDelegateStatic("glTexParameteri", typeof(Delegates.TexParameteri)); + Delegates.glTexParameteri((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32)param); + } + internal static unsafe void Load_TexParameterIiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameterIiv = (Delegates.TexParameterIiv)GetExtensionDelegateStatic("glTexParameterIiv", typeof(Delegates.TexParameterIiv)); + Delegates.glTexParameterIiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params); + } + internal static unsafe void Load_TexParameterIuiv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, UInt32* @params) + { + Delegates.glTexParameterIuiv = (Delegates.TexParameterIuiv)GetExtensionDelegateStatic("glTexParameterIuiv", typeof(Delegates.TexParameterIuiv)); + Delegates.glTexParameterIuiv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (UInt32*)@params); + } + internal static unsafe void Load_TexParameteriv(OpenTK.Graphics.OpenGL4.TextureTarget target, OpenTK.Graphics.OpenGL4.TextureParameterName pname, Int32* @params) + { + Delegates.glTexParameteriv = (Delegates.TexParameteriv)GetExtensionDelegateStatic("glTexParameteriv", typeof(Delegates.TexParameteriv)); + Delegates.glTexParameteriv((OpenTK.Graphics.OpenGL4.TextureTarget)target, (OpenTK.Graphics.OpenGL4.TextureParameterName)pname, (Int32*)@params); + } + internal static void Load_TexStorage1D(OpenTK.Graphics.OpenGL4.TextureTarget1d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width) + { + Delegates.glTexStorage1D = (Delegates.TexStorage1D)GetExtensionDelegateStatic("glTexStorage1D", typeof(Delegates.TexStorage1D)); + Delegates.glTexStorage1D((OpenTK.Graphics.OpenGL4.TextureTarget1d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width); + } + internal static void Load_TexStorage2D(OpenTK.Graphics.OpenGL4.TextureTarget2d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height) + { + Delegates.glTexStorage2D = (Delegates.TexStorage2D)GetExtensionDelegateStatic("glTexStorage2D", typeof(Delegates.TexStorage2D)); + Delegates.glTexStorage2D((OpenTK.Graphics.OpenGL4.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); + } + internal static void Load_TexStorage2DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + { + Delegates.glTexStorage2DMultisample = (Delegates.TexStorage2DMultisample)GetExtensionDelegateStatic("glTexStorage2DMultisample", typeof(Delegates.TexStorage2DMultisample)); + Delegates.glTexStorage2DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample2d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + } + internal static void Load_TexStorage3D(OpenTK.Graphics.OpenGL4.TextureTarget3d target, Int32 levels, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) + { + Delegates.glTexStorage3D = (Delegates.TexStorage3D)GetExtensionDelegateStatic("glTexStorage3D", typeof(Delegates.TexStorage3D)); + Delegates.glTexStorage3D((OpenTK.Graphics.OpenGL4.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); + } + internal static void Load_TexStorage3DMultisample(OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d target, Int32 samples, OpenTK.Graphics.OpenGL4.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, bool fixedsamplelocations) + { + Delegates.glTexStorage3DMultisample = (Delegates.TexStorage3DMultisample)GetExtensionDelegateStatic("glTexStorage3DMultisample", typeof(Delegates.TexStorage3DMultisample)); + Delegates.glTexStorage3DMultisample((OpenTK.Graphics.OpenGL4.TextureTargetMultisample3d)target, (Int32)samples, (OpenTK.Graphics.OpenGL4.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (bool)fixedsamplelocations); + } + internal static void Load_TexSubImage1D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 width, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage1D = (Delegates.TexSubImage1D)GetExtensionDelegateStatic("glTexSubImage1D", typeof(Delegates.TexSubImage1D)); + Delegates.glTexSubImage1D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)width, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage2D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage2D = (Delegates.TexSubImage2D)GetExtensionDelegateStatic("glTexSubImage2D", typeof(Delegates.TexSubImage2D)); + Delegates.glTexSubImage2D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TexSubImage3D(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, IntPtr pixels) + { + Delegates.glTexSubImage3D = (Delegates.TexSubImage3D)GetExtensionDelegateStatic("glTexSubImage3D", typeof(Delegates.TexSubImage3D)); + Delegates.glTexSubImage3D((OpenTK.Graphics.OpenGL4.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.OpenGL4.PixelFormat)format, (OpenTK.Graphics.OpenGL4.PixelType)type, (IntPtr)pixels); + } + internal static void Load_TextureView(UInt32 texture, OpenTK.Graphics.OpenGL4.TextureTarget target, UInt32 origtexture, OpenTK.Graphics.OpenGL4.PixelInternalFormat internalformat, UInt32 minlevel, UInt32 numlevels, UInt32 minlayer, UInt32 numlayers) + { + Delegates.glTextureView = (Delegates.TextureView)GetExtensionDelegateStatic("glTextureView", typeof(Delegates.TextureView)); + Delegates.glTextureView((UInt32)texture, (OpenTK.Graphics.OpenGL4.TextureTarget)target, (UInt32)origtexture, (OpenTK.Graphics.OpenGL4.PixelInternalFormat)internalformat, (UInt32)minlevel, (UInt32)numlevels, (UInt32)minlayer, (UInt32)numlayers); + } + internal static void Load_TransformFeedbackVaryings(UInt32 program, Int32 count, String[] varyings, OpenTK.Graphics.OpenGL4.TransformFeedbackMode bufferMode) + { + Delegates.glTransformFeedbackVaryings = (Delegates.TransformFeedbackVaryings)GetExtensionDelegateStatic("glTransformFeedbackVaryings", typeof(Delegates.TransformFeedbackVaryings)); + Delegates.glTransformFeedbackVaryings((UInt32)program, (Int32)count, (String[])varyings, (OpenTK.Graphics.OpenGL4.TransformFeedbackMode)bufferMode); + } + internal static void Load_Uniform1d(Int32 location, Double x) + { + Delegates.glUniform1d = (Delegates.Uniform1d)GetExtensionDelegateStatic("glUniform1d", typeof(Delegates.Uniform1d)); + Delegates.glUniform1d((Int32)location, (Double)x); + } + internal static unsafe void Load_Uniform1dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform1dv = (Delegates.Uniform1dv)GetExtensionDelegateStatic("glUniform1dv", typeof(Delegates.Uniform1dv)); + Delegates.glUniform1dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform1f(Int32 location, Single v0) + { + Delegates.glUniform1f = (Delegates.Uniform1f)GetExtensionDelegateStatic("glUniform1f", typeof(Delegates.Uniform1f)); + Delegates.glUniform1f((Int32)location, (Single)v0); + } + internal static unsafe void Load_Uniform1fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform1fv = (Delegates.Uniform1fv)GetExtensionDelegateStatic("glUniform1fv", typeof(Delegates.Uniform1fv)); + Delegates.glUniform1fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform1i(Int32 location, Int32 v0) + { + Delegates.glUniform1i = (Delegates.Uniform1i)GetExtensionDelegateStatic("glUniform1i", typeof(Delegates.Uniform1i)); + Delegates.glUniform1i((Int32)location, (Int32)v0); + } + internal static unsafe void Load_Uniform1iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform1iv = (Delegates.Uniform1iv)GetExtensionDelegateStatic("glUniform1iv", typeof(Delegates.Uniform1iv)); + Delegates.glUniform1iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform1ui(Int32 location, UInt32 v0) + { + Delegates.glUniform1ui = (Delegates.Uniform1ui)GetExtensionDelegateStatic("glUniform1ui", typeof(Delegates.Uniform1ui)); + Delegates.glUniform1ui((Int32)location, (UInt32)v0); + } + internal static unsafe void Load_Uniform1uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform1uiv = (Delegates.Uniform1uiv)GetExtensionDelegateStatic("glUniform1uiv", typeof(Delegates.Uniform1uiv)); + Delegates.glUniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform2d(Int32 location, Double x, Double y) + { + Delegates.glUniform2d = (Delegates.Uniform2d)GetExtensionDelegateStatic("glUniform2d", typeof(Delegates.Uniform2d)); + Delegates.glUniform2d((Int32)location, (Double)x, (Double)y); + } + internal static unsafe void Load_Uniform2dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform2dv = (Delegates.Uniform2dv)GetExtensionDelegateStatic("glUniform2dv", typeof(Delegates.Uniform2dv)); + Delegates.glUniform2dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform2f(Int32 location, Single v0, Single v1) + { + Delegates.glUniform2f = (Delegates.Uniform2f)GetExtensionDelegateStatic("glUniform2f", typeof(Delegates.Uniform2f)); + Delegates.glUniform2f((Int32)location, (Single)v0, (Single)v1); + } + internal static unsafe void Load_Uniform2fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform2fv = (Delegates.Uniform2fv)GetExtensionDelegateStatic("glUniform2fv", typeof(Delegates.Uniform2fv)); + Delegates.glUniform2fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform2i(Int32 location, Int32 v0, Int32 v1) + { + Delegates.glUniform2i = (Delegates.Uniform2i)GetExtensionDelegateStatic("glUniform2i", typeof(Delegates.Uniform2i)); + Delegates.glUniform2i((Int32)location, (Int32)v0, (Int32)v1); + } + internal static unsafe void Load_Uniform2iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform2iv = (Delegates.Uniform2iv)GetExtensionDelegateStatic("glUniform2iv", typeof(Delegates.Uniform2iv)); + Delegates.glUniform2iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform2ui(Int32 location, UInt32 v0, UInt32 v1) + { + Delegates.glUniform2ui = (Delegates.Uniform2ui)GetExtensionDelegateStatic("glUniform2ui", typeof(Delegates.Uniform2ui)); + Delegates.glUniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); + } + internal static unsafe void Load_Uniform2uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform2uiv = (Delegates.Uniform2uiv)GetExtensionDelegateStatic("glUniform2uiv", typeof(Delegates.Uniform2uiv)); + Delegates.glUniform2uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform3d(Int32 location, Double x, Double y, Double z) + { + Delegates.glUniform3d = (Delegates.Uniform3d)GetExtensionDelegateStatic("glUniform3d", typeof(Delegates.Uniform3d)); + Delegates.glUniform3d((Int32)location, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_Uniform3dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform3dv = (Delegates.Uniform3dv)GetExtensionDelegateStatic("glUniform3dv", typeof(Delegates.Uniform3dv)); + Delegates.glUniform3dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform3f(Int32 location, Single v0, Single v1, Single v2) + { + Delegates.glUniform3f = (Delegates.Uniform3f)GetExtensionDelegateStatic("glUniform3f", typeof(Delegates.Uniform3f)); + Delegates.glUniform3f((Int32)location, (Single)v0, (Single)v1, (Single)v2); + } + internal static unsafe void Load_Uniform3fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform3fv = (Delegates.Uniform3fv)GetExtensionDelegateStatic("glUniform3fv", typeof(Delegates.Uniform3fv)); + Delegates.glUniform3fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform3i(Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + Delegates.glUniform3i = (Delegates.Uniform3i)GetExtensionDelegateStatic("glUniform3i", typeof(Delegates.Uniform3i)); + Delegates.glUniform3i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + } + internal static unsafe void Load_Uniform3iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform3iv = (Delegates.Uniform3iv)GetExtensionDelegateStatic("glUniform3iv", typeof(Delegates.Uniform3iv)); + Delegates.glUniform3iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + Delegates.glUniform3ui = (Delegates.Uniform3ui)GetExtensionDelegateStatic("glUniform3ui", typeof(Delegates.Uniform3ui)); + Delegates.glUniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + } + internal static unsafe void Load_Uniform3uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform3uiv = (Delegates.Uniform3uiv)GetExtensionDelegateStatic("glUniform3uiv", typeof(Delegates.Uniform3uiv)); + Delegates.glUniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_Uniform4d(Int32 location, Double x, Double y, Double z, Double w) + { + Delegates.glUniform4d = (Delegates.Uniform4d)GetExtensionDelegateStatic("glUniform4d", typeof(Delegates.Uniform4d)); + Delegates.glUniform4d((Int32)location, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_Uniform4dv(Int32 location, Int32 count, Double* value) + { + Delegates.glUniform4dv = (Delegates.Uniform4dv)GetExtensionDelegateStatic("glUniform4dv", typeof(Delegates.Uniform4dv)); + Delegates.glUniform4dv((Int32)location, (Int32)count, (Double*)value); + } + internal static void Load_Uniform4f(Int32 location, Single v0, Single v1, Single v2, Single v3) + { + Delegates.glUniform4f = (Delegates.Uniform4f)GetExtensionDelegateStatic("glUniform4f", typeof(Delegates.Uniform4f)); + Delegates.glUniform4f((Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + } + internal static unsafe void Load_Uniform4fv(Int32 location, Int32 count, Single* value) + { + Delegates.glUniform4fv = (Delegates.Uniform4fv)GetExtensionDelegateStatic("glUniform4fv", typeof(Delegates.Uniform4fv)); + Delegates.glUniform4fv((Int32)location, (Int32)count, (Single*)value); + } + internal static void Load_Uniform4i(Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + Delegates.glUniform4i = (Delegates.Uniform4i)GetExtensionDelegateStatic("glUniform4i", typeof(Delegates.Uniform4i)); + Delegates.glUniform4i((Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + } + internal static unsafe void Load_Uniform4iv(Int32 location, Int32 count, Int32* value) + { + Delegates.glUniform4iv = (Delegates.Uniform4iv)GetExtensionDelegateStatic("glUniform4iv", typeof(Delegates.Uniform4iv)); + Delegates.glUniform4iv((Int32)location, (Int32)count, (Int32*)value); + } + internal static void Load_Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + Delegates.glUniform4ui = (Delegates.Uniform4ui)GetExtensionDelegateStatic("glUniform4ui", typeof(Delegates.Uniform4ui)); + Delegates.glUniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + } + internal static unsafe void Load_Uniform4uiv(Int32 location, Int32 count, UInt32* value) + { + Delegates.glUniform4uiv = (Delegates.Uniform4uiv)GetExtensionDelegateStatic("glUniform4uiv", typeof(Delegates.Uniform4uiv)); + Delegates.glUniform4uiv((Int32)location, (Int32)count, (UInt32*)value); + } + internal static void Load_UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) + { + Delegates.glUniformBlockBinding = (Delegates.UniformBlockBinding)GetExtensionDelegateStatic("glUniformBlockBinding", typeof(Delegates.UniformBlockBinding)); + Delegates.glUniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + } + internal static void Load_UniformHandleui64ARB(Int32 location, UInt64 value) + { + Delegates.glUniformHandleui64ARB = (Delegates.UniformHandleui64ARB)GetExtensionDelegateStatic("glUniformHandleui64ARB", typeof(Delegates.UniformHandleui64ARB)); + Delegates.glUniformHandleui64ARB((Int32)location, (UInt64)value); + } + internal static unsafe void Load_UniformHandleui64vARB(Int32 location, Int32 count, UInt64* value) + { + Delegates.glUniformHandleui64vARB = (Delegates.UniformHandleui64vARB)GetExtensionDelegateStatic("glUniformHandleui64vARB", typeof(Delegates.UniformHandleui64vARB)); + Delegates.glUniformHandleui64vARB((Int32)location, (Int32)count, (UInt64*)value); + } + internal static unsafe void Load_UniformMatrix2dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix2dv = (Delegates.UniformMatrix2dv)GetExtensionDelegateStatic("glUniformMatrix2dv", typeof(Delegates.UniformMatrix2dv)); + Delegates.glUniformMatrix2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2fv = (Delegates.UniformMatrix2fv)GetExtensionDelegateStatic("glUniformMatrix2fv", typeof(Delegates.UniformMatrix2fv)); + Delegates.glUniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x3dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix2x3dv = (Delegates.UniformMatrix2x3dv)GetExtensionDelegateStatic("glUniformMatrix2x3dv", typeof(Delegates.UniformMatrix2x3dv)); + Delegates.glUniformMatrix2x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x3fv = (Delegates.UniformMatrix2x3fv)GetExtensionDelegateStatic("glUniformMatrix2x3fv", typeof(Delegates.UniformMatrix2x3fv)); + Delegates.glUniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix2x4dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix2x4dv = (Delegates.UniformMatrix2x4dv)GetExtensionDelegateStatic("glUniformMatrix2x4dv", typeof(Delegates.UniformMatrix2x4dv)); + Delegates.glUniformMatrix2x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix2x4fv = (Delegates.UniformMatrix2x4fv)GetExtensionDelegateStatic("glUniformMatrix2x4fv", typeof(Delegates.UniformMatrix2x4fv)); + Delegates.glUniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix3dv = (Delegates.UniformMatrix3dv)GetExtensionDelegateStatic("glUniformMatrix3dv", typeof(Delegates.UniformMatrix3dv)); + Delegates.glUniformMatrix3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3fv = (Delegates.UniformMatrix3fv)GetExtensionDelegateStatic("glUniformMatrix3fv", typeof(Delegates.UniformMatrix3fv)); + Delegates.glUniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x2dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix3x2dv = (Delegates.UniformMatrix3x2dv)GetExtensionDelegateStatic("glUniformMatrix3x2dv", typeof(Delegates.UniformMatrix3x2dv)); + Delegates.glUniformMatrix3x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x2fv = (Delegates.UniformMatrix3x2fv)GetExtensionDelegateStatic("glUniformMatrix3x2fv", typeof(Delegates.UniformMatrix3x2fv)); + Delegates.glUniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix3x4dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix3x4dv = (Delegates.UniformMatrix3x4dv)GetExtensionDelegateStatic("glUniformMatrix3x4dv", typeof(Delegates.UniformMatrix3x4dv)); + Delegates.glUniformMatrix3x4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix3x4fv = (Delegates.UniformMatrix3x4fv)GetExtensionDelegateStatic("glUniformMatrix3x4fv", typeof(Delegates.UniformMatrix3x4fv)); + Delegates.glUniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix4dv = (Delegates.UniformMatrix4dv)GetExtensionDelegateStatic("glUniformMatrix4dv", typeof(Delegates.UniformMatrix4dv)); + Delegates.glUniformMatrix4dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4fv = (Delegates.UniformMatrix4fv)GetExtensionDelegateStatic("glUniformMatrix4fv", typeof(Delegates.UniformMatrix4fv)); + Delegates.glUniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x2dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix4x2dv = (Delegates.UniformMatrix4x2dv)GetExtensionDelegateStatic("glUniformMatrix4x2dv", typeof(Delegates.UniformMatrix4x2dv)); + Delegates.glUniformMatrix4x2dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x2fv = (Delegates.UniformMatrix4x2fv)GetExtensionDelegateStatic("glUniformMatrix4x2fv", typeof(Delegates.UniformMatrix4x2fv)); + Delegates.glUniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformMatrix4x3dv(Int32 location, Int32 count, bool transpose, Double* value) + { + Delegates.glUniformMatrix4x3dv = (Delegates.UniformMatrix4x3dv)GetExtensionDelegateStatic("glUniformMatrix4x3dv", typeof(Delegates.UniformMatrix4x3dv)); + Delegates.glUniformMatrix4x3dv((Int32)location, (Int32)count, (bool)transpose, (Double*)value); + } + internal static unsafe void Load_UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value) + { + Delegates.glUniformMatrix4x3fv = (Delegates.UniformMatrix4x3fv)GetExtensionDelegateStatic("glUniformMatrix4x3fv", typeof(Delegates.UniformMatrix4x3fv)); + Delegates.glUniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + } + internal static unsafe void Load_UniformSubroutinesuiv(OpenTK.Graphics.OpenGL4.ShaderType shadertype, Int32 count, UInt32* indices) + { + Delegates.glUniformSubroutinesuiv = (Delegates.UniformSubroutinesuiv)GetExtensionDelegateStatic("glUniformSubroutinesuiv", typeof(Delegates.UniformSubroutinesuiv)); + Delegates.glUniformSubroutinesuiv((OpenTK.Graphics.OpenGL4.ShaderType)shadertype, (Int32)count, (UInt32*)indices); + } + internal static bool Load_UnmapBuffer(OpenTK.Graphics.OpenGL4.BufferTarget target) + { + Delegates.glUnmapBuffer = (Delegates.UnmapBuffer)GetExtensionDelegateStatic("glUnmapBuffer", typeof(Delegates.UnmapBuffer)); + return Delegates.glUnmapBuffer((OpenTK.Graphics.OpenGL4.BufferTarget)target); + } + internal static void Load_UseProgram(UInt32 program) + { + Delegates.glUseProgram = (Delegates.UseProgram)GetExtensionDelegateStatic("glUseProgram", typeof(Delegates.UseProgram)); + Delegates.glUseProgram((UInt32)program); + } + internal static void Load_UseProgramStages(UInt32 pipeline, OpenTK.Graphics.OpenGL4.ProgramStageMask stages, UInt32 program) + { + Delegates.glUseProgramStages = (Delegates.UseProgramStages)GetExtensionDelegateStatic("glUseProgramStages", typeof(Delegates.UseProgramStages)); + Delegates.glUseProgramStages((UInt32)pipeline, (OpenTK.Graphics.OpenGL4.ProgramStageMask)stages, (UInt32)program); + } + internal static void Load_ValidateProgram(UInt32 program) + { + Delegates.glValidateProgram = (Delegates.ValidateProgram)GetExtensionDelegateStatic("glValidateProgram", typeof(Delegates.ValidateProgram)); + Delegates.glValidateProgram((UInt32)program); + } + internal static void Load_ValidateProgramPipeline(UInt32 pipeline) + { + Delegates.glValidateProgramPipeline = (Delegates.ValidateProgramPipeline)GetExtensionDelegateStatic("glValidateProgramPipeline", typeof(Delegates.ValidateProgramPipeline)); + Delegates.glValidateProgramPipeline((UInt32)pipeline); + } + internal static void Load_VertexAttrib1d(UInt32 index, Double x) + { + Delegates.glVertexAttrib1d = (Delegates.VertexAttrib1d)GetExtensionDelegateStatic("glVertexAttrib1d", typeof(Delegates.VertexAttrib1d)); + Delegates.glVertexAttrib1d((UInt32)index, (Double)x); + } + internal static unsafe void Load_VertexAttrib1dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib1dv = (Delegates.VertexAttrib1dv)GetExtensionDelegateStatic("glVertexAttrib1dv", typeof(Delegates.VertexAttrib1dv)); + Delegates.glVertexAttrib1dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib1f(UInt32 index, Single x) + { + Delegates.glVertexAttrib1f = (Delegates.VertexAttrib1f)GetExtensionDelegateStatic("glVertexAttrib1f", typeof(Delegates.VertexAttrib1f)); + Delegates.glVertexAttrib1f((UInt32)index, (Single)x); + } + internal static unsafe void Load_VertexAttrib1fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib1fv = (Delegates.VertexAttrib1fv)GetExtensionDelegateStatic("glVertexAttrib1fv", typeof(Delegates.VertexAttrib1fv)); + Delegates.glVertexAttrib1fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib1s(UInt32 index, Int16 x) + { + Delegates.glVertexAttrib1s = (Delegates.VertexAttrib1s)GetExtensionDelegateStatic("glVertexAttrib1s", typeof(Delegates.VertexAttrib1s)); + Delegates.glVertexAttrib1s((UInt32)index, (Int16)x); + } + internal static unsafe void Load_VertexAttrib1sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib1sv = (Delegates.VertexAttrib1sv)GetExtensionDelegateStatic("glVertexAttrib1sv", typeof(Delegates.VertexAttrib1sv)); + Delegates.glVertexAttrib1sv((UInt32)index, (Int16*)v); + } + internal static void Load_VertexAttrib2d(UInt32 index, Double x, Double y) + { + Delegates.glVertexAttrib2d = (Delegates.VertexAttrib2d)GetExtensionDelegateStatic("glVertexAttrib2d", typeof(Delegates.VertexAttrib2d)); + Delegates.glVertexAttrib2d((UInt32)index, (Double)x, (Double)y); + } + internal static unsafe void Load_VertexAttrib2dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib2dv = (Delegates.VertexAttrib2dv)GetExtensionDelegateStatic("glVertexAttrib2dv", typeof(Delegates.VertexAttrib2dv)); + Delegates.glVertexAttrib2dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib2f(UInt32 index, Single x, Single y) + { + Delegates.glVertexAttrib2f = (Delegates.VertexAttrib2f)GetExtensionDelegateStatic("glVertexAttrib2f", typeof(Delegates.VertexAttrib2f)); + Delegates.glVertexAttrib2f((UInt32)index, (Single)x, (Single)y); + } + internal static unsafe void Load_VertexAttrib2fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib2fv = (Delegates.VertexAttrib2fv)GetExtensionDelegateStatic("glVertexAttrib2fv", typeof(Delegates.VertexAttrib2fv)); + Delegates.glVertexAttrib2fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib2s(UInt32 index, Int16 x, Int16 y) + { + Delegates.glVertexAttrib2s = (Delegates.VertexAttrib2s)GetExtensionDelegateStatic("glVertexAttrib2s", typeof(Delegates.VertexAttrib2s)); + Delegates.glVertexAttrib2s((UInt32)index, (Int16)x, (Int16)y); + } + internal static unsafe void Load_VertexAttrib2sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib2sv = (Delegates.VertexAttrib2sv)GetExtensionDelegateStatic("glVertexAttrib2sv", typeof(Delegates.VertexAttrib2sv)); + Delegates.glVertexAttrib2sv((UInt32)index, (Int16*)v); + } + internal static void Load_VertexAttrib3d(UInt32 index, Double x, Double y, Double z) + { + Delegates.glVertexAttrib3d = (Delegates.VertexAttrib3d)GetExtensionDelegateStatic("glVertexAttrib3d", typeof(Delegates.VertexAttrib3d)); + Delegates.glVertexAttrib3d((UInt32)index, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_VertexAttrib3dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib3dv = (Delegates.VertexAttrib3dv)GetExtensionDelegateStatic("glVertexAttrib3dv", typeof(Delegates.VertexAttrib3dv)); + Delegates.glVertexAttrib3dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib3f(UInt32 index, Single x, Single y, Single z) + { + Delegates.glVertexAttrib3f = (Delegates.VertexAttrib3f)GetExtensionDelegateStatic("glVertexAttrib3f", typeof(Delegates.VertexAttrib3f)); + Delegates.glVertexAttrib3f((UInt32)index, (Single)x, (Single)y, (Single)z); + } + internal static unsafe void Load_VertexAttrib3fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib3fv = (Delegates.VertexAttrib3fv)GetExtensionDelegateStatic("glVertexAttrib3fv", typeof(Delegates.VertexAttrib3fv)); + Delegates.glVertexAttrib3fv((UInt32)index, (Single*)v); + } + internal static void Load_VertexAttrib3s(UInt32 index, Int16 x, Int16 y, Int16 z) + { + Delegates.glVertexAttrib3s = (Delegates.VertexAttrib3s)GetExtensionDelegateStatic("glVertexAttrib3s", typeof(Delegates.VertexAttrib3s)); + Delegates.glVertexAttrib3s((UInt32)index, (Int16)x, (Int16)y, (Int16)z); + } + internal static unsafe void Load_VertexAttrib3sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib3sv = (Delegates.VertexAttrib3sv)GetExtensionDelegateStatic("glVertexAttrib3sv", typeof(Delegates.VertexAttrib3sv)); + Delegates.glVertexAttrib3sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib4bv(UInt32 index, SByte* v) + { + Delegates.glVertexAttrib4bv = (Delegates.VertexAttrib4bv)GetExtensionDelegateStatic("glVertexAttrib4bv", typeof(Delegates.VertexAttrib4bv)); + Delegates.glVertexAttrib4bv((UInt32)index, (SByte*)v); + } + internal static void Load_VertexAttrib4d(UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glVertexAttrib4d = (Delegates.VertexAttrib4d)GetExtensionDelegateStatic("glVertexAttrib4d", typeof(Delegates.VertexAttrib4d)); + Delegates.glVertexAttrib4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_VertexAttrib4dv(UInt32 index, Double* v) + { + Delegates.glVertexAttrib4dv = (Delegates.VertexAttrib4dv)GetExtensionDelegateStatic("glVertexAttrib4dv", typeof(Delegates.VertexAttrib4dv)); + Delegates.glVertexAttrib4dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttrib4f(UInt32 index, Single x, Single y, Single z, Single w) + { + Delegates.glVertexAttrib4f = (Delegates.VertexAttrib4f)GetExtensionDelegateStatic("glVertexAttrib4f", typeof(Delegates.VertexAttrib4f)); + Delegates.glVertexAttrib4f((UInt32)index, (Single)x, (Single)y, (Single)z, (Single)w); + } + internal static unsafe void Load_VertexAttrib4fv(UInt32 index, Single* v) + { + Delegates.glVertexAttrib4fv = (Delegates.VertexAttrib4fv)GetExtensionDelegateStatic("glVertexAttrib4fv", typeof(Delegates.VertexAttrib4fv)); + Delegates.glVertexAttrib4fv((UInt32)index, (Single*)v); + } + internal static unsafe void Load_VertexAttrib4iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttrib4iv = (Delegates.VertexAttrib4iv)GetExtensionDelegateStatic("glVertexAttrib4iv", typeof(Delegates.VertexAttrib4iv)); + Delegates.glVertexAttrib4iv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttrib4Nbv(UInt32 index, SByte* v) + { + Delegates.glVertexAttrib4Nbv = (Delegates.VertexAttrib4Nbv)GetExtensionDelegateStatic("glVertexAttrib4Nbv", typeof(Delegates.VertexAttrib4Nbv)); + Delegates.glVertexAttrib4Nbv((UInt32)index, (SByte*)v); + } + internal static unsafe void Load_VertexAttrib4Niv(UInt32 index, Int32* v) + { + Delegates.glVertexAttrib4Niv = (Delegates.VertexAttrib4Niv)GetExtensionDelegateStatic("glVertexAttrib4Niv", typeof(Delegates.VertexAttrib4Niv)); + Delegates.glVertexAttrib4Niv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttrib4Nsv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4Nsv = (Delegates.VertexAttrib4Nsv)GetExtensionDelegateStatic("glVertexAttrib4Nsv", typeof(Delegates.VertexAttrib4Nsv)); + Delegates.glVertexAttrib4Nsv((UInt32)index, (Int16*)v); + } + internal static void Load_VertexAttrib4Nub(UInt32 index, Byte x, Byte y, Byte z, Byte w) + { + Delegates.glVertexAttrib4Nub = (Delegates.VertexAttrib4Nub)GetExtensionDelegateStatic("glVertexAttrib4Nub", typeof(Delegates.VertexAttrib4Nub)); + Delegates.glVertexAttrib4Nub((UInt32)index, (Byte)x, (Byte)y, (Byte)z, (Byte)w); + } + internal static unsafe void Load_VertexAttrib4Nubv(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4Nubv = (Delegates.VertexAttrib4Nubv)GetExtensionDelegateStatic("glVertexAttrib4Nubv", typeof(Delegates.VertexAttrib4Nubv)); + Delegates.glVertexAttrib4Nubv((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttrib4Nuiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttrib4Nuiv = (Delegates.VertexAttrib4Nuiv)GetExtensionDelegateStatic("glVertexAttrib4Nuiv", typeof(Delegates.VertexAttrib4Nuiv)); + Delegates.glVertexAttrib4Nuiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttrib4Nusv(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib4Nusv = (Delegates.VertexAttrib4Nusv)GetExtensionDelegateStatic("glVertexAttrib4Nusv", typeof(Delegates.VertexAttrib4Nusv)); + Delegates.glVertexAttrib4Nusv((UInt32)index, (UInt16*)v); + } + internal static void Load_VertexAttrib4s(UInt32 index, Int16 x, Int16 y, Int16 z, Int16 w) + { + Delegates.glVertexAttrib4s = (Delegates.VertexAttrib4s)GetExtensionDelegateStatic("glVertexAttrib4s", typeof(Delegates.VertexAttrib4s)); + Delegates.glVertexAttrib4s((UInt32)index, (Int16)x, (Int16)y, (Int16)z, (Int16)w); + } + internal static unsafe void Load_VertexAttrib4sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttrib4sv = (Delegates.VertexAttrib4sv)GetExtensionDelegateStatic("glVertexAttrib4sv", typeof(Delegates.VertexAttrib4sv)); + Delegates.glVertexAttrib4sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttrib4ubv(UInt32 index, Byte* v) + { + Delegates.glVertexAttrib4ubv = (Delegates.VertexAttrib4ubv)GetExtensionDelegateStatic("glVertexAttrib4ubv", typeof(Delegates.VertexAttrib4ubv)); + Delegates.glVertexAttrib4ubv((UInt32)index, (Byte*)v); + } + internal static unsafe void Load_VertexAttrib4uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttrib4uiv = (Delegates.VertexAttrib4uiv)GetExtensionDelegateStatic("glVertexAttrib4uiv", typeof(Delegates.VertexAttrib4uiv)); + Delegates.glVertexAttrib4uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttrib4usv(UInt32 index, UInt16* v) + { + Delegates.glVertexAttrib4usv = (Delegates.VertexAttrib4usv)GetExtensionDelegateStatic("glVertexAttrib4usv", typeof(Delegates.VertexAttrib4usv)); + Delegates.glVertexAttrib4usv((UInt32)index, (UInt16*)v); + } + internal static void Load_VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) + { + Delegates.glVertexAttribBinding = (Delegates.VertexAttribBinding)GetExtensionDelegateStatic("glVertexAttribBinding", typeof(Delegates.VertexAttribBinding)); + Delegates.glVertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); + } + internal static void Load_VertexAttribDivisor(UInt32 index, UInt32 divisor) + { + Delegates.glVertexAttribDivisor = (Delegates.VertexAttribDivisor)GetExtensionDelegateStatic("glVertexAttribDivisor", typeof(Delegates.VertexAttribDivisor)); + Delegates.glVertexAttribDivisor((UInt32)index, (UInt32)divisor); + } + internal static void Load_VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribType type, bool normalized, UInt32 relativeoffset) + { + Delegates.glVertexAttribFormat = (Delegates.VertexAttribFormat)GetExtensionDelegateStatic("glVertexAttribFormat", typeof(Delegates.VertexAttribFormat)); + Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); + } + internal static void Load_VertexAttribI1i(UInt32 index, Int32 x) + { + Delegates.glVertexAttribI1i = (Delegates.VertexAttribI1i)GetExtensionDelegateStatic("glVertexAttribI1i", typeof(Delegates.VertexAttribI1i)); + Delegates.glVertexAttribI1i((UInt32)index, (Int32)x); + } + internal static unsafe void Load_VertexAttribI1iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI1iv = (Delegates.VertexAttribI1iv)GetExtensionDelegateStatic("glVertexAttribI1iv", typeof(Delegates.VertexAttribI1iv)); + Delegates.glVertexAttribI1iv((UInt32)index, (Int32*)v); + } + internal static void Load_VertexAttribI1ui(UInt32 index, UInt32 x) + { + Delegates.glVertexAttribI1ui = (Delegates.VertexAttribI1ui)GetExtensionDelegateStatic("glVertexAttribI1ui", typeof(Delegates.VertexAttribI1ui)); + Delegates.glVertexAttribI1ui((UInt32)index, (UInt32)x); + } + internal static unsafe void Load_VertexAttribI1uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI1uiv = (Delegates.VertexAttribI1uiv)GetExtensionDelegateStatic("glVertexAttribI1uiv", typeof(Delegates.VertexAttribI1uiv)); + Delegates.glVertexAttribI1uiv((UInt32)index, (UInt32*)v); + } + internal static void Load_VertexAttribI2i(UInt32 index, Int32 x, Int32 y) + { + Delegates.glVertexAttribI2i = (Delegates.VertexAttribI2i)GetExtensionDelegateStatic("glVertexAttribI2i", typeof(Delegates.VertexAttribI2i)); + Delegates.glVertexAttribI2i((UInt32)index, (Int32)x, (Int32)y); + } + internal static unsafe void Load_VertexAttribI2iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI2iv = (Delegates.VertexAttribI2iv)GetExtensionDelegateStatic("glVertexAttribI2iv", typeof(Delegates.VertexAttribI2iv)); + Delegates.glVertexAttribI2iv((UInt32)index, (Int32*)v); + } + internal static void Load_VertexAttribI2ui(UInt32 index, UInt32 x, UInt32 y) + { + Delegates.glVertexAttribI2ui = (Delegates.VertexAttribI2ui)GetExtensionDelegateStatic("glVertexAttribI2ui", typeof(Delegates.VertexAttribI2ui)); + Delegates.glVertexAttribI2ui((UInt32)index, (UInt32)x, (UInt32)y); + } + internal static unsafe void Load_VertexAttribI2uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI2uiv = (Delegates.VertexAttribI2uiv)GetExtensionDelegateStatic("glVertexAttribI2uiv", typeof(Delegates.VertexAttribI2uiv)); + Delegates.glVertexAttribI2uiv((UInt32)index, (UInt32*)v); + } + internal static void Load_VertexAttribI3i(UInt32 index, Int32 x, Int32 y, Int32 z) + { + Delegates.glVertexAttribI3i = (Delegates.VertexAttribI3i)GetExtensionDelegateStatic("glVertexAttribI3i", typeof(Delegates.VertexAttribI3i)); + Delegates.glVertexAttribI3i((UInt32)index, (Int32)x, (Int32)y, (Int32)z); + } + internal static unsafe void Load_VertexAttribI3iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI3iv = (Delegates.VertexAttribI3iv)GetExtensionDelegateStatic("glVertexAttribI3iv", typeof(Delegates.VertexAttribI3iv)); + Delegates.glVertexAttribI3iv((UInt32)index, (Int32*)v); + } + internal static void Load_VertexAttribI3ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z) + { + Delegates.glVertexAttribI3ui = (Delegates.VertexAttribI3ui)GetExtensionDelegateStatic("glVertexAttribI3ui", typeof(Delegates.VertexAttribI3ui)); + Delegates.glVertexAttribI3ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z); + } + internal static unsafe void Load_VertexAttribI3uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI3uiv = (Delegates.VertexAttribI3uiv)GetExtensionDelegateStatic("glVertexAttribI3uiv", typeof(Delegates.VertexAttribI3uiv)); + Delegates.glVertexAttribI3uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI4bv(UInt32 index, SByte* v) + { + Delegates.glVertexAttribI4bv = (Delegates.VertexAttribI4bv)GetExtensionDelegateStatic("glVertexAttribI4bv", typeof(Delegates.VertexAttribI4bv)); + Delegates.glVertexAttribI4bv((UInt32)index, (SByte*)v); + } + internal static void Load_VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + Delegates.glVertexAttribI4i = (Delegates.VertexAttribI4i)GetExtensionDelegateStatic("glVertexAttribI4i", typeof(Delegates.VertexAttribI4i)); + Delegates.glVertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + } + internal static unsafe void Load_VertexAttribI4iv(UInt32 index, Int32* v) + { + Delegates.glVertexAttribI4iv = (Delegates.VertexAttribI4iv)GetExtensionDelegateStatic("glVertexAttribI4iv", typeof(Delegates.VertexAttribI4iv)); + Delegates.glVertexAttribI4iv((UInt32)index, (Int32*)v); + } + internal static unsafe void Load_VertexAttribI4sv(UInt32 index, Int16* v) + { + Delegates.glVertexAttribI4sv = (Delegates.VertexAttribI4sv)GetExtensionDelegateStatic("glVertexAttribI4sv", typeof(Delegates.VertexAttribI4sv)); + Delegates.glVertexAttribI4sv((UInt32)index, (Int16*)v); + } + internal static unsafe void Load_VertexAttribI4ubv(UInt32 index, Byte* v) + { + Delegates.glVertexAttribI4ubv = (Delegates.VertexAttribI4ubv)GetExtensionDelegateStatic("glVertexAttribI4ubv", typeof(Delegates.VertexAttribI4ubv)); + Delegates.glVertexAttribI4ubv((UInt32)index, (Byte*)v); + } + internal static void Load_VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + Delegates.glVertexAttribI4ui = (Delegates.VertexAttribI4ui)GetExtensionDelegateStatic("glVertexAttribI4ui", typeof(Delegates.VertexAttribI4ui)); + Delegates.glVertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + } + internal static unsafe void Load_VertexAttribI4uiv(UInt32 index, UInt32* v) + { + Delegates.glVertexAttribI4uiv = (Delegates.VertexAttribI4uiv)GetExtensionDelegateStatic("glVertexAttribI4uiv", typeof(Delegates.VertexAttribI4uiv)); + Delegates.glVertexAttribI4uiv((UInt32)index, (UInt32*)v); + } + internal static unsafe void Load_VertexAttribI4usv(UInt32 index, UInt16* v) + { + Delegates.glVertexAttribI4usv = (Delegates.VertexAttribI4usv)GetExtensionDelegateStatic("glVertexAttribI4usv", typeof(Delegates.VertexAttribI4usv)); + Delegates.glVertexAttribI4usv((UInt32)index, (UInt16*)v); + } + internal static void Load_VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, UInt32 relativeoffset) + { + Delegates.glVertexAttribIFormat = (Delegates.VertexAttribIFormat)GetExtensionDelegateStatic("glVertexAttribIFormat", typeof(Delegates.VertexAttribIFormat)); + Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (UInt32)relativeoffset); + } + internal static void Load_VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribIPointer = (Delegates.VertexAttribIPointer)GetExtensionDelegateStatic("glVertexAttribIPointer", typeof(Delegates.VertexAttribIPointer)); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribL1d(UInt32 index, Double x) + { + Delegates.glVertexAttribL1d = (Delegates.VertexAttribL1d)GetExtensionDelegateStatic("glVertexAttribL1d", typeof(Delegates.VertexAttribL1d)); + Delegates.glVertexAttribL1d((UInt32)index, (Double)x); + } + internal static unsafe void Load_VertexAttribL1dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL1dv = (Delegates.VertexAttribL1dv)GetExtensionDelegateStatic("glVertexAttribL1dv", typeof(Delegates.VertexAttribL1dv)); + Delegates.glVertexAttribL1dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribL1ui64ARB(UInt32 index, UInt64 x) + { + Delegates.glVertexAttribL1ui64ARB = (Delegates.VertexAttribL1ui64ARB)GetExtensionDelegateStatic("glVertexAttribL1ui64ARB", typeof(Delegates.VertexAttribL1ui64ARB)); + Delegates.glVertexAttribL1ui64ARB((UInt32)index, (UInt64)x); + } + internal static unsafe void Load_VertexAttribL1ui64vARB(UInt32 index, UInt64* v) + { + Delegates.glVertexAttribL1ui64vARB = (Delegates.VertexAttribL1ui64vARB)GetExtensionDelegateStatic("glVertexAttribL1ui64vARB", typeof(Delegates.VertexAttribL1ui64vARB)); + Delegates.glVertexAttribL1ui64vARB((UInt32)index, (UInt64*)v); + } + internal static void Load_VertexAttribL2d(UInt32 index, Double x, Double y) + { + Delegates.glVertexAttribL2d = (Delegates.VertexAttribL2d)GetExtensionDelegateStatic("glVertexAttribL2d", typeof(Delegates.VertexAttribL2d)); + Delegates.glVertexAttribL2d((UInt32)index, (Double)x, (Double)y); + } + internal static unsafe void Load_VertexAttribL2dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL2dv = (Delegates.VertexAttribL2dv)GetExtensionDelegateStatic("glVertexAttribL2dv", typeof(Delegates.VertexAttribL2dv)); + Delegates.glVertexAttribL2dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribL3d(UInt32 index, Double x, Double y, Double z) + { + Delegates.glVertexAttribL3d = (Delegates.VertexAttribL3d)GetExtensionDelegateStatic("glVertexAttribL3d", typeof(Delegates.VertexAttribL3d)); + Delegates.glVertexAttribL3d((UInt32)index, (Double)x, (Double)y, (Double)z); + } + internal static unsafe void Load_VertexAttribL3dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL3dv = (Delegates.VertexAttribL3dv)GetExtensionDelegateStatic("glVertexAttribL3dv", typeof(Delegates.VertexAttribL3dv)); + Delegates.glVertexAttribL3dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribL4d(UInt32 index, Double x, Double y, Double z, Double w) + { + Delegates.glVertexAttribL4d = (Delegates.VertexAttribL4d)GetExtensionDelegateStatic("glVertexAttribL4d", typeof(Delegates.VertexAttribL4d)); + Delegates.glVertexAttribL4d((UInt32)index, (Double)x, (Double)y, (Double)z, (Double)w); + } + internal static unsafe void Load_VertexAttribL4dv(UInt32 index, Double* v) + { + Delegates.glVertexAttribL4dv = (Delegates.VertexAttribL4dv)GetExtensionDelegateStatic("glVertexAttribL4dv", typeof(Delegates.VertexAttribL4dv)); + Delegates.glVertexAttribL4dv((UInt32)index, (Double*)v); + } + internal static void Load_VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, UInt32 relativeoffset) + { + Delegates.glVertexAttribLFormat = (Delegates.VertexAttribLFormat)GetExtensionDelegateStatic("glVertexAttribLFormat", typeof(Delegates.VertexAttribLFormat)); + Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (UInt32)relativeoffset); + } + internal static void Load_VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribLPointer = (Delegates.VertexAttribLPointer)GetExtensionDelegateStatic("glVertexAttribLPointer", typeof(Delegates.VertexAttribLPointer)); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexAttribP1ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP1ui = (Delegates.VertexAttribP1ui)GetExtensionDelegateStatic("glVertexAttribP1ui", typeof(Delegates.VertexAttribP1ui)); + Delegates.glVertexAttribP1ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP1uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP1uiv = (Delegates.VertexAttribP1uiv)GetExtensionDelegateStatic("glVertexAttribP1uiv", typeof(Delegates.VertexAttribP1uiv)); + Delegates.glVertexAttribP1uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribP2ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP2ui = (Delegates.VertexAttribP2ui)GetExtensionDelegateStatic("glVertexAttribP2ui", typeof(Delegates.VertexAttribP2ui)); + Delegates.glVertexAttribP2ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP2uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP2uiv = (Delegates.VertexAttribP2uiv)GetExtensionDelegateStatic("glVertexAttribP2uiv", typeof(Delegates.VertexAttribP2uiv)); + Delegates.glVertexAttribP2uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribP3ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP3ui = (Delegates.VertexAttribP3ui)GetExtensionDelegateStatic("glVertexAttribP3ui", typeof(Delegates.VertexAttribP3ui)); + Delegates.glVertexAttribP3ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP3uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP3uiv = (Delegates.VertexAttribP3uiv)GetExtensionDelegateStatic("glVertexAttribP3uiv", typeof(Delegates.VertexAttribP3uiv)); + Delegates.glVertexAttribP3uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribP4ui(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32 value) + { + Delegates.glVertexAttribP4ui = (Delegates.VertexAttribP4ui)GetExtensionDelegateStatic("glVertexAttribP4ui", typeof(Delegates.VertexAttribP4ui)); + Delegates.glVertexAttribP4ui((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32)value); + } + internal static unsafe void Load_VertexAttribP4uiv(UInt32 index, OpenTK.Graphics.OpenGL4.PackedPointerType type, bool normalized, UInt32* value) + { + Delegates.glVertexAttribP4uiv = (Delegates.VertexAttribP4uiv)GetExtensionDelegateStatic("glVertexAttribP4uiv", typeof(Delegates.VertexAttribP4uiv)); + Delegates.glVertexAttribP4uiv((UInt32)index, (OpenTK.Graphics.OpenGL4.PackedPointerType)type, (bool)normalized, (UInt32*)value); + } + internal static void Load_VertexAttribPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL4.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr pointer) + { + Delegates.glVertexAttribPointer = (Delegates.VertexAttribPointer)GetExtensionDelegateStatic("glVertexAttribPointer", typeof(Delegates.VertexAttribPointer)); + Delegates.glVertexAttribPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL4.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)pointer); + } + internal static void Load_VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) + { + Delegates.glVertexBindingDivisor = (Delegates.VertexBindingDivisor)GetExtensionDelegateStatic("glVertexBindingDivisor", typeof(Delegates.VertexBindingDivisor)); + Delegates.glVertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); + } + internal static void Load_VertexP2ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) + { + Delegates.glVertexP2ui = (Delegates.VertexP2ui)GetExtensionDelegateStatic("glVertexP2ui", typeof(Delegates.VertexP2ui)); + Delegates.glVertexP2ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); + } + internal static unsafe void Load_VertexP2uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) + { + Delegates.glVertexP2uiv = (Delegates.VertexP2uiv)GetExtensionDelegateStatic("glVertexP2uiv", typeof(Delegates.VertexP2uiv)); + Delegates.glVertexP2uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); + } + internal static void Load_VertexP3ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) + { + Delegates.glVertexP3ui = (Delegates.VertexP3ui)GetExtensionDelegateStatic("glVertexP3ui", typeof(Delegates.VertexP3ui)); + Delegates.glVertexP3ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); + } + internal static unsafe void Load_VertexP3uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) + { + Delegates.glVertexP3uiv = (Delegates.VertexP3uiv)GetExtensionDelegateStatic("glVertexP3uiv", typeof(Delegates.VertexP3uiv)); + Delegates.glVertexP3uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); + } + internal static void Load_VertexP4ui(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32 value) + { + Delegates.glVertexP4ui = (Delegates.VertexP4ui)GetExtensionDelegateStatic("glVertexP4ui", typeof(Delegates.VertexP4ui)); + Delegates.glVertexP4ui((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32)value); + } + internal static unsafe void Load_VertexP4uiv(OpenTK.Graphics.OpenGL4.PackedPointerType type, UInt32* value) + { + Delegates.glVertexP4uiv = (Delegates.VertexP4uiv)GetExtensionDelegateStatic("glVertexP4uiv", typeof(Delegates.VertexP4uiv)); + Delegates.glVertexP4uiv((OpenTK.Graphics.OpenGL4.PackedPointerType)type, (UInt32*)value); + } + internal static void Load_Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + Delegates.glViewport = (Delegates.Viewport)GetExtensionDelegateStatic("glViewport", typeof(Delegates.Viewport)); + Delegates.glViewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + internal static unsafe void Load_ViewportArrayv(UInt32 first, Int32 count, Single* v) + { + Delegates.glViewportArrayv = (Delegates.ViewportArrayv)GetExtensionDelegateStatic("glViewportArrayv", typeof(Delegates.ViewportArrayv)); + Delegates.glViewportArrayv((UInt32)first, (Int32)count, (Single*)v); + } + internal static void Load_ViewportIndexedf(UInt32 index, Single x, Single y, Single w, Single h) + { + Delegates.glViewportIndexedf = (Delegates.ViewportIndexedf)GetExtensionDelegateStatic("glViewportIndexedf", typeof(Delegates.ViewportIndexedf)); + Delegates.glViewportIndexedf((UInt32)index, (Single)x, (Single)y, (Single)w, (Single)h); + } + internal static unsafe void Load_ViewportIndexedfv(UInt32 index, Single* v) + { + Delegates.glViewportIndexedfv = (Delegates.ViewportIndexedfv)GetExtensionDelegateStatic("glViewportIndexedfv", typeof(Delegates.ViewportIndexedfv)); + Delegates.glViewportIndexedfv((UInt32)index, (Single*)v); + } + internal static OpenTK.Graphics.OpenGL4.WaitSyncStatus Load_WaitSync(IntPtr sync, OpenTK.Graphics.OpenGL4.WaitSyncFlags flags, UInt64 timeout) + { + Delegates.glWaitSync = (Delegates.WaitSync)GetExtensionDelegateStatic("glWaitSync", typeof(Delegates.WaitSync)); + return Delegates.glWaitSync((IntPtr)sync, (OpenTK.Graphics.OpenGL4.WaitSyncFlags)flags, (UInt64)timeout); + } } } }