mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 04:25:30 +00:00
575 lines
53 KiB
C#
575 lines
53 KiB
C#
#region License
|
|
//
|
|
// The Open Toolkit Library License
|
|
//
|
|
// Copyright (c) 2006 - 2009 the Open Toolkit library.
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights to
|
|
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
// the Software, and to permit persons to whom the Software is furnished to do
|
|
// so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
// copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
// OTHER DEALINGS IN THE SOFTWARE.
|
|
//
|
|
#endregion
|
|
|
|
namespace OpenTK.Graphics.ES20
|
|
{
|
|
using System;
|
|
using System.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 = "glActiveTexture", ExactSpelling = true)]
|
|
internal extern static void ActiveTexture(OpenTK.Graphics.ES20.All 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 = "glBeginPerfMonitorAMD", ExactSpelling = true)]
|
|
internal extern static void BeginPerfMonitorAMD(UInt32 monitor);
|
|
[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.ES20.All target, UInt32 buffer);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindFramebuffer", ExactSpelling = true)]
|
|
internal extern static void BindFramebuffer(OpenTK.Graphics.ES20.All target, UInt32 framebuffer);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindRenderbuffer", ExactSpelling = true)]
|
|
internal extern static void BindRenderbuffer(OpenTK.Graphics.ES20.All target, UInt32 renderbuffer);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindTexture", ExactSpelling = true)]
|
|
internal extern static void BindTexture(OpenTK.Graphics.ES20.All target, UInt32 texture);
|
|
[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.ES20.All mode);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendEquationSeparate", ExactSpelling = true)]
|
|
internal extern static void BlendEquationSeparate(OpenTK.Graphics.ES20.All modeRGB, OpenTK.Graphics.ES20.All modeAlpha);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFunc", ExactSpelling = true)]
|
|
internal extern static void BlendFunc(OpenTK.Graphics.ES20.All sfactor, OpenTK.Graphics.ES20.All dfactor);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlendFuncSeparate", ExactSpelling = true)]
|
|
internal extern static void BlendFuncSeparate(OpenTK.Graphics.ES20.All srcRGB, OpenTK.Graphics.ES20.All dstRGB, OpenTK.Graphics.ES20.All srcAlpha, OpenTK.Graphics.ES20.All dstAlpha);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
|
|
internal extern static void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.All usage);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)]
|
|
internal extern static void BufferSubData(OpenTK.Graphics.ES20.All 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.ES20.All CheckFramebufferStatus(OpenTK.Graphics.ES20.All target);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)]
|
|
internal extern static void Clear(UInt32 mask);
|
|
[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 = "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.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DOES", ExactSpelling = true)]
|
|
internal extern static void CompressedTexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All 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.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DOES", ExactSpelling = true)]
|
|
internal extern static void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)]
|
|
internal extern static void CopyTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All 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.ES20.All 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 = "glCopyTexSubImage3DOES", ExactSpelling = true)]
|
|
internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.All 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.ES20.All type);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)]
|
|
internal extern static void CullFace(OpenTK.Graphics.ES20.All 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 = "glDeleteFencesNV", ExactSpelling = true)]
|
|
internal extern static unsafe void DeleteFencesNV(Int32 n, UInt32* fences);
|
|
[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 = "glDeletePerfMonitorsAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, UInt32* monitors);
|
|
[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 = "glDeleteRenderbuffers", ExactSpelling = true)]
|
|
internal extern static unsafe void DeleteRenderbuffers(Int32 n, UInt32* renderbuffers);
|
|
[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 = "glDeleteTextures", ExactSpelling = true)]
|
|
internal extern static unsafe void DeleteTextures(Int32 n, UInt32* textures);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthFunc", ExactSpelling = true)]
|
|
internal extern static void DepthFunc(OpenTK.Graphics.ES20.All func);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)]
|
|
internal extern static void DepthMask(bool flag);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthRangef", ExactSpelling = true)]
|
|
internal extern static void DepthRangef(Single zNear, Single zFar);
|
|
[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.ES20.All cap);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)]
|
|
internal extern static void DisableDriverControlQCOM(UInt32 driverControl);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableVertexAttribArray", ExactSpelling = true)]
|
|
internal extern static void DisableVertexAttribArray(UInt32 index);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
|
|
internal extern static void DrawArrays(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
|
|
internal extern static void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetRenderbufferStorageOES", ExactSpelling = true)]
|
|
internal extern static void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEGLImageTargetTexture2DOES", ExactSpelling = true)]
|
|
internal extern static void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnable", ExactSpelling = true)]
|
|
internal extern static void Enable(OpenTK.Graphics.ES20.All cap);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)]
|
|
internal extern static void EnableDriverControlQCOM(UInt32 driverControl);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableVertexAttribArray", ExactSpelling = true)]
|
|
internal extern static void EnableVertexAttribArray(UInt32 index);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)]
|
|
internal extern static void EndPerfMonitorAMD(UInt32 monitor);
|
|
[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 = "glFinishFenceNV", ExactSpelling = true)]
|
|
internal extern static void FinishFenceNV(UInt32 fence);
|
|
[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 = "glFramebufferRenderbuffer", ExactSpelling = true)]
|
|
internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, UInt32 renderbuffer);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)]
|
|
internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture3DOES", ExactSpelling = true)]
|
|
internal extern static void FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)]
|
|
internal extern static void FrontFace(OpenTK.Graphics.ES20.All mode);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenBuffers", ExactSpelling = true)]
|
|
internal extern static unsafe void GenBuffers(Int32 n, UInt32* buffers);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)]
|
|
internal extern static void GenerateMipmap(OpenTK.Graphics.ES20.All target);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)]
|
|
internal extern static unsafe void GenFencesNV(Int32 n, UInt32* fences);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFramebuffers", ExactSpelling = true)]
|
|
internal extern static unsafe void GenFramebuffers(Int32 n, UInt32* framebuffers);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, UInt32* monitors);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenRenderbuffers", ExactSpelling = true)]
|
|
internal extern static unsafe void GenRenderbuffers(Int32 n, UInt32* renderbuffers);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenTextures", ExactSpelling = true)]
|
|
internal extern static unsafe void GenTextures(Int32 n, UInt32* textures);
|
|
[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, Int32* length, Int32* size, OpenTK.Graphics.ES20.All* type, String 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, Int32* length, Int32* size, OpenTK.Graphics.ES20.All* type, String name);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttachedShaders", ExactSpelling = true)]
|
|
internal extern static unsafe void GetAttachedShaders(UInt32 program, Int32 maxcount, Int32* count, UInt32* shaders);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetAttribLocation", ExactSpelling = true)]
|
|
internal extern static int GetAttribLocation(UInt32 program, String name);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBooleanv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES20.All pname, bool* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferParameteriv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetBufferPointervOES", ExactSpelling = true)]
|
|
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, IntPtr @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)]
|
|
internal extern static unsafe void GetDriverControlsQCOM(Int32* num, Int32 size, UInt32* driverControls);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlStringQCOM", ExactSpelling = true)]
|
|
internal extern static unsafe void GetDriverControlStringQCOM(UInt32 driverControl, Int32 bufSize, Int32* length, String driverControlString);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetError", ExactSpelling = true)]
|
|
internal extern static OpenTK.Graphics.ES20.All GetError();
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFenceivNV", ExactSpelling = true)]
|
|
internal extern static unsafe void GetFenceivNV(UInt32 fence, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFloatv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES20.All pname, Single* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, UInt32* data, Int32* bytesWritten);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)]
|
|
internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.ES20.All pname, IntPtr data);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, Int32* numCounters, Int32* maxActiveCounters, Int32 counterSize, UInt32* counters);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, Int32* length, String counterString);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void GetPerfMonitorGroupsAMD(Int32* numGroups, Int32 groupsSize, UInt32* groups);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, Int32* length, String groupString);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramBinaryOES", ExactSpelling = true)]
|
|
internal extern static unsafe void GetProgramBinaryOES(UInt32 program, Int32 bufSize, Int32* length, OpenTK.Graphics.ES20.All* binaryFormat, 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, Int32* length, String infolog);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetProgramiv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetRenderbufferParameteriv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, 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, Int32* length, String infolog);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderiv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetShaderPrecisionFormat", ExactSpelling = true)]
|
|
internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, Int32* range, 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, Int32* length, [OutAttribute] System.Text.StringBuilder source);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetString", ExactSpelling = true)]
|
|
internal extern static unsafe IntPtr GetString(OpenTK.Graphics.ES20.All name);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformfv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetUniformfv(UInt32 program, Int32 location, Single* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformiv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetUniformiv(UInt32 program, Int32 location, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetUniformLocation", ExactSpelling = true)]
|
|
internal extern static int GetUniformLocation(UInt32 program, String name);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribfv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.All pname, Single* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribiv", ExactSpelling = true)]
|
|
internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetVertexAttribPointerv", ExactSpelling = true)]
|
|
internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.All pname, IntPtr pointer);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glHint", ExactSpelling = true)]
|
|
internal extern static void Hint(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All mode);
|
|
[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.ES20.All cap);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)]
|
|
internal extern static bool IsFenceNV(UInt32 fence);
|
|
[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 = "glIsRenderbuffer", ExactSpelling = true)]
|
|
internal extern static bool IsRenderbuffer(UInt32 renderbuffer);
|
|
[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 = "glIsTexture", ExactSpelling = true)]
|
|
internal extern static bool IsTexture(UInt32 texture);
|
|
[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 = "glMapBufferOES", ExactSpelling = true)]
|
|
internal extern static unsafe IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPixelStorei", ExactSpelling = true)]
|
|
internal extern static void PixelStorei(OpenTK.Graphics.ES20.All 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 = "glProgramBinaryOES", ExactSpelling = true)]
|
|
internal extern static void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length);
|
|
[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.ES20.All format, OpenTK.Graphics.ES20.All 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.ES20.All target, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height);
|
|
[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 = "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 = "glSelectPerfMonitorCountersAMD", ExactSpelling = true)]
|
|
internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, UInt32* countersList);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSetFenceNV", ExactSpelling = true)]
|
|
internal extern static void SetFenceNV(UInt32 fence, OpenTK.Graphics.ES20.All condition);
|
|
[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.ES20.All 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.ES20.All 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.ES20.All face, OpenTK.Graphics.ES20.All 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.ES20.All face, UInt32 mask);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOp", ExactSpelling = true)]
|
|
internal extern static void StencilOp(OpenTK.Graphics.ES20.All fail, OpenTK.Graphics.ES20.All zfail, OpenTK.Graphics.ES20.All zpass);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)]
|
|
internal extern static void StencilOpSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All fail, OpenTK.Graphics.ES20.All zfail, OpenTK.Graphics.ES20.All zpass);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)]
|
|
internal extern static bool TestFenceNV(UInt32 fence);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)]
|
|
internal extern static void TexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DOES", ExactSpelling = true)]
|
|
internal extern static void TexImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)]
|
|
internal extern static void TexParameterf(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single param);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterfv", ExactSpelling = true)]
|
|
internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteri", ExactSpelling = true)]
|
|
internal extern static void TexParameteri(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameteriv", ExactSpelling = true)]
|
|
internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
|
|
internal extern static void TexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
|
|
[System.Security.SuppressUnmanagedCodeSecurity()]
|
|
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DOES", ExactSpelling = true)]
|
|
internal extern static void TexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
|
|
[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 = "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 = "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 = "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 = "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 = "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 = "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 = "glUnmapBufferOES", ExactSpelling = true)]
|
|
internal extern static bool UnmapBufferOES(OpenTK.Graphics.ES20.All 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 = "glValidateProgram", ExactSpelling = true)]
|
|
internal extern static void ValidateProgram(UInt32 program);
|
|
[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 = "glVertexAttribPointer", ExactSpelling = true)]
|
|
internal extern static void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr ptr);
|
|
[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);
|
|
}
|
|
}
|
|
}
|