diff --git a/.gitignore b/.gitignore index 2d9d04435..80b866c03 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,15 @@ *.userprefs +/.vs/OpenTK/v14/.suo +/Projects/OpenTK.Android/.vs/OpenTK.Android/v14/.suo +/Projects/OpenTK.Android/UpgradeLog.htm +/Source/Bind/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/Source/Build.UpdateVersion/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/Source/Compatibility/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/Source/Converter/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/Source/Examples/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/Source/GLControl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/Source/OpenTK/.vs/OpenTK/v14/.suo +/Source/OpenTK/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/Source/OpenTK/obj/Debug/OpenTK.Properties.Resources.resources +/Source/OpenTK/obj/Debug/OpenTK.csproj.FileListAbsolute.txt +/Source/OpenTK/obj/Debug/OpenTK.csproj.GenerateResource.Cache diff --git a/Projects/OpenTK.Android/.gitignore b/Projects/OpenTK.Android/.gitignore new file mode 100644 index 000000000..1746e3269 --- /dev/null +++ b/Projects/OpenTK.Android/.gitignore @@ -0,0 +1,2 @@ +bin +obj diff --git a/Projects/OpenTK.Android/Graphics/EL31.Android/Core.cs b/Projects/OpenTK.Android/Graphics/EL31.Android/Core.cs new file mode 100644 index 000000000..ce9798aa9 --- /dev/null +++ b/Projects/OpenTK.Android/Graphics/EL31.Android/Core.cs @@ -0,0 +1,987 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 the Open Toolkit library. +// Copyright 2013 Xamarin Inc +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// + + + +namespace OpenTK.Graphics.ES31 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + + partial class GL + { + + internal static partial class Core + { + + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveShaderProgram", ExactSpelling = true)] + internal extern static void ActiveShaderProgram(UInt32 pipeline, UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)] + internal extern static void ActiveTexture(OpenTK.Graphics.ES31.TextureUnit texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)] + internal extern static void AttachShader(UInt32 program, UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginQuery", ExactSpelling = true)] + internal extern static void BeginQuery(OpenTK.Graphics.ES31.QueryTarget target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginTransformFeedback", ExactSpelling = true)] + internal extern static void BeginTransformFeedback(OpenTK.Graphics.ES31.TransformFeedbackPrimitiveType primitiveMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindAttribLocation", ExactSpelling = true)] + internal extern static void BindAttribLocation(UInt32 program, UInt32 index, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBuffer", ExactSpelling = true)] + internal extern static void BindBuffer(OpenTK.Graphics.ES31.BufferTarget target, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)] + internal extern static void BindBufferBase(OpenTK.Graphics.ES31.BufferRangeTarget target, UInt32 index, UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)] + internal extern static void BindBufferRange(OpenTK.Graphics.ES31.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)] + internal extern static void BindFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindImageTexture", ExactSpelling = true)] + internal extern static void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.ES31.All access, OpenTK.Graphics.ES31.All format); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindProgramPipeline", ExactSpelling = true)] + internal extern static void BindProgramPipeline(UInt32 pipeline); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)] + internal extern static void BindRenderbuffer(OpenTK.Graphics.ES31.RenderbufferTarget target, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindSampler", ExactSpelling = true)] + internal extern static void BindSampler(UInt32 unit, UInt32 sampler); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)] + internal extern static void BindTexture(OpenTK.Graphics.ES31.TextureTarget target, UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTransformFeedback", ExactSpelling = true)] + internal extern static void BindTransformFeedback(OpenTK.Graphics.ES31.TransformFeedbackTarget target, UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexArray", ExactSpelling = true)] + internal extern static void BindVertexArray(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindVertexBuffer", ExactSpelling = true)] + internal extern static void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendColor", ExactSpelling = true)] + internal extern static void BlendColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquation", ExactSpelling = true)] + internal extern static void BlendEquation(OpenTK.Graphics.ES31.BlendEquationMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)] + internal extern static void BlendEquationSeparate(OpenTK.Graphics.ES31.BlendEquationMode modeRGB, OpenTK.Graphics.ES31.BlendEquationMode modeAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)] + internal extern static void BlendFunc(OpenTK.Graphics.ES31.BlendingFactorSrc sfactor, OpenTK.Graphics.ES31.BlendingFactorDest dfactor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)] + internal extern static void BlendFuncSeparate(OpenTK.Graphics.ES31.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES31.BlendingFactorDest dstRGB, OpenTK.Graphics.ES31.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES31.BlendingFactorDest dstAlpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] + internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES31.ClearBufferMask mask, OpenTK.Graphics.ES31.BlitFramebufferFilter filter); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)] + internal extern static void BufferData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES31.BufferUsage usage); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)] + internal extern static void BufferSubData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCheckFramebufferStatus", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES31.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES31.FramebufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)] + internal extern static void Clear(OpenTK.Graphics.ES31.ClearBufferMask mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfi", ExactSpelling = true)] + internal extern static void ClearBufferfi(OpenTK.Graphics.ES31.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfv", ExactSpelling = true)] + internal extern static unsafe void ClearBufferfv(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferiv", ExactSpelling = true)] + internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferuiv", ExactSpelling = true)] + internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearColor", ExactSpelling = true)] + internal extern static void ClearColor(Single red, Single green, Single blue, Single alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearDepthf", ExactSpelling = true)] + internal extern static void ClearDepthf(Single depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearStencil", ExactSpelling = true)] + internal extern static void ClearStencil(Int32 s); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSync", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES31.All ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)] + internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompileShader", ExactSpelling = true)] + internal extern static void CompileShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)] + internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3D", ExactSpelling = true)] + internal extern static void CompressedTexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3D", ExactSpelling = true)] + internal extern static void CompressedTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.CompressedInternalFormat format, Int32 imageSize, IntPtr data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubData", ExactSpelling = true)] + internal extern static void CopyBufferSubData(OpenTK.Graphics.ES31.BufferTarget readTarget, OpenTK.Graphics.ES31.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)] + internal extern static void CopyTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)] + internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3D", ExactSpelling = true)] + internal extern static void CopyTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateProgram", ExactSpelling = true)] + internal extern static Int32 CreateProgram(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShader", ExactSpelling = true)] + internal extern static Int32 CreateShader(OpenTK.Graphics.ES31.ShaderType type); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCreateShaderProgramv", ExactSpelling = true)] + internal extern static Int32 CreateShaderProgramv(OpenTK.Graphics.ES31.All type, Int32 count, String @const); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)] + internal extern static void CullFace(OpenTK.Graphics.ES31.CullFaceMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteBuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteBuffers(Int32 n, UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteFramebuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgram", ExactSpelling = true)] + internal extern static void DeleteProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteProgramPipelines", ExactSpelling = true)] + internal extern static unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteQueries", ExactSpelling = true)] + internal extern static unsafe void DeleteQueries(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteRenderbuffers", ExactSpelling = true)] + internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSamplers", ExactSpelling = true)] + internal extern static unsafe void DeleteSamplers(Int32 count, UInt32* samplers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteShader", ExactSpelling = true)] + internal extern static void DeleteShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteSync", ExactSpelling = true)] + internal extern static void DeleteSync(IntPtr sync); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTextures", ExactSpelling = true)] + internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteTransformFeedbacks", ExactSpelling = true)] + internal extern static unsafe void DeleteTransformFeedbacks(Int32 n, UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeleteVertexArrays", ExactSpelling = true)] + internal extern static unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)] + internal extern static void DepthFunc(OpenTK.Graphics.ES31.DepthFunction func); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)] + internal extern static void DepthMask(bool flag); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)] + internal extern static void DepthRangef(Single n, Single f); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDetachShader", ExactSpelling = true)] + internal extern static void DetachShader(UInt32 program, UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisable", ExactSpelling = true)] + internal extern static void Disable(OpenTK.Graphics.ES31.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)] + internal extern static void DisableVertexAttribArray(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchCompute", ExactSpelling = true)] + internal extern static void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDispatchComputeIndirect", ExactSpelling = true)] + internal extern static void DispatchComputeIndirect(IntPtr indirect); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)] + internal extern static void DrawArrays(OpenTK.Graphics.ES31.BeginMode mode, Int32 first, Int32 count); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysIndirect", ExactSpelling = true)] + internal extern static void DrawArraysIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, IntPtr indirect); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] + internal extern static void DrawArraysInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 first, Int32 count, Int32 instanceCount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawBuffers", ExactSpelling = true)] + internal extern static unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES31.DrawBufferMode* bufs); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)] + internal extern static void DrawElements(OpenTK.Graphics.ES31.BeginMode mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsIndirect", ExactSpelling = true)] + internal extern static void DrawElementsIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, OpenTK.Graphics.ES31.All type, IntPtr indirect); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)] + internal extern static void DrawElementsInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, IntPtr indices, Int32 instanceCount); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)] + internal extern static void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, IntPtr indices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)] + internal extern static void Enable(OpenTK.Graphics.ES31.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)] + internal extern static void EnableVertexAttribArray(UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndQuery", ExactSpelling = true)] + internal extern static void EndQuery(OpenTK.Graphics.ES31.QueryTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndTransformFeedback", ExactSpelling = true)] + internal extern static void EndTransformFeedback(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSync", ExactSpelling = true)] + internal extern static IntPtr FenceSync(OpenTK.Graphics.ES31.SyncCondition condition, OpenTK.Graphics.ES31.WaitSyncFlags flags); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)] + internal extern static void Finish(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlush", ExactSpelling = true)] + internal extern static void Flush(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] + internal extern static void FlushMappedBufferRange(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferParameteri", ExactSpelling = true)] + internal extern static void FramebufferParameteri(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)] + internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)] + internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.TextureTarget textarget, UInt32 texture, Int32 level); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)] + internal extern static void FramebufferTextureLayer(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)] + internal extern static void FrontFace(OpenTK.Graphics.ES31.FrontFaceDirection mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)] + internal extern static unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)] + internal extern static void GenerateMipmap(OpenTK.Graphics.ES31.TextureTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)] + internal extern static unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenProgramPipelines", ExactSpelling = true)] + internal extern static unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenQueries", ExactSpelling = true)] + internal extern static unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)] + internal extern static unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenSamplers", ExactSpelling = true)] + internal extern static unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)] + internal extern static unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTransformFeedbacks", ExactSpelling = true)] + internal extern static unsafe void GenTransformFeedbacks(Int32 n, [OutAttribute] UInt32* ids); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenVertexArrays", ExactSpelling = true)] + internal extern static unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveAttrib", ExactSpelling = true)] + internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.ActiveAttribType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniform", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.ActiveUniformType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockiv", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformBlockiv(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES31.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformBlockName", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetActiveUniformsiv", ExactSpelling = true)] + internal extern static unsafe void GetActiveUniformsiv(UInt32 program, Int32 uniformCount, [OutAttribute] UInt32* uniformIndices, OpenTK.Graphics.ES31.ActiveUniformParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)] + internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)] + internal extern static Int32 GetAttribLocation(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleani_v", ExactSpelling = true)] + internal extern static unsafe void GetBooleani_v(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] bool* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)] + internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] bool* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteri64v", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameteri64v(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointerv", ExactSpelling = true)] + internal extern static void GetBufferPointerv(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferPointer pname, [OutAttribute] IntPtr @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)] + internal extern static OpenTK.Graphics.ES31.All GetError(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)] + internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFragDataLocation", ExactSpelling = true)] + internal extern static Int32 GetFragDataLocation(UInt32 program, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.FramebufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetFramebufferParameteriv(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64i_v", ExactSpelling = true)] + internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)] + internal extern static unsafe void GetInteger64v(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Int64* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)] + internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)] + internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInternalformativ", ExactSpelling = true)] + internal extern static unsafe void GetInternalformativ(OpenTK.Graphics.ES31.ImageTarget target, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, OpenTK.Graphics.ES31.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetMultisamplefv", ExactSpelling = true)] + internal extern static unsafe void GetMultisamplefv(OpenTK.Graphics.ES31.All pname, UInt32 index, [OutAttribute] Single* val); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinary", ExactSpelling = true)] + internal extern static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [OutAttribute] IntPtr binary); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramInterfaceiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramInterfaceiv(UInt32 program, OpenTK.Graphics.ES31.All programInterface, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES31.ProgramParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramPipelineiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramPipelineiv(UInt32 pipeline, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceIndex", ExactSpelling = true)] + internal extern static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.ES31.All programInterface, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceiv", ExactSpelling = true)] + internal extern static unsafe void GetProgramResourceiv(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 propCount, [OutAttribute] OpenTK.Graphics.ES31.All* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceLocation", ExactSpelling = true)] + internal extern static Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.ES31.All programInterface, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramResourceName", ExactSpelling = true)] + internal extern static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryiv", ExactSpelling = true)] + internal extern static unsafe void GetQueryiv(OpenTK.Graphics.ES31.QueryTarget target, OpenTK.Graphics.ES31.GetQueryParam pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetQueryObjectuiv", ExactSpelling = true)] + internal extern static unsafe void GetQueryObjectuiv(UInt32 id, OpenTK.Graphics.ES31.GetQueryObjectParam pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES31.RenderbufferTarget target, OpenTK.Graphics.ES31.RenderbufferParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetSamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSamplerParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetSamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderInfoLog", ExactSpelling = true)] + internal extern static unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)] + internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES31.ShaderParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)] + internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES31.ShaderType shadertype, OpenTK.Graphics.ES31.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderSource", ExactSpelling = true)] + internal extern static unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)] + internal extern static unsafe IntPtr GetString(OpenTK.Graphics.ES31.StringName name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetStringi", ExactSpelling = true)] + internal extern static unsafe Byte GetStringi(OpenTK.Graphics.ES31.StringNameIndexed name, UInt32 index); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)] + internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.ES31.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetTexLevelParameterfv(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexLevelParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetTexLevelParameteriv(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] + internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.TransformFeedbackType* type, [OutAttribute] StringBuilder name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformBlockIndex", ExactSpelling = true)] + internal extern static Int32 GetUniformBlockIndex(UInt32 program, [OutAttribute] StringBuilder uniformBlockName); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)] + internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformIndices", ExactSpelling = true)] + internal extern static unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, [OutAttribute] StringBuilder uniformNames, [OutAttribute] UInt32* uniformIndices); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)] + internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)] + internal extern static Int32 GetUniformLocation(UInt32 program, String name); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformuiv", ExactSpelling = true)] + internal extern static unsafe void GetUniformuiv(UInt32 program, Int32 location, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIiv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIiv(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribIuiv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribIuiv(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] UInt32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)] + internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)] + internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)] + internal extern static void Hint(OpenTK.Graphics.ES31.HintTarget target, OpenTK.Graphics.ES31.HintMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateFramebuffer", ExactSpelling = true)] + internal extern static unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES31.FramebufferAttachment* attachments); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glInvalidateSubFramebuffer", ExactSpelling = true)] + internal extern static unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES31.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsBuffer", ExactSpelling = true)] + internal extern static bool IsBuffer(UInt32 buffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsEnabled", ExactSpelling = true)] + internal extern static bool IsEnabled(OpenTK.Graphics.ES31.EnableCap cap); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFramebuffer", ExactSpelling = true)] + internal extern static bool IsFramebuffer(UInt32 framebuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgram", ExactSpelling = true)] + internal extern static bool IsProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsProgramPipeline", ExactSpelling = true)] + internal extern static bool IsProgramPipeline(UInt32 pipeline); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsQuery", ExactSpelling = true)] + internal extern static bool IsQuery(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsRenderbuffer", ExactSpelling = true)] + internal extern static bool IsRenderbuffer(UInt32 renderbuffer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSampler", ExactSpelling = true)] + internal extern static bool IsSampler(UInt32 sampler); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsShader", ExactSpelling = true)] + internal extern static bool IsShader(UInt32 shader); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsSync", ExactSpelling = true)] + internal extern static bool IsSync(IntPtr sync); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTexture", ExactSpelling = true)] + internal extern static bool IsTexture(UInt32 texture); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsTransformFeedback", ExactSpelling = true)] + internal extern static bool IsTransformFeedback(UInt32 id); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] + internal extern static bool IsVertexArray(UInt32 array); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLineWidth", ExactSpelling = true)] + internal extern static void LineWidth(Single width); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glLinkProgram", ExactSpelling = true)] + internal extern static void LinkProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] + internal extern static unsafe IntPtr MapBufferRange(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES31.BufferAccessMask access); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrier", ExactSpelling = true)] + internal extern static void MemoryBarrier(OpenTK.Graphics.ES31.MemoryBarrierMask barriers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMemoryBarrierByRegion", ExactSpelling = true)] + internal extern static void MemoryBarrierByRegion(UInt32 barriers); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPauseTransformFeedback", ExactSpelling = true)] + internal extern static void PauseTransformFeedback(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)] + internal extern static void PixelStorei(OpenTK.Graphics.ES31.PixelStoreParameter pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)] + internal extern static void PolygonOffset(Single factor, Single units); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramBinary", ExactSpelling = true)] + internal extern static void ProgramBinary(UInt32 program, OpenTK.Graphics.ES31.All binaryFormat, IntPtr binary, Int32 length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramParameteri", ExactSpelling = true)] + internal extern static void ProgramParameteri(UInt32 program, OpenTK.Graphics.ES31.ProgramParameterName pname, Int32 value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1f", ExactSpelling = true)] + internal extern static void ProgramUniform1f(UInt32 program, Int32 location, Single v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1i", ExactSpelling = true)] + internal extern static void ProgramUniform1i(UInt32 program, Int32 location, Int32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1ui", ExactSpelling = true)] + internal extern static void ProgramUniform1ui(UInt32 program, Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform1uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform1uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2f", ExactSpelling = true)] + internal extern static void ProgramUniform2f(UInt32 program, Int32 location, Single v0, Single v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2i", ExactSpelling = true)] + internal extern static void ProgramUniform2i(UInt32 program, Int32 location, Int32 v0, Int32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2ui", ExactSpelling = true)] + internal extern static void ProgramUniform2ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform2uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform2uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3f", ExactSpelling = true)] + internal extern static void ProgramUniform3f(UInt32 program, Int32 location, Single v0, Single v1, Single v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3i", ExactSpelling = true)] + internal extern static void ProgramUniform3i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3ui", ExactSpelling = true)] + internal extern static void ProgramUniform3ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform3uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform3uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4f", ExactSpelling = true)] + internal extern static void ProgramUniform4f(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4fv(UInt32 program, Int32 location, Int32 count, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4i", ExactSpelling = true)] + internal extern static void ProgramUniform4i(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4iv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4iv(UInt32 program, Int32 location, Int32 count, Int32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4ui", ExactSpelling = true)] + internal extern static void ProgramUniform4ui(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniform4uiv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniform4uiv(UInt32 program, Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix2x4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix2x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix3x4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix3x4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x2fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x2fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glProgramUniformMatrix4x3fv", ExactSpelling = true)] + internal extern static unsafe void ProgramUniformMatrix4x3fv(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadBuffer", ExactSpelling = true)] + internal extern static void ReadBuffer(OpenTK.Graphics.ES31.ReadBufferMode mode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReadPixels", ExactSpelling = true)] + internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glReleaseShaderCompiler", ExactSpelling = true)] + internal extern static void ReleaseShaderCompiler(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorage", ExactSpelling = true)] + internal extern static void RenderbufferStorage(OpenTK.Graphics.ES31.RenderbufferTarget target, OpenTK.Graphics.ES31.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glRenderbufferStorageMultisample", ExactSpelling = true)] + internal extern static void RenderbufferStorageMultisample(OpenTK.Graphics.ES31.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES31.RenderbufferInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glResumeTransformFeedback", ExactSpelling = true)] + internal extern static void ResumeTransformFeedback(); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleCoverage", ExactSpelling = true)] + internal extern static void SampleCoverage(Single value, bool invert); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSampleMaski", ExactSpelling = true)] + internal extern static void SampleMaski(UInt32 maskNumber, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterf", ExactSpelling = true)] + internal extern static void SamplerParameterf(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameterfv", ExactSpelling = true)] + internal extern static unsafe void SamplerParameterfv(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteri", ExactSpelling = true)] + internal extern static void SamplerParameteri(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSamplerParameteriv", ExactSpelling = true)] + internal extern static unsafe void SamplerParameteriv(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32* param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glScissor", ExactSpelling = true)] + internal extern static void Scissor(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderBinary", ExactSpelling = true)] + internal extern static unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glShaderSource", ExactSpelling = true)] + internal extern static unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFunc", ExactSpelling = true)] + internal extern static void StencilFunc(OpenTK.Graphics.ES31.StencilFunction func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)] + internal extern static void StencilFuncSeparate(OpenTK.Graphics.ES31.CullFaceMode face, OpenTK.Graphics.ES31.StencilFunction func, Int32 @ref, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)] + internal extern static void StencilMask(UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMaskSeparate", ExactSpelling = true)] + internal extern static void StencilMaskSeparate(OpenTK.Graphics.ES31.CullFaceMode face, UInt32 mask); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)] + internal extern static void StencilOp(OpenTK.Graphics.ES31.StencilOp fail, OpenTK.Graphics.ES31.StencilOp zfail, OpenTK.Graphics.ES31.StencilOp zpass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)] + internal extern static void StencilOpSeparate(OpenTK.Graphics.ES31.CullFaceMode face, OpenTK.Graphics.ES31.StencilOp fail, OpenTK.Graphics.ES31.StencilOp zfail, OpenTK.Graphics.ES31.StencilOp zpass); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)] + internal extern static void TexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3D", ExactSpelling = true)] + internal extern static void TexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)] + internal extern static void TexParameterf(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Single param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)] + internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Single* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)] + internal extern static void TexParameteri(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Int32 param); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)] + internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Int32* @params); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2D", ExactSpelling = true)] + internal extern static void TexStorage2D(OpenTK.Graphics.ES31.TextureTarget2D target, Int32 levels, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DMultisample", ExactSpelling = true)] + internal extern static void TexStorage2DMultisample(OpenTK.Graphics.ES31.All target, Int32 samples, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, bool fixedsamplelocations); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3D", ExactSpelling = true)] + internal extern static void TexStorage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 levels, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)] + internal extern static void TexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3D", ExactSpelling = true)] + internal extern static void TexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] + internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.ES31.TransformFeedbackMode bufferMode); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1f", ExactSpelling = true)] + internal extern static void Uniform1f(Int32 location, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1fv", ExactSpelling = true)] + internal extern static unsafe void Uniform1fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1i", ExactSpelling = true)] + internal extern static void Uniform1i(Int32 location, Int32 x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1iv", ExactSpelling = true)] + internal extern static unsafe void Uniform1iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1ui", ExactSpelling = true)] + internal extern static void Uniform1ui(Int32 location, UInt32 v0); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform1uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform1uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2f", ExactSpelling = true)] + internal extern static void Uniform2f(Int32 location, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2fv", ExactSpelling = true)] + internal extern static unsafe void Uniform2fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2i", ExactSpelling = true)] + internal extern static void Uniform2i(Int32 location, Int32 x, Int32 y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2iv", ExactSpelling = true)] + internal extern static unsafe void Uniform2iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2ui", ExactSpelling = true)] + internal extern static void Uniform2ui(Int32 location, UInt32 v0, UInt32 v1); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform2uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform2uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3f", ExactSpelling = true)] + internal extern static void Uniform3f(Int32 location, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3fv", ExactSpelling = true)] + internal extern static unsafe void Uniform3fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3i", ExactSpelling = true)] + internal extern static void Uniform3i(Int32 location, Int32 x, Int32 y, Int32 z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3iv", ExactSpelling = true)] + internal extern static unsafe void Uniform3iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3ui", ExactSpelling = true)] + internal extern static void Uniform3ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform3uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform3uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4f", ExactSpelling = true)] + internal extern static void Uniform4f(Int32 location, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4fv", ExactSpelling = true)] + internal extern static unsafe void Uniform4fv(Int32 location, Int32 count, Single* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4i", ExactSpelling = true)] + internal extern static void Uniform4i(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4iv", ExactSpelling = true)] + internal extern static unsafe void Uniform4iv(Int32 location, Int32 count, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4ui", ExactSpelling = true)] + internal extern static void Uniform4ui(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniform4uiv", ExactSpelling = true)] + internal extern static unsafe void Uniform4uiv(Int32 location, Int32 count, UInt32* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformBlockBinding", ExactSpelling = true)] + internal extern static void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x3fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix2x4fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix2x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x2fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix3x4fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix3x4fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x2fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4x2fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUniformMatrix4x3fv", ExactSpelling = true)] + internal extern static unsafe void UniformMatrix4x3fv(Int32 location, Int32 count, bool transpose, Single* value); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUnmapBuffer", ExactSpelling = true)] + internal extern static bool UnmapBuffer(OpenTK.Graphics.ES31.BufferTarget target); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgram", ExactSpelling = true)] + internal extern static void UseProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glUseProgramStages", ExactSpelling = true)] + internal extern static void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgram", ExactSpelling = true)] + internal extern static void ValidateProgram(UInt32 program); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glValidateProgramPipeline", ExactSpelling = true)] + internal extern static void ValidateProgramPipeline(UInt32 pipeline); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1f", ExactSpelling = true)] + internal extern static void VertexAttrib1f(UInt32 indx, Single x); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib1fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib1fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2f", ExactSpelling = true)] + internal extern static void VertexAttrib2f(UInt32 indx, Single x, Single y); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib2fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib2fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3f", ExactSpelling = true)] + internal extern static void VertexAttrib3f(UInt32 indx, Single x, Single y, Single z); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib3fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib3fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4f", ExactSpelling = true)] + internal extern static void VertexAttrib4f(UInt32 indx, Single x, Single y, Single z, Single w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttrib4fv", ExactSpelling = true)] + internal extern static unsafe void VertexAttrib4fv(UInt32 indx, Single* values); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribBinding", ExactSpelling = true)] + internal extern static void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribDivisor", ExactSpelling = true)] + internal extern static void VertexAttribDivisor(UInt32 index, UInt32 divisor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormat", ExactSpelling = true)] + internal extern static void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, UInt32 relativeoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4i", ExactSpelling = true)] + internal extern static void VertexAttribI4i(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4iv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4iv(UInt32 index, Int32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4ui", ExactSpelling = true)] + internal extern static void VertexAttribI4ui(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribI4uiv", ExactSpelling = true)] + internal extern static unsafe void VertexAttribI4uiv(UInt32 index, UInt32* v); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormat", ExactSpelling = true)] + internal extern static void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.ES31.All type, UInt32 relativeoffset); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] + internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribPointer", ExactSpelling = true)] + internal extern static void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexBindingDivisor", ExactSpelling = true)] + internal extern static void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glViewport", ExactSpelling = true)] + internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height); + [System.Security.SuppressUnmanagedCodeSecurity()] + [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSync", ExactSpelling = true)] + internal extern static void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout); + } + } +} diff --git a/Projects/OpenTK.Android/Graphics/EL31.Android/Delegates.cs b/Projects/OpenTK.Android/Graphics/EL31.Android/Delegates.cs new file mode 100644 index 000000000..dc574ca02 --- /dev/null +++ b/Projects/OpenTK.Android/Graphics/EL31.Android/Delegates.cs @@ -0,0 +1,37 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 the Open Toolkit library. +// Copyright 2013 Xamarin Inc +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// + + + +namespace OpenTK.Graphics.ES31 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 0649 + #pragma warning disable 3019 + #pragma warning disable 1591 +} diff --git a/Projects/OpenTK.Android/Graphics/EL31.Android/ES.Obsolete.cs b/Projects/OpenTK.Android/Graphics/EL31.Android/ES.Obsolete.cs new file mode 100644 index 000000000..d42439eb5 --- /dev/null +++ b/Projects/OpenTK.Android/Graphics/EL31.Android/ES.Obsolete.cs @@ -0,0 +1,8201 @@ +// +// The Open Toolkit Library License +// +// Copyright 2013 Xamarin Inc +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// + + + +namespace OpenTK.Graphics.ES31 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + #pragma warning disable 1572 + #pragma warning disable 1573 + + partial class GL + { + [Obsolete ("Use the overload with strongly typed enumerations")] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glActiveTexture")] + public static + void ActiveTexture(OpenTK.Graphics.ES31.All texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ActiveTexture((OpenTK.Graphics.ES31.TextureUnit)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindBuffer(OpenTK.Graphics.ES31.All target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBuffer((OpenTK.Graphics.ES31.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindBuffer(OpenTK.Graphics.ES31.All target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBuffer((OpenTK.Graphics.ES31.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindFramebuffer(OpenTK.Graphics.ES31.All target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindFramebuffer(OpenTK.Graphics.ES31.All target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindRenderbuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES31.All target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindRenderbuffer((OpenTK.Graphics.ES31.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindRenderbuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES31.All target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindRenderbuffer((OpenTK.Graphics.ES31.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTexture")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindTexture(OpenTK.Graphics.ES31.All target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTexture((OpenTK.Graphics.ES31.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTexture")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindTexture(OpenTK.Graphics.ES31.All target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTexture((OpenTK.Graphics.ES31.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendEquation")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BlendEquation(OpenTK.Graphics.ES31.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendEquation((OpenTK.Graphics.ES31.BlendEquationMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendEquationSeparate")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BlendEquationSeparate(OpenTK.Graphics.ES31.All modeRGB, OpenTK.Graphics.ES31.All modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendEquationSeparate((OpenTK.Graphics.ES31.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES31.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendFunc")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BlendFunc(OpenTK.Graphics.ES31.All sfactor, OpenTK.Graphics.ES31.All dfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendFunc((OpenTK.Graphics.ES31.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES31.BlendingFactorDest)dfactor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendFuncSeparate")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BlendFuncSeparate(OpenTK.Graphics.ES31.All srcRGB, OpenTK.Graphics.ES31.All dstRGB, OpenTK.Graphics.ES31.All srcAlpha, OpenTK.Graphics.ES31.All dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendFuncSeparate((OpenTK.Graphics.ES31.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.ES31.BlendingFactorDest)dstRGB, (OpenTK.Graphics.ES31.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.ES31.BlendingFactorDest)dstAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferData(OpenTK.Graphics.ES31.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES31.All usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES31.BufferUsage)usage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferData(OpenTK.Graphics.ES31.All target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES31.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferData(OpenTK.Graphics.ES31.All target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES31.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferData(OpenTK.Graphics.ES31.All target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES31.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferData(OpenTK.Graphics.ES31.All target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES31.All usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferSubData(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferSubData(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferSubData(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferSubData(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BufferSubData(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCheckFramebufferStatus")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + OpenTK.Graphics.ES31.All CheckFramebufferStatus(OpenTK.Graphics.ES31.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return (All) Core.CheckFramebufferStatus((OpenTK.Graphics.ES31.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CopyTexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCreateShader")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + Int32 CreateShader(OpenTK.Graphics.ES31.All type) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.CreateShader((OpenTK.Graphics.ES31.ShaderType)type); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCullFace")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CullFace(OpenTK.Graphics.ES31.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CullFace((OpenTK.Graphics.ES31.CullFaceMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDepthFunc")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DepthFunc(OpenTK.Graphics.ES31.All func) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DepthFunc((OpenTK.Graphics.ES31.DepthFunction)func); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDisable")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void Disable(OpenTK.Graphics.ES31.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Disable((OpenTK.Graphics.ES31.EnableCap)cap); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArrays")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawArrays(OpenTK.Graphics.ES31.All mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawArrays((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElements(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElements(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElements(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T3[,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElements(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElements(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T3 indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glEnable")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void Enable(OpenTK.Graphics.ES31.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Enable((OpenTK.Graphics.ES31.EnableCap)cap); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferRenderbuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, OpenTK.Graphics.ES31.All renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferRenderbuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferRenderbuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, OpenTK.Graphics.ES31.All renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferRenderbuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTexture2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, OpenTK.Graphics.ES31.All textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTexture2D((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTexture2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, OpenTK.Graphics.ES31.All textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTexture2D((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFrontFace")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FrontFace(OpenTK.Graphics.ES31.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FrontFace((OpenTK.Graphics.ES31.FrontFaceDirection)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenerateMipmap")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GenerateMipmap(OpenTK.Graphics.ES31.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenerateMipmap((OpenTK.Graphics.ES31.TextureTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.All[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.All type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = &type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.All* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.All[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.All type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = &type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.All* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.All[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.All type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = &type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.All* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.All[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.All type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = &type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.All* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [Obsolete ("Use the overload with strongly typed enumerations")] + public static string GetActiveUniform(int program, int uniformIndex, out int size, out All type) + { + ActiveUniformType t; + string str = GetActiveUniform(program, uniformIndex, out size, out t); + + type = (All)(int) t; + + return str; + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttribLocation")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + Int32 GetAttribLocation(Int32 program, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetAttribLocation((UInt32)program, name.ToString ()); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [Obsolete ("Use the overload with strongly typed enumerations")] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttribLocation")] + public static + Int32 GetAttribLocation(UInt32 program, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetAttribLocation((UInt32)program, name.ToString ()); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleanv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBoolean(OpenTK.Graphics.ES31.All pname, [OutAttribute] bool[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = @params) + { + Core.GetBooleanv((OpenTK.Graphics.ES31.GetPName)pname, (bool*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleanv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBoolean(OpenTK.Graphics.ES31.All pname, [OutAttribute] out bool @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = &@params) + { + Core.GetBooleanv((OpenTK.Graphics.ES31.GetPName)pname, (bool*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleanv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetBoolean(OpenTK.Graphics.ES31.All pname, [OutAttribute] bool* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBooleanv((OpenTK.Graphics.ES31.GetPName)pname, (bool*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetBufferParameteriv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetBufferParameteriv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBufferParameteriv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFloatv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetFloat(OpenTK.Graphics.ES31.All pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetFloatv((OpenTK.Graphics.ES31.GetPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFloatv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetFloat(OpenTK.Graphics.ES31.All pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetFloatv((OpenTK.Graphics.ES31.GetPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFloatv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetFloat(OpenTK.Graphics.ES31.All pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetFloatv((OpenTK.Graphics.ES31.GetPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.FramebufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetIntegerv((OpenTK.Graphics.ES31.GetPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetIntegerv((OpenTK.Graphics.ES31.GetPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetIntegerv((OpenTK.Graphics.ES31.GetPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetRenderbufferParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetRenderbufferParameteriv((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetRenderbufferParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetRenderbufferParameteriv((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetRenderbufferParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetRenderbufferParameteriv((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderPrecisionFormat")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.ES31.All shadertype, OpenTK.Graphics.ES31.All precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = range) + fixed (Int32* precision_ptr = precision) + { + Core.GetShaderPrecisionFormat((OpenTK.Graphics.ES31.ShaderType)shadertype, (OpenTK.Graphics.ES31.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderPrecisionFormat")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.ES31.All shadertype, OpenTK.Graphics.ES31.All precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = &range) + fixed (Int32* precision_ptr = &precision) + { + Core.GetShaderPrecisionFormat((OpenTK.Graphics.ES31.ShaderType)shadertype, (OpenTK.Graphics.ES31.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + range = *range_ptr; + precision = *precision_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderPrecisionFormat")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES31.All shadertype, OpenTK.Graphics.ES31.All precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderPrecisionFormat((OpenTK.Graphics.ES31.ShaderType)shadertype, (OpenTK.Graphics.ES31.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetString")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe System.String GetString(OpenTK.Graphics.ES31.All name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Core.GetString((OpenTK.Graphics.ES31.StringName)name)); } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetTexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetTexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetTexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetTexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformLocation")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + Int32 GetUniformLocation(Int32 program, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetUniformLocation((UInt32)program, name.ToString()); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformLocation")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + Int32 GetUniformLocation(UInt32 program, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetUniformLocation((UInt32)program, name.ToString()); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glHint")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void Hint(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Hint((OpenTK.Graphics.ES31.HintTarget)target, (OpenTK.Graphics.ES31.HintMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsEnabled")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + bool IsEnabled(OpenTK.Graphics.ES31.All cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsEnabled((OpenTK.Graphics.ES31.EnableCap)cap); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glPixelStorei")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void PixelStore(OpenTK.Graphics.ES31.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.PixelStorei((OpenTK.Graphics.ES31.PixelStoreParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glRenderbufferStorage")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void RenderbufferStorage(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.RenderbufferStorage((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.All binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.All binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.All binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.All binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.All binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.All binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.All binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFunc")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilFunc(OpenTK.Graphics.ES31.All func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFunc((OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFunc")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilFunc(OpenTK.Graphics.ES31.All func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFunc((OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFuncSeparate")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilFuncSeparate(OpenTK.Graphics.ES31.All face, OpenTK.Graphics.ES31.All func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFuncSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFuncSeparate")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilFuncSeparate(OpenTK.Graphics.ES31.All face, OpenTK.Graphics.ES31.All func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFuncSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilMaskSeparate")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilMaskSeparate(OpenTK.Graphics.ES31.All face, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilMaskSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilMaskSeparate")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilMaskSeparate(OpenTK.Graphics.ES31.All face, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilMaskSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilOp")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilOp(OpenTK.Graphics.ES31.All fail, OpenTK.Graphics.ES31.All zfail, OpenTK.Graphics.ES31.All zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilOp((OpenTK.Graphics.ES31.StencilOp)fail, (OpenTK.Graphics.ES31.StencilOp)zfail, (OpenTK.Graphics.ES31.StencilOp)zpass); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilOpSeparate")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void StencilOpSeparate(OpenTK.Graphics.ES31.All face, OpenTK.Graphics.ES31.All fail, OpenTK.Graphics.ES31.All zfail, OpenTK.Graphics.ES31.All zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilOpSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (OpenTK.Graphics.ES31.StencilOp)fail, (OpenTK.Graphics.ES31.StencilOp)zfail, (OpenTK.Graphics.ES31.StencilOp)zpass); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameterf")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameterf((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.TexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameteri")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameteri((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.TexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, IntPtr ptr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + ptr = (T5)ptr_ptr.Target; + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, IntPtr ptr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + ptr = (T5)ptr_ptr.Target; + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger64(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger64(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger64(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger64(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger64(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger64(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferParameteri64(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferParameteri64(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetBufferParameteri64(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetStringi")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe System.String GetString(OpenTK.Graphics.ES31.All name, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Core.GetStringi((OpenTK.Graphics.ES31.StringNameIndexed)name, (UInt32)index)); } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetStringi")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe System.String GetString(OpenTK.Graphics.ES31.All name, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Core.GetStringi((OpenTK.Graphics.ES31.StringNameIndexed)name, (UInt32)index)); } + #if DEBUG + } + #endif + } + + /* ES 3.1 */ + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBeginQuery")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BeginQuery(OpenTK.Graphics.ES31.All target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BeginQuery((OpenTK.Graphics.ES31.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBeginQuery")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BeginQuery(OpenTK.Graphics.ES31.All target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BeginQuery((OpenTK.Graphics.ES31.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBeginTransformFeedback")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BeginTransformFeedback(OpenTK.Graphics.ES31.All primitiveMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BeginTransformFeedback((OpenTK.Graphics.ES31.TransformFeedbackPrimitiveType)primitiveMode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferBase")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindBufferBase(OpenTK.Graphics.ES31.All target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferBase((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferBase")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindBufferBase(OpenTK.Graphics.ES31.All target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferBase((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferRange")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindBufferRange(OpenTK.Graphics.ES31.All target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferRange((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferRange")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindBufferRange(OpenTK.Graphics.ES31.All target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferRange((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTransformFeedback")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindTransformFeedback(OpenTK.Graphics.ES31.All target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTransformFeedback((OpenTK.Graphics.ES31.TransformFeedbackTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTransformFeedback")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BindTransformFeedback(OpenTK.Graphics.ES31.All target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTransformFeedback((OpenTK.Graphics.ES31.TransformFeedbackTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlitFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, Int32 mask, OpenTK.Graphics.ES31.All filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES31.ClearBufferMask)mask, (OpenTK.Graphics.ES31.BlitFramebufferFilter)filter); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlitFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, UInt32 mask, OpenTK.Graphics.ES31.All filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES31.ClearBufferMask)mask, (OpenTK.Graphics.ES31.BlitFramebufferFilter)filter); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfi")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, Single depth, Int32 stencil) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferfi((OpenTK.Graphics.ES31.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ClearBufferfv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ClearBufferfv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferfv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ClearBufferiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ClearBufferiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.ClearBufferuiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.ClearBufferuiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ES31.All buffer, Int32 drawbuffer, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferuiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T10)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyBufferSubData")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CopyBufferSubData(OpenTK.Graphics.ES31.All readTarget, OpenTK.Graphics.ES31.All writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyBufferSubData((OpenTK.Graphics.ES31.BufferTarget)readTarget, (OpenTK.Graphics.ES31.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void CopyTexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawArraysInstanced(OpenTK.Graphics.ES31.All mode, Int32 first, Int32 count, Int32 instanceCount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawArraysInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instanceCount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawBuffers")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawBuffers(Int32 n, OpenTK.Graphics.ES31.All[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* bufs_ptr = bufs) + { + Core.DrawBuffers((Int32)n, (OpenTK.Graphics.ES31.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawBuffers")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES31.All bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* bufs_ptr = &bufs) + { + Core.DrawBuffers((Int32)n, (OpenTK.Graphics.ES31.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawBuffers")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES31.All* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawBuffers((Int32)n, (OpenTK.Graphics.ES31.DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, IntPtr indices, Int32 instanceCount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices, (Int32)instanceCount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T3[] indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T3[,] indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.All mode, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T3 indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.All type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.All type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.All mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glEndQuery")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void EndQuery(OpenTK.Graphics.ES31.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.EndQuery((OpenTK.Graphics.ES31.QueryTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFenceSync")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + IntPtr FenceSync(OpenTK.Graphics.ES31.All condition, Int32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.FenceSync((OpenTK.Graphics.ES31.SyncCondition)condition, (WaitSyncFlags)flags); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFenceSync")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + IntPtr FenceSync(OpenTK.Graphics.ES31.All condition, UInt32 flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.FenceSync((OpenTK.Graphics.ES31.SyncCondition)condition, (WaitSyncFlags)flags); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFlushMappedBufferRange")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FlushMappedBufferRange(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FlushMappedBufferRange((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTextureLayer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTextureLayer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTextureLayer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTextureLayer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, [OutAttribute] Int32[] uniformIndices, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, [OutAttribute] out Int32 uniformIndices, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + uniformIndices = *uniformIndices_ptr; + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, [OutAttribute] Int32* uniformIndices, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, [OutAttribute] UInt32[] uniformIndices, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, [OutAttribute] out UInt32 uniformIndices, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + uniformIndices = *uniformIndices_ptr; + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, [OutAttribute] UInt32* uniformIndices, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger64(OpenTK.Graphics.ES31.All pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Core.GetInteger64v((OpenTK.Graphics.ES31.GetPName)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger64(OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Core.GetInteger64v((OpenTK.Graphics.ES31.GetPName)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger64(OpenTK.Graphics.ES31.All pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64v((OpenTK.Graphics.ES31.GetPName)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInteger(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInternalformativ")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInternalformat(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All internalformat, OpenTK.Graphics.ES31.All pname, Int32 bufSize, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetInternalformativ((OpenTK.Graphics.ES31.ImageTarget)target, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES31.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInternalformativ")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetInternalformat(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All internalformat, OpenTK.Graphics.ES31.All pname, Int32 bufSize, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetInternalformativ((OpenTK.Graphics.ES31.ImageTarget)target, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES31.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInternalformativ")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetInternalformat(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All internalformat, OpenTK.Graphics.ES31.All pname, Int32 bufSize, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInternalformativ((OpenTK.Graphics.ES31.ImageTarget)target, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES31.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetQuery(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetQueryiv((OpenTK.Graphics.ES31.QueryTarget)target, (OpenTK.Graphics.ES31.GetQueryParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetQuery(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetQueryiv((OpenTK.Graphics.ES31.QueryTarget)target, (OpenTK.Graphics.ES31.GetQueryParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetQuery(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetQueryiv((OpenTK.Graphics.ES31.QueryTarget)target, (OpenTK.Graphics.ES31.GetQueryParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ES31.All pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ES31.All pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES31.All pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetStringi")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe String GetString(OpenTK.Graphics.ES31.StringName name, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Core.GetStringi((OpenTK.Graphics.ES31.StringNameIndexed)name, (UInt32)index)); } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetStringi")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe String GetString(OpenTK.Graphics.ES31.StringName name, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Core.GetStringi((OpenTK.Graphics.ES31.StringNameIndexed)name, (UInt32)index)); } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSynciv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSync(IntPtr sync, OpenTK.Graphics.ES31.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* values_ptr = values) + { + Core.GetSynciv((IntPtr)sync, (OpenTK.Graphics.ES31.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSynciv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetSync(IntPtr sync, OpenTK.Graphics.ES31.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* values_ptr = &values) + { + Core.GetSynciv((IntPtr)sync, (OpenTK.Graphics.ES31.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + length = *length_ptr; + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSynciv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES31.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSynciv((IntPtr)sync, (OpenTK.Graphics.ES31.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.All[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.All type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = &type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.All* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.TransformFeedbackType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.All[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.All type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.All* type_ptr = &type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.All* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.TransformFeedbackType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Core.GetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Core.GetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIuiv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.All pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void InvalidateFramebuffer(OpenTK.Graphics.ES31.All target, Int32 numAttachments, OpenTK.Graphics.ES31.All[] attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* attachments_ptr = attachments) + { + Core.InvalidateFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void InvalidateFramebuffer(OpenTK.Graphics.ES31.All target, Int32 numAttachments, ref OpenTK.Graphics.ES31.All attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* attachments_ptr = &attachments) + { + Core.InvalidateFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES31.All target, Int32 numAttachments, OpenTK.Graphics.ES31.All* attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.InvalidateFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateSubFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void InvalidateSubFramebuffer(OpenTK.Graphics.ES31.All target, Int32 numAttachments, OpenTK.Graphics.ES31.All[] attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* attachments_ptr = attachments) + { + Core.InvalidateSubFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateSubFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void InvalidateSubFramebuffer(OpenTK.Graphics.ES31.All target, Int32 numAttachments, ref OpenTK.Graphics.ES31.All attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* attachments_ptr = &attachments) + { + Core.InvalidateSubFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateSubFramebuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES31.All target, Int32 numAttachments, OpenTK.Graphics.ES31.All* attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.InvalidateSubFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMapBufferRange")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe IntPtr MapBufferRange(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr length, Int32 access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.MapBufferRange((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (BufferAccessMask)access); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMapBufferRange")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe IntPtr MapBufferRange(OpenTK.Graphics.ES31.All target, IntPtr offset, IntPtr length, UInt32 access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.MapBufferRange((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (BufferAccessMask)access); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramParameteri")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.ES31.All pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramParameteri((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameterName)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramParameteri")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.ES31.All pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramParameteri((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameterName)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadBuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void ReadBuffer(OpenTK.Graphics.ES31.All mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ReadBuffer((OpenTK.Graphics.ES31.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glRenderbufferStorageMultisample")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.ES31.All target, Int32 samples, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.RenderbufferStorageMultisample((OpenTK.Graphics.ES31.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES31.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterf")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterf")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteri")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteri")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.All pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.All pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexStorage2D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexStorage2D(OpenTK.Graphics.ES31.All target, Int32 levels, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexStorage2D((OpenTK.Graphics.ES31.TextureTarget2D)target, (Int32)levels, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexStorage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexStorage3D(OpenTK.Graphics.ES31.All target, Int32 levels, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, Int32 depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexStorage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)levels, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.All format, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTransformFeedbackVaryings")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, String varyings, OpenTK.Graphics.ES31.All bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ES31.TransformFeedbackMode)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTransformFeedbackVaryings")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.ES31.All bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ES31.TransformFeedbackMode)bufferMode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUnmapBuffer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + bool UnmapBuffer(OpenTK.Graphics.ES31.All target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.UnmapBuffer((OpenTK.Graphics.ES31.BufferTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.All type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMemoryBarrier")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void MemoryBarrier(Int32 barriers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.MemoryBarrier((OpenTK.Graphics.ES31.MemoryBarrierMask)barriers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMemoryBarrier")] + [Obsolete ("Use the overload with strongly typed enumerations")] + public static + void MemoryBarrier(UInt32 barriers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.MemoryBarrier((OpenTK.Graphics.ES31.MemoryBarrierMask)barriers); + #if DEBUG + } + #endif + } + } +} diff --git a/Projects/OpenTK.Android/Graphics/EL31.Android/ES.cs b/Projects/OpenTK.Android/Graphics/EL31.Android/ES.cs new file mode 100644 index 000000000..e96c30c09 --- /dev/null +++ b/Projects/OpenTK.Android/Graphics/EL31.Android/ES.cs @@ -0,0 +1,19024 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 the Open Toolkit library. +// Copyright 2013 Xamarin Inc +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// + + + +namespace OpenTK.Graphics.ES31 +{ + using System; + using System.Text; + using System.Runtime.InteropServices; + #pragma warning disable 3019 + #pragma warning disable 1591 + #pragma warning disable 1572 + #pragma warning disable 1573 + + partial class GL + { + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glActiveShaderProgram")] + public static + void ActiveShaderProgram(Int32 pipeline, Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ActiveShaderProgram((UInt32)pipeline, (UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glActiveShaderProgram")] + public static + void ActiveShaderProgram(UInt32 pipeline, UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ActiveShaderProgram((UInt32)pipeline, (UInt32)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glActiveTexture")] + public static + void ActiveTexture(OpenTK.Graphics.ES31.TextureUnit texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ActiveTexture((OpenTK.Graphics.ES31.TextureUnit)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glAttachShader")] + public static + void AttachShader(Int32 program, Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.AttachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glAttachShader")] + public static + void AttachShader(UInt32 program, UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.AttachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBeginQuery")] + public static + void BeginQuery(OpenTK.Graphics.ES31.QueryTarget target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BeginQuery((OpenTK.Graphics.ES31.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBeginQuery")] + public static + void BeginQuery(OpenTK.Graphics.ES31.QueryTarget target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BeginQuery((OpenTK.Graphics.ES31.QueryTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBeginTransformFeedback")] + public static + void BeginTransformFeedback(OpenTK.Graphics.ES31.TransformFeedbackPrimitiveType primitiveMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BeginTransformFeedback((OpenTK.Graphics.ES31.TransformFeedbackPrimitiveType)primitiveMode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(Int32 program, Int32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindAttribLocation")] + public static + void BindAttribLocation(UInt32 program, UInt32 index, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindAttribLocation((UInt32)program, (UInt32)index, (String)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.ES31.BufferTarget target, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBuffer((OpenTK.Graphics.ES31.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBuffer")] + public static + void BindBuffer(OpenTK.Graphics.ES31.BufferTarget target, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBuffer((OpenTK.Graphics.ES31.BufferTarget)target, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferBase")] + public static + void BindBufferBase(OpenTK.Graphics.ES31.BufferRangeTarget target, Int32 index, Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferBase((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferBase")] + public static + void BindBufferBase(OpenTK.Graphics.ES31.BufferRangeTarget target, UInt32 index, UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferBase((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferRange")] + public static + void BindBufferRange(OpenTK.Graphics.ES31.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferRange((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindBufferRange")] + public static + void BindBufferRange(OpenTK.Graphics.ES31.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindBufferRange((OpenTK.Graphics.ES31.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindFramebuffer")] + public static + void BindFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindImageTexture")] + public static + void BindImageTexture(Int32 unit, Int32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.ES31.All access, OpenTK.Graphics.ES31.All format) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.ES31.All)access, (OpenTK.Graphics.ES31.All)format); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindImageTexture")] + public static + void BindImageTexture(UInt32 unit, UInt32 texture, Int32 level, bool layered, Int32 layer, OpenTK.Graphics.ES31.All access, OpenTK.Graphics.ES31.All format) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindImageTexture((UInt32)unit, (UInt32)texture, (Int32)level, (bool)layered, (Int32)layer, (OpenTK.Graphics.ES31.All)access, (OpenTK.Graphics.ES31.All)format); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindProgramPipeline")] + public static + void BindProgramPipeline(Int32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindProgramPipeline")] + public static + void BindProgramPipeline(UInt32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES31.RenderbufferTarget target, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindRenderbuffer((OpenTK.Graphics.ES31.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindRenderbuffer")] + public static + void BindRenderbuffer(OpenTK.Graphics.ES31.RenderbufferTarget target, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindRenderbuffer((OpenTK.Graphics.ES31.RenderbufferTarget)target, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindSampler")] + public static + void BindSampler(Int32 unit, Int32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindSampler((UInt32)unit, (UInt32)sampler); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindSampler")] + public static + void BindSampler(UInt32 unit, UInt32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindSampler((UInt32)unit, (UInt32)sampler); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES31.TextureTarget target, Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTexture((OpenTK.Graphics.ES31.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTexture")] + public static + void BindTexture(OpenTK.Graphics.ES31.TextureTarget target, UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTexture((OpenTK.Graphics.ES31.TextureTarget)target, (UInt32)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTransformFeedback")] + public static + void BindTransformFeedback(OpenTK.Graphics.ES31.TransformFeedbackTarget target, Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTransformFeedback((OpenTK.Graphics.ES31.TransformFeedbackTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindTransformFeedback")] + public static + void BindTransformFeedback(OpenTK.Graphics.ES31.TransformFeedbackTarget target, UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindTransformFeedback((OpenTK.Graphics.ES31.TransformFeedbackTarget)target, (UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindVertexArray")] + public static + void BindVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindVertexArray")] + public static + void BindVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindVertexBuffer")] + public static + void BindVertexBuffer(Int32 bindingindex, Int32 buffer, IntPtr offset, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBindVertexBuffer")] + public static + void BindVertexBuffer(UInt32 bindingindex, UInt32 buffer, IntPtr offset, Int32 stride) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BindVertexBuffer((UInt32)bindingindex, (UInt32)buffer, (IntPtr)offset, (Int32)stride); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendColor")] + public static + void BlendColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendEquation")] + public static + void BlendEquation(OpenTK.Graphics.ES31.BlendEquationMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendEquation((OpenTK.Graphics.ES31.BlendEquationMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendEquationSeparate")] + public static + void BlendEquationSeparate(OpenTK.Graphics.ES31.BlendEquationMode modeRGB, OpenTK.Graphics.ES31.BlendEquationMode modeAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendEquationSeparate((OpenTK.Graphics.ES31.BlendEquationMode)modeRGB, (OpenTK.Graphics.ES31.BlendEquationMode)modeAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendFunc")] + public static + void BlendFunc(OpenTK.Graphics.ES31.BlendingFactorSrc sfactor, OpenTK.Graphics.ES31.BlendingFactorDest dfactor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendFunc((OpenTK.Graphics.ES31.BlendingFactorSrc)sfactor, (OpenTK.Graphics.ES31.BlendingFactorDest)dfactor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlendFuncSeparate")] + public static + void BlendFuncSeparate(OpenTK.Graphics.ES31.BlendingFactorSrc srcRGB, OpenTK.Graphics.ES31.BlendingFactorDest dstRGB, OpenTK.Graphics.ES31.BlendingFactorSrc srcAlpha, OpenTK.Graphics.ES31.BlendingFactorDest dstAlpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlendFuncSeparate((OpenTK.Graphics.ES31.BlendingFactorSrc)srcRGB, (OpenTK.Graphics.ES31.BlendingFactorDest)dstRGB, (OpenTK.Graphics.ES31.BlendingFactorSrc)srcAlpha, (OpenTK.Graphics.ES31.BlendingFactorDest)dstAlpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBlitFramebuffer")] + public static + void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES31.ClearBufferMask mask, OpenTK.Graphics.ES31.BlitFramebufferFilter filter) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BlitFramebuffer((Int32)srcX0, (Int32)srcY0, (Int32)srcX1, (Int32)srcY1, (Int32)dstX0, (Int32)dstY0, (Int32)dstX1, (Int32)dstY1, (OpenTK.Graphics.ES31.ClearBufferMask)mask, (OpenTK.Graphics.ES31.BlitFramebufferFilter)filter); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES31.BufferUsage usage) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES31.BufferUsage)usage); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[] data, OpenTK.Graphics.ES31.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,] data, OpenTK.Graphics.ES31.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] T2[,,] data, OpenTK.Graphics.ES31.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferData")] + public static + void BufferData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr size, [InAttribute, OutAttribute] ref T2 data, OpenTK.Graphics.ES31.BufferUsage usage) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES31.BufferUsage)usage); + data = (T2)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] T3[,,] data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glBufferSubData")] + public static + void BufferSubData(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr size, [InAttribute, OutAttribute] ref T3 data) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.BufferSubData((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T3)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCheckFramebufferStatus")] + public static + OpenTK.Graphics.ES31.FramebufferErrorCode CheckFramebufferStatus(OpenTK.Graphics.ES31.FramebufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.CheckFramebufferStatus((OpenTK.Graphics.ES31.FramebufferTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClear")] + public static + void Clear(OpenTK.Graphics.ES31.ClearBufferMask mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Clear((OpenTK.Graphics.ES31.ClearBufferMask)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfi")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.ClearBufferCombined buffer, Int32 drawbuffer, Single depth, Int32 stencil) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferfi((OpenTK.Graphics.ES31.ClearBufferCombined)buffer, (Int32)drawbuffer, (Single)depth, (Int32)stencil); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfv")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ClearBufferfv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfv")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ClearBufferfv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferfv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferfv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferiv")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ClearBufferiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferiv")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ClearBufferiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferiv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferuiv")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.ClearBufferuiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferuiv")] + public static + void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.ClearBufferuiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearBufferuiv")] + public static + unsafe void ClearBuffer(OpenTK.Graphics.ES31.ClearBuffer buffer, Int32 drawbuffer, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearBufferuiv((OpenTK.Graphics.ES31.ClearBuffer)buffer, (Int32)drawbuffer, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearColor")] + public static + void ClearColor(Single red, Single green, Single blue, Single alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearColor((Single)red, (Single)green, (Single)blue, (Single)alpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearDepthf")] + public static + void ClearDepth(Single depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearDepthf((Single)depth); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClearStencil")] + public static + void ClearStencil(Int32 s) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ClearStencil((Int32)s); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClientWaitSync")] + public static + OpenTK.Graphics.ES31.All ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.ClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glClientWaitSync")] + public static + OpenTK.Graphics.ES31.All ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.ClientWaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glColorMask")] + public static + void ColorMask(bool red, bool green, bool blue, bool alpha) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ColorMask((bool)red, (bool)green, (bool)blue, (bool)alpha); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompileShader")] + public static + void CompileShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompileShader")] + public static + void CompileShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompileShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T7[,,] data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage2D")] + public static + void CompressedTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T7 data) + where T7 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T7)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexImage3D")] + public static + void CompressedTexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] T8[,,] data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage2D")] + public static + void CompressedTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T8 data) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T8)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.CompressedInternalFormat format, Int32 imageSize, IntPtr data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.CompressedInternalFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.CompressedInternalFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.CompressedInternalFormat format, Int32 imageSize, [InAttribute, OutAttribute] T10[,,] data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCompressedTexSubImage3D")] + public static + void CompressedTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.CompressedInternalFormat format, Int32 imageSize, [InAttribute, OutAttribute] ref T10 data) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned); + try + { + Core.CompressedTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.CompressedInternalFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject()); + data = (T10)data_ptr.Target; + } + finally + { + data_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyBufferSubData")] + public static + void CopyBufferSubData(OpenTK.Graphics.ES31.BufferTarget readTarget, OpenTK.Graphics.ES31.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyBufferSubData((OpenTK.Graphics.ES31.BufferTarget)readTarget, (OpenTK.Graphics.ES31.BufferTarget)writeTarget, (IntPtr)readOffset, (IntPtr)writeOffset, (IntPtr)size); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyTexImage2D")] + public static + void CopyTexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyTexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyTexSubImage2D")] + public static + void CopyTexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyTexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCopyTexSubImage3D")] + public static + void CopyTexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CopyTexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCreateProgram")] + public static + Int32 CreateProgram() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.CreateProgram(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCreateShader")] + public static + Int32 CreateShader(OpenTK.Graphics.ES31.ShaderType type) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.CreateShader((OpenTK.Graphics.ES31.ShaderType)type); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCreateShaderProgramv")] + public static + Int32 CreateShaderProgram(OpenTK.Graphics.ES31.All type, Int32 count, String @const) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.CreateShaderProgramv((OpenTK.Graphics.ES31.All)type, (Int32)count, (String)@const); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glCullFace")] + public static + void CullFace(OpenTK.Graphics.ES31.CullFaceMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.CullFace((OpenTK.Graphics.ES31.CullFaceMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Core.DeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Core.DeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Core.DeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteBuffers")] + public static + void DeleteBuffers(Int32 n, ref UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Core.DeleteBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteBuffers")] + public static + unsafe void DeleteBuffers(Int32 n, UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Core.DeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Core.DeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Core.DeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteFramebuffers")] + public static + void DeleteFramebuffers(Int32 n, ref UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Core.DeleteFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteFramebuffers")] + public static + unsafe void DeleteFramebuffers(Int32 n, UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgram")] + public static + void DeleteProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, Int32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = pipelines) + { + Core.DeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, ref Int32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = &pipelines) + { + Core.DeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgramPipelines")] + public static + unsafe void DeleteProgramPipelines(Int32 n, Int32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, UInt32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = pipelines) + { + Core.DeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgramPipelines")] + public static + void DeleteProgramPipelines(Int32 n, ref UInt32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = &pipelines) + { + Core.DeleteProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteProgramPipelines")] + public static + unsafe void DeleteProgramPipelines(Int32 n, UInt32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Core.DeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Core.DeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteQueries")] + public static + unsafe void DeleteQueries(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Core.DeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteQueries")] + public static + void DeleteQueries(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Core.DeleteQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteQueries")] + public static + unsafe void DeleteQueries(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Core.DeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Core.DeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Core.DeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteRenderbuffers")] + public static + void DeleteRenderbuffers(Int32 n, ref UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Core.DeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteRenderbuffers")] + public static + unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, Int32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = samplers) + { + Core.DeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, ref Int32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = &samplers) + { + Core.DeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteSamplers")] + public static + unsafe void DeleteSamplers(Int32 count, Int32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, UInt32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = samplers) + { + Core.DeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteSamplers")] + public static + void DeleteSamplers(Int32 count, ref UInt32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = &samplers) + { + Core.DeleteSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteSamplers")] + public static + unsafe void DeleteSamplers(Int32 count, UInt32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteShader")] + public static + void DeleteShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteSync")] + public static + void DeleteSync(IntPtr sync) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteSync((IntPtr)sync); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTextures")] + public static + void DeleteTextures(Int32 n, ref UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Core.DeleteTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTextures")] + public static + unsafe void DeleteTextures(Int32 n, UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Core.DeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, ref Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Core.DeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTransformFeedbacks")] + public static + unsafe void DeleteTransformFeedback(Int32 n, Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Core.DeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTransformFeedbacks")] + public static + void DeleteTransformFeedback(Int32 n, ref UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Core.DeleteTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteTransformFeedbacks")] + public static + unsafe void DeleteTransformFeedback(Int32 n, UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Core.DeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Core.DeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteVertexArrays")] + public static + unsafe void DeleteVertexArrays(Int32 n, Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Core.DeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteVertexArrays")] + public static + void DeleteVertexArrays(Int32 n, ref UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Core.DeleteVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDeleteVertexArrays")] + public static + unsafe void DeleteVertexArrays(Int32 n, UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DeleteVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDepthFunc")] + public static + void DepthFunc(OpenTK.Graphics.ES31.DepthFunction func) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DepthFunc((OpenTK.Graphics.ES31.DepthFunction)func); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDepthMask")] + public static + void DepthMask(bool flag) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DepthMask((bool)flag); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDepthRangef")] + public static + void DepthRange(Single n, Single f) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DepthRangef((Single)n, (Single)f); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDetachShader")] + public static + void DetachShader(Int32 program, Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDetachShader")] + public static + void DetachShader(UInt32 program, UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DetachShader((UInt32)program, (UInt32)shader); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDisable")] + public static + void Disable(OpenTK.Graphics.ES31.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Disable((OpenTK.Graphics.ES31.EnableCap)cap); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDisableVertexAttribArray")] + public static + void DisableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DisableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDispatchCompute")] + public static + void DispatchCompute(Int32 num_groups_x, Int32 num_groups_y, Int32 num_groups_z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDispatchCompute")] + public static + void DispatchCompute(UInt32 num_groups_x, UInt32 num_groups_y, UInt32 num_groups_z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DispatchCompute((UInt32)num_groups_x, (UInt32)num_groups_y, (UInt32)num_groups_z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDispatchComputeIndirect")] + public static + void DispatchComputeIndirect(IntPtr indirect) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DispatchComputeIndirect((IntPtr)indirect); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArrays")] + public static + void DrawArrays(OpenTK.Graphics.ES31.BeginMode mode, Int32 first, Int32 count) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawArrays((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)first, (Int32)count); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, IntPtr indirect) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawArraysIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (IntPtr)indirect); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawArraysIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawArraysIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawArraysIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArraysIndirect")] + public static + void DrawArraysIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect) + where T1 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawArraysIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + indirect = (T1)indirect_ptr.Target; + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawArraysInstanced")] + public static + void DrawArraysInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 first, Int32 count, Int32 instanceCount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawArraysInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instanceCount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawBuffers")] + public static + void DrawBuffers(Int32 n, OpenTK.Graphics.ES31.DrawBufferMode[] bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.DrawBufferMode* bufs_ptr = bufs) + { + Core.DrawBuffers((Int32)n, (OpenTK.Graphics.ES31.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawBuffers")] + public static + void DrawBuffers(Int32 n, ref OpenTK.Graphics.ES31.DrawBufferMode bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.DrawBufferMode* bufs_ptr = &bufs) + { + Core.DrawBuffers((Int32)n, (OpenTK.Graphics.ES31.DrawBufferMode*)bufs_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawBuffers")] + public static + unsafe void DrawBuffers(Int32 n, OpenTK.Graphics.ES31.DrawBufferMode* bufs) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawBuffers((Int32)n, (OpenTK.Graphics.ES31.DrawBufferMode*)bufs); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES31.BeginMode mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES31.BeginMode mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES31.BeginMode mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES31.BeginMode mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElements")] + public static + void DrawElements(OpenTK.Graphics.ES31.BeginMode mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElements((OpenTK.Graphics.ES31.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, OpenTK.Graphics.ES31.All type, IntPtr indirect) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawElementsIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (OpenTK.Graphics.ES31.All)type, (IntPtr)indirect); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T2[] indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawElementsIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (OpenTK.Graphics.ES31.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T2[,] indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawElementsIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (OpenTK.Graphics.ES31.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] T2[,,] indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawElementsIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (OpenTK.Graphics.ES31.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsIndirect")] + public static + void DrawElementsIndirect(OpenTK.Graphics.ES31.PrimitiveType mode, OpenTK.Graphics.ES31.All type, [InAttribute, OutAttribute] ref T2 indirect) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); + try + { + Core.DrawElementsIndirect((OpenTK.Graphics.ES31.PrimitiveType)mode, (OpenTK.Graphics.ES31.All)type, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + indirect = (T2)indirect_ptr.Target; + } + finally + { + indirect_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, IntPtr indices, Int32 instanceCount) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices, (Int32)instanceCount); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawElementsInstanced")] + public static + void DrawElementsInstanced(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instanceCount) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawElementsInstanced((OpenTK.Graphics.ES31.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instanceCount); + indices = (T3)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, IntPtr indices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glDrawRangeElements")] + public static + void DrawRangeElements(OpenTK.Graphics.ES31.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.ES31.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); + try + { + Core.DrawRangeElements((OpenTK.Graphics.ES31.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.ES31.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject()); + indices = (T5)indices_ptr.Target; + } + finally + { + indices_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glEnable")] + public static + void Enable(OpenTK.Graphics.ES31.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Enable((OpenTK.Graphics.ES31.EnableCap)cap); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.EnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glEnableVertexAttribArray")] + public static + void EnableVertexAttribArray(UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.EnableVertexAttribArray((UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glEndQuery")] + public static + void EndQuery(OpenTK.Graphics.ES31.QueryTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.EndQuery((OpenTK.Graphics.ES31.QueryTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glEndTransformFeedback")] + public static + void EndTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.EndTransformFeedback(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFenceSync")] + public static + IntPtr FenceSync(OpenTK.Graphics.ES31.SyncCondition condition, OpenTK.Graphics.ES31.WaitSyncFlags flags) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.FenceSync((OpenTK.Graphics.ES31.SyncCondition)condition, (OpenTK.Graphics.ES31.WaitSyncFlags)flags); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFinish")] + public static + void Finish() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Finish(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFlush")] + public static + void Flush() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Flush(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFlushMappedBufferRange")] + public static + void FlushMappedBufferRange(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FlushMappedBufferRange((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)length); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferParameteri")] + public static + void FramebufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferParameteri((OpenTK.Graphics.ES31.All)target, (OpenTK.Graphics.ES31.All)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.RenderbufferTarget renderbuffertarget, Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferRenderbuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferRenderbuffer")] + public static + void FramebufferRenderbuffer(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferRenderbuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.TextureTarget textarget, Int32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTexture2D((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTexture2D")] + public static + void FramebufferTexture2D(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.TextureTarget textarget, UInt32 texture, Int32 level) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTexture2D((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.TextureTarget)textarget, (UInt32)texture, (Int32)level); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTextureLayer")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTextureLayer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFramebufferTextureLayer")] + public static + void FramebufferTextureLayer(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FramebufferTextureLayer((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glFrontFace")] + public static + void FrontFace(OpenTK.Graphics.ES31.FrontFaceDirection mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.FrontFace((OpenTK.Graphics.ES31.FrontFaceDirection)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] Int32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = buffers) + { + Core.GenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] out Int32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* buffers_ptr = &buffers) + { + Core.GenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] Int32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] UInt32[] buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = buffers) + { + Core.GenBuffers((Int32)n, (UInt32*)buffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenBuffers")] + public static + void GenBuffers(Int32 n, [OutAttribute] out UInt32 buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* buffers_ptr = &buffers) + { + Core.GenBuffers((Int32)n, (UInt32*)buffers_ptr); + buffers = *buffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenBuffers")] + public static + unsafe void GenBuffers(Int32 n, [OutAttribute] UInt32* buffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenBuffers((Int32)n, (UInt32*)buffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenerateMipmap")] + public static + void GenerateMipmap(OpenTK.Graphics.ES31.TextureTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenerateMipmap((OpenTK.Graphics.ES31.TextureTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] Int32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = framebuffers) + { + Core.GenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out Int32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* framebuffers_ptr = &framebuffers) + { + Core.GenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] Int32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] UInt32[] framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = framebuffers) + { + Core.GenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenFramebuffers")] + public static + void GenFramebuffers(Int32 n, [OutAttribute] out UInt32 framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* framebuffers_ptr = &framebuffers) + { + Core.GenFramebuffers((Int32)n, (UInt32*)framebuffers_ptr); + framebuffers = *framebuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenFramebuffers")] + public static + unsafe void GenFramebuffers(Int32 n, [OutAttribute] UInt32* framebuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenFramebuffers((Int32)n, (UInt32*)framebuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] Int32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = pipelines) + { + Core.GenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] out Int32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* pipelines_ptr = &pipelines) + { + Core.GenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + pipelines = *pipelines_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenProgramPipelines")] + public static + unsafe void GenProgramPipelines(Int32 n, [OutAttribute] Int32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] UInt32[] pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = pipelines) + { + Core.GenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenProgramPipelines")] + public static + void GenProgramPipelines(Int32 n, [OutAttribute] out UInt32 pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* pipelines_ptr = &pipelines) + { + Core.GenProgramPipelines((Int32)n, (UInt32*)pipelines_ptr); + pipelines = *pipelines_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenProgramPipelines")] + public static + unsafe void GenProgramPipelines(Int32 n, [OutAttribute] UInt32* pipelines) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenProgramPipelines((Int32)n, (UInt32*)pipelines); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Core.GenQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Core.GenQueries((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [OutAttribute] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Core.GenQueries((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenQueries")] + public static + void GenQueries(Int32 n, [OutAttribute] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Core.GenQueries((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenQueries")] + public static + unsafe void GenQueries(Int32 n, [OutAttribute] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenQueries((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] Int32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = renderbuffers) + { + Core.GenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out Int32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* renderbuffers_ptr = &renderbuffers) + { + Core.GenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] Int32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] UInt32[] renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = renderbuffers) + { + Core.GenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenRenderbuffers")] + public static + void GenRenderbuffers(Int32 n, [OutAttribute] out UInt32 renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* renderbuffers_ptr = &renderbuffers) + { + Core.GenRenderbuffers((Int32)n, (UInt32*)renderbuffers_ptr); + renderbuffers = *renderbuffers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenRenderbuffers")] + public static + unsafe void GenRenderbuffers(Int32 n, [OutAttribute] UInt32* renderbuffers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenRenderbuffers((Int32)n, (UInt32*)renderbuffers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] Int32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = samplers) + { + Core.GenSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] out Int32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* samplers_ptr = &samplers) + { + Core.GenSamplers((Int32)count, (UInt32*)samplers_ptr); + samplers = *samplers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenSamplers")] + public static + unsafe void GenSamplers(Int32 count, [OutAttribute] Int32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] UInt32[] samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = samplers) + { + Core.GenSamplers((Int32)count, (UInt32*)samplers_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenSamplers")] + public static + void GenSamplers(Int32 count, [OutAttribute] out UInt32 samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* samplers_ptr = &samplers) + { + Core.GenSamplers((Int32)count, (UInt32*)samplers_ptr); + samplers = *samplers_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenSamplers")] + public static + unsafe void GenSamplers(Int32 count, [OutAttribute] UInt32* samplers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenSamplers((Int32)count, (UInt32*)samplers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] Int32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = textures) + { + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] out Int32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* textures_ptr = &textures) + { + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] Int32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] UInt32[] textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = textures) + { + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTextures")] + public static + void GenTextures(Int32 n, [OutAttribute] out UInt32 textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* textures_ptr = &textures) + { + Core.GenTextures((Int32)n, (UInt32*)textures_ptr); + textures = *textures_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTextures")] + public static + unsafe void GenTextures(Int32 n, [OutAttribute] UInt32* textures) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenTextures((Int32)n, (UInt32*)textures); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] Int32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = ids) + { + Core.GenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] out Int32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* ids_ptr = &ids) + { + Core.GenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTransformFeedbacks")] + public static + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] Int32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] UInt32[] ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = ids) + { + Core.GenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTransformFeedbacks")] + public static + void GenTransformFeedback(Int32 n, [OutAttribute] out UInt32 ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* ids_ptr = &ids) + { + Core.GenTransformFeedbacks((Int32)n, (UInt32*)ids_ptr); + ids = *ids_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenTransformFeedbacks")] + public static + unsafe void GenTransformFeedback(Int32 n, [OutAttribute] UInt32* ids) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenTransformFeedbacks((Int32)n, (UInt32*)ids); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] Int32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = arrays) + { + Core.GenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] out Int32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* arrays_ptr = &arrays) + { + Core.GenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] Int32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] UInt32[] arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = arrays) + { + Core.GenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenVertexArrays")] + public static + void GenVertexArrays(Int32 n, [OutAttribute] out UInt32 arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* arrays_ptr = &arrays) + { + Core.GenVertexArrays((Int32)n, (UInt32*)arrays_ptr); + arrays = *arrays_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGenVertexArrays")] + public static + unsafe void GenVertexArrays(Int32 n, [OutAttribute] UInt32* arrays) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GenVertexArrays((Int32)n, (UInt32*)arrays); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.ActiveAttribType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.ActiveAttribType* type_ptr = type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.ActiveAttribType* type_ptr = &type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.ActiveAttribType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.ActiveAttribType* type_ptr = type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + public static + void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.ActiveAttribType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.ActiveAttribType* type_ptr = &type) + { + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveAttribType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveAttrib")] + public static + unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.ActiveAttribType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveAttrib((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveAttribType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.ActiveUniformType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.ActiveUniformType* type_ptr = type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.ActiveUniformType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.ActiveUniformType* type_ptr = &type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(Int32 program, Int32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.ActiveUniformType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.ActiveUniformType* type_ptr = type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + public static + void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.ActiveUniformType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.ActiveUniformType* type_ptr = &type) + { + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.ActiveUniformType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniform")] + public static + unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.ActiveUniformType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniform((UInt32)program, (UInt32)index, (Int32)bufsize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.ActiveUniformType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES31.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES31.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + public static + unsafe void GetActiveUniformBlock(Int32 program, Int32 uniformBlockIndex, OpenTK.Graphics.ES31.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES31.ActiveUniformBlockParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + public static + void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES31.ActiveUniformBlockParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockiv")] + public static + unsafe void GetActiveUniformBlock(UInt32 program, UInt32 uniformBlockIndex, OpenTK.Graphics.ES31.ActiveUniformBlockParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformBlockiv((UInt32)program, (UInt32)uniformBlockIndex, (OpenTK.Graphics.ES31.ActiveUniformBlockParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] + public static + unsafe void GetActiveUniformBlockName(Int32 program, Int32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] + public static + void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)uniformBlockName); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformBlockName")] + public static + unsafe void GetActiveUniformBlockName(UInt32 program, UInt32 uniformBlockIndex, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformBlockName((UInt32)program, (UInt32)uniformBlockIndex, (Int32)bufSize, (Int32*)length, (StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, [OutAttribute] Int32[] uniformIndices, OpenTK.Graphics.ES31.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(Int32 program, Int32 uniformCount, [OutAttribute] out Int32 uniformIndices, OpenTK.Graphics.ES31.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + uniformIndices = *uniformIndices_ptr; + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(Int32 program, Int32 uniformCount, [OutAttribute] Int32* uniformIndices, OpenTK.Graphics.ES31.ActiveUniformParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, [OutAttribute] UInt32[] uniformIndices, OpenTK.Graphics.ES31.ActiveUniformParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + fixed (Int32* @params_ptr = @params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + public static + void GetActiveUniforms(UInt32 program, Int32 uniformCount, [OutAttribute] out UInt32 uniformIndices, OpenTK.Graphics.ES31.ActiveUniformParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = &uniformIndices) + fixed (Int32* @params_ptr = &@params) + { + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices_ptr, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params_ptr); + uniformIndices = *uniformIndices_ptr; + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetActiveUniformsiv")] + public static + unsafe void GetActiveUniforms(UInt32 program, Int32 uniformCount, [OutAttribute] UInt32* uniformIndices, OpenTK.Graphics.ES31.ActiveUniformParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetActiveUniformsiv((UInt32)program, (Int32)uniformCount, (UInt32*)uniformIndices, (OpenTK.Graphics.ES31.ActiveUniformParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] Int32[] shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (Int32* shaders_ptr = shaders) + { + Core.GetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out Int32 shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (Int32* shaders_ptr = &shaders) + { + Core.GetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + count = *count_ptr; + shaders = *shaders_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(Int32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] Int32* shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32[] count, [OutAttribute] UInt32[] shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = count) + fixed (UInt32* shaders_ptr = shaders) + { + Core.GetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttachedShaders")] + public static + void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] out Int32 count, [OutAttribute] out UInt32 shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* count_ptr = &count) + fixed (UInt32* shaders_ptr = &shaders) + { + Core.GetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count_ptr, (UInt32*)shaders_ptr); + count = *count_ptr; + shaders = *shaders_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttachedShaders")] + public static + unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, [OutAttribute] Int32* count, [OutAttribute] UInt32* shaders) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetAttachedShaders((UInt32)program, (Int32)maxcount, (Int32*)count, (UInt32*)shaders); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttribLocation")] + public static + Int32 GetAttribLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetAttribLocation")] + public static + Int32 GetAttribLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetAttribLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Core.GetBooleani_v((OpenTK.Graphics.ES31.All)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Core.GetBooleani_v((OpenTK.Graphics.ES31.All)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleani_v")] + public static + unsafe void GetBoolean(OpenTK.Graphics.ES31.All target, Int32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBooleani_v((OpenTK.Graphics.ES31.All)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] bool[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = data) + { + Core.GetBooleani_v((OpenTK.Graphics.ES31.All)target, (UInt32)index, (bool*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleani_v")] + public static + void GetBoolean(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] out bool data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* data_ptr = &data) + { + Core.GetBooleani_v((OpenTK.Graphics.ES31.All)target, (UInt32)index, (bool*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleani_v")] + public static + unsafe void GetBoolean(OpenTK.Graphics.ES31.All target, UInt32 index, [OutAttribute] bool* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBooleani_v((OpenTK.Graphics.ES31.All)target, (UInt32)index, (bool*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] bool[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = @params) + { + Core.GetBooleanv((OpenTK.Graphics.ES31.GetPName)pname, (bool*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleanv")] + public static + void GetBoolean(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] out bool @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (bool* @params_ptr = &@params) + { + Core.GetBooleanv((OpenTK.Graphics.ES31.GetPName)pname, (bool*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBooleanv")] + public static + unsafe void GetBoolean(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] bool* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBooleanv((OpenTK.Graphics.ES31.GetPName)pname, (bool*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteri64v")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBufferParameteri64v((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetBufferParameteriv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteriv")] + public static + void GetBufferParameter(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetBufferParameteriv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferParameteriv")] + public static + unsafe void GetBufferParameter(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBufferParameteriv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferPointer pname, [OutAttribute] IntPtr @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferPointer pname, [InAttribute, OutAttribute] T2[] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferPointer pname, [InAttribute, OutAttribute] T2[,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferPointer pname, [InAttribute, OutAttribute] T2[,,] @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetBufferPointerv")] + public static + void GetBufferPointer(OpenTK.Graphics.ES31.BufferTarget target, OpenTK.Graphics.ES31.BufferPointer pname, [InAttribute, OutAttribute] ref T2 @params) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle @params_ptr = GCHandle.Alloc(@params, GCHandleType.Pinned); + try + { + Core.GetBufferPointerv((OpenTK.Graphics.ES31.BufferTarget)target, (OpenTK.Graphics.ES31.BufferPointer)pname, (IntPtr)@params_ptr.AddrOfPinnedObject()); + @params = (T2)@params_ptr.Target; + } + finally + { + @params_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [Obsolete("Use the GetErrorCode method, for compatability with Xamarin Android's OpenTK-1.0")] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetError")] + public static + OpenTK.Graphics.ES31.All GetError() + { + return Core.GetError(); + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetFloatv((OpenTK.Graphics.ES31.GetPName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFloatv")] + public static + void GetFloat(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetFloatv((OpenTK.Graphics.ES31.GetPName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFloatv")] + public static + unsafe void GetFloat(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetFloatv((OpenTK.Graphics.ES31.GetPName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFragDataLocation")] + public static + Int32 GetFragDataLocation(Int32 program, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetFragDataLocation((UInt32)program, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFragDataLocation")] + public static + Int32 GetFragDataLocation(UInt32 program, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetFragDataLocation((UInt32)program, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.FramebufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.FramebufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.FramebufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.FramebufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferAttachmentParameteriv")] + public static + unsafe void GetFramebufferAttachmentParameter(OpenTK.Graphics.ES31.FramebufferTarget target, OpenTK.Graphics.ES31.FramebufferSlot attachment, OpenTK.Graphics.ES31.FramebufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetFramebufferAttachmentParameteriv((OpenTK.Graphics.ES31.FramebufferTarget)target, (OpenTK.Graphics.ES31.FramebufferSlot)attachment, (OpenTK.Graphics.ES31.FramebufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferParameteriv")] + public static + void GetFramebufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetFramebufferParameteriv((OpenTK.Graphics.ES31.All)target, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferParameteriv")] + public static + void GetFramebufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetFramebufferParameteriv((OpenTK.Graphics.ES31.All)target, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetFramebufferParameteriv")] + public static + unsafe void GetFramebufferParameter(OpenTK.Graphics.ES31.All target, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetFramebufferParameteriv((OpenTK.Graphics.ES31.All)target, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, Int32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, Int32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, Int32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] Int64[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] out Int64 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* data_ptr = &data) + { + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64i_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] Int64* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64i_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int64*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64v")] + public static + void GetInteger64(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Int64[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = @params) + { + Core.GetInteger64v((OpenTK.Graphics.ES31.GetPName)pname, (Int64*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64v")] + public static + void GetInteger64(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] out Int64 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int64* @params_ptr = &@params) + { + Core.GetInteger64v((OpenTK.Graphics.ES31.GetPName)pname, (Int64*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInteger64v")] + public static + unsafe void GetInteger64(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Int64* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInteger64v((OpenTK.Graphics.ES31.GetPName)pname, (Int64*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, Int32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, Int32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, Int32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] Int32[] data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] out Int32 data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* data_ptr = &data) + { + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data_ptr); + data = *data_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegeri_v")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetIntegeri_v((OpenTK.Graphics.ES31.GetIndexedPName)target, (UInt32)index, (Int32*)data); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetIntegerv((OpenTK.Graphics.ES31.GetPName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegerv")] + public static + void GetInteger(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetIntegerv((OpenTK.Graphics.ES31.GetPName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetIntegerv")] + public static + unsafe void GetInteger(OpenTK.Graphics.ES31.GetPName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetIntegerv((OpenTK.Graphics.ES31.GetPName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInternalformativ")] + public static + void GetInternalformat(OpenTK.Graphics.ES31.ImageTarget target, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, OpenTK.Graphics.ES31.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetInternalformativ((OpenTK.Graphics.ES31.ImageTarget)target, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES31.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInternalformativ")] + public static + void GetInternalformat(OpenTK.Graphics.ES31.ImageTarget target, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, OpenTK.Graphics.ES31.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetInternalformativ((OpenTK.Graphics.ES31.ImageTarget)target, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES31.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetInternalformativ")] + public static + unsafe void GetInternalformat(OpenTK.Graphics.ES31.ImageTarget target, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, OpenTK.Graphics.ES31.InternalFormatParameter pname, Int32 bufSize, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetInternalformativ((OpenTK.Graphics.ES31.ImageTarget)target, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (OpenTK.Graphics.ES31.InternalFormatParameter)pname, (Int32)bufSize, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.ES31.All pname, Int32 index, [OutAttribute] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Core.GetMultisamplefv((OpenTK.Graphics.ES31.All)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.ES31.All pname, Int32 index, [OutAttribute] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Core.GetMultisamplefv((OpenTK.Graphics.ES31.All)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetMultisamplefv")] + public static + unsafe void GetMultisample(OpenTK.Graphics.ES31.All pname, Int32 index, [OutAttribute] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetMultisamplefv((OpenTK.Graphics.ES31.All)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.ES31.All pname, UInt32 index, [OutAttribute] Single[] val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = val) + { + Core.GetMultisamplefv((OpenTK.Graphics.ES31.All)pname, (UInt32)index, (Single*)val_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetMultisamplefv")] + public static + void GetMultisample(OpenTK.Graphics.ES31.All pname, UInt32 index, [OutAttribute] out Single val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* val_ptr = &val) + { + Core.GetMultisamplefv((OpenTK.Graphics.ES31.All)pname, (UInt32)index, (Single*)val_ptr); + val = *val_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetMultisamplefv")] + public static + unsafe void GetMultisample(OpenTK.Graphics.ES31.All pname, UInt32 index, [OutAttribute] Single* val) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetMultisamplefv((OpenTK.Graphics.ES31.All)pname, (UInt32)index, (Single*)val); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] OpenTK.Graphics.ES31.All[] binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (OpenTK.Graphics.ES31.All* binaryFormat_ptr = &binaryFormat) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length_ptr, (OpenTK.Graphics.ES31.All*)binaryFormat_ptr, (IntPtr)binary_ptr.AddrOfPinnedObject()); + length = *length_ptr; + binaryFormat = *binaryFormat_ptr; + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [OutAttribute] IntPtr binary) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] T4[] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] T4[,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] T4[,,] binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramBinary")] + public static + unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute] ref T4 binary) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.GetProgramBinary((UInt32)program, (Int32)bufSize, (Int32*)length, (OpenTK.Graphics.ES31.All*)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject()); + binary = (T4)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(Int32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInfoLog")] + public static + void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInfoLog")] + public static + unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramInfoLog((UInt32)program, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInterfaceiv")] + public static + void GetProgramInterface(Int32 program, OpenTK.Graphics.ES31.All programInterface, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInterfaceiv")] + public static + void GetProgramInterface(Int32 program, OpenTK.Graphics.ES31.All programInterface, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInterfaceiv")] + public static + unsafe void GetProgramInterface(Int32 program, OpenTK.Graphics.ES31.All programInterface, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInterfaceiv")] + public static + void GetProgramInterface(UInt32 program, OpenTK.Graphics.ES31.All programInterface, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInterfaceiv")] + public static + void GetProgramInterface(UInt32 program, OpenTK.Graphics.ES31.All programInterface, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramInterfaceiv")] + public static + unsafe void GetProgramInterface(UInt32 program, OpenTK.Graphics.ES31.All programInterface, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramInterfaceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ES31.ProgramParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(Int32 program, OpenTK.Graphics.ES31.ProgramParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(Int32 program, OpenTK.Graphics.ES31.ProgramParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ES31.ProgramParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + public static + void GetProgram(UInt32 program, OpenTK.Graphics.ES31.ProgramParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramiv")] + public static + unsafe void GetProgram(UInt32 program, OpenTK.Graphics.ES31.ProgramParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramiv((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)infoLog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineInfoLog")] + public static + unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infoLog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramPipelineInfoLog((UInt32)pipeline, (Int32)bufSize, (Int32*)length, (StringBuilder)infoLog); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineiv")] + public static + unsafe void GetProgramPipeline(Int32 pipeline, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineiv")] + public static + void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES31.All pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramPipelineiv")] + public static + unsafe void GetProgramPipeline(UInt32 pipeline, OpenTK.Graphics.ES31.All pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramPipelineiv((UInt32)pipeline, (OpenTK.Graphics.ES31.All)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceIndex")] + public static + Int32 GetProgramResourceIndex(Int32 program, OpenTK.Graphics.ES31.All programInterface, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceIndex")] + public static + Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.ES31.All programInterface, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetProgramResourceIndex((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceiv")] + public static + void GetProgramResource(Int32 program, OpenTK.Graphics.ES31.All programInterface, Int32 index, Int32 propCount, [OutAttribute] OpenTK.Graphics.ES31.All[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* props_ptr = props) + fixed (Int32* length_ptr = length) + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramResourceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.ES31.All*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceiv")] + public static + void GetProgramResource(Int32 program, OpenTK.Graphics.ES31.All programInterface, Int32 index, Int32 propCount, [OutAttribute] out OpenTK.Graphics.ES31.All props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* props_ptr = &props) + fixed (Int32* length_ptr = &length) + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramResourceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.ES31.All*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + props = *props_ptr; + length = *length_ptr; + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceiv")] + public static + unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.ES31.All programInterface, Int32 index, Int32 propCount, [OutAttribute] OpenTK.Graphics.ES31.All* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramResourceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.ES31.All*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceiv")] + public static + void GetProgramResource(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 propCount, [OutAttribute] OpenTK.Graphics.ES31.All[] props, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* props_ptr = props) + fixed (Int32* length_ptr = length) + fixed (Int32* @params_ptr = @params) + { + Core.GetProgramResourceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.ES31.All*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceiv")] + public static + void GetProgramResource(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 propCount, [OutAttribute] out OpenTK.Graphics.ES31.All props, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.All* props_ptr = &props) + fixed (Int32* length_ptr = &length) + fixed (Int32* @params_ptr = &@params) + { + Core.GetProgramResourceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.ES31.All*)props_ptr, (Int32)bufSize, (Int32*)length_ptr, (Int32*)@params_ptr); + props = *props_ptr; + length = *length_ptr; + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceiv")] + public static + unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 propCount, [OutAttribute] OpenTK.Graphics.ES31.All* props, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramResourceiv((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)propCount, (OpenTK.Graphics.ES31.All*)props, (Int32)bufSize, (Int32*)length, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceLocation")] + public static + Int32 GetProgramResourceLocation(Int32 program, OpenTK.Graphics.ES31.All programInterface, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceLocation")] + public static + Int32 GetProgramResourceLocation(UInt32 program, OpenTK.Graphics.ES31.All programInterface, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetProgramResourceLocation((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceName")] + public static + void GetProgramResourceName(Int32 program, OpenTK.Graphics.ES31.All programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetProgramResourceName((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceName")] + public static + void GetProgramResourceName(Int32 program, OpenTK.Graphics.ES31.All programInterface, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetProgramResourceName((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceName")] + public static + unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.ES31.All programInterface, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramResourceName((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceName")] + public static + void GetProgramResourceName(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetProgramResourceName((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceName")] + public static + void GetProgramResourceName(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetProgramResourceName((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)name); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetProgramResourceName")] + public static + unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.ES31.All programInterface, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetProgramResourceName((UInt32)program, (OpenTK.Graphics.ES31.All)programInterface, (UInt32)index, (Int32)bufSize, (Int32*)length, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(OpenTK.Graphics.ES31.QueryTarget target, OpenTK.Graphics.ES31.GetQueryParam pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetQueryiv((OpenTK.Graphics.ES31.QueryTarget)target, (OpenTK.Graphics.ES31.GetQueryParam)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryiv")] + public static + void GetQuery(OpenTK.Graphics.ES31.QueryTarget target, OpenTK.Graphics.ES31.GetQueryParam pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetQueryiv((OpenTK.Graphics.ES31.QueryTarget)target, (OpenTK.Graphics.ES31.GetQueryParam)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryiv")] + public static + unsafe void GetQuery(OpenTK.Graphics.ES31.QueryTarget target, OpenTK.Graphics.ES31.GetQueryParam pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetQueryiv((OpenTK.Graphics.ES31.QueryTarget)target, (OpenTK.Graphics.ES31.GetQueryParam)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.ES31.GetQueryObjectParam pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(Int32 id, OpenTK.Graphics.ES31.GetQueryObjectParam pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + public static + unsafe void GetQueryObject(Int32 id, OpenTK.Graphics.ES31.GetQueryObjectParam pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ES31.GetQueryObjectParam pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + public static + void GetQueryObject(UInt32 id, OpenTK.Graphics.ES31.GetQueryObjectParam pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetQueryObjectuiv")] + public static + unsafe void GetQueryObject(UInt32 id, OpenTK.Graphics.ES31.GetQueryObjectParam pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetQueryObjectuiv((UInt32)id, (OpenTK.Graphics.ES31.GetQueryObjectParam)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES31.RenderbufferTarget target, OpenTK.Graphics.ES31.RenderbufferParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetRenderbufferParameteriv((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetRenderbufferParameteriv")] + public static + void GetRenderbufferParameter(OpenTK.Graphics.ES31.RenderbufferTarget target, OpenTK.Graphics.ES31.RenderbufferParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetRenderbufferParameteriv((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetRenderbufferParameteriv")] + public static + unsafe void GetRenderbufferParameter(OpenTK.Graphics.ES31.RenderbufferTarget target, OpenTK.Graphics.ES31.RenderbufferParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetRenderbufferParameteriv((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + public static + unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameterfv")] + public static + unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + public static + unsafe void GetSamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + public static + void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSamplerParameteriv")] + public static + unsafe void GetSamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderInfoLog")] + public static + void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)infolog); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderInfoLog")] + public static + unsafe void GetShaderInfoLog(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder infolog) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderInfoLog((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)infolog); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ES31.ShaderParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + public static + void GetShader(Int32 shader, OpenTK.Graphics.ES31.ShaderParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(Int32 shader, OpenTK.Graphics.ES31.ShaderParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ES31.ShaderParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + public static + void GetShader(UInt32 shader, OpenTK.Graphics.ES31.ShaderParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderiv")] + public static + unsafe void GetShader(UInt32 shader, OpenTK.Graphics.ES31.ShaderParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderiv((UInt32)shader, (OpenTK.Graphics.ES31.ShaderParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderPrecisionFormat")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.ES31.ShaderType shadertype, OpenTK.Graphics.ES31.ShaderPrecision precisiontype, [OutAttribute] Int32[] range, [OutAttribute] Int32[] precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = range) + fixed (Int32* precision_ptr = precision) + { + Core.GetShaderPrecisionFormat((OpenTK.Graphics.ES31.ShaderType)shadertype, (OpenTK.Graphics.ES31.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderPrecisionFormat")] + public static + void GetShaderPrecisionFormat(OpenTK.Graphics.ES31.ShaderType shadertype, OpenTK.Graphics.ES31.ShaderPrecision precisiontype, [OutAttribute] out Int32 range, [OutAttribute] out Int32 precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* range_ptr = &range) + fixed (Int32* precision_ptr = &precision) + { + Core.GetShaderPrecisionFormat((OpenTK.Graphics.ES31.ShaderType)shadertype, (OpenTK.Graphics.ES31.ShaderPrecision)precisiontype, (Int32*)range_ptr, (Int32*)precision_ptr); + range = *range_ptr; + precision = *precision_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderPrecisionFormat")] + public static + unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES31.ShaderType shadertype, OpenTK.Graphics.ES31.ShaderPrecision precisiontype, [OutAttribute] Int32* range, [OutAttribute] Int32* precision) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderPrecisionFormat((OpenTK.Graphics.ES31.ShaderType)shadertype, (OpenTK.Graphics.ES31.ShaderPrecision)precisiontype, (Int32*)range, (Int32*)precision); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(Int32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.GetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderSource")] + public static + void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.GetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length_ptr, (StringBuilder)source); + length = *length_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetShaderSource")] + public static + unsafe void GetShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetShaderSource((UInt32)shader, (Int32)bufsize, (Int32*)length, (StringBuilder)source); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetString")] + public static + unsafe String GetString(OpenTK.Graphics.ES31.StringName name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe { return new string((sbyte*)Core.GetString((OpenTK.Graphics.ES31.StringName)name)); } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetStringi")] + public static + unsafe Byte GetString(OpenTK.Graphics.ES31.StringNameIndexed name, Int32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetStringi((OpenTK.Graphics.ES31.StringNameIndexed)name, (UInt32)index); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetStringi")] + public static + unsafe Byte GetString(OpenTK.Graphics.ES31.StringNameIndexed name, UInt32 index) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetStringi((OpenTK.Graphics.ES31.StringNameIndexed)name, (UInt32)index); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSynciv")] + public static + void GetSync(IntPtr sync, OpenTK.Graphics.ES31.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* values_ptr = values) + { + Core.GetSynciv((IntPtr)sync, (OpenTK.Graphics.ES31.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSynciv")] + public static + void GetSync(IntPtr sync, OpenTK.Graphics.ES31.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* values_ptr = &values) + { + Core.GetSynciv((IntPtr)sync, (OpenTK.Graphics.ES31.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr); + length = *length_ptr; + values = *values_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetSynciv")] + public static + unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES31.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetSynciv((IntPtr)sync, (OpenTK.Graphics.ES31.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexLevelParameterfv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetTexLevelParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexLevelParameterfv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetTexLevelParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexLevelParameterfv")] + public static + unsafe void GetTexLevelParameter(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTexLevelParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexLevelParameteriv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetTexLevelParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexLevelParameteriv")] + public static + void GetTexLevelParameter(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetTexLevelParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexLevelParameteriv")] + public static + unsafe void GetTexLevelParameter(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTexLevelParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetTexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameterfv")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetTexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameterfv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetTexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameteriv")] + public static + void GetTexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetTexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTexParameteriv")] + public static + unsafe void GetTexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.GetTextureParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.GetTextureParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.TransformFeedbackType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.TransformFeedbackType* type_ptr = type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.TransformFeedbackType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.TransformFeedbackType* type_ptr = &type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + public static + unsafe void GetTransformFeedbackVarying(Int32 program, Int32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.TransformFeedbackType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.TransformFeedbackType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] size, [OutAttribute] OpenTK.Graphics.ES31.TransformFeedbackType[] type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + fixed (Int32* size_ptr = size) + fixed (OpenTK.Graphics.ES31.TransformFeedbackType* type_ptr = type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + public static + void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 size, [OutAttribute] out OpenTK.Graphics.ES31.TransformFeedbackType type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + fixed (Int32* size_ptr = &size) + fixed (OpenTK.Graphics.ES31.TransformFeedbackType* type_ptr = &type) + { + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length_ptr, (Int32*)size_ptr, (OpenTK.Graphics.ES31.TransformFeedbackType*)type_ptr, (StringBuilder)name); + length = *length_ptr; + size = *size_ptr; + type = *type_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetTransformFeedbackVarying")] + public static + unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* size, [OutAttribute] OpenTK.Graphics.ES31.TransformFeedbackType* type, [OutAttribute] StringBuilder name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetTransformFeedbackVarying((UInt32)program, (UInt32)index, (Int32)bufSize, (Int32*)length, (Int32*)size, (OpenTK.Graphics.ES31.TransformFeedbackType*)type, (StringBuilder)name); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] + public static + Int32 GetUniformBlockIndex(Int32 program, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetUniformBlockIndex((UInt32)program, (StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformBlockIndex")] + public static + Int32 GetUniformBlockIndex(UInt32 program, [OutAttribute] StringBuilder uniformBlockName) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetUniformBlockIndex((UInt32)program, (StringBuilder)uniformBlockName); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformfv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetUniformfv((UInt32)program, (Int32)location, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformfv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetUniformfv((UInt32)program, (Int32)location, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, [OutAttribute] StringBuilder uniformNames, [OutAttribute] Int32[] uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = uniformIndices) + { + Core.GetUniformIndices((UInt32)program, (Int32)uniformCount, (StringBuilder)uniformNames, (UInt32*)uniformIndices_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(Int32 program, Int32 uniformCount, [OutAttribute] StringBuilder uniformNames, [OutAttribute] out Int32 uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* uniformIndices_ptr = &uniformIndices) + { + Core.GetUniformIndices((UInt32)program, (Int32)uniformCount, (StringBuilder)uniformNames, (UInt32*)uniformIndices_ptr); + uniformIndices = *uniformIndices_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(Int32 program, Int32 uniformCount, [OutAttribute] StringBuilder uniformNames, [OutAttribute] Int32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetUniformIndices((UInt32)program, (Int32)uniformCount, (StringBuilder)uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(UInt32 program, Int32 uniformCount, [OutAttribute] StringBuilder uniformNames, [OutAttribute] UInt32[] uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = uniformIndices) + { + Core.GetUniformIndices((UInt32)program, (Int32)uniformCount, (StringBuilder)uniformNames, (UInt32*)uniformIndices_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformIndices")] + public static + void GetUniformIndices(UInt32 program, Int32 uniformCount, [OutAttribute] StringBuilder uniformNames, [OutAttribute] out UInt32 uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* uniformIndices_ptr = &uniformIndices) + { + Core.GetUniformIndices((UInt32)program, (Int32)uniformCount, (StringBuilder)uniformNames, (UInt32*)uniformIndices_ptr); + uniformIndices = *uniformIndices_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformIndices")] + public static + unsafe void GetUniformIndices(UInt32 program, Int32 uniformCount, [OutAttribute] StringBuilder uniformNames, [OutAttribute] UInt32* uniformIndices) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetUniformIndices((UInt32)program, (Int32)uniformCount, (StringBuilder)uniformNames, (UInt32*)uniformIndices); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(Int32 program, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(Int32 program, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetUniformiv((UInt32)program, (Int32)location, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetUniformiv((UInt32)program, (Int32)location, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformLocation")] + public static + Int32 GetUniformLocation(Int32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformLocation")] + public static + Int32 GetUniformLocation(UInt32 program, String name) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.GetUniformLocation((UInt32)program, (String)name); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformuiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Core.GetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformuiv")] + public static + void GetUniform(UInt32 program, Int32 location, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Core.GetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetUniformuiv")] + public static + unsafe void GetUniform(UInt32 program, Int32 location, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetUniformuiv((UInt32)program, (Int32)location, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] out Single @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = &@params) + { + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribfv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribfv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + public static + unsafe void GetVertexAttribI(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIiv")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribIiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIuiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] UInt32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = @params) + { + Core.GetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (UInt32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIuiv")] + public static + void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] out UInt32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* @params_ptr = &@params) + { + Core.GetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (UInt32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribIuiv")] + public static + unsafe void GetVertexAttribI(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] UInt32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribIuiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (UInt32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(Int32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + public static + void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] out Int32 @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = &@params) + { + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params_ptr); + @params = *@params_ptr; + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribiv")] + public static + unsafe void GetVertexAttrib(UInt32 index, OpenTK.Graphics.ES31.VertexAttribParameter pname, [OutAttribute] Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribiv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribParameter)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(Int32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [OutAttribute] IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] T2[,,] pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glGetVertexAttribPointerv")] + public static + void GetVertexAttribPointer(UInt32 index, OpenTK.Graphics.ES31.VertexAttribPointerParameter pname, [InAttribute, OutAttribute] ref T2 pointer) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.GetVertexAttribPointerv((UInt32)index, (OpenTK.Graphics.ES31.VertexAttribPointerParameter)pname, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T2)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glHint")] + public static + void Hint(OpenTK.Graphics.ES31.HintTarget target, OpenTK.Graphics.ES31.HintMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Hint((OpenTK.Graphics.ES31.HintTarget)target, (OpenTK.Graphics.ES31.HintMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateFramebuffer")] + public static + void InvalidateFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES31.FramebufferAttachment[] attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.FramebufferAttachment* attachments_ptr = attachments) + { + Core.InvalidateFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateFramebuffer")] + public static + void InvalidateFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES31.FramebufferAttachment attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.FramebufferAttachment* attachments_ptr = &attachments) + { + Core.InvalidateFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateFramebuffer")] + public static + unsafe void InvalidateFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES31.FramebufferAttachment* attachments) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.InvalidateFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateSubFramebuffer")] + public static + void InvalidateSubFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES31.FramebufferAttachment[] attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.FramebufferAttachment* attachments_ptr = attachments) + { + Core.InvalidateSubFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateSubFramebuffer")] + public static + void InvalidateSubFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, ref OpenTK.Graphics.ES31.FramebufferAttachment attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (OpenTK.Graphics.ES31.FramebufferAttachment* attachments_ptr = &attachments) + { + Core.InvalidateSubFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments_ptr, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glInvalidateSubFramebuffer")] + public static + unsafe void InvalidateSubFramebuffer(OpenTK.Graphics.ES31.FramebufferTarget target, Int32 numAttachments, OpenTK.Graphics.ES31.FramebufferAttachment* attachments, Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.InvalidateSubFramebuffer((OpenTK.Graphics.ES31.FramebufferTarget)target, (Int32)numAttachments, (OpenTK.Graphics.ES31.FramebufferAttachment*)attachments, (Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(Int32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsBuffer")] + public static + bool IsBuffer(UInt32 buffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsBuffer((UInt32)buffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsEnabled")] + public static + bool IsEnabled(OpenTK.Graphics.ES31.EnableCap cap) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsEnabled((OpenTK.Graphics.ES31.EnableCap)cap); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(Int32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsFramebuffer")] + public static + bool IsFramebuffer(UInt32 framebuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsFramebuffer((UInt32)framebuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsProgram")] + public static + bool IsProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsProgram")] + public static + bool IsProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsProgramPipeline")] + public static + bool IsProgramPipeline(Int32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsProgramPipeline")] + public static + bool IsProgramPipeline(UInt32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsQuery")] + public static + bool IsQuery(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsQuery((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsQuery")] + public static + bool IsQuery(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsQuery((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(Int32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsRenderbuffer")] + public static + bool IsRenderbuffer(UInt32 renderbuffer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsRenderbuffer((UInt32)renderbuffer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsSampler")] + public static + bool IsSampler(Int32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsSampler((UInt32)sampler); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsSampler")] + public static + bool IsSampler(UInt32 sampler) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsSampler((UInt32)sampler); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsShader")] + public static + bool IsShader(Int32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsShader")] + public static + bool IsShader(UInt32 shader) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsShader((UInt32)shader); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsSync")] + public static + bool IsSync(IntPtr sync) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsSync((IntPtr)sync); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(Int32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsTexture")] + public static + bool IsTexture(UInt32 texture) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsTexture((UInt32)texture); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsTransformFeedback")] + public static + bool IsTransformFeedback(Int32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsTransformFeedback((UInt32)id); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsTransformFeedback")] + public static + bool IsTransformFeedback(UInt32 id) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsTransformFeedback((UInt32)id); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsVertexArray")] + public static + bool IsVertexArray(Int32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glIsVertexArray")] + public static + bool IsVertexArray(UInt32 array) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.IsVertexArray((UInt32)array); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glLineWidth")] + public static + void LineWidth(Single width) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.LineWidth((Single)width); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.LinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glLinkProgram")] + public static + void LinkProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.LinkProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMapBufferRange")] + public static + unsafe IntPtr MapBufferRange(OpenTK.Graphics.ES31.BufferTarget target, IntPtr offset, IntPtr length, OpenTK.Graphics.ES31.BufferAccessMask access) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.MapBufferRange((OpenTK.Graphics.ES31.BufferTarget)target, (IntPtr)offset, (IntPtr)length, (OpenTK.Graphics.ES31.BufferAccessMask)access); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMemoryBarrier")] + public static + void MemoryBarrier(OpenTK.Graphics.ES31.MemoryBarrierMask barriers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.MemoryBarrier((OpenTK.Graphics.ES31.MemoryBarrierMask)barriers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMemoryBarrierByRegion")] + public static + void MemoryBarrierByRegion(Int32 barriers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.MemoryBarrierByRegion((UInt32)barriers); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glMemoryBarrierByRegion")] + public static + void MemoryBarrierByRegion(UInt32 barriers) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.MemoryBarrierByRegion((UInt32)barriers); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glPauseTransformFeedback")] + public static + void PauseTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.PauseTransformFeedback(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glPixelStorei")] + public static + void PixelStore(OpenTK.Graphics.ES31.PixelStoreParameter pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.PixelStorei((OpenTK.Graphics.ES31.PixelStoreParameter)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glPolygonOffset")] + public static + void PolygonOffset(Single factor, Single units) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.PolygonOffset((Single)factor, (Single)units); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES31.All binaryFormat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(Int32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T2)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES31.All binaryFormat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T2[] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T2[,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] T2[,,] binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramBinary")] + public static + void ProgramBinary(UInt32 program, OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute] ref T2 binary, Int32 length) + where T2 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ProgramBinary((UInt32)program, (OpenTK.Graphics.ES31.All)binaryFormat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T2)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramParameteri")] + public static + void ProgramParameter(Int32 program, OpenTK.Graphics.ES31.ProgramParameterName pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramParameteri((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameterName)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramParameteri")] + public static + void ProgramParameter(UInt32 program, OpenTK.Graphics.ES31.ProgramParameterName pname, Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramParameteri((UInt32)program, (OpenTK.Graphics.ES31.ProgramParameterName)pname, (Int32)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1f")] + public static + void ProgramUniform1(Int32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1f")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Single v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1f((UInt32)program, (Int32)location, (Single)v0); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1fv")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1fv")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1fv")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1fv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1fv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1fv")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1i")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1i")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1i((UInt32)program, (Int32)location, (Int32)v0); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1iv")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1iv")] + public static + void ProgramUniform1(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1iv")] + public static + unsafe void ProgramUniform1(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1iv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1iv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1iv")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1ui")] + public static + void ProgramUniform1(UInt32 program, Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1ui((UInt32)program, (Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1uiv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.ProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1uiv")] + public static + void ProgramUniform1(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.ProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform1uiv")] + public static + unsafe void ProgramUniform1(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform1uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2f")] + public static + void ProgramUniform2(Int32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2f")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Single v0, Single v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2f((UInt32)program, (Int32)location, (Single)v0, (Single)v1); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2fv")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2fv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2fv")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2i")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2i")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 v0, Int32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2iv")] + public static + void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2iv")] + public static + unsafe void ProgramUniform2(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2iv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2iv")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2ui")] + public static + void ProgramUniform2(UInt32 program, Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2uiv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.ProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2uiv")] + public static + void ProgramUniform2(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.ProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform2uiv")] + public static + unsafe void ProgramUniform2(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform2uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3f")] + public static + void ProgramUniform3(Int32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3f")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Single v0, Single v1, Single v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3fv")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3fv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3fv")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3i")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3i")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3iv")] + public static + unsafe void ProgramUniform3(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3iv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3iv")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3ui")] + public static + void ProgramUniform3(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3uiv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.ProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3uiv")] + public static + void ProgramUniform3(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.ProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform3uiv")] + public static + unsafe void ProgramUniform3(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform3uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4f")] + public static + void ProgramUniform4(Int32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4f")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Single v0, Single v1, Single v2, Single v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4f((UInt32)program, (Int32)location, (Single)v0, (Single)v1, (Single)v2, (Single)v3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4fv")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4fv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4fv")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4fv((UInt32)program, (Int32)location, (Int32)count, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4i")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4i")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 v0, Int32 v1, Int32 v2, Int32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4i((UInt32)program, (Int32)location, (Int32)v0, (Int32)v1, (Int32)v2, (Int32)v3); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(Int32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4iv")] + public static + unsafe void ProgramUniform4(Int32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = value) + { + Core.ProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4iv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref Int32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* value_ptr = &value) + { + Core.ProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4iv")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, Int32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4iv((UInt32)program, (Int32)location, (Int32)count, (Int32*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4ui")] + public static + void ProgramUniform4(UInt32 program, Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4ui((UInt32)program, (Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4uiv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.ProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4uiv")] + public static + void ProgramUniform4(UInt32 program, Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.ProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniform4uiv")] + public static + unsafe void ProgramUniform4(UInt32 program, Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniform4uiv((UInt32)program, (Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + unsafe void ProgramUniformMatrix2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2fv")] + public static + unsafe void ProgramUniformMatrix2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + unsafe void ProgramUniformMatrix2x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x3fv")] + public static + unsafe void ProgramUniformMatrix2x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix2x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + unsafe void ProgramUniformMatrix2x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix2x4fv")] + public static + unsafe void ProgramUniformMatrix2x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix2x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + unsafe void ProgramUniformMatrix3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3fv")] + public static + unsafe void ProgramUniformMatrix3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + unsafe void ProgramUniformMatrix3x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x2fv")] + public static + unsafe void ProgramUniformMatrix3x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix3x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + unsafe void ProgramUniformMatrix3x4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix3x4fv")] + public static + unsafe void ProgramUniformMatrix3x4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix3x4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + unsafe void ProgramUniformMatrix4(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4fv")] + public static + unsafe void ProgramUniformMatrix4(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix4fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + unsafe void ProgramUniformMatrix4x2(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x2fv")] + public static + unsafe void ProgramUniformMatrix4x2(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix4x2fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + unsafe void ProgramUniformMatrix4x3(Int32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.ProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.ProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glProgramUniformMatrix4x3fv")] + public static + unsafe void ProgramUniformMatrix4x3(UInt32 program, Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ProgramUniformMatrix4x3fv((UInt32)program, (Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadBuffer")] + public static + void ReadBuffer(OpenTK.Graphics.ES31.ReadBufferMode mode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ReadBuffer((OpenTK.Graphics.ES31.ReadBufferMode)mode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T6[] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T6[,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T6[,,] pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReadPixels")] + public static + void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] ref T6 pixels) + where T6 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.ReadPixels((Int32)x, (Int32)y, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T6)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glReleaseShaderCompiler")] + public static + void ReleaseShaderCompiler() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ReleaseShaderCompiler(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glRenderbufferStorage")] + public static + void RenderbufferStorage(OpenTK.Graphics.ES31.RenderbufferTarget target, OpenTK.Graphics.ES31.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.RenderbufferStorage((OpenTK.Graphics.ES31.RenderbufferTarget)target, (OpenTK.Graphics.ES31.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glRenderbufferStorageMultisample")] + public static + void RenderbufferStorageMultisample(OpenTK.Graphics.ES31.RenderbufferTarget target, Int32 samples, OpenTK.Graphics.ES31.RenderbufferInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.RenderbufferStorageMultisample((OpenTK.Graphics.ES31.RenderbufferTarget)target, (Int32)samples, (OpenTK.Graphics.ES31.RenderbufferInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glResumeTransformFeedback")] + public static + void ResumeTransformFeedback() + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ResumeTransformFeedback(); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSampleCoverage")] + public static + void SampleCoverage(Single value, bool invert) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SampleCoverage((Single)value, (bool)invert); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSampleMaski")] + public static + void SampleMask(Int32 maskNumber, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SampleMaski((UInt32)maskNumber, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSampleMaski")] + public static + void SampleMask(UInt32 maskNumber, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SampleMaski((UInt32)maskNumber, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterf")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterf")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterf((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + public static + unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* param_ptr = param) + { + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameterfv")] + public static + unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Single* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameterfv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Single*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteri")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteri")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteri((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + public static + void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + public static + unsafe void SamplerParameter(Int32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + public static + void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32[] param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* param_ptr = param) + { + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glSamplerParameteriv")] + public static + unsafe void SamplerParameter(UInt32 sampler, OpenTK.Graphics.ES31.SamplerParameterName pname, Int32* param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.SamplerParameteriv((UInt32)sampler, (OpenTK.Graphics.ES31.SamplerParameterName)pname, (Int32*)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glScissor")] + public static + void Scissor(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Scissor((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, Int32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref Int32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, Int32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, UInt32[] shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + void ShaderBinary(Int32 n, ref UInt32 shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* shaders_ptr = &shaders) + { + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders_ptr, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, IntPtr binary, Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary, (Int32)length); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] T3[,,] binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderBinary")] + public static + unsafe void ShaderBinary(Int32 n, UInt32* shaders, OpenTK.Graphics.ES31.ShaderBinaryFormat binaryformat, [InAttribute, OutAttribute] ref T3 binary, Int32 length) + where T3 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle binary_ptr = GCHandle.Alloc(binary, GCHandleType.Pinned); + try + { + Core.ShaderBinary((Int32)n, (UInt32*)shaders, (OpenTK.Graphics.ES31.ShaderBinaryFormat)binaryformat, (IntPtr)binary_ptr.AddrOfPinnedObject(), (Int32)length); + binary = (T3)binary_ptr.Target; + } + finally + { + binary_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderSource")] + public static + void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.ShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderSource")] + public static + void ShaderSource(Int32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.ShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(Int32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderSource")] + public static + void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32[] length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = length) + { + Core.ShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderSource")] + public static + void ShaderSource(UInt32 shader, Int32 count, String[] @string, ref Int32 length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* length_ptr = &length) + { + Core.ShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glShaderSource")] + public static + unsafe void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ShaderSource((UInt32)shader, (Int32)count, (String[])@string, (Int32*)length); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES31.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFunc((OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFunc")] + public static + void StencilFunc(OpenTK.Graphics.ES31.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFunc((OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.ES31.CullFaceMode face, OpenTK.Graphics.ES31.StencilFunction func, Int32 @ref, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFuncSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilFuncSeparate")] + public static + void StencilFuncSeparate(OpenTK.Graphics.ES31.CullFaceMode face, OpenTK.Graphics.ES31.StencilFunction func, Int32 @ref, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilFuncSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (OpenTK.Graphics.ES31.StencilFunction)func, (Int32)@ref, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilMask")] + public static + void StencilMask(Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilMask")] + public static + void StencilMask(UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilMask((UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.ES31.CullFaceMode face, Int32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilMaskSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilMaskSeparate")] + public static + void StencilMaskSeparate(OpenTK.Graphics.ES31.CullFaceMode face, UInt32 mask) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilMaskSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (UInt32)mask); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilOp")] + public static + void StencilOp(OpenTK.Graphics.ES31.StencilOp fail, OpenTK.Graphics.ES31.StencilOp zfail, OpenTK.Graphics.ES31.StencilOp zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilOp((OpenTK.Graphics.ES31.StencilOp)fail, (OpenTK.Graphics.ES31.StencilOp)zfail, (OpenTK.Graphics.ES31.StencilOp)zpass); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glStencilOpSeparate")] + public static + void StencilOpSeparate(OpenTK.Graphics.ES31.CullFaceMode face, OpenTK.Graphics.ES31.StencilOp fail, OpenTK.Graphics.ES31.StencilOp zfail, OpenTK.Graphics.ES31.StencilOp zpass) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.StencilOpSeparate((OpenTK.Graphics.ES31.CullFaceMode)face, (OpenTK.Graphics.ES31.StencilOp)fail, (OpenTK.Graphics.ES31.StencilOp)zfail, (OpenTK.Graphics.ES31.StencilOp)zpass); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage2D")] + public static + void TexImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, OpenTK.Graphics.ES31.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES31.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T9[] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T9[,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T9[,,] pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexImage3D")] + public static + void TexImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, OpenTK.Graphics.ES31.TextureComponentCount internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] ref T9 pixels) + where T9 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (OpenTK.Graphics.ES31.TextureComponentCount)internalformat, (Int32)width, (Int32)height, (Int32)depth, (Int32)border, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T9)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameterf")] + public static + void TexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Single param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameterf((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Single)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameterfv")] + public static + void TexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Single[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* @params_ptr = @params) + { + Core.TexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Single*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameterfv")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Single* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameterfv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Single*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameteri")] + public static + void TexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Int32 param) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameteri((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Int32)param); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameteriv")] + public static + void TexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Int32[] @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* @params_ptr = @params) + { + Core.TexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Int32*)@params_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexParameteriv")] + public static + unsafe void TexParameter(OpenTK.Graphics.ES31.TextureTarget target, OpenTK.Graphics.ES31.TextureParameterName pname, Int32* @params) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexParameteriv((OpenTK.Graphics.ES31.TextureTarget)target, (OpenTK.Graphics.ES31.TextureParameterName)pname, (Int32*)@params); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexStorage2D")] + public static + void TexStorage2D(OpenTK.Graphics.ES31.TextureTarget2D target, Int32 levels, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexStorage2D((OpenTK.Graphics.ES31.TextureTarget2D)target, (Int32)levels, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexStorage2DMultisample")] + public static + void TexStorage2DMultisample(OpenTK.Graphics.ES31.All target, Int32 samples, OpenTK.Graphics.ES31.All internalformat, Int32 width, Int32 height, bool fixedsamplelocations) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexStorage2DMultisample((OpenTK.Graphics.ES31.All)target, (Int32)samples, (OpenTK.Graphics.ES31.All)internalformat, (Int32)width, (Int32)height, (bool)fixedsamplelocations); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexStorage3D")] + public static + void TexStorage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 levels, OpenTK.Graphics.ES31.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexStorage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)levels, (OpenTK.Graphics.ES31.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T8[] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T8[,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T8[,,] pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage2D")] + public static + void TexSubImage2D(OpenTK.Graphics.ES31.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] ref T8 pixels) + where T8 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage2D((OpenTK.Graphics.ES31.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T8)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, IntPtr pixels) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T10[] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T10[,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] T10[,,] pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTexSubImage3D")] + public static + void TexSubImage3D(OpenTK.Graphics.ES31.TextureTarget3D target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES31.PixelFormat format, OpenTK.Graphics.ES31.PixelType type, [InAttribute, OutAttribute] ref T10 pixels) + where T10 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned); + try + { + Core.TexSubImage3D((OpenTK.Graphics.ES31.TextureTarget3D)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)zoffset, (Int32)width, (Int32)height, (Int32)depth, (OpenTK.Graphics.ES31.PixelFormat)format, (OpenTK.Graphics.ES31.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject()); + pixels = (T10)pixels_ptr.Target; + } + finally + { + pixels_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTransformFeedbackVaryings")] + public static + void TransformFeedbackVaryings(Int32 program, Int32 count, String varyings, OpenTK.Graphics.ES31.TransformFeedbackMode bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ES31.TransformFeedbackMode)bufferMode); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glTransformFeedbackVaryings")] + public static + void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.ES31.TransformFeedbackMode bufferMode) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.TransformFeedbackVaryings((UInt32)program, (Int32)count, (String)varyings, (OpenTK.Graphics.ES31.TransformFeedbackMode)bufferMode); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1f")] + public static + void Uniform1(Int32 location, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform1f((Int32)location, (Single)x); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1fv")] + public static + void Uniform1(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Core.Uniform1fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1fv")] + public static + void Uniform1(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Core.Uniform1fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1fv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform1fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1i")] + public static + void Uniform1(Int32 location, Int32 x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform1i((Int32)location, (Int32)x); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Core.Uniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1iv")] + public static + void Uniform1(Int32 location, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Core.Uniform1iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1iv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform1iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1ui")] + public static + void Uniform1(Int32 location, UInt32 v0) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform1ui((Int32)location, (UInt32)v0); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1uiv")] + public static + void Uniform1(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.Uniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1uiv")] + public static + void Uniform1(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.Uniform1uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform1uiv")] + public static + unsafe void Uniform1(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform1uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2f")] + public static + void Uniform2(Int32 location, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform2f((Int32)location, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2fv")] + public static + void Uniform2(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Core.Uniform2fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2fv")] + public static + void Uniform2(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Core.Uniform2fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2fv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform2fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2i")] + public static + void Uniform2(Int32 location, Int32 x, Int32 y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform2i((Int32)location, (Int32)x, (Int32)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2iv")] + public static + void Uniform2(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Core.Uniform2iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2iv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform2iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2ui")] + public static + void Uniform2(Int32 location, UInt32 v0, UInt32 v1) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform2ui((Int32)location, (UInt32)v0, (UInt32)v1); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.Uniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2uiv")] + public static + void Uniform2(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.Uniform2uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform2uiv")] + public static + unsafe void Uniform2(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform2uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3f")] + public static + void Uniform3(Int32 location, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform3f((Int32)location, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3fv")] + public static + void Uniform3(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Core.Uniform3fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3fv")] + public static + void Uniform3(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Core.Uniform3fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3fv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform3fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3i")] + public static + void Uniform3(Int32 location, Int32 x, Int32 y, Int32 z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform3i((Int32)location, (Int32)x, (Int32)y, (Int32)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3iv")] + public static + void Uniform3(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Core.Uniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3iv")] + public static + void Uniform3(Int32 location, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Core.Uniform3iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3iv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform3iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3ui")] + public static + void Uniform3(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform3ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3uiv")] + public static + void Uniform3(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.Uniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3uiv")] + public static + void Uniform3(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.Uniform3uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform3uiv")] + public static + unsafe void Uniform3(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform3uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4f")] + public static + void Uniform4(Int32 location, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform4f((Int32)location, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4fv")] + public static + void Uniform4(Int32 location, Int32 count, Single[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = v) + { + Core.Uniform4fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4fv")] + public static + void Uniform4(Int32 location, Int32 count, ref Single v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* v_ptr = &v) + { + Core.Uniform4fv((Int32)location, (Int32)count, (Single*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4fv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Single* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform4fv((Int32)location, (Int32)count, (Single*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4i")] + public static + void Uniform4(Int32 location, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform4i((Int32)location, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Core.Uniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4iv")] + public static + void Uniform4(Int32 location, Int32 count, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Core.Uniform4iv((Int32)location, (Int32)count, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4iv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform4iv((Int32)location, (Int32)count, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4ui")] + public static + void Uniform4(Int32 location, UInt32 v0, UInt32 v1, UInt32 v2, UInt32 v3) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform4ui((Int32)location, (UInt32)v0, (UInt32)v1, (UInt32)v2, (UInt32)v3); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4uiv")] + public static + void Uniform4(Int32 location, Int32 count, UInt32[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = value) + { + Core.Uniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4uiv")] + public static + void Uniform4(Int32 location, Int32 count, ref UInt32 value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* value_ptr = &value) + { + Core.Uniform4uiv((Int32)location, (Int32)count, (UInt32*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniform4uiv")] + public static + unsafe void Uniform4(Int32 location, Int32 count, UInt32* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Uniform4uiv((Int32)location, (Int32)count, (UInt32*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] + public static + void UniformBlockBinding(Int32 program, Int32 uniformBlockIndex, Int32 uniformBlockBinding) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformBlockBinding")] + public static + void UniformBlockBinding(UInt32 program, UInt32 uniformBlockIndex, UInt32 uniformBlockBinding) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformBlockBinding((UInt32)program, (UInt32)uniformBlockIndex, (UInt32)uniformBlockBinding); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2fv")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2fv")] + public static + void UniformMatrix2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2fv")] + public static + unsafe void UniformMatrix2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2x3fv")] + public static + unsafe void UniformMatrix2x3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix2x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix2x4fv")] + public static + unsafe void UniformMatrix2x4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix2x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3fv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3fv")] + public static + void UniformMatrix3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3fv")] + public static + unsafe void UniformMatrix3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3x2fv")] + public static + unsafe void UniformMatrix3x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix3x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix3x4fv")] + public static + unsafe void UniformMatrix3x4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix3x4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4fv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4fv")] + public static + void UniformMatrix4(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4fv")] + public static + unsafe void UniformMatrix4(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix4fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4x2fv")] + public static + unsafe void UniformMatrix4x2(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix4x2fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single[] value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = value) + { + Core.UniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, ref Single value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* value_ptr = &value) + { + Core.UniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUniformMatrix4x3fv")] + public static + unsafe void UniformMatrix4x3(Int32 location, Int32 count, bool transpose, Single* value) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UniformMatrix4x3fv((Int32)location, (Int32)count, (bool)transpose, (Single*)value); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUnmapBuffer")] + public static + bool UnmapBuffer(OpenTK.Graphics.ES31.BufferTarget target) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + return Core.UnmapBuffer((OpenTK.Graphics.ES31.BufferTarget)target); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUseProgram")] + public static + void UseProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UseProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUseProgram")] + public static + void UseProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UseProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUseProgramStages")] + public static + void UseProgramStages(Int32 pipeline, Int32 stages, Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UseProgramStages((UInt32)pipeline, (UInt32)stages, (UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glUseProgramStages")] + public static + void UseProgramStages(UInt32 pipeline, UInt32 stages, UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.UseProgramStages((UInt32)pipeline, (UInt32)stages, (UInt32)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glValidateProgram")] + public static + void ValidateProgram(Int32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ValidateProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glValidateProgram")] + public static + void ValidateProgram(UInt32 program) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ValidateProgram((UInt32)program); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glValidateProgramPipeline")] + public static + void ValidateProgramPipeline(Int32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ValidateProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glValidateProgramPipeline")] + public static + void ValidateProgramPipeline(UInt32 pipeline) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.ValidateProgramPipeline((UInt32)pipeline); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(Int32 indx, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib1f((UInt32)indx, (Single)x); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib1f")] + public static + void VertexAttrib1(UInt32 indx, Single x) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib1f((UInt32)indx, (Single)x); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib1fv")] + public static + void VertexAttrib1(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib1fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib1fv")] + public static + unsafe void VertexAttrib1(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib1fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib1fv")] + public static + void VertexAttrib1(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib1fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib1fv")] + public static + unsafe void VertexAttrib1(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib1fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2f")] + public static + void VertexAttrib2(Int32 indx, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib2f((UInt32)indx, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2f")] + public static + void VertexAttrib2(UInt32 indx, Single x, Single y) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib2f((UInt32)indx, (Single)x, (Single)y); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(Int32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Core.VertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib2fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2fv")] + public static + void VertexAttrib2(UInt32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Core.VertexAttrib2fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib2fv")] + public static + unsafe void VertexAttrib2(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib2fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3f")] + public static + void VertexAttrib3(Int32 indx, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3f")] + public static + void VertexAttrib3(UInt32 indx, Single x, Single y, Single z) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib3f((UInt32)indx, (Single)x, (Single)y, (Single)z); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(Int32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Core.VertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib3fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3fv")] + public static + void VertexAttrib3(UInt32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Core.VertexAttrib3fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib3fv")] + public static + unsafe void VertexAttrib3(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib3fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4f")] + public static + void VertexAttrib4(Int32 indx, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4f")] + public static + void VertexAttrib4(UInt32 indx, Single x, Single y, Single z, Single w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib4f((UInt32)indx, (Single)x, (Single)y, (Single)z, (Single)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(Int32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Core.VertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(Int32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib4fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 indx, Single[] values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = values) + { + Core.VertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4fv")] + public static + void VertexAttrib4(UInt32 indx, ref Single values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Single* values_ptr = &values) + { + Core.VertexAttrib4fv((UInt32)indx, (Single*)values_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttrib4fv")] + public static + unsafe void VertexAttrib4(UInt32 indx, Single* values) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttrib4fv((UInt32)indx, (Single*)values); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribBinding")] + public static + void VertexAttribBinding(Int32 attribindex, Int32 bindingindex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribBinding")] + public static + void VertexAttribBinding(UInt32 attribindex, UInt32 bindingindex) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribBinding((UInt32)attribindex, (UInt32)bindingindex); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribDivisor")] + public static + void VertexAttribDivisor(Int32 index, Int32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribDivisor((UInt32)index, (UInt32)divisor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribDivisor")] + public static + void VertexAttribDivisor(UInt32 index, UInt32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribDivisor((UInt32)index, (UInt32)divisor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribFormat")] + public static + void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, Int32 relativeoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.ES31.All)type, (bool)normalized, (UInt32)relativeoffset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribFormat")] + public static + void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.ES31.All type, bool normalized, UInt32 relativeoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.ES31.All)type, (bool)normalized, (UInt32)relativeoffset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4i")] + public static + void VertexAttribI4(Int32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4i")] + public static + void VertexAttribI4(UInt32 index, Int32 x, Int32 y, Int32 z, Int32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribI4i((UInt32)index, (Int32)x, (Int32)y, (Int32)z, (Int32)w); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(Int32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Core.VertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(Int32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Core.VertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4iv")] + public static + unsafe void VertexAttribI4(Int32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribI4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(UInt32 index, Int32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = v) + { + Core.VertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4iv")] + public static + void VertexAttribI4(UInt32 index, ref Int32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (Int32* v_ptr = &v) + { + Core.VertexAttribI4iv((UInt32)index, (Int32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4iv")] + public static + unsafe void VertexAttribI4(UInt32 index, Int32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribI4iv((UInt32)index, (Int32*)v); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4ui")] + public static + void VertexAttribI4(UInt32 index, UInt32 x, UInt32 y, UInt32 z, UInt32 w) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribI4ui((UInt32)index, (UInt32)x, (UInt32)y, (UInt32)z, (UInt32)w); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4uiv")] + public static + void VertexAttribI4(UInt32 index, UInt32[] v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = v) + { + Core.VertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4uiv")] + public static + void VertexAttribI4(UInt32 index, ref UInt32 v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + unsafe + { + fixed (UInt32* v_ptr = &v) + { + Core.VertexAttribI4uiv((UInt32)index, (UInt32*)v_ptr); + } + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribI4uiv")] + public static + unsafe void VertexAttribI4(UInt32 index, UInt32* v) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribI4uiv((UInt32)index, (UInt32*)v); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIFormat")] + public static + void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.ES31.All type, Int32 relativeoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.ES31.All)type, (UInt32)relativeoffset); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIFormat")] + public static + void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.ES31.All type, UInt32 relativeoffset) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.ES31.All)type, (UInt32)relativeoffset); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribIPointer")] + public static + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.ES31.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + where T4 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); + try + { + Core.VertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + pointer = (T4)pointer_ptr.Target; + } + finally + { + pointer_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(Int32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + ptr = (T5)ptr_ptr.Target; + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, IntPtr ptr) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] T5[,,] ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexAttribPointer")] + public static + void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES31.VertexAttribPointerType type, bool normalized, Int32 stride, [InAttribute, OutAttribute] ref T5 ptr) + where T5 : struct + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + GCHandle ptr_ptr = GCHandle.Alloc(ptr, GCHandleType.Pinned); + try + { + Core.VertexAttribPointer((UInt32)indx, (Int32)size, (OpenTK.Graphics.ES31.VertexAttribPointerType)type, (bool)normalized, (Int32)stride, (IntPtr)ptr_ptr.AddrOfPinnedObject()); + ptr = (T5)ptr_ptr.Target; + } + finally + { + ptr_ptr.Free(); + } + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexBindingDivisor")] + public static + void VertexBindingDivisor(Int32 bindingindex, Int32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glVertexBindingDivisor")] + public static + void VertexBindingDivisor(UInt32 bindingindex, UInt32 divisor) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.VertexBindingDivisor((UInt32)bindingindex, (UInt32)divisor); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glViewport")] + public static + void Viewport(Int32 x, Int32 y, Int32 width, Int32 height) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.Viewport((Int32)x, (Int32)y, (Int32)width, (Int32)height); + #if DEBUG + } + #endif + } + + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glWaitSync")] + public static + void WaitSync(IntPtr sync, Int32 flags, Int64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.WaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + [System.CLSCompliant(false)] + [AutoGenerated(Category = "3.1", Version = "3.1", EntryPoint = "glWaitSync")] + public static + void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout) + { + #if DEBUG + using (new ErrorHelper(GraphicsContext.CurrentContext)) + { + #endif + Core.WaitSync((IntPtr)sync, (UInt32)flags, (UInt64)timeout); + #if DEBUG + } + #endif + } + + } +} diff --git a/Projects/OpenTK.Android/Graphics/EL31.Android/Enums.cs b/Projects/OpenTK.Android/Graphics/EL31.Android/Enums.cs new file mode 100644 index 000000000..fee161b05 --- /dev/null +++ b/Projects/OpenTK.Android/Graphics/EL31.Android/Enums.cs @@ -0,0 +1,2602 @@ +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2010 the Open Toolkit library. +// Copyright 2013 Xamarin Inc +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// + + + +using System; + +namespace OpenTK.Graphics.ES31 +{ + public enum ActiveAttribType : int + { + Int = ((int)0x1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0X1406), + FloatVec2 = ((int)0X8b50), + FloatVec3 = ((int)0X8b51), + FloatVec4 = ((int)0X8b52), + IntVec2 = ((int)0x8B53), + IntVec3 = ((int)0x8B54), + IntVec4 = ((int)0x8B55), + FloatMat2 = ((int)0X8b5a), + FloatMat3 = ((int)0X8b5b), + FloatMat4 = ((int)0X8b5c), + FloatMat2x3 = ((int)0x8B65), + FloatMat2x4 = ((int)0x8B66), + FloatMat3x2 = ((int)0x8B67), + FloatMat3x4 = ((int)0x8B68), + FloatMat4x2 = ((int)0x8B69), + FloatMat4x3 = ((int)0x8B6A), + UnsignedIntVec2 = ((int)0x8DC6), + UnsignedIntVec3 = ((int)0x8DC7), + UnsignedIntVec4 = ((int)0x8DC8), + } + + public enum ActiveUniformBlockParameter : int + { + UniformBlockBinding = ((int)0x8A3F), + UniformBlockDataSize = ((int)0x8A40), + UniformBlockNameLength = ((int)0x8A41), + UniformBlockActiveUniforms = ((int)0x8A42), + UniformBlockActiveUniformIndices = ((int)0x8A43), + UniformBlockReferencedByVertexShader = ((int)0x8A44), + UniformBlockReferencedByFragmentShader = ((int)0x8A46), + } + + public enum ActiveUniformParameter : int + { + UniformType = ((int)0x8A37), + UniformSize = ((int)0x8A38), + UniformNameLength = ((int)0x8A39), + UniformBlockIndex = ((int)0x8A3A), + UniformOffset = ((int)0x8A3B), + UniformArrayStride = ((int)0x8A3C), + UniformMatrixStride = ((int)0x8A3D), + UniformIsRowMajor = ((int)0x8A3E), + } + + public enum ActiveUniformType : int + { + Int = ((int)0X1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0X1406), + SamplerBinding = ((int)0x8919), + FloatVec2 = ((int)0X8b50), + FloatVec3 = ((int)0X8b51), + FloatVec4 = ((int)0X8b52), + IntVec2 = ((int)0X8b53), + IntVec3 = ((int)0X8b54), + IntVec4 = ((int)0X8b55), + Bool = ((int)0X8b56), + BoolVec2 = ((int)0X8b57), + BoolVec3 = ((int)0X8b58), + BoolVec4 = ((int)0X8b59), + FloatMat2 = ((int)0X8b5a), + FloatMat3 = ((int)0X8b5b), + FloatMat4 = ((int)0X8b5c), + Sampler2D = ((int)0X8b5e), + Sampler3D = ((int)0x8B5F), + SamplerCube = ((int)0X8b60), + Sampler2DShadow = ((int)0x8B62), + FloatMat2x3 = ((int)0x8B65), + FloatMat2x4 = ((int)0x8B66), + FloatMat3x2 = ((int)0x8B67), + FloatMat3x4 = ((int)0x8B68), + FloatMat4x2 = ((int)0x8B69), + FloatMat4x3 = ((int)0x8B6A), + Sampler2DArray = ((int)0x8DC1), + Sampler2DArrayShadow = ((int)0x8DC4), + SamplerCubeShadow = ((int)0x8DC5), + UnsignedIntVec2 = ((int)0x8DC6), + UnsignedIntVec3 = ((int)0x8DC7), + UnsignedIntVec4 = ((int)0x8DC8), + IntSampler2D = ((int)0x8DCA), + IntSampler3D = ((int)0x8DCB), + IntSamplerCube = ((int)0x8DCC), + IntSampler2DArray = ((int)0x8DCF), + UnsignedIntSampler2D = ((int)0x8DD2), + UnsignedIntSampler3D = ((int)0x8DD3), + UnsignedIntSamplerCube = ((int)0x8DD4), + UnsignedIntSampler2DArray = ((int)0x8DD7), + } + + public enum All : int + { + False = ((int)0), + NoError = ((int)0), + None = ((int)0), + Zero = ((int)0), + Points = ((int)0x0000), + SyncFlushCommandsBit = ((int)0x00000001), + VertexAttribArrayBarrierBit = ((int)0x00000001), + VertexShaderBit = ((int)0x00000001), + ElementArrayBarrierBit = ((int)0x00000002), + FragmentShaderBit = ((int)0x00000002), + UniformBarrierBit = ((int)0x00000004), + TextureFetchBarrierBit = ((int)0x00000008), + ComputeShaderBit = ((int)0x00000020), + ShaderImageAccessBarrierBit = ((int)0x00000020), + CommandBarrierBit = ((int)0x00000040), + PixelBufferBarrierBit = ((int)0x00000080), + DepthBufferBit = ((int)0x00000100), + TextureUpdateBarrierBit = ((int)0x00000100), + BufferUpdateBarrierBit = ((int)0x00000200), + FramebufferBarrierBit = ((int)0x00000400), + StencilBufferBit = ((int)0x00000400), + TransformFeedbackBarrierBit = ((int)0x00000800), + AtomicCounterBarrierBit = ((int)0x00001000), + ShaderStorageBarrierBit = ((int)0x00002000), + ColorBufferBit = ((int)0x00004000), + Lines = ((int)0x0001), + MapReadBit = ((int)0x0001), + ImgTextureFormatBgra8888 = ((int)0X0001), + LineLoop = ((int)0x0002), + MapWriteBit = ((int)0x0002), + LineStrip = ((int)0x0003), + MapInvalidateRangeBit = ((int)0x0004), + Triangles = ((int)0x0004), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + MapInvalidateBufferBit = ((int)0x0008), + MapFlushExplicitBit = ((int)0x0010), + MapUnsynchronizedBit = ((int)0x0020), + Never = ((int)0x0200), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + OutOfMemory = ((int)0x0505), + InvalidFramebufferOperation = ((int)0x0506), + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + LineWidth = ((int)0x0B21), + CullFace = ((int)0x0B44), + CullFaceMode = ((int)0x0B45), + FrontFace = ((int)0x0B46), + DepthRange = ((int)0x0B70), + DepthTest = ((int)0x0B71), + DepthWritemask = ((int)0x0B72), + DepthClearValue = ((int)0x0B73), + DepthFunc = ((int)0x0B74), + StencilTest = ((int)0x0B90), + StencilClearValue = ((int)0x0B91), + StencilFunc = ((int)0x0B92), + StencilValueMask = ((int)0x0B93), + StencilFail = ((int)0x0B94), + StencilPassDepthFail = ((int)0x0B95), + StencilPassDepthPass = ((int)0x0B96), + StencilRef = ((int)0x0B97), + StencilWritemask = ((int)0x0B98), + Viewport = ((int)0x0BA2), + Dither = ((int)0x0BD0), + Blend = ((int)0x0BE2), + ReadBuffer = ((int)0x0C02), + ScissorBox = ((int)0x0C10), + ScissorTest = ((int)0x0C11), + ColorClearValue = ((int)0x0C22), + ColorWritemask = ((int)0x0C23), + UnpackRowLength = ((int)0x0CF2), + UnpackSkipRows = ((int)0x0CF3), + UnpackSkipPixels = ((int)0x0CF4), + UnpackAlignment = ((int)0x0CF5), + PackRowLength = ((int)0x0D02), + PackSkipRows = ((int)0x0D03), + PackSkipPixels = ((int)0x0D04), + PackAlignment = ((int)0x0D05), + MaxTextureSize = ((int)0x0D33), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + Texture2D = ((int)0x0DE1), + TextureWidth = ((int)0x1000), + TextureHeight = ((int)0x1001), + TextureInternalFormat = ((int)0x1003), + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Int = ((int)0x1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0x1406), + HalfFloat = ((int)0x140B), + Fixed = ((int)0x140C), + Invert = ((int)0x150A), + Texture = ((int)0x1702), + Color = ((int)0x1800), + Depth = ((int)0x1801), + Stencil = ((int)0x1802), + StencilIndex = ((int)0x1901), + DepthComponent = ((int)0x1902), + Red = ((int)0x1903), + Green = ((int)0x1904), + Blue = ((int)0x1905), + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + Repeat = ((int)0x2901), + PolygonOffsetUnits = ((int)0x2A00), + ConstantColor = ((int)0x8001), + OneMinusConstantColor = ((int)0x8002), + ConstantAlpha = ((int)0x8003), + OneMinusConstantAlpha = ((int)0x8004), + BlendColor = ((int)0x8005), + FuncAdd = ((int)0x8006), + Min = ((int)0x8007), + Max = ((int)0x8008), + BlendEquation = ((int)0x8009), + BlendEquationRgb = ((int)0X8009), + FuncSubtract = ((int)0x800A), + FuncReverseSubtract = ((int)0x800B), + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + PolygonOffsetFill = ((int)0x8037), + PolygonOffsetFactor = ((int)0x8038), + Rgb8 = ((int)0x8051), + Rgba4 = ((int)0x8056), + Rgb5A1 = ((int)0x8057), + Rgba8 = ((int)0x8058), + Rgb10A2 = ((int)0x8059), + TextureRedSize = ((int)0x805C), + TextureGreenSize = ((int)0x805D), + TextureBlueSize = ((int)0x805E), + TextureAlphaSize = ((int)0x805F), + TextureBinding2D = ((int)0x8069), + TextureBinding3D = ((int)0x806A), + UnpackSkipImages = ((int)0x806D), + UnpackImageHeight = ((int)0x806E), + Texture3D = ((int)0x806F), + TextureDepth = ((int)0x8071), + TextureWrapR = ((int)0x8072), + Max3DTextureSize = ((int)0x8073), + SampleAlphaToCoverage = ((int)0x809E), + SampleCoverage = ((int)0x80A0), + SampleBuffers = ((int)0x80A8), + Samples = ((int)0x80A9), + SampleCoverageValue = ((int)0x80AA), + SampleCoverageInvert = ((int)0x80AB), + BlendDstRgb = ((int)0x80C8), + BlendSrcRgb = ((int)0x80C9), + BlendDstAlpha = ((int)0x80CA), + BlendSrcAlpha = ((int)0x80CB), + MaxElementsVertices = ((int)0x80E8), + MaxElementsIndices = ((int)0x80E9), + ClampToEdge = ((int)0x812F), + TextureMinLod = ((int)0x813A), + TextureMaxLod = ((int)0x813B), + TextureBaseLevel = ((int)0x813C), + TextureMaxLevel = ((int)0x813D), + GenerateMipmapHint = ((int)0x8192), + DepthComponent16 = ((int)0x81A5), + DepthComponent24 = ((int)0x81A6), + FramebufferAttachmentColorEncoding = ((int)0x8210), + FramebufferAttachmentComponentType = ((int)0x8211), + FramebufferAttachmentRedSize = ((int)0x8212), + FramebufferAttachmentGreenSize = ((int)0x8213), + FramebufferAttachmentBlueSize = ((int)0x8214), + FramebufferAttachmentAlphaSize = ((int)0x8215), + FramebufferAttachmentDepthSize = ((int)0x8216), + FramebufferAttachmentStencilSize = ((int)0x8217), + FramebufferDefault = ((int)0x8218), + FramebufferUndefined = ((int)0x8219), + DepthStencilAttachment = ((int)0x821A), + MajorVersion = ((int)0x821B), + MinorVersion = ((int)0x821C), + NumExtensions = ((int)0x821D), + Rg = ((int)0x8227), + RgInteger = ((int)0x8228), + R8 = ((int)0x8229), + Rg8 = ((int)0x822B), + R16f = ((int)0x822D), + R32f = ((int)0x822E), + Rg16f = ((int)0x822F), + Rg32f = ((int)0x8230), + R8i = ((int)0x8231), + R8ui = ((int)0x8232), + R16i = ((int)0x8233), + R16ui = ((int)0x8234), + R32i = ((int)0x8235), + R32ui = ((int)0x8236), + Rg8i = ((int)0x8237), + Rg8ui = ((int)0x8238), + Rg16i = ((int)0x8239), + Rg16ui = ((int)0x823A), + Rg32i = ((int)0x823B), + Rg32ui = ((int)0x823C), + ProgramBinaryRetrievableHint = ((int)0x8257), + ProgramSeparable = ((int)0x8258), + ActiveProgram = ((int)0x8259), + ProgramPipelineBinding = ((int)0x825A), + MaxComputeSharedMemorySize = ((int)0x8262), + MaxComputeUniformComponents = ((int)0x8263), + MaxComputeAtomicCounterBuffers = ((int)0x8264), + MaxComputeAtomicCounters = ((int)0x8265), + MaxCombinedComputeUniformComponents = ((int)0x8266), + ComputeWorkGroupSize = ((int)0x8267), + MaxUniformLocations = ((int)0x826E), + VertexAttribBinding = ((int)0x82D4), + VertexAttribRelativeOffset = ((int)0x82D5), + VertexBindingDivisor = ((int)0x82D6), + VertexBindingOffset = ((int)0x82D7), + VertexBindingStride = ((int)0x82D8), + MaxVertexAttribRelativeOffset = ((int)0x82D9), + MaxVertexAttribBindings = ((int)0x82DA), + TextureImmutableLevels = ((int)0x82DF), + MaxVertexAttribStride = ((int)0x82E5), + UnsignedShort565 = ((int)0x8363), + UnsignedInt2101010Rev = ((int)0x8368), + MirroredRepeat = ((int)0x8370), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + ActiveTexture = ((int)0x84E0), + MaxRenderbufferSize = ((int)0x84E8), + DepthStencil = ((int)0x84F9), + UnsignedInt248 = ((int)0x84FA), + MaxTextureLodBias = ((int)0x84FD), + IncrWrap = ((int)0x8507), + DecrWrap = ((int)0x8508), + TextureCubeMap = ((int)0x8513), + TextureBindingCubeMap = ((int)0x8514), + TextureCubeMapPositiveX = ((int)0x8515), + TextureCubeMapNegativeX = ((int)0x8516), + TextureCubeMapPositiveY = ((int)0x8517), + TextureCubeMapNegativeY = ((int)0x8518), + TextureCubeMapPositiveZ = ((int)0x8519), + TextureCubeMapNegativeZ = ((int)0x851A), + MaxCubeMapTextureSize = ((int)0x851C), + VertexArrayBinding = ((int)0x85B5), + VertexAttribArrayEnabled = ((int)0x8622), + VertexAttribArraySize = ((int)0x8623), + VertexAttribArrayStride = ((int)0x8624), + VertexAttribArrayType = ((int)0x8625), + CurrentVertexAttrib = ((int)0x8626), + VertexAttribArrayPointer = ((int)0x8645), + TextureCompressed = ((int)0x86A1), + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + ProgramBinaryLength = ((int)0x8741), + BufferSize = ((int)0x8764), + BufferUsage = ((int)0x8765), + NumProgramBinaryFormats = ((int)0x87FE), + ProgramBinaryFormats = ((int)0x87FF), + StencilBackFunc = ((int)0x8800), + StencilBackFail = ((int)0x8801), + StencilBackPassDepthFail = ((int)0x8802), + StencilBackPassDepthPass = ((int)0x8803), + Rgba32f = ((int)0x8814), + Rgb32f = ((int)0x8815), + Rgba16f = ((int)0x881A), + Rgb16f = ((int)0x881B), + MaxDrawBuffers = ((int)0x8824), + DrawBuffer0 = ((int)0x8825), + DrawBuffer1 = ((int)0x8826), + DrawBuffer2 = ((int)0x8827), + DrawBuffer3 = ((int)0x8828), + DrawBuffer4 = ((int)0x8829), + DrawBuffer5 = ((int)0x882A), + DrawBuffer6 = ((int)0x882B), + DrawBuffer7 = ((int)0x882C), + DrawBuffer8 = ((int)0x882D), + DrawBuffer9 = ((int)0x882E), + DrawBuffer10 = ((int)0x882F), + DrawBuffer11 = ((int)0x8830), + DrawBuffer12 = ((int)0x8831), + DrawBuffer13 = ((int)0x8832), + DrawBuffer14 = ((int)0x8833), + DrawBuffer15 = ((int)0x8834), + BlendEquationAlpha = ((int)0x883D), + TextureDepthSize = ((int)0x884A), + TextureCompareMode = ((int)0x884C), + TextureCompareFunc = ((int)0x884D), + CompareRefToTexture = ((int)0x884E), + CurrentQuery = ((int)0x8865), + QueryResult = ((int)0x8866), + QueryResultAvailable = ((int)0x8867), + MaxVertexAttribs = ((int)0x8869), + VertexAttribArrayNormalized = ((int)0x886A), + MaxTextureImageUnits = ((int)0x8872), + ArrayBuffer = ((int)0x8892), + ElementArrayBuffer = ((int)0x8893), + ArrayBufferBinding = ((int)0x8894), + ElementArrayBufferBinding = ((int)0x8895), + VertexAttribArrayBufferBinding = ((int)0x889F), + ReadOnly = ((int)0x88B8), + WriteOnly = ((int)0x88B9), + ReadWrite = ((int)0x88BA), + BufferMapped = ((int)0x88BC), + BufferMapPointer = ((int)0x88BD), + StreamDraw = ((int)0x88E0), + StreamRead = ((int)0x88E1), + StreamCopy = ((int)0x88E2), + StaticDraw = ((int)0x88E4), + StaticRead = ((int)0x88E5), + StaticCopy = ((int)0x88E6), + DynamicDraw = ((int)0x88E8), + DynamicRead = ((int)0x88E9), + DynamicCopy = ((int)0x88EA), + PixelPackBuffer = ((int)0x88EB), + PixelUnpackBuffer = ((int)0x88EC), + PixelPackBufferBinding = ((int)0x88ED), + PixelUnpackBufferBinding = ((int)0x88EF), + Depth24Stencil8 = ((int)0x88F0), + TextureStencilSize = ((int)0x88F1), + VertexAttribArrayInteger = ((int)0x88FD), + VertexAttribArrayDivisor = ((int)0x88FE), + MaxArrayTextureLayers = ((int)0x88FF), + MinProgramTexelOffset = ((int)0x8904), + MaxProgramTexelOffset = ((int)0x8905), + SamplerBinding = ((int)0x8919), + UniformBuffer = ((int)0x8A11), + UniformBufferBinding = ((int)0x8A28), + UniformBufferStart = ((int)0x8A29), + UniformBufferSize = ((int)0x8A2A), + MaxVertexUniformBlocks = ((int)0x8A2B), + MaxFragmentUniformBlocks = ((int)0x8A2D), + MaxCombinedUniformBlocks = ((int)0x8A2E), + MaxUniformBufferBindings = ((int)0x8A2F), + MaxUniformBlockSize = ((int)0x8A30), + MaxCombinedVertexUniformComponents = ((int)0x8A31), + MaxCombinedFragmentUniformComponents = ((int)0x8A33), + UniformBufferOffsetAlignment = ((int)0x8A34), + ActiveUniformBlockMaxNameLength = ((int)0x8A35), + ActiveUniformBlocks = ((int)0x8A36), + UniformType = ((int)0x8A37), + UniformSize = ((int)0x8A38), + UniformNameLength = ((int)0x8A39), + UniformBlockIndex = ((int)0x8A3A), + UniformOffset = ((int)0x8A3B), + UniformArrayStride = ((int)0x8A3C), + UniformMatrixStride = ((int)0x8A3D), + UniformIsRowMajor = ((int)0x8A3E), + UniformBlockBinding = ((int)0x8A3F), + UniformBlockDataSize = ((int)0x8A40), + UniformBlockNameLength = ((int)0x8A41), + UniformBlockActiveUniforms = ((int)0x8A42), + UniformBlockActiveUniformIndices = ((int)0x8A43), + UniformBlockReferencedByVertexShader = ((int)0x8A44), + UniformBlockReferencedByFragmentShader = ((int)0x8A46), + FragmentShader = ((int)0x8B30), + VertexShader = ((int)0x8B31), + MaxFragmentUniformComponents = ((int)0x8B49), + MaxVertexUniformComponents = ((int)0x8B4A), + MaxVaryingComponents = ((int)0x8B4B), + MaxVertexTextureImageUnits = ((int)0x8B4C), + MaxCombinedTextureImageUnits = ((int)0x8B4D), + ShaderType = ((int)0x8B4F), + FloatVec2 = ((int)0x8B50), + FloatVec3 = ((int)0x8B51), + FloatVec4 = ((int)0x8B52), + IntVec2 = ((int)0x8B53), + IntVec3 = ((int)0x8B54), + IntVec4 = ((int)0x8B55), + Bool = ((int)0x8B56), + BoolVec2 = ((int)0x8B57), + BoolVec3 = ((int)0x8B58), + BoolVec4 = ((int)0x8B59), + FloatMat2 = ((int)0x8B5A), + FloatMat3 = ((int)0x8B5B), + FloatMat4 = ((int)0x8B5C), + Sampler2D = ((int)0x8B5E), + Sampler3D = ((int)0x8B5F), + SamplerCube = ((int)0x8B60), + Sampler2DShadow = ((int)0x8B62), + FloatMat2x3 = ((int)0x8B65), + FloatMat2x4 = ((int)0x8B66), + FloatMat3x2 = ((int)0x8B67), + FloatMat3x4 = ((int)0x8B68), + FloatMat4x2 = ((int)0x8B69), + FloatMat4x3 = ((int)0x8B6A), + DeleteStatus = ((int)0x8B80), + CompileStatus = ((int)0x8B81), + LinkStatus = ((int)0x8B82), + ValidateStatus = ((int)0x8B83), + InfoLogLength = ((int)0x8B84), + AttachedShaders = ((int)0x8B85), + ActiveUniforms = ((int)0x8B86), + ActiveUniformMaxLength = ((int)0x8B87), + ShaderSourceLength = ((int)0x8B88), + ActiveAttributes = ((int)0x8B89), + ActiveAttributeMaxLength = ((int)0x8B8A), + FragmentShaderDerivativeHint = ((int)0x8B8B), + ShadingLanguageVersion = ((int)0x8B8C), + CurrentProgram = ((int)0x8B8D), + ImplementationColorReadType = ((int)0x8B9A), + ImplementationColorReadFormat = ((int)0x8B9B), + TextureRedType = ((int)0x8C10), + TextureGreenType = ((int)0x8C11), + TextureBlueType = ((int)0x8C12), + TextureAlphaType = ((int)0x8C13), + TextureDepthType = ((int)0x8C16), + UnsignedNormalized = ((int)0x8C17), + Texture2DArray = ((int)0x8C1A), + TextureBinding2DArray = ((int)0x8C1D), + AnySamplesPassed = ((int)0x8C2F), + R11fG11fB10f = ((int)0x8C3A), + UnsignedInt10F11F11FRev = ((int)0x8C3B), + Rgb9E5 = ((int)0x8C3D), + UnsignedInt5999Rev = ((int)0x8C3E), + TextureSharedSize = ((int)0x8C3F), + Srgb = ((int)0x8C40), + Srgb8 = ((int)0x8C41), + Srgb8Alpha8 = ((int)0x8C43), + TransformFeedbackVaryingMaxLength = ((int)0x8C76), + TransformFeedbackBufferMode = ((int)0x8C7F), + MaxTransformFeedbackSeparateComponents = ((int)0x8C80), + TransformFeedbackVaryings = ((int)0x8C83), + TransformFeedbackBufferStart = ((int)0x8C84), + TransformFeedbackBufferSize = ((int)0x8C85), + TransformFeedbackPrimitivesWritten = ((int)0x8C88), + RasterizerDiscard = ((int)0x8C89), + MaxTransformFeedbackInterleavedComponents = ((int)0x8C8A), + MaxTransformFeedbackSeparateAttribs = ((int)0x8C8B), + InterleavedAttribs = ((int)0x8C8C), + SeparateAttribs = ((int)0x8C8D), + TransformFeedbackBuffer = ((int)0x8C8E), + TransformFeedbackBufferBinding = ((int)0x8C8F), + StencilBackRef = ((int)0x8CA3), + StencilBackValueMask = ((int)0x8CA4), + StencilBackWritemask = ((int)0x8CA5), + DrawFramebufferBinding = ((int)0x8CA6), + FramebufferBinding = ((int)0x8CA6), + RenderbufferBinding = ((int)0x8CA7), + ReadFramebuffer = ((int)0x8CA8), + DrawFramebuffer = ((int)0x8CA9), + ReadFramebufferBinding = ((int)0x8CAA), + RenderbufferSamples = ((int)0x8CAB), + DepthComponent32f = ((int)0x8CAC), + DepthComponent32F = ((int)0x8CAC), + Depth32fStencil8 = ((int)0x8CAD), + Depth32FStencil8 = ((int)0x8CAD), + FramebufferAttachmentObjectType = ((int)0x8CD0), + FramebufferAttachmentObjectName = ((int)0x8CD1), + FramebufferAttachmentTextureLevel = ((int)0x8CD2), + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3), + FramebufferAttachmentTextureLayer = ((int)0x8CD4), + FramebufferComplete = ((int)0x8CD5), + FramebufferIncompleteAttachment = ((int)0x8CD6), + FramebufferIncompleteMissingAttachment = ((int)0x8CD7), + FramebufferIncompleteDimensions = ((int)0x8CD9), + FramebufferUnsupported = ((int)0x8CDD), + MaxColorAttachments = ((int)0x8CDF), + ColorAttachment0 = ((int)0x8CE0), + ColorAttachment1 = ((int)0x8CE1), + ColorAttachment2 = ((int)0x8CE2), + ColorAttachment3 = ((int)0x8CE3), + ColorAttachment4 = ((int)0x8CE4), + ColorAttachment5 = ((int)0x8CE5), + ColorAttachment6 = ((int)0x8CE6), + ColorAttachment7 = ((int)0x8CE7), + ColorAttachment8 = ((int)0x8CE8), + ColorAttachment9 = ((int)0x8CE9), + ColorAttachment10 = ((int)0x8CEA), + ColorAttachment11 = ((int)0x8CEB), + ColorAttachment12 = ((int)0x8CEC), + ColorAttachment13 = ((int)0x8CED), + ColorAttachment14 = ((int)0x8CEE), + ColorAttachment15 = ((int)0x8CEF), + DepthAttachment = ((int)0x8D00), + StencilAttachment = ((int)0x8D20), + Framebuffer = ((int)0x8D40), + Renderbuffer = ((int)0x8D41), + RenderbufferWidth = ((int)0x8D42), + RenderbufferHeight = ((int)0x8D43), + RenderbufferInternalFormat = ((int)0x8D44), + StencilIndex8 = ((int)0x8D48), + RenderbufferRedSize = ((int)0x8D50), + RenderbufferGreenSize = ((int)0x8D51), + RenderbufferBlueSize = ((int)0x8D52), + RenderbufferAlphaSize = ((int)0x8D53), + RenderbufferDepthSize = ((int)0x8D54), + RenderbufferStencilSize = ((int)0x8D55), + FramebufferIncompleteMultisample = ((int)0x8D56), + MaxSamples = ((int)0x8D57), + Rgb565 = ((int)0x8D62), + PrimitiveRestartFixedIndex = ((int)0x8D69), + AnySamplesPassedConservative = ((int)0x8D6A), + MaxElementIndex = ((int)0x8D6B), + Rgba32ui = ((int)0x8D70), + Rgb32ui = ((int)0x8D71), + Rgba16ui = ((int)0x8D76), + Rgb16ui = ((int)0x8D77), + Rgba8ui = ((int)0x8D7C), + Rgb8ui = ((int)0x8D7D), + Rgba32i = ((int)0x8D82), + Rgb32i = ((int)0x8D83), + Rgba16i = ((int)0x8D88), + Rgb16i = ((int)0x8D89), + Rgba8i = ((int)0x8D8E), + Rgb8i = ((int)0x8D8F), + RedInteger = ((int)0x8D94), + RgbInteger = ((int)0x8D98), + RgbaInteger = ((int)0x8D99), + Int2101010Rev = ((int)0x8D9F), + Float32UnsignedInt248Rev = ((int)0x8DAD), + Sampler2DArray = ((int)0x8DC1), + Sampler2DArrayShadow = ((int)0x8DC4), + SamplerCubeShadow = ((int)0x8DC5), + UnsignedIntVec2 = ((int)0x8DC6), + UnsignedIntVec3 = ((int)0x8DC7), + UnsignedIntVec4 = ((int)0x8DC8), + IntSampler2D = ((int)0x8DCA), + IntSampler3D = ((int)0x8DCB), + IntSamplerCube = ((int)0x8DCC), + IntSampler2DArray = ((int)0x8DCF), + UnsignedIntSampler2D = ((int)0x8DD2), + UnsignedIntSampler3D = ((int)0x8DD3), + UnsignedIntSamplerCube = ((int)0x8DD4), + UnsignedIntSampler2DArray = ((int)0x8DD7), + LowFloat = ((int)0x8DF0), + MediumFloat = ((int)0x8DF1), + HighFloat = ((int)0x8DF2), + LowInt = ((int)0x8DF3), + MediumInt = ((int)0x8DF4), + HighInt = ((int)0x8DF5), + ShaderBinaryFormats = ((int)0x8DF8), + NumShaderBinaryFormats = ((int)0x8DF9), + ShaderCompiler = ((int)0x8DFA), + MaxVertexUniformVectors = ((int)0x8DFB), + MaxVaryingVectors = ((int)0x8DFC), + MaxFragmentUniformVectors = ((int)0x8DFD), + TransformFeedback = ((int)0x8E22), + TransformFeedbackPaused = ((int)0x8E23), + TransformFeedbackActive = ((int)0x8E24), + TransformFeedbackBinding = ((int)0x8E25), + TextureSwizzleR = ((int)0x8E42), + TextureSwizzleG = ((int)0x8E43), + TextureSwizzleB = ((int)0x8E44), + TextureSwizzleA = ((int)0x8E45), + SamplePosition = ((int)0x8E50), + SampleMask = ((int)0x8E51), + SampleMaskValue = ((int)0x8E52), + MaxSampleMaskWords = ((int)0x8E59), + MinProgramTextureGatherOffset = ((int)0x8E5E), + MaxProgramTextureGatherOffset = ((int)0x8E5F), + CopyReadBuffer = ((int)0x8F36), + CopyReadBufferBinding = ((int)0x8F36), + CopyWriteBuffer = ((int)0x8F37), + CopyWriteBufferBinding = ((int)0x8F37), + MaxImageUnits = ((int)0x8F38), + MaxCombinedShaderOutputResources = ((int)0x8F39), + ImageBindingName = ((int)0x8F3A), + ImageBindingLevel = ((int)0x8F3B), + ImageBindingLayered = ((int)0x8F3C), + ImageBindingLayer = ((int)0x8F3D), + ImageBindingAccess = ((int)0x8F3E), + DrawIndirectBuffer = ((int)0x8F3F), + DrawIndirectBufferBinding = ((int)0x8F43), + VertexBindingBuffer = ((int)0x8F4F), + R8Snorm = ((int)0x8F94), + Rg8Snorm = ((int)0x8F95), + Rgb8Snorm = ((int)0x8F96), + Rgba8Snorm = ((int)0x8F97), + SignedNormalized = ((int)0x8F9C), + Image2D = ((int)0x904D), + Image3D = ((int)0x904E), + ImageCube = ((int)0x9050), + Image2DArray = ((int)0x9053), + IntImage2D = ((int)0x9058), + IntImage3D = ((int)0x9059), + IntImageCube = ((int)0x905B), + IntImage2DArray = ((int)0x905E), + UnsignedIntImage2D = ((int)0x9063), + UnsignedIntImage3D = ((int)0x9064), + UnsignedIntImageCube = ((int)0x9066), + UnsignedIntImage2DArray = ((int)0x9069), + ImageBindingFormat = ((int)0x906E), + Rgb10A2ui = ((int)0x906F), + ImageFormatCompatibilityType = ((int)0x90C7), + ImageFormatCompatibilityBySize = ((int)0x90C8), + ImageFormatCompatibilityByClass = ((int)0x90C9), + MaxVertexImageUniforms = ((int)0x90CA), + MaxFragmentImageUniforms = ((int)0x90CE), + MaxCombinedImageUniforms = ((int)0x90CF), + ShaderStorageBuffer = ((int)0x90D2), + ShaderStorageBufferBinding = ((int)0x90D3), + ShaderStorageBufferStart = ((int)0x90D4), + ShaderStorageBufferSize = ((int)0x90D5), + MaxVertexShaderStorageBlocks = ((int)0x90D6), + MaxFragmentShaderStorageBlocks = ((int)0x90DA), + MaxComputeShaderStorageBlocks = ((int)0x90DB), + MaxCombinedShaderStorageBlocks = ((int)0x90DC), + MaxShaderStorageBufferBindings = ((int)0x90DD), + MaxShaderStorageBlockSize = ((int)0x90DE), + ShaderStorageBufferOffsetAlignment = ((int)0x90DF), + DepthStencilTextureMode = ((int)0x90EA), + MaxComputeWorkGroupInvocations = ((int)0x90EB), + DispatchIndirectBuffer = ((int)0x90EE), + DispatchIndirectBufferBinding = ((int)0x90EF), + Texture2DMultisample = ((int)0x9100), + TextureBinding2DMultisample = ((int)0x9104), + TextureSamples = ((int)0x9106), + TextureFixedSampleLocations = ((int)0x9107), + Sampler2DMultisample = ((int)0x9108), + IntSampler2DMultisample = ((int)0x9109), + UnsignedIntSampler2DMultisample = ((int)0x910A), + MaxColorTextureSamples = ((int)0x910E), + MaxDepthTextureSamples = ((int)0x910F), + MaxIntegerSamples = ((int)0x9110), + MaxServerWaitTimeout = ((int)0x9111), + ObjectType = ((int)0x9112), + SyncCondition = ((int)0x9113), + SyncStatus = ((int)0x9114), + SyncFlags = ((int)0x9115), + SyncFence = ((int)0x9116), + SyncGpuCommandsComplete = ((int)0x9117), + Unsignaled = ((int)0x9118), + Signaled = ((int)0x9119), + AlreadySignaled = ((int)0x911A), + TimeoutExpired = ((int)0x911B), + ConditionSatisfied = ((int)0x911C), + WaitFailed = ((int)0x911D), + BufferAccessFlags = ((int)0x911F), + BufferMapLength = ((int)0x9120), + BufferMapOffset = ((int)0x9121), + MaxVertexOutputComponents = ((int)0x9122), + MaxFragmentInputComponents = ((int)0x9125), + TextureImmutableFormat = ((int)0x912F), + ComputeShader = ((int)0x91B9), + MaxComputeUniformBlocks = ((int)0x91BB), + MaxComputeTextureImageUnits = ((int)0x91BC), + MaxComputeImageUniforms = ((int)0x91BD), + MaxComputeWorkGroupCount = ((int)0x91BE), + MaxComputeWorkGroupSize = ((int)0x91BF), + CompressedR11Eac = ((int)0x9270), + CompressedSignedR11Eac = ((int)0x9271), + CompressedRg11Eac = ((int)0x9272), + CompressedSignedRg11Eac = ((int)0x9273), + CompressedRgb8Etc2 = ((int)0x9274), + CompressedSrgb8Etc2 = ((int)0x9275), + CompressedRgb8PunchthroughAlpha1Etc2 = ((int)0x9276), + CompressedSrgb8PunchthroughAlpha1Etc2 = ((int)0x9277), + CompressedRgba8Etc2Eac = ((int)0x9278), + CompressedSrgb8Alpha8Etc2Eac = ((int)0x9279), + AtomicCounterBuffer = ((int)0x92C0), + AtomicCounterBufferBinding = ((int)0x92C1), + AtomicCounterBufferStart = ((int)0x92C2), + AtomicCounterBufferSize = ((int)0x92C3), + MaxVertexAtomicCounterBuffers = ((int)0x92CC), + MaxFragmentAtomicCounterBuffers = ((int)0x92D0), + MaxCombinedAtomicCounterBuffers = ((int)0x92D1), + MaxVertexAtomicCounters = ((int)0x92D2), + MaxFragmentAtomicCounters = ((int)0x92D6), + MaxCombinedAtomicCounters = ((int)0x92D7), + MaxAtomicCounterBufferSize = ((int)0x92D8), + ActiveAtomicCounterBuffers = ((int)0x92D9), + UnsignedIntAtomicCounter = ((int)0x92DB), + MaxAtomicCounterBufferBindings = ((int)0x92DC), + Uniform = ((int)0x92E1), + UniformBlock = ((int)0x92E2), + ProgramInput = ((int)0x92E3), + ProgramOutput = ((int)0x92E4), + BufferVariable = ((int)0x92E5), + ShaderStorageBlock = ((int)0x92E6), + TransformFeedbackVarying = ((int)0x92F4), + ActiveResources = ((int)0x92F5), + MaxNameLength = ((int)0x92F6), + MaxNumActiveVariables = ((int)0x92F7), + NameLength = ((int)0x92F9), + Type = ((int)0x92FA), + ArraySize = ((int)0x92FB), + Offset = ((int)0x92FC), + BlockIndex = ((int)0x92FD), + ArrayStride = ((int)0x92FE), + MatrixStride = ((int)0x92FF), + IsRowMajor = ((int)0x9300), + AtomicCounterBufferIndex = ((int)0x9301), + BufferBinding = ((int)0x9302), + BufferDataSize = ((int)0x9303), + NumActiveVariables = ((int)0x9304), + ActiveVariables = ((int)0x9305), + ReferencedByVertexShader = ((int)0x9306), + ReferencedByFragmentShader = ((int)0x930A), + ReferencedByComputeShader = ((int)0x930B), + TopLevelArraySize = ((int)0x930C), + TopLevelArrayStride = ((int)0x930D), + Location = ((int)0x930E), + FramebufferDefaultWidth = ((int)0x9310), + FramebufferDefaultHeight = ((int)0x9311), + FramebufferDefaultSamples = ((int)0x9313), + FramebufferDefaultFixedSampleLocations = ((int)0x9314), + MaxFramebufferWidth = ((int)0x9315), + MaxFramebufferHeight = ((int)0x9316), + MaxFramebufferSamples = ((int)0x9318), + NumSampleCounts = ((int)0x9380), + AllBarrierBits = unchecked((int)0xFFFFFFFF), + AllShaderBits = unchecked((int)0xFFFFFFFF), + InvalidIndex = unchecked((int)0xFFFFFFFF), + TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF), + EsVersion20 = ((int)1), + EsVersion30 = ((int)1), + EsVersion31 = ((int)1), + One = ((int)1), + True = ((int)1), + } + + public enum BeginMode : int + { + Points = ((int)0x0000), + Lines = ((int)0x0001), + LineLoop = ((int)0x0002), + LineStrip = ((int)0x0003), + Triangles = ((int)0x0004), + TriangleStrip = ((int)0x0005), + TriangleFan = ((int)0x0006), + } + + public enum BlendEquationMode : int + { + FuncAdd = ((int)0X8006), + Min = ((int)0x8007), + Max = ((int)0x8008), + FuncSubtract = ((int)0X800a), + FuncReverseSubtract = ((int)0X800b), + } + + public enum BlendEquationSeparate : int + { + FuncAdd = ((int)0x8006), + BlendEquation = ((int)0x8009), + BlendEquationAlpha = ((int)0x883D), + } + + public enum BlendingFactorDest : int + { + Zero = ((int)0), + SrcColor = ((int)0x0300), + OneMinusSrcColor = ((int)0x0301), + SrcAlpha = ((int)0x0302), + OneMinusSrcAlpha = ((int)0x0303), + DstAlpha = ((int)0x0304), + OneMinusDstAlpha = ((int)0x0305), + DstColor = ((int)0X0306), + OneMinusDstColor = ((int)0X0307), + SrcAlphaSaturate = ((int)0X0308), + ConstantColor = ((int)0X8001), + OneMinusConstantColor = ((int)0X8002), + ConstantAlpha = ((int)0X8003), + OneMinusConstantAlpha = ((int)0X8004), + One = ((int)1), + } + + public enum BlendingFactorSrc : int + { + Zero = ((int)0), + SrcColor = ((int)0X0300), + OneMinusSrcColor = ((int)0X0301), + SrcAlpha = ((int)0X0302), + OneMinusSrcAlpha = ((int)0X0303), + DstAlpha = ((int)0X0304), + OneMinusDstAlpha = ((int)0X0305), + DstColor = ((int)0x0306), + OneMinusDstColor = ((int)0x0307), + SrcAlphaSaturate = ((int)0x0308), + ConstantColor = ((int)0X8001), + OneMinusConstantColor = ((int)0X8002), + ConstantAlpha = ((int)0X8003), + OneMinusConstantAlpha = ((int)0X8004), + One = ((int)1), + } + + public enum BlendSubtract : int + { + FuncSubtract = ((int)0x800A), + FuncReverseSubtract = ((int)0x800B), + } + + public enum BlitFramebufferFilter : int + { + Nearest = ((int)0X2600), + Linear = ((int)0X2601), + } + + public enum Boolean : int + { + False = ((int)0), + True = ((int)1), + } + + [Flags] + public enum BufferAccessMask : int + { + MapReadBit = ((int)0x0001), + MapWriteBit = ((int)0x0002), + MapInvalidateRangeBit = ((int)0x0004), + MapInvalidateBufferBit = ((int)0x0008), + MapFlushExplicitBit = ((int)0x0010), + MapUnsynchronizedBit = ((int)0x0020), + } + + public enum BufferObjects : int + { + CurrentVertexAttrib = ((int)0x8626), + BufferSize = ((int)0x8764), + BufferUsage = ((int)0x8765), + ArrayBuffer = ((int)0x8892), + ElementArrayBuffer = ((int)0x8893), + ArrayBufferBinding = ((int)0x8894), + ElementArrayBufferBinding = ((int)0x8895), + StreamDraw = ((int)0x88E0), + StaticDraw = ((int)0x88E4), + DynamicDraw = ((int)0x88E8), + } + + public enum BufferParameterName : int + { + BufferSize = ((int)0X8764), + BufferUsage = ((int)0X8765), + BufferMapped = ((int)0x88BC), + BufferMapPointer = ((int)0x88BD), + BufferAccessFlags = ((int)0x911F), + BufferMapLength = ((int)0x9120), + BufferMapOffset = ((int)0x9121), + } + + public enum BufferPointer : int + { + BufferMapPointer = ((int)0x88BD), + } + + public enum BufferRangeTarget : int + { + UniformBuffer = ((int)0x8A11), + TransformFeedbackBuffer = ((int)0x8C8E), + ShaderStorageBuffer = ((int)0x90D2), + AtomicCounterBuffer = ((int)0x92C0), + } + + public enum BufferTarget : int + { + ArrayBuffer = ((int)0X8892), + ElementArrayBuffer = ((int)0X8893), + PixelPackBuffer = ((int)0x88EB), + PixelUnpackBuffer = ((int)0x88EC), + UniformBuffer = ((int)0x8A11), + TransformFeedbackBuffer = ((int)0x8C8E), + CopyReadBuffer = ((int)0x8F36), + CopyWriteBuffer = ((int)0x8F37), + } + + public enum BufferUsage : int + { + StreamDraw = ((int)0X88e0), + StaticDraw = ((int)0X88e4), + DynamicDraw = ((int)0X88e8), + } + + public enum ClearBuffer : int + { + Front = ((int)0X0404), + Back = ((int)0X0405), + FrontAndBack = ((int)0X0408), + Color = ((int)0x1800), + Depth = ((int)0x1801), + Stencil = ((int)0x1802), + } + + public enum ClearBufferCombined : int + { + DepthStencil = ((int)0x84F9), + } + + [Flags] + public enum ClearBufferMask : int + { + DepthBufferBit = ((int)0x00000100), + StencilBufferBit = ((int)0x00000400), + ColorBufferBit = ((int)0x00004000), + } + + public enum CompressedInternalFormat : int + { + CompressedR11Eac = ((int)0x9270), + CompressedSignedR11Eac = ((int)0x9271), + CompressedRg11Eac = ((int)0x9272), + CompressedSignedRg11Eac = ((int)0x9273), + CompressedRgb8Etc2 = ((int)0x9274), + CompressedSrgb8Etc2 = ((int)0x9275), + CompressedRgb8PunchthroughAlpha1Etc2 = ((int)0x9276), + CompressedSrgb8PunchthroughAlpha1Etc2 = ((int)0x9277), + CompressedRgba8Etc2Eac = ((int)0x9278), + CompressedSrgb8Alpha8Etc2Eac = ((int)0x9279), + } + + public enum CullFaceMode : int + { + Front = ((int)0x0404), + Back = ((int)0x0405), + FrontAndBack = ((int)0x0408), + } + + public enum DataType : int + { + Byte = ((int)0x1400), + UnsignedByte = ((int)0x1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Int = ((int)0x1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0x1406), + Fixed = ((int)0x140C), + } + + public enum DepthFunction : int + { + Never = ((int)0X0200), + Less = ((int)0X0201), + Equal = ((int)0X0202), + Lequal = ((int)0X0203), + Greater = ((int)0X0204), + Notequal = ((int)0X0205), + Gequal = ((int)0X0206), + Always = ((int)0X0207), + } + + public enum DrawBufferMode : int + { + None = ((int)0), + Back = ((int)0X0405), + ColorAttachment0 = ((int)0X8ce0), + ColorAttachment1 = ((int)0x8CE1), + ColorAttachment2 = ((int)0x8CE2), + ColorAttachment3 = ((int)0x8CE3), + ColorAttachment4 = ((int)0x8CE4), + ColorAttachment5 = ((int)0x8CE5), + ColorAttachment6 = ((int)0x8CE6), + ColorAttachment7 = ((int)0x8CE7), + ColorAttachment8 = ((int)0x8CE8), + ColorAttachment9 = ((int)0x8CE9), + ColorAttachment10 = ((int)0x8CEA), + ColorAttachment11 = ((int)0x8CEB), + ColorAttachment12 = ((int)0x8CEC), + ColorAttachment13 = ((int)0x8CED), + ColorAttachment14 = ((int)0x8CEE), + ColorAttachment15 = ((int)0x8CEF), + } + + public enum DrawElementsType : int + { + UnsignedByte = ((int)0X1401), + UnsignedShort = ((int)0X1403), + UnsignedInt = ((int)0X1405), + } + + public enum EnableCap : int + { + CullFace = ((int)0x0B44), + DepthTest = ((int)0x0B71), + StencilTest = ((int)0x0B90), + Dither = ((int)0x0BD0), + Blend = ((int)0x0BE2), + ScissorTest = ((int)0x0C11), + Texture2D = ((int)0x0DE1), + PolygonOffsetFill = ((int)0x8037), + SampleAlphaToCoverage = ((int)0x809E), + SampleCoverage = ((int)0x80A0), + RasterizerDiscard = ((int)0x8C89), + PrimitiveRestartFixedIndex = ((int)0x8D69), + } + + public enum ErrorCode : int + { + NoError = ((int)0), + InvalidEnum = ((int)0x0500), + InvalidValue = ((int)0x0501), + InvalidOperation = ((int)0x0502), + OutOfMemory = ((int)0x0505), + InvalidFramebufferOperation = ((int)0X0506), + } + + public enum FramebufferAttachment : int + { + DepthStencilAttachment = ((int)0x821A), + ColorAttachment0 = ((int)0X8ce0), + ColorAttachment1 = ((int)0x8CE1), + ColorAttachment2 = ((int)0x8CE2), + ColorAttachment3 = ((int)0x8CE3), + ColorAttachment4 = ((int)0x8CE4), + ColorAttachment5 = ((int)0x8CE5), + ColorAttachment6 = ((int)0x8CE6), + ColorAttachment7 = ((int)0x8CE7), + ColorAttachment8 = ((int)0x8CE8), + ColorAttachment9 = ((int)0x8CE9), + ColorAttachment10 = ((int)0x8CEA), + ColorAttachment11 = ((int)0x8CEB), + ColorAttachment12 = ((int)0x8CEC), + ColorAttachment13 = ((int)0x8CED), + ColorAttachment14 = ((int)0x8CEE), + ColorAttachment15 = ((int)0x8CEF), + DepthAttachment = ((int)0X8d00), + StencilAttachment = ((int)0X8d20), + } + + public enum FramebufferErrorCode : int + { + FramebufferComplete = ((int)0X8cd5), + FramebufferIncompleteAttachment = ((int)0X8cd6), + FramebufferIncompleteMissingAttachment = ((int)0X8cd7), + FramebufferIncompleteDimensions = ((int)0X8cd9), + FramebufferUnsupported = ((int)0X8cdd), + } + + public enum FramebufferObject : int + { + None = ((int)0), + InvalidFramebufferOperation = ((int)0x0506), + StencilIndex = ((int)0x1901), + Rgba4 = ((int)0x8056), + Rgb5A1 = ((int)0x8057), + DepthComponent16 = ((int)0x81A5), + MaxRenderbufferSize = ((int)0x84E8), + FramebufferBinding = ((int)0x8CA6), + RenderbufferBinding = ((int)0x8CA7), + FramebufferAttachmentObjectType = ((int)0x8CD0), + FramebufferAttachmentObjectName = ((int)0x8CD1), + FramebufferAttachmentTextureLevel = ((int)0x8CD2), + FramebufferAttachmentTextureCubeMapFace = ((int)0x8CD3), + FramebufferComplete = ((int)0x8CD5), + FramebufferIncompleteAttachment = ((int)0x8CD6), + FramebufferIncompleteMissingAttachment = ((int)0x8CD7), + FramebufferIncompleteDimensions = ((int)0x8CD9), + FramebufferUnsupported = ((int)0x8CDD), + ColorAttachment0 = ((int)0x8CE0), + DepthAttachment = ((int)0x8D00), + StencilAttachment = ((int)0x8D20), + Framebuffer = ((int)0x8D40), + Renderbuffer = ((int)0x8D41), + RenderbufferWidth = ((int)0x8D42), + RenderbufferHeight = ((int)0x8D43), + RenderbufferInternalFormat = ((int)0x8D44), + StencilIndex8 = ((int)0x8D48), + RenderbufferRedSize = ((int)0x8D50), + RenderbufferGreenSize = ((int)0x8D51), + RenderbufferBlueSize = ((int)0x8D52), + RenderbufferAlphaSize = ((int)0x8D53), + RenderbufferDepthSize = ((int)0x8D54), + RenderbufferStencilSize = ((int)0x8D55), + Rgb565 = ((int)0x8D62), + } + + public enum FramebufferParameterName : int + { + FramebufferAttachmentColorEncoding = ((int)0x8210), + FramebufferAttachmentComponentType = ((int)0x8211), + FramebufferAttachmentRedSize = ((int)0x8212), + FramebufferAttachmentGreenSize = ((int)0x8213), + FramebufferAttachmentBlueSize = ((int)0x8214), + FramebufferAttachmentAlphaSize = ((int)0x8215), + FramebufferAttachmentDepthSize = ((int)0x8216), + FramebufferAttachmentStencilSize = ((int)0x8217), + FramebufferAttachmentObjectType = ((int)0X8cd0), + FramebufferAttachmentObjectName = ((int)0X8cd1), + FramebufferAttachmentTextureLevel = ((int)0X8cd2), + FramebufferAttachmentTextureCubeMapFace = ((int)0X8cd3), + FramebufferAttachmentTextureLayer = ((int)0x8CD4), + } + + public enum FramebufferSlot : int + { + DepthStencilAttachment = ((int)0x821A), + ColorAttachment0 = ((int)0X8ce0), + ColorAttachment1 = ((int)0x8CE1), + ColorAttachment2 = ((int)0x8CE2), + ColorAttachment3 = ((int)0x8CE3), + ColorAttachment4 = ((int)0x8CE4), + ColorAttachment5 = ((int)0x8CE5), + ColorAttachment6 = ((int)0x8CE6), + ColorAttachment7 = ((int)0x8CE7), + ColorAttachment8 = ((int)0x8CE8), + ColorAttachment9 = ((int)0x8CE9), + ColorAttachment10 = ((int)0x8CEA), + ColorAttachment11 = ((int)0x8CEB), + ColorAttachment12 = ((int)0x8CEC), + ColorAttachment13 = ((int)0x8CED), + ColorAttachment14 = ((int)0x8CEE), + ColorAttachment15 = ((int)0x8CEF), + DepthAttachment = ((int)0X8d00), + StencilAttachment = ((int)0X8d20), + } + + public enum FramebufferTarget : int + { + ReadFramebuffer = ((int)0x8CA8), + DrawFramebuffer = ((int)0x8CA9), + Framebuffer = ((int)0X8d40), + } + + public enum FrontFaceDirection : int + { + Cw = ((int)0x0900), + Ccw = ((int)0x0901), + } + + public enum GetIndexedPName : int + { + UniformBufferBinding = ((int)0x8A28), + UniformBufferStart = ((int)0x8A29), + UniformBufferSize = ((int)0x8A2A), + TransformFeedbackBufferStart = ((int)0x8C84), + TransformFeedbackBufferSize = ((int)0x8C85), + TransformFeedbackBufferBinding = ((int)0x8C8F), + } + + public enum GetPName : int + { + LineWidth = ((int)0x0B21), + CullFace = ((int)0X0b44), + CullFaceMode = ((int)0x0B45), + FrontFace = ((int)0x0B46), + DepthRange = ((int)0x0B70), + DepthTest = ((int)0X0b71), + DepthWritemask = ((int)0x0B72), + DepthClearValue = ((int)0x0B73), + DepthFunc = ((int)0x0B74), + StencilTest = ((int)0X0b90), + StencilClearValue = ((int)0x0B91), + StencilFunc = ((int)0x0B92), + StencilValueMask = ((int)0x0B93), + StencilFail = ((int)0x0B94), + StencilPassDepthFail = ((int)0x0B95), + StencilPassDepthPass = ((int)0x0B96), + StencilRef = ((int)0x0B97), + StencilWritemask = ((int)0x0B98), + Viewport = ((int)0x0BA2), + Dither = ((int)0X0bd0), + Blend = ((int)0X0be2), + ReadBuffer = ((int)0x0C02), + ScissorBox = ((int)0x0C10), + ScissorTest = ((int)0X0c11), + ColorClearValue = ((int)0x0C22), + ColorWritemask = ((int)0x0C23), + UnpackRowLength = ((int)0x0CF2), + UnpackSkipRows = ((int)0x0CF3), + UnpackSkipPixels = ((int)0x0CF4), + UnpackAlignment = ((int)0x0CF5), + PackRowLength = ((int)0x0D02), + PackSkipRows = ((int)0x0D03), + PackSkipPixels = ((int)0x0D04), + PackAlignment = ((int)0x0D05), + MaxTextureSize = ((int)0x0D33), + MaxViewportDims = ((int)0x0D3A), + SubpixelBits = ((int)0x0D50), + RedBits = ((int)0x0D52), + GreenBits = ((int)0x0D53), + BlueBits = ((int)0x0D54), + AlphaBits = ((int)0x0D55), + DepthBits = ((int)0x0D56), + StencilBits = ((int)0x0D57), + Texture2D = ((int)0X0de1), + PolygonOffsetUnits = ((int)0x2A00), + BlendColor = ((int)0X8005), + BlendEquation = ((int)0X8009), + BlendEquationRgb = ((int)0X8009), + PolygonOffsetFill = ((int)0X8037), + PolygonOffsetFactor = ((int)0x8038), + TextureBinding2D = ((int)0x8069), + TextureBinding3D = ((int)0x806A), + UnpackSkipImages = ((int)0x806D), + UnpackImageHeight = ((int)0x806E), + Texture3D = ((int)0x806F), + Max3DTextureSize = ((int)0x8073), + SampleAlphaToCoverage = ((int)0X809e), + SampleCoverage = ((int)0X80a0), + SampleBuffers = ((int)0x80A8), + Samples = ((int)0x80A9), + SampleCoverageValue = ((int)0x80AA), + SampleCoverageInvert = ((int)0x80AB), + BlendDstRgb = ((int)0X80c8), + BlendSrcRgb = ((int)0X80c9), + BlendDstAlpha = ((int)0X80ca), + BlendSrcAlpha = ((int)0X80cb), + MaxElementsVertices = ((int)0x80E8), + MaxElementsIndices = ((int)0x80E9), + GenerateMipmapHint = ((int)0X8192), + MajorVersion = ((int)0x821B), + MinorVersion = ((int)0x821C), + NumExtensions = ((int)0x821D), + AliasedPointSizeRange = ((int)0x846D), + AliasedLineWidthRange = ((int)0x846E), + ActiveTexture = ((int)0X84e0), + MaxRenderbufferSize = ((int)0X84e8), + MaxTextureLodBias = ((int)0x84FD), + TextureBindingCubeMap = ((int)0X8514), + MaxCubeMapTextureSize = ((int)0X851c), + VertexArrayBinding = ((int)0x85B5), + NumCompressedTextureFormats = ((int)0X86a2), + CompressedTextureFormats = ((int)0X86a3), + NumProgramBinaryFormats = ((int)0x87FE), + ProgramBinaryFormats = ((int)0x87FF), + StencilBackFunc = ((int)0x8800), + StencilBackFail = ((int)0x8801), + StencilBackPassDepthFail = ((int)0x8802), + StencilBackPassDepthPass = ((int)0x8803), + MaxDrawBuffers = ((int)0x8824), + DrawBuffer0 = ((int)0x8825), + DrawBuffer1 = ((int)0x8826), + DrawBuffer2 = ((int)0x8827), + DrawBuffer3 = ((int)0x8828), + DrawBuffer4 = ((int)0x8829), + DrawBuffer5 = ((int)0x882A), + DrawBuffer6 = ((int)0x882B), + DrawBuffer7 = ((int)0x882C), + DrawBuffer8 = ((int)0x882D), + DrawBuffer9 = ((int)0x882E), + DrawBuffer10 = ((int)0x882F), + DrawBuffer11 = ((int)0x8830), + DrawBuffer12 = ((int)0x8831), + DrawBuffer13 = ((int)0x8832), + DrawBuffer14 = ((int)0x8833), + DrawBuffer15 = ((int)0x8834), + BlendEquationAlpha = ((int)0X883d), + MaxVertexAttribs = ((int)0X8869), + MaxTextureImageUnits = ((int)0X8872), + ArrayBufferBinding = ((int)0X8894), + ElementArrayBufferBinding = ((int)0X8895), + PixelPackBufferBinding = ((int)0x88ED), + PixelUnpackBufferBinding = ((int)0x88EF), + MaxArrayTextureLayers = ((int)0x88FF), + MinProgramTexelOffset = ((int)0x8904), + MaxProgramTexelOffset = ((int)0x8905), + UniformBufferBinding = ((int)0x8A28), + UniformBufferStart = ((int)0x8A29), + UniformBufferSize = ((int)0x8A2A), + MaxVertexUniformBlocks = ((int)0x8A2B), + MaxFragmentUniformBlocks = ((int)0x8A2D), + MaxCombinedUniformBlocks = ((int)0x8A2E), + MaxUniformBufferBindings = ((int)0x8A2F), + MaxUniformBlockSize = ((int)0x8A30), + MaxCombinedVertexUniformComponents = ((int)0x8A31), + MaxCombinedFragmentUniformComponents = ((int)0x8A33), + UniformBufferOffsetAlignment = ((int)0x8A34), + MaxFragmentUniformComponents = ((int)0x8B49), + MaxVertexUniformComponents = ((int)0x8B4A), + MaxVaryingComponents = ((int)0x8B4B), + MaxVertexTextureImageUnits = ((int)0X8b4c), + MaxCombinedTextureImageUnits = ((int)0X8b4d), + FragmentShaderDerivativeHint = ((int)0x8B8B), + CurrentProgram = ((int)0X8b8d), + ImplementationColorReadType = ((int)0X8b9a), + ImplementationColorReadFormat = ((int)0X8b9b), + TextureBinding2DArray = ((int)0x8C1D), + MaxTransformFeedbackSeparateComponents = ((int)0x8C80), + TransformFeedbackBufferStart = ((int)0x8C84), + TransformFeedbackBufferSize = ((int)0x8C85), + MaxTransformFeedbackInterleavedComponents = ((int)0x8C8A), + MaxTransformFeedbackSeparateAttribs = ((int)0x8C8B), + TransformFeedbackBufferBinding = ((int)0x8C8F), + StencilBackRef = ((int)0x8CA3), + StencilBackValueMask = ((int)0x8CA4), + StencilBackWritemask = ((int)0x8CA5), + DrawFramebufferBinding = ((int)0x8CA6), + FramebufferBinding = ((int)0X8ca6), + RenderbufferBinding = ((int)0X8ca7), + ReadFramebufferBinding = ((int)0x8CAA), + MaxColorAttachments = ((int)0x8CDF), + MaxSamples = ((int)0x8D57), + PrimitiveRestartFixedIndex = ((int)0x8D69), + MaxElementIndex = ((int)0x8D6B), + ShaderBinaryFormats = ((int)0X8df8), + NumShaderBinaryFormats = ((int)0X8df9), + ShaderCompiler = ((int)0X8dfa), + MaxVertexUniformVectors = ((int)0X8dfb), + MaxVaryingVectors = ((int)0X8dfc), + MaxFragmentUniformVectors = ((int)0X8dfd), + TransformFeedbackPaused = ((int)0x8E23), + TransformFeedbackActive = ((int)0x8E24), + TransformFeedbackBinding = ((int)0x8E25), + MaxServerWaitTimeout = ((int)0x9111), + MaxVertexOutputComponents = ((int)0x9122), + MaxFragmentInputComponents = ((int)0x9125), + } + + public enum GetQueryObjectParam : int + { + QueryResult = ((int)0x8866), + QueryResultAvailable = ((int)0x8867), + } + + public enum GetQueryParam : int + { + CurrentQuery = ((int)0x8865), + } + + public enum GetTextureParameter : int + { + TextureWidth = ((int)0x1000), + TextureHeight = ((int)0x1001), + TextureInternalFormat = ((int)0x1003), + TextureMagFilter = ((int)0X2800), + TextureMinFilter = ((int)0X2801), + TextureWrapS = ((int)0X2802), + TextureWrapT = ((int)0X2803), + TextureRedSize = ((int)0x805C), + TextureGreenSize = ((int)0x805D), + TextureBlueSize = ((int)0x805E), + TextureAlphaSize = ((int)0x805F), + TextureWrapR = ((int)0x8072), + TextureMinLod = ((int)0x813A), + TextureMaxLod = ((int)0x813B), + TextureBaseLevel = ((int)0x813C), + TextureMaxLevel = ((int)0x813D), + NumCompressedTextureFormats = ((int)0x86A2), + CompressedTextureFormats = ((int)0x86A3), + TextureCompareMode = ((int)0x884C), + TextureCompareFunc = ((int)0x884D), + TextureSwizzleR = ((int)0x8E42), + TextureSwizzleG = ((int)0x8E43), + TextureSwizzleB = ((int)0x8E44), + TextureSwizzleA = ((int)0x8E45), + TextureImmutableFormat = ((int)0x912F), + } + + public enum HintMode : int + { + DontCare = ((int)0x1100), + Fastest = ((int)0x1101), + Nicest = ((int)0x1102), + } + + public enum HintTarget : int + { + GenerateMipmapHint = ((int)0x8192), + FragmentShaderDerivativeHint = ((int)0x8B8B), + } + + public enum ImageTarget : int + { + Renderbuffer = ((int)0X8d41), + } + + public enum InternalFormatParameter : int + { + Samples = ((int)0x80A9), + NumSampleCounts = ((int)0x9380), + } + + [Flags] + public enum MemoryBarrierMask : int + { + VertexAttribArrayBarrierBit = ((int)0x00000001), + ElementArrayBarrierBit = ((int)0x00000002), + UniformBarrierBit = ((int)0x00000004), + TextureFetchBarrierBit = ((int)0x00000008), + ShaderImageAccessBarrierBit = ((int)0x00000020), + CommandBarrierBit = ((int)0x00000040), + PixelBufferBarrierBit = ((int)0x00000080), + TextureUpdateBarrierBit = ((int)0x00000100), + BufferUpdateBarrierBit = ((int)0x00000200), + FramebufferBarrierBit = ((int)0x00000400), + TransformFeedbackBarrierBit = ((int)0x00000800), + AtomicCounterBarrierBit = ((int)0x00001000), + ShaderStorageBarrierBit = ((int)0x00002000), + AllBarrierBits = unchecked((int)0xFFFFFFFF), + } + + [Obsolete("Use OpenGlEsCoreVersions enum")] + public enum OpenGlescoreVersions : int + { + EsVersion20 = ((int)1), + EsVersion30 = ((int)1), + EsVersion31 = ((int)1), + } + + public enum OpenGlEsCoreVersions : int + { + EsVersion20 = ((int)1), + EsVersion30 = ((int)1), + } + + public enum PixelFormat : int + { + DepthComponent = ((int)0x1902), + Red = ((int)0x1903), + Alpha = ((int)0x1906), + Rgb = ((int)0x1907), + Rgba = ((int)0x1908), + Luminance = ((int)0x1909), + LuminanceAlpha = ((int)0x190A), + Rg = ((int)0x8227), + RgInteger = ((int)0x8228), + DepthStencil = ((int)0x84F9), + RedInteger = ((int)0x8D94), + RgbInteger = ((int)0x8D98), + RgbaInteger = ((int)0x8D99), + } + + public enum PixelInternalFormat : int + { + Alpha = ((int)0X1906), + Rgb = ((int)0X1907), + Rgba = ((int)0X1908), + Luminance = ((int)0X1909), + LuminanceAlpha = ((int)0X190a), + } + + public enum PixelStoreParameter : int + { + UnpackRowLength = ((int)0x0CF2), + UnpackSkipRows = ((int)0x0CF3), + UnpackSkipPixels = ((int)0x0CF4), + UnpackAlignment = ((int)0X0cf5), + PackRowLength = ((int)0x0D02), + PackSkipRows = ((int)0x0D03), + PackSkipPixels = ((int)0x0D04), + PackAlignment = ((int)0X0d05), + UnpackSkipImages = ((int)0x806D), + UnpackImageHeight = ((int)0x806E), + } + + public enum PixelType : int + { + Byte = ((int)0x1400), + UnsignedByte = ((int)0X1401), + Short = ((int)0x1402), + UnsignedShort = ((int)0x1403), + Int = ((int)0x1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0x1406), + HalfFloat = ((int)0x140B), + UnsignedShort4444 = ((int)0x8033), + UnsignedShort5551 = ((int)0x8034), + UnsignedShort565 = ((int)0x8363), + UnsignedInt2101010Rev = ((int)0x8368), + UnsignedInt248 = ((int)0x84FA), + UnsignedInt10F11F11FRev = ((int)0x8C3B), + UnsignedInt5999Rev = ((int)0x8C3E), + Float32UnsignedInt248Rev = ((int)0x8DAD), + } + + public enum PrimitiveType : int + { + Points = ((int)0X0000), + Lines = ((int)0X0001), + LineLoop = ((int)0X0002), + LineStrip = ((int)0X0003), + Triangles = ((int)0X0004), + TriangleStrip = ((int)0X0005), + TriangleFan = ((int)0X0006), + } + + public enum ProgramParameter : int + { + ProgramBinaryRetrievableHint = ((int)0x8257), + DeleteStatus = ((int)0X8b80), + LinkStatus = ((int)0X8b82), + ValidateStatus = ((int)0X8b83), + InfoLogLength = ((int)0X8b84), + AttachedShaders = ((int)0X8b85), + ActiveUniforms = ((int)0X8b86), + ActiveUniformMaxLength = ((int)0X8b87), + ActiveAttributes = ((int)0X8b89), + ActiveAttributeMaxLength = ((int)0X8b8a), + } + + public enum ProgramParameterName : int + { + ProgramBinaryRetrievableHint = ((int)0x8257), + } + + public enum QueryTarget : int + { + AnySamplesPassed = ((int)0x8C2F), + TransformFeedbackPrimitivesWritten = ((int)0x8C88), + AnySamplesPassedConservative = ((int)0x8D6A), + } + + public enum ReadBufferMode : int + { + None = ((int)0), + Back = ((int)0X0405), + ColorAttachment0 = ((int)0X8ce0), + ColorAttachment1 = ((int)0x8CE1), + ColorAttachment2 = ((int)0x8CE2), + ColorAttachment3 = ((int)0x8CE3), + ColorAttachment4 = ((int)0x8CE4), + ColorAttachment5 = ((int)0x8CE5), + ColorAttachment6 = ((int)0x8CE6), + ColorAttachment7 = ((int)0x8CE7), + ColorAttachment8 = ((int)0x8CE8), + ColorAttachment9 = ((int)0x8CE9), + ColorAttachment10 = ((int)0x8CEA), + ColorAttachment11 = ((int)0x8CEB), + ColorAttachment12 = ((int)0x8CEC), + ColorAttachment13 = ((int)0x8CED), + ColorAttachment14 = ((int)0x8CEE), + ColorAttachment15 = ((int)0x8CEF), + } + + public enum ReadFormat : int + { + ImplementationColorReadType = ((int)0x8B9A), + ImplementationColorReadFormat = ((int)0x8B9B), + } + + public enum RenderbufferInternalFormat : int + { + Rgb8 = ((int)0x8051), + Rgba4 = ((int)0X8056), + Rgb5A1 = ((int)0X8057), + Rgba8 = ((int)0x8058), + Rgb10A2 = ((int)0x8059), + DepthComponent16 = ((int)0X81a5), + DepthComponent24 = ((int)0x81A6), + R8 = ((int)0x8229), + Rg8 = ((int)0x822B), + R8i = ((int)0x8231), + R8ui = ((int)0x8232), + R16i = ((int)0x8233), + R16ui = ((int)0x8234), + R32i = ((int)0x8235), + R32ui = ((int)0x8236), + Rg8i = ((int)0x8237), + Rg8ui = ((int)0x8238), + Rg16i = ((int)0x8239), + Rg16ui = ((int)0x823A), + Rg32i = ((int)0x823B), + Rg32ui = ((int)0x823C), + Depth24Stencil8 = ((int)0x88F0), + Srgb8Alpha8 = ((int)0x8C43), + DepthComponent32F = ((int)0x8CAC), + Depth32FStencil8 = ((int)0x8CAD), + StencilIndex8 = ((int)0X8d48), + Rgb565 = ((int)0X8d62), + Rgba32ui = ((int)0x8D70), + Rgba16ui = ((int)0x8D76), + Rgba8ui = ((int)0x8D7C), + Rgba32i = ((int)0x8D82), + Rgba16i = ((int)0x8D88), + Rgba8i = ((int)0x8D8E), + Rgb10A2ui = ((int)0x906F), + } + + public enum RenderbufferParameterName : int + { + RenderbufferSamples = ((int)0x8CAB), + RenderbufferWidth = ((int)0X8d42), + RenderbufferHeight = ((int)0X8d43), + RenderbufferInternalFormat = ((int)0X8d44), + RenderbufferRedSize = ((int)0X8d50), + RenderbufferGreenSize = ((int)0X8d51), + RenderbufferBlueSize = ((int)0X8d52), + RenderbufferAlphaSize = ((int)0X8d53), + RenderbufferDepthSize = ((int)0X8d54), + RenderbufferStencilSize = ((int)0X8d55), + } + + public enum RenderbufferTarget : int + { + Renderbuffer = ((int)0X8d41), + } + + public enum SamplerParameterName : int + { + TextureMagFilter = ((int)0X2800), + TextureMinFilter = ((int)0X2801), + TextureWrapS = ((int)0X2802), + TextureWrapT = ((int)0X2803), + TextureWrapR = ((int)0x8072), + TextureMinLod = ((int)0x813A), + TextureMaxLod = ((int)0x813B), + TextureCompareMode = ((int)0x884C), + TextureCompareFunc = ((int)0x884D), + } + + public enum SeparateBlendFunctions : int + { + ConstantColor = ((int)0x8001), + OneMinusConstantColor = ((int)0x8002), + ConstantAlpha = ((int)0x8003), + OneMinusConstantAlpha = ((int)0x8004), + BlendColor = ((int)0x8005), + BlendDstRgb = ((int)0x80C8), + BlendSrcRgb = ((int)0x80C9), + BlendDstAlpha = ((int)0x80CA), + BlendSrcAlpha = ((int)0x80CB), + } + + public enum ShaderBinary : int + { + ShaderBinaryFormats = ((int)0x8DF8), + NumShaderBinaryFormats = ((int)0x8DF9), + } + + public enum ShaderBinaryFormat : int + { + } + + public enum ShaderParameter : int + { + ShaderType = ((int)0X8b4f), + DeleteStatus = ((int)0X8b80), + CompileStatus = ((int)0X8b81), + InfoLogLength = ((int)0X8b84), + ShaderSourceLength = ((int)0X8b88), + } + + public enum ShaderPrecision : int + { + LowFloat = ((int)0X8df0), + MediumFloat = ((int)0X8df1), + HighFloat = ((int)0X8df2), + LowInt = ((int)0X8df3), + MediumInt = ((int)0X8df4), + HighInt = ((int)0X8df5), + } + + public enum ShaderPrecisionSpecifiedTypes : int + { + LowFloat = ((int)0x8DF0), + MediumFloat = ((int)0x8DF1), + HighFloat = ((int)0x8DF2), + LowInt = ((int)0x8DF3), + MediumInt = ((int)0x8DF4), + HighInt = ((int)0x8DF5), + } + + public enum Shaders : int + { + MaxVertexAttribs = ((int)0x8869), + MaxTextureImageUnits = ((int)0x8872), + FragmentShader = ((int)0x8B30), + VertexShader = ((int)0x8B31), + MaxVertexTextureImageUnits = ((int)0x8B4C), + MaxCombinedTextureImageUnits = ((int)0x8B4D), + ShaderType = ((int)0x8B4F), + DeleteStatus = ((int)0x8B80), + LinkStatus = ((int)0x8B82), + ValidateStatus = ((int)0x8B83), + AttachedShaders = ((int)0x8B85), + ActiveUniforms = ((int)0x8B86), + ActiveUniformMaxLength = ((int)0x8B87), + ActiveAttributes = ((int)0x8B89), + ActiveAttributeMaxLength = ((int)0x8B8A), + ShadingLanguageVersion = ((int)0x8B8C), + CurrentProgram = ((int)0x8B8D), + MaxVertexUniformVectors = ((int)0x8DFB), + MaxVaryingVectors = ((int)0x8DFC), + MaxFragmentUniformVectors = ((int)0x8DFD), + } + + public enum ShaderSource : int + { + CompileStatus = ((int)0x8B81), + InfoLogLength = ((int)0x8B84), + ShaderSourceLength = ((int)0x8B88), + ShaderCompiler = ((int)0x8DFA), + } + + public enum ShaderType : int + { + FragmentShader = ((int)0X8b30), + VertexShader = ((int)0X8b31), + ComputeShader = ((int)0x91B9), + } + + public enum SizedInternalFormat : int + { + Rgb8 = ((int)0x8051), + Rgba4 = ((int)0x8056), + Rgb5A1 = ((int)0x8057), + Rgba8 = ((int)0x8058), + Rgb10A2 = ((int)0x8059), + DepthComponent16 = ((int)0x81A5), + DepthComponent24 = ((int)0x81A6), + R8 = ((int)0x8229), + Rg8 = ((int)0x822B), + R16f = ((int)0x822D), + R32f = ((int)0x822E), + Rg16f = ((int)0x822F), + Rg32f = ((int)0x8230), + R8i = ((int)0x8231), + R8ui = ((int)0x8232), + R16i = ((int)0x8233), + R16ui = ((int)0x8234), + R32i = ((int)0x8235), + R32ui = ((int)0x8236), + Rg8i = ((int)0x8237), + Rg8ui = ((int)0x8238), + Rg16i = ((int)0x8239), + Rg16ui = ((int)0x823A), + Rg32i = ((int)0x823B), + Rg32ui = ((int)0x823C), + Rgba32f = ((int)0x8814), + Rgb32f = ((int)0x8815), + Rgba16f = ((int)0x881A), + Rgb16f = ((int)0x881B), + Depth24Stencil8 = ((int)0x88F0), + R11fG11fB10f = ((int)0x8C3A), + Rgb9E5 = ((int)0x8C3D), + Srgb8 = ((int)0x8C41), + Srgb8Alpha8 = ((int)0x8C43), + DepthComponent32f = ((int)0x8CAC), + Depth32fStencil8 = ((int)0x8CAD), + Rgb565 = ((int)0x8D62), + Rgba32ui = ((int)0x8D70), + Rgb32ui = ((int)0x8D71), + Rgba16ui = ((int)0x8D76), + Rgb16ui = ((int)0x8D77), + Rgba8ui = ((int)0x8D7C), + Rgb8ui = ((int)0x8D7D), + Rgba32i = ((int)0x8D82), + Rgb32i = ((int)0x8D83), + Rgba16i = ((int)0x8D88), + Rgb16i = ((int)0x8D89), + Rgba8i = ((int)0x8D8E), + Rgb8i = ((int)0x8D8F), + R8Snorm = ((int)0x8F94), + Rg8Snorm = ((int)0x8F95), + Rgb8Snorm = ((int)0x8F96), + Rgba8Snorm = ((int)0x8F97), + Rgb10A2ui = ((int)0x906F), + } + + public enum StencilFunction : int + { + Never = ((int)0x0200), + Less = ((int)0x0201), + Equal = ((int)0x0202), + Lequal = ((int)0x0203), + Greater = ((int)0x0204), + Notequal = ((int)0x0205), + Gequal = ((int)0x0206), + Always = ((int)0x0207), + } + + public enum StencilOp : int + { + Zero = ((int)0X0000), + Invert = ((int)0x150A), + Keep = ((int)0x1E00), + Replace = ((int)0x1E01), + Incr = ((int)0x1E02), + Decr = ((int)0x1E03), + IncrWrap = ((int)0x8507), + DecrWrap = ((int)0x8508), + } + + public enum StringName : int + { + Vendor = ((int)0x1F00), + Renderer = ((int)0x1F01), + Version = ((int)0x1F02), + Extensions = ((int)0x1F03), + ShadingLanguageVersion = ((int)0X8b8c), + } + + public enum StringNameIndexed : int + { + Extensions = ((int)0X1f03), + } + + public enum SyncCondition : int + { + SyncGpuCommandsComplete = ((int)0x9117), + } + + public enum SyncParameterName : int + { + ObjectType = ((int)0x9112), + SyncCondition = ((int)0x9113), + SyncStatus = ((int)0x9114), + SyncFlags = ((int)0x9115), + } + + public enum TextureComponentCount : int + { + Alpha = ((int)0X1906), + Rgb = ((int)0X1907), + Rgba = ((int)0X1908), + Luminance = ((int)0X1909), + LuminanceAlpha = ((int)0X190a), + Rgb8 = ((int)0x8051), + Rgba4 = ((int)0x8056), + Rgb5A1 = ((int)0x8057), + Rgba8 = ((int)0x8058), + Rgb10A2 = ((int)0x8059), + DepthComponent16 = ((int)0x81A5), + DepthComponent24 = ((int)0x81A6), + R8 = ((int)0x8229), + Rg8 = ((int)0x822B), + R16f = ((int)0x822D), + R32f = ((int)0x822E), + Rg16f = ((int)0x822F), + Rg32f = ((int)0x8230), + R8i = ((int)0x8231), + R8ui = ((int)0x8232), + R16i = ((int)0x8233), + R16ui = ((int)0x8234), + R32i = ((int)0x8235), + R32ui = ((int)0x8236), + Rg8i = ((int)0x8237), + Rg8ui = ((int)0x8238), + Rg16i = ((int)0x8239), + Rg16ui = ((int)0x823A), + Rg32i = ((int)0x823B), + Rg32ui = ((int)0x823C), + Rgba32f = ((int)0x8814), + Rgb32f = ((int)0x8815), + Rgba16f = ((int)0x881A), + Rgb16f = ((int)0x881B), + Depth24Stencil8 = ((int)0x88F0), + R11fG11fB10f = ((int)0x8C3A), + Rgb9E5 = ((int)0x8C3D), + Srgb8 = ((int)0x8C41), + Srgb8Alpha8 = ((int)0x8C43), + DepthComponent32f = ((int)0x8CAC), + Depth32fStencil8 = ((int)0x8CAD), + Rgb565 = ((int)0x8D62), + Rgba32ui = ((int)0x8D70), + Rgb32ui = ((int)0x8D71), + Rgba16ui = ((int)0x8D76), + Rgb16ui = ((int)0x8D77), + Rgba8ui = ((int)0x8D7C), + Rgb8ui = ((int)0x8D7D), + Rgba32i = ((int)0x8D82), + Rgb32i = ((int)0x8D83), + Rgba16i = ((int)0x8D88), + Rgb16i = ((int)0x8D89), + Rgba8i = ((int)0x8D8E), + Rgb8i = ((int)0x8D8F), + R8Snorm = ((int)0x8F94), + Rg8Snorm = ((int)0x8F95), + Rgb8Snorm = ((int)0x8F96), + Rgba8Snorm = ((int)0x8F97), + Rgb10A2ui = ((int)0x906F), + } + + public enum TextureMagFilter : int + { + Nearest = ((int)0x2600), + Linear = ((int)0x2601), + } + + public enum TextureMinFilter : int + { + Nearest = ((int)0X2600), + Linear = ((int)0X2601), + NearestMipmapNearest = ((int)0x2700), + LinearMipmapNearest = ((int)0x2701), + NearestMipmapLinear = ((int)0x2702), + LinearMipmapLinear = ((int)0x2703), + } + + public enum TextureParameterName : int + { + TextureMagFilter = ((int)0x2800), + TextureMinFilter = ((int)0x2801), + TextureWrapS = ((int)0x2802), + TextureWrapT = ((int)0x2803), + TextureWrapR = ((int)0x8072), + TextureMinLod = ((int)0x813A), + TextureMaxLod = ((int)0x813B), + TextureBaseLevel = ((int)0x813C), + TextureMaxLevel = ((int)0x813D), + TextureCompareMode = ((int)0x884C), + TextureCompareFunc = ((int)0x884D), + TextureSwizzleR = ((int)0x8E42), + TextureSwizzleG = ((int)0x8E43), + TextureSwizzleB = ((int)0x8E44), + TextureSwizzleA = ((int)0x8E45), + } + + public enum TextureTarget : int + { + Texture2D = ((int)0X0de1), + Texture = ((int)0x1702), + Texture3D = ((int)0x806F), + TextureMinLod = ((int)0x813A), + TextureMaxLod = ((int)0x813B), + TextureBaseLevel = ((int)0x813C), + TextureMaxLevel = ((int)0x813D), + TextureCubeMap = ((int)0x8513), + TextureBindingCubeMap = ((int)0x8514), + TextureCubeMapPositiveX = ((int)0x8515), + TextureCubeMapNegativeX = ((int)0x8516), + TextureCubeMapPositiveY = ((int)0x8517), + TextureCubeMapNegativeY = ((int)0x8518), + TextureCubeMapPositiveZ = ((int)0x8519), + TextureCubeMapNegativeZ = ((int)0x851A), + MaxCubeMapTextureSize = ((int)0x851C), + Texture2DArray = ((int)0x8C1A), + } + + public enum TextureTarget2D : int + { + Texture2D = ((int)0X0de1), + TextureCubeMap = ((int)0X8513), + } + + public enum TextureTarget3D : int + { + Texture3D = ((int)0x806F), + Texture2DArray = ((int)0x8C1A), + } + + public enum TextureUnit : int + { + Texture0 = ((int)0x84C0), + Texture1 = ((int)0x84C1), + Texture2 = ((int)0x84C2), + Texture3 = ((int)0x84C3), + Texture4 = ((int)0x84C4), + Texture5 = ((int)0x84C5), + Texture6 = ((int)0x84C6), + Texture7 = ((int)0x84C7), + Texture8 = ((int)0x84C8), + Texture9 = ((int)0x84C9), + Texture10 = ((int)0x84CA), + Texture11 = ((int)0x84CB), + Texture12 = ((int)0x84CC), + Texture13 = ((int)0x84CD), + Texture14 = ((int)0x84CE), + Texture15 = ((int)0x84CF), + Texture16 = ((int)0x84D0), + Texture17 = ((int)0x84D1), + Texture18 = ((int)0x84D2), + Texture19 = ((int)0x84D3), + Texture20 = ((int)0x84D4), + Texture21 = ((int)0x84D5), + Texture22 = ((int)0x84D6), + Texture23 = ((int)0x84D7), + Texture24 = ((int)0x84D8), + Texture25 = ((int)0x84D9), + Texture26 = ((int)0x84DA), + Texture27 = ((int)0x84DB), + Texture28 = ((int)0x84DC), + Texture29 = ((int)0x84DD), + Texture30 = ((int)0x84DE), + Texture31 = ((int)0x84DF), + ActiveTexture = ((int)0x84E0), + } + + public enum TextureWrapMode : int + { + Repeat = ((int)0x2901), + ClampToEdge = ((int)0x812F), + MirroredRepeat = ((int)0x8370), + } + + public enum Token : int + { + SyncFlushCommandsBit = ((int)0x00000001), + MapReadBit = ((int)0x0001), + MapWriteBit = ((int)0x0002), + MapInvalidateRangeBit = ((int)0x0004), + MapInvalidateBufferBit = ((int)0x0008), + MapFlushExplicitBit = ((int)0x0010), + MapUnsynchronizedBit = ((int)0x0020), + ReadBuffer = ((int)0x0C02), + UnpackRowLength = ((int)0x0CF2), + UnpackSkipRows = ((int)0x0CF3), + UnpackSkipPixels = ((int)0x0CF4), + PackRowLength = ((int)0x0D02), + PackSkipRows = ((int)0x0D03), + PackSkipPixels = ((int)0x0D04), + HalfFloat = ((int)0x140B), + Color = ((int)0x1800), + Depth = ((int)0x1801), + Stencil = ((int)0x1802), + Red = ((int)0x1903), + Green = ((int)0x1904), + Blue = ((int)0x1905), + Min = ((int)0x8007), + Max = ((int)0x8008), + Rgb8 = ((int)0x8051), + Rgba8 = ((int)0x8058), + Rgb10A2 = ((int)0x8059), + TextureBinding3D = ((int)0x806A), + UnpackSkipImages = ((int)0x806D), + UnpackImageHeight = ((int)0x806E), + Texture3D = ((int)0x806F), + TextureWrapR = ((int)0x8072), + Max3DTextureSize = ((int)0x8073), + MaxElementsVertices = ((int)0x80E8), + MaxElementsIndices = ((int)0x80E9), + TextureMinLod = ((int)0x813A), + TextureMaxLod = ((int)0x813B), + TextureBaseLevel = ((int)0x813C), + TextureMaxLevel = ((int)0x813D), + DepthComponent24 = ((int)0x81A6), + FramebufferAttachmentColorEncoding = ((int)0x8210), + FramebufferAttachmentComponentType = ((int)0x8211), + FramebufferAttachmentRedSize = ((int)0x8212), + FramebufferAttachmentGreenSize = ((int)0x8213), + FramebufferAttachmentBlueSize = ((int)0x8214), + FramebufferAttachmentAlphaSize = ((int)0x8215), + FramebufferAttachmentDepthSize = ((int)0x8216), + FramebufferAttachmentStencilSize = ((int)0x8217), + FramebufferDefault = ((int)0x8218), + FramebufferUndefined = ((int)0x8219), + DepthStencilAttachment = ((int)0x821A), + MajorVersion = ((int)0x821B), + MinorVersion = ((int)0x821C), + NumExtensions = ((int)0x821D), + Rg = ((int)0x8227), + RgInteger = ((int)0x8228), + R8 = ((int)0x8229), + Rg8 = ((int)0x822B), + R16f = ((int)0x822D), + R32f = ((int)0x822E), + Rg16f = ((int)0x822F), + Rg32f = ((int)0x8230), + R8i = ((int)0x8231), + R8ui = ((int)0x8232), + R16i = ((int)0x8233), + R16ui = ((int)0x8234), + R32i = ((int)0x8235), + R32ui = ((int)0x8236), + Rg8i = ((int)0x8237), + Rg8ui = ((int)0x8238), + Rg16i = ((int)0x8239), + Rg16ui = ((int)0x823A), + Rg32i = ((int)0x823B), + Rg32ui = ((int)0x823C), + ProgramBinaryRetrievableHint = ((int)0x8257), + TextureImmutableLevels = ((int)0x82DF), + UnsignedInt2101010Rev = ((int)0x8368), + DepthStencil = ((int)0x84F9), + UnsignedInt248 = ((int)0x84FA), + MaxTextureLodBias = ((int)0x84FD), + VertexArrayBinding = ((int)0x85B5), + ProgramBinaryLength = ((int)0x8741), + NumProgramBinaryFormats = ((int)0x87FE), + ProgramBinaryFormats = ((int)0x87FF), + Rgba32f = ((int)0x8814), + Rgb32f = ((int)0x8815), + Rgba16f = ((int)0x881A), + Rgb16f = ((int)0x881B), + MaxDrawBuffers = ((int)0x8824), + DrawBuffer0 = ((int)0x8825), + DrawBuffer1 = ((int)0x8826), + DrawBuffer2 = ((int)0x8827), + DrawBuffer3 = ((int)0x8828), + DrawBuffer4 = ((int)0x8829), + DrawBuffer5 = ((int)0x882A), + DrawBuffer6 = ((int)0x882B), + DrawBuffer7 = ((int)0x882C), + DrawBuffer8 = ((int)0x882D), + DrawBuffer9 = ((int)0x882E), + DrawBuffer10 = ((int)0x882F), + DrawBuffer11 = ((int)0x8830), + DrawBuffer12 = ((int)0x8831), + DrawBuffer13 = ((int)0x8832), + DrawBuffer14 = ((int)0x8833), + DrawBuffer15 = ((int)0x8834), + TextureCompareMode = ((int)0x884C), + TextureCompareFunc = ((int)0x884D), + CompareRefToTexture = ((int)0x884E), + CurrentQuery = ((int)0x8865), + QueryResult = ((int)0x8866), + QueryResultAvailable = ((int)0x8867), + BufferMapped = ((int)0x88BC), + BufferMapPointer = ((int)0x88BD), + StreamRead = ((int)0x88E1), + StreamCopy = ((int)0x88E2), + StaticRead = ((int)0x88E5), + StaticCopy = ((int)0x88E6), + DynamicRead = ((int)0x88E9), + DynamicCopy = ((int)0x88EA), + PixelPackBuffer = ((int)0x88EB), + PixelUnpackBuffer = ((int)0x88EC), + PixelPackBufferBinding = ((int)0x88ED), + PixelUnpackBufferBinding = ((int)0x88EF), + Depth24Stencil8 = ((int)0x88F0), + VertexAttribArrayInteger = ((int)0x88FD), + VertexAttribArrayDivisor = ((int)0x88FE), + MaxArrayTextureLayers = ((int)0x88FF), + MinProgramTexelOffset = ((int)0x8904), + MaxProgramTexelOffset = ((int)0x8905), + SamplerBinding = ((int)0x8919), + UniformBuffer = ((int)0x8A11), + UniformBufferBinding = ((int)0x8A28), + UniformBufferStart = ((int)0x8A29), + UniformBufferSize = ((int)0x8A2A), + MaxVertexUniformBlocks = ((int)0x8A2B), + MaxFragmentUniformBlocks = ((int)0x8A2D), + MaxCombinedUniformBlocks = ((int)0x8A2E), + MaxUniformBufferBindings = ((int)0x8A2F), + MaxUniformBlockSize = ((int)0x8A30), + MaxCombinedVertexUniformComponents = ((int)0x8A31), + MaxCombinedFragmentUniformComponents = ((int)0x8A33), + UniformBufferOffsetAlignment = ((int)0x8A34), + ActiveUniformBlockMaxNameLength = ((int)0x8A35), + ActiveUniformBlocks = ((int)0x8A36), + UniformType = ((int)0x8A37), + UniformSize = ((int)0x8A38), + UniformNameLength = ((int)0x8A39), + UniformBlockIndex = ((int)0x8A3A), + UniformOffset = ((int)0x8A3B), + UniformArrayStride = ((int)0x8A3C), + UniformMatrixStride = ((int)0x8A3D), + UniformIsRowMajor = ((int)0x8A3E), + UniformBlockBinding = ((int)0x8A3F), + UniformBlockDataSize = ((int)0x8A40), + UniformBlockNameLength = ((int)0x8A41), + UniformBlockActiveUniforms = ((int)0x8A42), + UniformBlockActiveUniformIndices = ((int)0x8A43), + UniformBlockReferencedByVertexShader = ((int)0x8A44), + UniformBlockReferencedByFragmentShader = ((int)0x8A46), + MaxFragmentUniformComponents = ((int)0x8B49), + MaxVertexUniformComponents = ((int)0x8B4A), + MaxVaryingComponents = ((int)0x8B4B), + Sampler3D = ((int)0x8B5F), + Sampler2DShadow = ((int)0x8B62), + FloatMat2x3 = ((int)0x8B65), + FloatMat2x4 = ((int)0x8B66), + FloatMat3x2 = ((int)0x8B67), + FloatMat3x4 = ((int)0x8B68), + FloatMat4x2 = ((int)0x8B69), + FloatMat4x3 = ((int)0x8B6A), + FragmentShaderDerivativeHint = ((int)0x8B8B), + UnsignedNormalized = ((int)0x8C17), + Texture2DArray = ((int)0x8C1A), + TextureBinding2DArray = ((int)0x8C1D), + AnySamplesPassed = ((int)0x8C2F), + R11fG11fB10f = ((int)0x8C3A), + UnsignedInt10F11F11FRev = ((int)0x8C3B), + Rgb9E5 = ((int)0x8C3D), + UnsignedInt5999Rev = ((int)0x8C3E), + Srgb = ((int)0x8C40), + Srgb8 = ((int)0x8C41), + Srgb8Alpha8 = ((int)0x8C43), + TransformFeedbackVaryingMaxLength = ((int)0x8C76), + TransformFeedbackBufferMode = ((int)0x8C7F), + MaxTransformFeedbackSeparateComponents = ((int)0x8C80), + TransformFeedbackVaryings = ((int)0x8C83), + TransformFeedbackBufferStart = ((int)0x8C84), + TransformFeedbackBufferSize = ((int)0x8C85), + TransformFeedbackPrimitivesWritten = ((int)0x8C88), + RasterizerDiscard = ((int)0x8C89), + MaxTransformFeedbackInterleavedComponents = ((int)0x8C8A), + MaxTransformFeedbackSeparateAttribs = ((int)0x8C8B), + InterleavedAttribs = ((int)0x8C8C), + SeparateAttribs = ((int)0x8C8D), + TransformFeedbackBuffer = ((int)0x8C8E), + TransformFeedbackBufferBinding = ((int)0x8C8F), + DrawFramebufferBinding = ((int)0x8CA6), + FramebufferBinding = ((int)0x8CA6), + ReadFramebuffer = ((int)0x8CA8), + DrawFramebuffer = ((int)0x8CA9), + ReadFramebufferBinding = ((int)0x8CAA), + RenderbufferSamples = ((int)0x8CAB), + DepthComponent32f = ((int)0x8CAC), + Depth32fStencil8 = ((int)0x8CAD), + FramebufferAttachmentTextureLayer = ((int)0x8CD4), + MaxColorAttachments = ((int)0x8CDF), + ColorAttachment1 = ((int)0x8CE1), + ColorAttachment2 = ((int)0x8CE2), + ColorAttachment3 = ((int)0x8CE3), + ColorAttachment4 = ((int)0x8CE4), + ColorAttachment5 = ((int)0x8CE5), + ColorAttachment6 = ((int)0x8CE6), + ColorAttachment7 = ((int)0x8CE7), + ColorAttachment8 = ((int)0x8CE8), + ColorAttachment9 = ((int)0x8CE9), + ColorAttachment10 = ((int)0x8CEA), + ColorAttachment11 = ((int)0x8CEB), + ColorAttachment12 = ((int)0x8CEC), + ColorAttachment13 = ((int)0x8CED), + ColorAttachment14 = ((int)0x8CEE), + ColorAttachment15 = ((int)0x8CEF), + FramebufferIncompleteMultisample = ((int)0x8D56), + MaxSamples = ((int)0x8D57), + PrimitiveRestartFixedIndex = ((int)0x8D69), + AnySamplesPassedConservative = ((int)0x8D6A), + MaxElementIndex = ((int)0x8D6B), + Rgba32ui = ((int)0x8D70), + Rgb32ui = ((int)0x8D71), + Rgba16ui = ((int)0x8D76), + Rgb16ui = ((int)0x8D77), + Rgba8ui = ((int)0x8D7C), + Rgb8ui = ((int)0x8D7D), + Rgba32i = ((int)0x8D82), + Rgb32i = ((int)0x8D83), + Rgba16i = ((int)0x8D88), + Rgb16i = ((int)0x8D89), + Rgba8i = ((int)0x8D8E), + Rgb8i = ((int)0x8D8F), + RedInteger = ((int)0x8D94), + RgbInteger = ((int)0x8D98), + RgbaInteger = ((int)0x8D99), + Int2101010Rev = ((int)0x8D9F), + Float32UnsignedInt248Rev = ((int)0x8DAD), + Sampler2DArray = ((int)0x8DC1), + Sampler2DArrayShadow = ((int)0x8DC4), + SamplerCubeShadow = ((int)0x8DC5), + UnsignedIntVec2 = ((int)0x8DC6), + UnsignedIntVec3 = ((int)0x8DC7), + UnsignedIntVec4 = ((int)0x8DC8), + IntSampler2D = ((int)0x8DCA), + IntSampler3D = ((int)0x8DCB), + IntSamplerCube = ((int)0x8DCC), + IntSampler2DArray = ((int)0x8DCF), + UnsignedIntSampler2D = ((int)0x8DD2), + UnsignedIntSampler3D = ((int)0x8DD3), + UnsignedIntSamplerCube = ((int)0x8DD4), + UnsignedIntSampler2DArray = ((int)0x8DD7), + TransformFeedback = ((int)0x8E22), + TransformFeedbackPaused = ((int)0x8E23), + TransformFeedbackActive = ((int)0x8E24), + TransformFeedbackBinding = ((int)0x8E25), + TextureSwizzleR = ((int)0x8E42), + TextureSwizzleG = ((int)0x8E43), + TextureSwizzleB = ((int)0x8E44), + TextureSwizzleA = ((int)0x8E45), + CopyReadBuffer = ((int)0x8F36), + CopyReadBufferBinding = ((int)0x8F36), + CopyWriteBuffer = ((int)0x8F37), + CopyWriteBufferBinding = ((int)0x8F37), + R8Snorm = ((int)0x8F94), + Rg8Snorm = ((int)0x8F95), + Rgb8Snorm = ((int)0x8F96), + Rgba8Snorm = ((int)0x8F97), + SignedNormalized = ((int)0x8F9C), + Rgb10A2ui = ((int)0x906F), + MaxServerWaitTimeout = ((int)0x9111), + ObjectType = ((int)0x9112), + SyncCondition = ((int)0x9113), + SyncStatus = ((int)0x9114), + SyncFlags = ((int)0x9115), + SyncFence = ((int)0x9116), + SyncGpuCommandsComplete = ((int)0x9117), + Unsignaled = ((int)0x9118), + Signaled = ((int)0x9119), + AlreadySignaled = ((int)0x911A), + TimeoutExpired = ((int)0x911B), + ConditionSatisfied = ((int)0x911C), + WaitFailed = ((int)0x911D), + BufferAccessFlags = ((int)0x911F), + BufferMapLength = ((int)0x9120), + BufferMapOffset = ((int)0x9121), + MaxVertexOutputComponents = ((int)0x9122), + MaxFragmentInputComponents = ((int)0x9125), + TextureImmutableFormat = ((int)0x912F), + CompressedR11Eac = ((int)0x9270), + CompressedSignedR11Eac = ((int)0x9271), + CompressedRg11Eac = ((int)0x9272), + CompressedSignedRg11Eac = ((int)0x9273), + CompressedRgb8Etc2 = ((int)0x9274), + CompressedSrgb8Etc2 = ((int)0x9275), + CompressedRgb8PunchthroughAlpha1Etc2 = ((int)0x9276), + CompressedSrgb8PunchthroughAlpha1Etc2 = ((int)0x9277), + CompressedRgba8Etc2Eac = ((int)0x9278), + CompressedSrgb8Alpha8Etc2Eac = ((int)0x9279), + NumSampleCounts = ((int)0x9380), + InvalidIndex = unchecked((int)0xFFFFFFFF), + TimeoutIgnored = unchecked((int)0xFFFFFFFFFFFFFFFF), + } + + public enum TransformFeedbackMode : int + { + InterleavedAttribs = ((int)0x8C8C), + SeparateAttribs = ((int)0x8C8D), + } + + public enum TransformFeedbackPrimitiveType : int + { + Points = ((int)0X0000), + Lines = ((int)0X0001), + Triangles = ((int)0X0004), + } + + public enum TransformFeedbackTarget : int + { + TransformFeedback = ((int)0x8E22), + } + + public enum TransformFeedbackType : int + { + Int = ((int)0x1404), + UnsignedInt = ((int)0x1405), + Float = ((int)0X1406), + FloatVec2 = ((int)0X8b50), + FloatVec3 = ((int)0X8b51), + FloatVec4 = ((int)0X8b52), + IntVec2 = ((int)0x8B53), + IntVec3 = ((int)0x8B54), + IntVec4 = ((int)0x8B55), + FloatMat2 = ((int)0X8b5a), + FloatMat3 = ((int)0X8b5b), + FloatMat4 = ((int)0X8b5c), + FloatMat2x3 = ((int)0x8B65), + FloatMat2x4 = ((int)0x8B66), + FloatMat3x2 = ((int)0x8B67), + FloatMat3x4 = ((int)0x8B68), + FloatMat4x2 = ((int)0x8B69), + FloatMat4x3 = ((int)0x8B6A), + UnsignedIntVec2 = ((int)0x8DC6), + UnsignedIntVec3 = ((int)0x8DC7), + UnsignedIntVec4 = ((int)0x8DC8), + } + + public enum UniformTypes : int + { + FloatVec2 = ((int)0x8B50), + FloatVec3 = ((int)0x8B51), + FloatVec4 = ((int)0x8B52), + IntVec2 = ((int)0x8B53), + IntVec3 = ((int)0x8B54), + IntVec4 = ((int)0x8B55), + Bool = ((int)0x8B56), + BoolVec2 = ((int)0x8B57), + BoolVec3 = ((int)0x8B58), + BoolVec4 = ((int)0x8B59), + FloatMat2 = ((int)0x8B5A), + FloatMat3 = ((int)0x8B5B), + FloatMat4 = ((int)0x8B5C), + Sampler2D = ((int)0x8B5E), + SamplerCube = ((int)0x8B60), + } + + public enum Unknown : int + { + ImgTextureFormatBgra8888 = ((int)0X0001), + } + + public enum VertexArrays : int + { + VertexAttribArrayEnabled = ((int)0x8622), + VertexAttribArraySize = ((int)0x8623), + VertexAttribArrayStride = ((int)0x8624), + VertexAttribArrayType = ((int)0x8625), + VertexAttribArrayPointer = ((int)0x8645), + VertexAttribArrayNormalized = ((int)0x886A), + VertexAttribArrayBufferBinding = ((int)0x889F), + } + + public enum VertexAttribIntegerType : int + { + Byte = ((int)0X1400), + UnsignedByte = ((int)0X1401), + Short = ((int)0X1402), + UnsignedShort = ((int)0X1403), + Int = ((int)0x1404), + UnsignedInt = ((int)0X1405), + } + + public enum VertexAttribParameter : int + { + VertexAttribArrayEnabled = ((int)0X8622), + VertexAttribArraySize = ((int)0X8623), + VertexAttribArrayStride = ((int)0X8624), + VertexAttribArrayType = ((int)0X8625), + CurrentVertexAttrib = ((int)0X8626), + VertexAttribArrayNormalized = ((int)0X886a), + VertexAttribArrayBufferBinding = ((int)0X889f), + VertexAttribArrayInteger = ((int)0x88FD), + VertexAttribArrayDivisor = ((int)0x88FE), + } + + public enum VertexAttribPointerParameter : int + { + VertexAttribArrayPointer = ((int)0X8645), + } + + public enum VertexAttribPointerType : int + { + Byte = ((int)0X1400), + UnsignedByte = ((int)0X1401), + Short = ((int)0X1402), + UnsignedShort = ((int)0X1403), + Int = ((int)0x1404), + UnsignedInt = ((int)0X1405), + Float = ((int)0X1406), + HalfFloat = ((int)0x140B), + Fixed = ((int)0X140c), + UnsignedInt2101010Rev = ((int)0x8368), + Int2101010Rev = ((int)0x8D9F), + } + + public enum WaitSyncFlags : int + { + None = ((int)0), + } + + public enum WaitSyncStatus : int + { + AlreadySignaled = ((int)0x911A), + TimeoutExpired = ((int)0x911B), + ConditionSatisfied = ((int)0x911C), + WaitFailed = ((int)0x911D), + } + +} diff --git a/Projects/OpenTK.Android/Graphics/EL31.Android/Helper.cs b/Projects/OpenTK.Android/Graphics/EL31.Android/Helper.cs new file mode 100644 index 000000000..26e71bb2a --- /dev/null +++ b/Projects/OpenTK.Android/Graphics/EL31.Android/Helper.cs @@ -0,0 +1,484 @@ +#region License +// +// The Open Toolkit Library License +// +// Copyright (c) 2006 - 2009 the Open Toolkit library. +// Copyright 2013 Xamarin Inc +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. +// +#endregion + +using System; +using System.Collections.Generic; +using System.Text; + +namespace OpenTK.Graphics.ES31 +{ + /// + /// Provides access to OpenGL ES 3.1 methods. + /// + public sealed partial class GL : GraphicsBindingsBase + { + public const string Library = "libGLESv2.dll"; + static readonly object sync_root = new object(); + + #region --- Protected Members --- + + /// + /// Returns a synchronization token unique for the GL class. + /// + protected override object SyncRoot + { + get { return sync_root; } + } + + #endregion + + #region Helper Overloads + +#pragma warning disable 3019 +#pragma warning disable 1591 +#pragma warning disable 1572 +#pragma warning disable 1573 + + // Note: Mono 1.9.1 truncates StringBuilder results (for 'out string' parameters). + // We work around this issue by doubling the StringBuilder capacity. + + #region public static void ClearColor() overloads + + public static void ClearColor(System.Drawing.Color color) + { + GL.ClearColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + public static void ClearColor(Color4 color) + { + GL.ClearColor(color.R, color.G, color.B, color.A); + } + + #endregion + + #region public static void BlendColor() overloads + + public static void BlendColor(System.Drawing.Color color) + { + GL.BlendColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + public static void BlendColor(Color4 color) + { + GL.BlendColor(color.R, color.G, color.B, color.A); + } + + #endregion + + #region Uniform + + [CLSCompliant(false)] + public static void Uniform2(int location, ref Vector2 vector) + { + GL.Uniform2(location, vector.X, vector.Y); + } + + [CLSCompliant(false)] + public static void Uniform3(int location, ref Vector3 vector) + { + GL.Uniform3(location, vector.X, vector.Y, vector.Z); + } + + [CLSCompliant(false)] + public static void Uniform4(int location, ref Vector4 vector) + { + GL.Uniform4(location, vector.X, vector.Y, vector.Z, vector.W); + } + + public static void Uniform2(int location, Vector2 vector) + { + GL.Uniform2(location, vector.X, vector.Y); + } + + public static void Uniform3(int location, Vector3 vector) + { + GL.Uniform3(location, vector.X, vector.Y, vector.Z); + } + + public static void Uniform4(int location, Vector4 vector) + { + GL.Uniform4(location, vector.X, vector.Y, vector.Z, vector.W); + } + + public static void Uniform4(int location, Color4 color) + { + GL.Uniform4(location, color.R, color.G, color.B, color.A); + } + + public static void Uniform4(int location, Quaternion quaternion) + { + GL.Uniform4(location, quaternion.X, quaternion.Y, quaternion.Z, quaternion.W); + } + + public static void UniformMatrix2(int location, bool transpose, ref Matrix2 matrix) + { + unsafe + { + fixed (float* matrix_ptr = &matrix.R0C0) + { + GL.UniformMatrix2(location, 1, transpose, matrix_ptr); + } + } + } + + public static void UniformMatrix3(int location, bool transpose, ref Matrix3 matrix) + { + unsafe + { + fixed (float* matrix_ptr = &matrix.R0C0) + { + GL.UniformMatrix3(location, 1, transpose, matrix_ptr); + } + } + } + + public static void UniformMatrix4(int location, bool transpose, ref Matrix4 matrix) + { + unsafe + { + fixed (float* matrix_ptr = &matrix.Row0.X) + { + GL.UniformMatrix4(location, 1, transpose, matrix_ptr); + } + } + } + + + #endregion + + #region Shaders + + #region GetActiveAttrib + + public static string GetActiveAttrib(int program, int index, out int size, out ActiveAttribType type) + { + int length; + GetProgram(program, ES31.ProgramParameter.ActiveAttributeMaxLength, out length); + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length * 2); + + GetActiveAttrib(program, index, sb.Capacity, out length, out size, out type, sb); + + return sb.ToString(); + } + + [Obsolete] + public static string GetActiveAttrib(int program, int index, out int size, out All type) + { + ActiveAttribType t; + string str = GetActiveAttrib(program, index, out size, out t); + + type = (All)(int) t; + + return str; + } + + #endregion + + #region GetActiveUniform + + public static string GetActiveUniform(int program, int uniformIndex, out int size, out ActiveUniformType type) + { + int length; + GetProgram(program, ES31.ProgramParameter.ActiveUniformMaxLength, out length); + + StringBuilder sb = new StringBuilder(length == 0 ? 1 : length); + GetActiveUniform(program, uniformIndex, sb.Capacity, out length, out size, out type, sb); + + return sb.ToString(); + } + + #endregion + + #region public static void ShaderSource(Int32 shader, System.String @string) + + public static void ShaderSource(Int32 shader, System.String @string) + { + unsafe + { + int length = @string.Length; + GL.ShaderSource((UInt32)shader, 1, new string[] { @string }, &length); + } + } + + #endregion + + #region public static string GetShaderInfoLog(Int32 shader) + + public static string GetShaderInfoLog(Int32 shader) + { + string info; + GetShaderInfoLog(shader, out info); + return info; + } + + #endregion + + #region public static void GetShaderInfoLog(Int32 shader, out string info) + + public static void GetShaderInfoLog(Int32 shader, out string info) + { + unsafe + { + int length; + GL.GetShader(shader, ShaderParameter.InfoLogLength, out length); + if (length == 0) + { + info = String.Empty; + return; + } + StringBuilder sb = new StringBuilder(length * 2); + GL.GetShaderInfoLog((UInt32)shader, sb.Capacity, &length, sb); + info = sb.ToString(); + } + } + + #endregion + + #region public static string GetProgramInfoLog(Int32 program) + + public static string GetProgramInfoLog(Int32 program) + { + string info; + GetProgramInfoLog(program, out info); + return info; + } + + #endregion + + #region public static void GetProgramInfoLog(Int32 program, out string info) + + public static void GetProgramInfoLog(Int32 program, out string info) + { + unsafe + { + int length; + GL.GetProgram(program, ES31.ProgramParameter.InfoLogLength, out length); if (length == 0) + { + info = String.Empty; + return; + } + StringBuilder sb = new StringBuilder(length * 2); + GL.GetProgramInfoLog((UInt32)program, sb.Capacity, &length, sb); + info = sb.ToString(); + } + } + + #endregion + + #endregion + + #region public static void VertexAttrib2(Int32 index, ref Vector2 v) + + [CLSCompliant(false)] + public static void VertexAttrib2(Int32 index, ref Vector2 v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + #endregion + + #region public static void VertexAttrib3(Int32 index, ref Vector3 v) + + [CLSCompliant(false)] + public static void VertexAttrib3(Int32 index, ref Vector3 v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + #endregion + + #region public static void VertexAttrib4(Int32 index, ref Vector4 v) + + [CLSCompliant(false)] + public static void VertexAttrib4(Int32 index, ref Vector4 v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + #endregion + + #region public static void VertexAttrib2(Int32 index, Vector2 v) + + public static void VertexAttrib2(Int32 index, Vector2 v) + { + GL.VertexAttrib2(index, v.X, v.Y); + } + + #endregion + + #region public static void VertexAttrib3(Int32 index, Vector3 v) + + public static void VertexAttrib3(Int32 index, Vector3 v) + { + GL.VertexAttrib3(index, v.X, v.Y, v.Z); + } + + #endregion + + #region public static void VertexAttrib4(Int32 index, Vector4 v) + + public static void VertexAttrib4(Int32 index, Vector4 v) + { + GL.VertexAttrib4(index, v.X, v.Y, v.Z, v.W); + } + + #endregion + + #region VertexAttribPointer + + public static void VertexAttribPointer(int index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset) + { + VertexAttribPointer(index, size, type, normalized, stride, (IntPtr)offset); + } + + [CLSCompliant(false)] + public static void VertexAttribPointer(uint index, int size, VertexAttribPointerType type, bool normalized, int stride, int offset) + { + VertexAttribPointer(index, size, type, normalized, stride, (IntPtr)offset); + } + + #endregion + + #region DrawElements + + public static void DrawElements(BeginMode mode, int count, DrawElementsType type, int offset) + { + DrawElements(mode, count, type, offset); + } + + #endregion + + #region public static int GenTexture() + + public static int GenTexture() + { + int id; + GenTextures(1, out id); + return id; + } + + #endregion + + #region public static void DeleteTexture(int id) + + public static void DeleteTexture(int id) + { + DeleteTextures(1, ref id); + } + + [CLSCompliant(false)] + public static void DeleteTexture(uint id) + { + DeleteTextures(1, ref id); + } + + #endregion + + #region Get[Float|Double] + + public static void GetFloat(GetPName pname, out Vector2 vector) + { + unsafe + { + fixed (Vector2* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Vector3 vector) + { + unsafe + { + fixed (Vector3* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Vector4 vector) + { + unsafe + { + fixed (Vector4* ptr = &vector) + GetFloat(pname, (float*)ptr); + } + } + + public static void GetFloat(GetPName pname, out Matrix4 matrix) + { + unsafe + { + fixed (Matrix4* ptr = &matrix) + GetFloat(pname, (float*)ptr); + } + } + + #endregion + + #region Viewport + + public static void Viewport(System.Drawing.Size size) + { + GL.Viewport(0, 0, size.Width, size.Height); + } + + public static void Viewport(System.Drawing.Point location, System.Drawing.Size size) + { + GL.Viewport(location.X, location.Y, size.Width, size.Height); + } + + public static void Viewport(System.Drawing.Rectangle rectangle) + { + GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); + } +#if NO_SYSDRAWING + public static void Viewport(OpenTK.Point location, OpenTK.Size size) + { + GL.Viewport(location.X, location.Y, size.Width, size.Height); + } + + public static void Viewport(OpenTK.Rectangle rectangle) + { + GL.Viewport(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); + } +#endif + #endregion + + public static + OpenTK.Graphics.ES31.ErrorCode GetErrorCode() + { + return (ErrorCode) Core.GetError(); + } + +#pragma warning restore 3019 +#pragma warning restore 1591 +#pragma warning restore 1572 +#pragma warning restore 1573 + + #endregion + } +} diff --git a/Projects/OpenTK.Android/Math/Matrix2.cs b/Projects/OpenTK.Android/Math/Matrix2.cs new file mode 100644 index 000000000..931471198 --- /dev/null +++ b/Projects/OpenTK.Android/Math/Matrix2.cs @@ -0,0 +1,586 @@ +#region --- License --- +/* +Copyright (c) 2006 - 2008 The Open Toolkit library. +Copyright 2014 Xamarin Inc + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + */ +#endregion + +using System; +using System.Runtime.InteropServices; + +namespace OpenTK +{ + // Todo: Remove this warning when the code goes public. + #pragma warning disable 3019 + [Serializable] + [StructLayout(LayoutKind.Sequential)] + public struct Matrix2 : IEquatable + { + #region Fields & Access + + /// Row 0, Column 0 + public float R0C0; + + /// Row 0, Column 1 + public float R0C1; + + /// Row 1, Column 0 + public float R1C0; + + /// Row 1, Column 1 + public float R1C1; + + /// Gets the component at the given row and column in the matrix. + /// The row of the matrix. + /// The column of the matrix. + /// The component at the given row and column in the matrix. + public float this[int row, int column] + { + get + { + switch( row ) + { + case 0: + switch (column) + { + case 0: return R0C0; + case 1: return R0C1; + } + break; + + case 1: + switch (column) + { + case 0: return R1C0; + case 1: return R1C1; + } + break; + } + + throw new IndexOutOfRangeException(); + } + set + { + switch( row ) + { + case 0: + switch (column) + { + case 0: R0C0 = value; return; + case 1: R0C1 = value; return; + } + break; + + case 1: + switch (column) + { + case 0: R1C0 = value; return; + case 1: R1C1 = value; return; + } + break; + } + + throw new IndexOutOfRangeException(); + } + } + + /// Gets the component at the index into the matrix. + /// The index into the components of the matrix. + /// The component at the given index into the matrix. + public float this[int index] + { + get + { + switch (index) + { + case 0: return R0C0; + case 1: return R0C1; + case 2: return R1C0; + case 3: return R1C1; + default: throw new IndexOutOfRangeException(); + } + } + set + { + switch (index) + { + case 0: R0C0 = value; return; + case 1: R0C1 = value; return; + case 2: R1C0 = value; return; + case 3: R1C1 = value; return; + default: throw new IndexOutOfRangeException(); + } + } + } + + /// Converts the matrix into an IntPtr. + /// The matrix to convert. + /// An IntPtr for the matrix. + public static explicit operator IntPtr(Matrix2 matrix) + { + unsafe + { + return (IntPtr)(&matrix.R0C0); + } + } + + /// Converts the matrix into left float*. + /// The matrix to convert. + /// A float* for the matrix. + [CLSCompliant(false)] + unsafe public static explicit operator float*(Matrix2 matrix) + { + return &matrix.R0C0; + } + + /// Converts the matrix into an array of floats. + /// The matrix to convert. + /// An array of floats for the matrix. + public static explicit operator float[](Matrix2 matrix) + { + return new float[4] + { + matrix.R0C0, + matrix.R0C1, + matrix.R1C0, + matrix.R1C1, + }; + } + + #endregion + + #region Constructors + + /// Constructs left matrix with the same components as the given matrix. + /// The matrix whose components to copy. + public Matrix2(ref Matrix2 matrix) + { + this.R0C0 = matrix.R0C0; + this.R0C1 = matrix.R0C1; + this.R1C0 = matrix.R1C0; + this.R1C1 = matrix.R1C1; + } + + /// Constructs left matrix with the given values. + /// The value for row 0 column 0. + /// The value for row 0 column 1. + /// The value for row 1 column 0. + /// The value for row 1 column 1. + public Matrix2 + ( + float r0c0, + float r0c1, + float r1c0, + float r1c1 + ) + { + this.R0C0 = r0c0; + this.R0C1 = r0c1; + this.R1C0 = r1c0; + this.R1C1 = r1c1; + } + + /// Constructs left matrix from the given array of float-precision floating-point numbers. + /// The array of floats for the components of the matrix. + public Matrix2(float[] floatArray) + { + if (floatArray == null || floatArray.GetLength(0) < 9) throw new MissingFieldException(); + + this.R0C0 = floatArray[0]; + this.R0C1 = floatArray[1]; + this.R1C0 = floatArray[2]; + this.R1C1 = floatArray[3]; + } + + #endregion + + #region Equality + + /// Indicates whether the current matrix is equal to another matrix. + /// The OpenTK.Matrix2 structure to compare with. + /// true if the current matrix is equal to the matrix parameter; otherwise, false. + [CLSCompliant(false)] + public bool Equals(Matrix2 matrix) + { + return + R0C0 == matrix.R0C0 && + R0C1 == matrix.R0C1 && + R1C0 == matrix.R1C0 && + R1C1 == matrix.R1C1; + } + + /// Indicates whether the current matrix is equal to another matrix. + /// The OpenTK.Matrix2 structure to compare to. + /// true if the current matrix is equal to the matrix parameter; otherwise, false. + public bool Equals(ref Matrix2 matrix) + { + return + R0C0 == matrix.R0C0 && + R0C1 == matrix.R0C1 && + R1C0 == matrix.R1C0 && + R1C1 == matrix.R1C1; + } + + /// Indicates whether the current matrix is equal to another matrix. + /// The left-hand operand. + /// The right-hand operand. + /// true if the current matrix is equal to the matrix parameter; otherwise, false. + public static bool Equals(ref Matrix2 left, ref Matrix2 right) + { + return + left.R0C0 == right.R0C0 && + left.R0C1 == right.R0C1 && + left.R1C0 == right.R1C0 && + left.R1C1 == right.R1C1; + } + + /// Indicates whether the current matrix is approximately equal to another matrix. + /// The OpenTK.Matrix2 structure to compare with. + /// The limit below which the matrices are considered equal. + /// true if the current matrix is approximately equal to the matrix parameter; otherwise, false. + public bool EqualsApprox(ref Matrix2 matrix, float tolerance) + { + return + System.Math.Abs(R0C0 - matrix.R0C0) <= tolerance && + System.Math.Abs(R0C1 - matrix.R0C1) <= tolerance && + System.Math.Abs(R1C0 - matrix.R1C0) <= tolerance && + System.Math.Abs(R1C1 - matrix.R1C1) <= tolerance; + } + + /// Indicates whether the current matrix is approximately equal to another matrix. + /// The left-hand operand. + /// The right-hand operand. + /// The limit below which the matrices are considered equal. + /// true if the current matrix is approximately equal to the matrix parameter; otherwise, false. + public static bool EqualsApprox(ref Matrix2 left, ref Matrix2 right, float tolerance) + { + return + System.Math.Abs(left.R0C0 - right.R0C0) <= tolerance && + System.Math.Abs(left.R0C1 - right.R0C1) <= tolerance && + System.Math.Abs(left.R1C0 - right.R1C0) <= tolerance && + System.Math.Abs(left.R1C1 - right.R1C1) <= tolerance; + } + + #endregion + + #region Arithmetic Operators + + + /// Add left matrix to this matrix. + /// The matrix to add. + public void Add(ref Matrix2 matrix) + { + R0C0 = R0C0 + matrix.R0C0; + R0C1 = R0C1 + matrix.R0C1; + R1C0 = R1C0 + matrix.R1C0; + R1C1 = R1C1 + matrix.R1C1; + } + + /// Add left matrix to this matrix. + /// The matrix to add. + /// The resulting matrix of the addition. + public void Add(ref Matrix2 matrix, out Matrix2 result) + { + result.R0C0 = R0C0 + matrix.R0C0; + result.R0C1 = R0C1 + matrix.R0C1; + result.R1C0 = R1C0 + matrix.R1C0; + result.R1C1 = R1C1 + matrix.R1C1; + } + + /// Add left matrix to left matrix. + /// The matrix on the matrix side of the equation. + /// The matrix on the right side of the equation + /// The resulting matrix of the addition. + public static void Add(ref Matrix2 left, ref Matrix2 right, out Matrix2 result) + { + result.R0C0 = left.R0C0 + right.R0C0; + result.R0C1 = left.R0C1 + right.R0C1; + result.R1C0 = left.R1C0 + right.R1C0; + result.R1C1 = left.R1C1 + right.R1C1; + } + + + /// Subtract left matrix from this matrix. + /// The matrix to subtract. + public void Subtract(ref Matrix2 matrix) + { + R0C0 = R0C0 - matrix.R0C0; + R0C1 = R0C1 - matrix.R0C1; + R1C0 = R1C0 - matrix.R1C0; + R1C1 = R1C1 - matrix.R1C1; + } + + /// Subtract matrix from this matrix. + /// The matrix to subtract. + /// The resulting matrix of the subtraction. + public void Subtract(ref Matrix2 matrix, out Matrix2 result) + { + result.R0C0 = R0C0 - matrix.R0C0; + result.R0C1 = R0C1 - matrix.R0C1; + result.R1C0 = R1C0 - matrix.R1C0; + result.R1C1 = R1C1 - matrix.R1C1; + } + + /// Subtract right matrix from left matrix. + /// The matrix on the matrix side of the equation. + /// The matrix on the right side of the equation + /// The resulting matrix of the subtraction. + public static void Subtract(ref Matrix2 left, ref Matrix2 right, out Matrix2 result) + { + result.R0C0 = left.R0C0 - right.R0C0; + result.R0C1 = left.R0C1 - right.R0C1; + result.R1C0 = left.R1C0 - right.R1C0; + result.R1C1 = left.R1C1 - right.R1C1; + } + + + /// Multiply left martix times this matrix. + /// The matrix to multiply. + public void Multiply(ref Matrix2 matrix) + { + float r0c0 = matrix.R0C0 * R0C0 + matrix.R0C1 * R1C0; + float r0c1 = matrix.R0C0 * R0C1 + matrix.R0C1 * R1C1; + + float r1c0 = matrix.R1C0 * R0C0 + matrix.R1C1 * R1C0; + float r1c1 = matrix.R1C0 * R0C1 + matrix.R1C1 * R1C1; + + R0C0 = r0c0; + R0C1 = r0c1; + + R1C0 = r1c0; + R1C1 = r1c1; + } + + /// Multiply matrix times this matrix. + /// The matrix to multiply. + /// The resulting matrix of the multiplication. + public void Multiply(ref Matrix2 matrix, out Matrix2 result) + { + result.R0C0 = matrix.R0C0 * R0C0 + matrix.R0C1 * R1C0; + result.R0C1 = matrix.R0C0 * R0C1 + matrix.R0C1 * R1C1; + result.R1C0 = matrix.R1C0 * R0C0 + matrix.R1C1 * R1C0; + result.R1C1 = matrix.R1C0 * R0C1 + matrix.R1C1 * R1C1; + } + + /// Multiply left matrix times left matrix. + /// The matrix on the matrix side of the equation. + /// The matrix on the right side of the equation + /// The resulting matrix of the multiplication. + public static void Multiply(ref Matrix2 left, ref Matrix2 right, out Matrix2 result) + { + result.R0C0 = right.R0C0 * left.R0C0 + right.R0C1 * left.R1C0; + result.R0C1 = right.R0C0 * left.R0C1 + right.R0C1 * left.R1C1; + result.R1C0 = right.R1C0 * left.R0C0 + right.R1C1 * left.R1C0; + result.R1C1 = right.R1C0 * left.R0C1 + right.R1C1 * left.R1C1; + } + + + /// Multiply matrix times this matrix. + /// The matrix to multiply. + public void Multiply(float scalar) + { + R0C0 = scalar * R0C0; + R0C1 = scalar * R0C1; + R1C0 = scalar * R1C0; + R1C1 = scalar * R1C1; + } + + /// Multiply matrix times this matrix. + /// The matrix to multiply. + /// The resulting matrix of the multiplication. + public void Multiply(float scalar, out Matrix2 result) + { + result.R0C0 = scalar * R0C0; + result.R0C1 = scalar * R0C1; + result.R1C0 = scalar * R1C0; + result.R1C1 = scalar * R1C1; + } + + /// Multiply left matrix times left matrix. + /// The matrix on the matrix side of the equation. + /// The matrix on the right side of the equation + /// The resulting matrix of the multiplication. + public static void Multiply(ref Matrix2 matrix, float scalar, out Matrix2 result) + { + result.R0C0 = scalar * matrix.R0C0; + result.R0C1 = scalar * matrix.R0C1; + result.R1C0 = scalar * matrix.R1C0; + result.R1C1 = scalar * matrix.R1C1; + } + + + #endregion + + #region Functions + + public float Determinant + { + get + { + return R0C0 * R1C1 - R0C1 * R1C0; + } + } + + public void Transpose() + { + MathHelper.Swap(ref R0C1, ref R1C0); + } + public void Transpose(out Matrix2 result) + { + result.R0C0 = R0C0; + result.R0C1 = R1C0; + result.R1C0 = R0C1; + result.R1C1 = R1C1; + } + public static void Transpose(ref Matrix2 matrix, out Matrix2 result) + { + result.R0C0 = matrix.R0C0; + result.R0C1 = matrix.R1C0; + result.R1C0 = matrix.R0C1; + result.R1C1 = matrix.R1C1; + } + + #endregion + + #region Transformation Functions + + public void Transform(ref Vector2 vector) + { + float x = R0C0 * vector.X + R0C1 * vector.Y; + vector.Y = R1C0 * vector.X + R1C1 * vector.Y; + vector.X = x; + } + public static void Transform(ref Matrix2 matrix, ref Vector2 vector) + { + float x = matrix.R0C0 * vector.X + matrix.R0C1 * vector.Y; + vector.Y = matrix.R1C0 * vector.X + matrix.R1C1 * vector.Y; + vector.X = x; + } + public void Transform(ref Vector2 vector, out Vector2 result) + { + result.X = R0C0 * vector.X + R0C1 * vector.Y; + result.Y = R1C0 * vector.X + R1C1 * vector.Y; + } + public static void Transform(ref Matrix2 matrix, ref Vector2 vector, out Vector2 result) + { + result.X = matrix.R0C0 * vector.X + matrix.R0C1 * vector.Y; + result.Y = matrix.R1C0 * vector.X + matrix.R1C1 * vector.Y; + } + + public void Rotate(float angle) + { + float angleRadians = MathHelper.DegreesToRadians (angle); + float sin = (float)System.Math.Sin(angleRadians); + float cos = (float)System.Math.Cos(angleRadians); + + float r0c0 = cos * R0C0 - sin * R1C0; + float r0c1 = cos * R0C1 - sin * R1C1; + + R1C0 = cos * R1C0 + sin * R0C0; + R1C1 = cos * R1C1 + sin * R0C1; + + R0C0 = r0c0; + R0C1 = r0c1; + } + public void Rotate(float angle, out Matrix2 result) + { + float angleRadians = MathHelper.DegreesToRadians (angle); + float sin = (float)System.Math.Sin(angleRadians); + float cos = (float)System.Math.Cos(angleRadians); + + result.R0C0 = cos * R0C0 - sin * R1C0; + result.R0C1 = cos * R0C1 - sin * R1C1; + result.R1C0 = cos * R1C0 + sin * R0C0; + result.R1C1 = cos * R1C1 + sin * R0C1; + } + public static void Rotate(ref Matrix2 matrix, float angle, out Matrix2 result) + { + float angleRadians = MathHelper.DegreesToRadians (angle); + float sin = (float)System.Math.Sin(angleRadians); + float cos = (float)System.Math.Cos(angleRadians); + + result.R0C0 = cos * matrix.R0C0 - sin * matrix.R1C0; + result.R0C1 = cos * matrix.R0C1 - sin * matrix.R1C1; + result.R1C0 = cos * matrix.R1C0 + sin * matrix.R0C0; + result.R1C1 = cos * matrix.R1C1 + sin * matrix.R0C1; + } + public static void RotateMatrix(float angle, out Matrix2 result) + { + float angleRadians = MathHelper.DegreesToRadians(angle); + float sin = (float)System.Math.Sin(angleRadians); + float cos = (float)System.Math.Cos(angleRadians); + + result.R0C0 = cos; + result.R0C1 = -sin; + result.R1C0 = sin; + result.R1C1 = cos; + } + + #endregion + + #region Constants + + /// The identity matrix. + public static readonly Matrix2 Identity = new Matrix2 + ( + 1, 0, + 0, 1 + ); + + /// A matrix of all zeros. + public static readonly Matrix2 Zero = new Matrix2 + ( + 0, 0, + 0, 0 + ); + + #endregion + + #region HashCode + + /// Returns the hash code for this instance. + /// A 32-bit signed integer that is the hash code for this instance. + public override int GetHashCode() + { + return + R0C0.GetHashCode() ^ R0C1.GetHashCode() ^ + R1C0.GetHashCode() ^ R1C1.GetHashCode(); + } + + #endregion + + #region String + + /// Returns the fully qualified type name of this instance. + /// A System.String containing left fully qualified type name. + public override string ToString() + { + return String.Format( + "|{00}, {01}|\n" + + "|{02}, {03}|\n", + R0C0, R0C1, + R1C0, R1C1); + } + + #endregion + } + #pragma warning restore 3019 +} diff --git a/Projects/OpenTK.Android/OpenTK.Android.csproj b/Projects/OpenTK.Android/OpenTK.Android.csproj index 0f9f06a2c..8f8d0d407 100644 --- a/Projects/OpenTK.Android/OpenTK.Android.csproj +++ b/Projects/OpenTK.Android/OpenTK.Android.csproj @@ -1,4 +1,4 @@ - + Debug @@ -536,6 +536,13 @@ Graphics\ES20\ErrorHelper.cs + + + + + + + \ No newline at end of file diff --git a/Source/OpenTK/Audio/OpenAL/AL/AL.cs b/Source/OpenTK/Audio/OpenAL/AL/AL.cs index 39191aa86..21e409a47 100644 --- a/Source/OpenTK/Audio/OpenAL/AL/AL.cs +++ b/Source/OpenTK/Audio/OpenAL/AL/AL.cs @@ -221,10 +221,17 @@ public static string GetErrorString(ALError param) /// The value to set the attribute to. /// The value to set the attribute to. /// The value to set the attribute to. - [DllImport(AL.Lib, EntryPoint = "alListener3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()] - public static extern void Listener(ALListener3f param, float value1, float value2, float value3); + // MUST NOT USE THIS BECAUSE OF PASS-BY-VALUE FLOATS BUG. + //[DllImport(AL.Lib, EntryPoint = "alListener3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()] + //public static extern void Listener(ALListener3f param, float value1, float value2, float value3); // AL_API void AL_APIENTRY alListener3f( ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 ); + public static void Listener(ALListener3f param, float value1, float value2, float value3) + { + float[] vec = new float[] { value1, value2, value3 }; + Listener((ALListenerfv)param, ref vec); // Can convert enum types because they map to the same thing in C++. + } + /// This function sets a Math.Vector3 property for the listener. /// The name of the attribute to set: ALListener3f.Position, ALListener3f.Velocity /// The Math.Vector3 to set the attribute to. @@ -578,9 +585,28 @@ public static void Source(int sid, ALSourcef param, float value) /// The three ALfloat values which the attribute will be set to. /// The three ALfloat values which the attribute will be set to. /// The three ALfloat values which the attribute will be set to. - [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSource3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()] - public static extern void Source(uint sid, ALSource3f param, float value1, float value2, float value3); + // THIS FUNCTION MUST NOT BE USED SINCE IT CAUSES BUG + //[CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSource3f", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()] + //public static extern void Source(uint sid, ALSource3f param, float value1, float value2, float value3); // AL_API void AL_APIENTRY alSource3f( ALuint sid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 ); + + // We must convert pass-by-value multiple floats to pointer type because of some strange corruption between the C# and C++ interop layer. + public static void Source(uint sid, ALSource3f param, float value1, float value2, float value3) + { + float[] vec = new float[] { value1, value2, value1 }; + + unsafe + { + fixed (float* ptr = vec) + { + SourcePrivate(sid, param, ptr); // Technicaly the 'param' type should be ALSourcefv but all values are the same in the end in the C++ lib. + } + } + } + + [CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alSourcefv", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()] + public unsafe static extern void SourcePrivate(uint sid, ALSource3f param, float* values); + // AL_API ALvoid AL_APIENTRY alSourcefv(ALuint source, ALenum param, const ALfloat* values) /// This function sets a source property requiring three floating-point values. /// Source name whose attribute is being set. diff --git a/Source/OpenTK/Platform/Android/GameViewBase.cs b/Source/OpenTK/Platform/Android/GameViewBase.cs index d5c518675..ea029bf08 100644 --- a/Source/OpenTK/Platform/Android/GameViewBase.cs +++ b/Source/OpenTK/Platform/Android/GameViewBase.cs @@ -33,7 +33,7 @@ namespace OpenTK [Register ("opentk/GameViewBase")] #else [Register ("opentk_1_0/GameViewBase")] - #endif + #endif public abstract class GameViewBase : SurfaceView, IGameWindow { [Register (".ctor", "(Landroid/content/Context;)V", "")]