Regenerated ES 2.0 bindings using the new, strongly-typed enums.
Fixed sample to use those new enums.
This commit is contained in:
parent
8da604c18f
commit
d06191d464
5 changed files with 847 additions and 496 deletions
|
@ -60,7 +60,7 @@ namespace Examples.Tutorial
|
|||
|
||||
Color color = Color.MidnightBlue;
|
||||
GL.ClearColor(color.R, color.G, color.B, color.A);
|
||||
GL.Enable((All)EnableCap.DepthTest);
|
||||
GL.Enable(EnableCap.DepthTest);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -108,7 +108,7 @@ namespace Examples.Tutorial
|
|||
/// </summary>
|
||||
protected override void OnRenderFrame(FrameEventArgs e)
|
||||
{
|
||||
GL.Clear((uint)(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit));
|
||||
GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
|
||||
|
||||
this.SwapBuffers();
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace OpenTK.Graphics.ES20
|
|||
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glActiveTexture", ExactSpelling = true)]
|
||||
internal extern static void ActiveTexture(OpenTK.Graphics.ES20.All texture);
|
||||
internal extern static void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glAttachShader", ExactSpelling = true)]
|
||||
internal extern static void AttachShader(UInt32 program, UInt32 shader);
|
||||
|
@ -52,43 +52,43 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void BindBuffer(OpenTK.Graphics.ES20.BufferTarget 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);
|
||||
internal extern static void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget 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);
|
||||
internal extern static void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget 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);
|
||||
internal extern static void BindTexture(OpenTK.Graphics.ES20.BindTextureTarget 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);
|
||||
internal extern static void BlendEquation(OpenTK.Graphics.ES20.BlendMode 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);
|
||||
internal extern static void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendMode modeRGB, OpenTK.Graphics.ES20.BlendMode 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);
|
||||
internal extern static void BlendFunc(OpenTK.Graphics.ES20.BlendFactor sfactor, OpenTK.Graphics.ES20.BlendFactor 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);
|
||||
internal extern static void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendFactor srcRGB, OpenTK.Graphics.ES20.BlendFactor dstRGB, OpenTK.Graphics.ES20.BlendFactor srcAlpha, OpenTK.Graphics.ES20.BlendFactor 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);
|
||||
internal extern static void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage 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);
|
||||
internal extern static void BufferSubData(OpenTK.Graphics.ES20.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.ES20.All CheckFramebufferStatus(OpenTK.Graphics.ES20.All target);
|
||||
internal extern static OpenTK.Graphics.ES20.All CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClear", ExactSpelling = true)]
|
||||
internal extern static void Clear(UInt32 mask);
|
||||
internal extern static void Clear(OpenTK.Graphics.ES20.ClearBufferMask 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);
|
||||
|
@ -106,22 +106,22 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
|
||||
[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);
|
||||
internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget 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);
|
||||
internal extern static void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
|
||||
[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);
|
||||
internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES20.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 = "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);
|
||||
|
@ -130,10 +130,10 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCullFace", ExactSpelling = true)]
|
||||
internal extern static void CullFace(OpenTK.Graphics.ES20.All mode);
|
||||
internal extern static void CullFace(OpenTK.Graphics.ES20.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);
|
||||
|
@ -160,7 +160,7 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDepthMask", ExactSpelling = true)]
|
||||
internal extern static void DepthMask(bool flag);
|
||||
|
@ -172,7 +172,7 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void Disable(OpenTK.Graphics.ES20.EnableCap cap);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDisableDriverControlQCOM", ExactSpelling = true)]
|
||||
internal extern static void DisableDriverControlQCOM(UInt32 driverControl);
|
||||
|
@ -181,10 +181,10 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void DrawArrays(OpenTK.Graphics.ES20.PrimitiveMode 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);
|
||||
internal extern static void DrawElements(OpenTK.Graphics.ES20.PrimitiveMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType 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);
|
||||
|
@ -193,7 +193,7 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void Enable(OpenTK.Graphics.ES20.EnableCap cap);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEnableDriverControlQCOM", ExactSpelling = true)]
|
||||
internal extern static void EnableDriverControlQCOM(UInt32 driverControl);
|
||||
|
@ -214,22 +214,22 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget 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);
|
||||
internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget 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);
|
||||
internal extern static void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection 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);
|
||||
internal extern static void GenerateMipmap(OpenTK.Graphics.ES20.BindTextureTarget target);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenFencesNV", ExactSpelling = true)]
|
||||
internal extern static unsafe void GenFencesNV(Int32 n, UInt32* fences);
|
||||
|
@ -247,10 +247,10 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static unsafe void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveAttribType* 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);
|
||||
internal extern static unsafe void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveUniformType* 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);
|
||||
|
@ -259,10 +259,10 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static unsafe void GetBooleanv(OpenTK.Graphics.ES20.GetBooleanPName 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);
|
||||
internal extern static unsafe void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.GetBufferPName 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);
|
||||
|
@ -280,13 +280,13 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static unsafe void GetFloatv(OpenTK.Graphics.ES20.GetFloatPName 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);
|
||||
internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferAttachmentParameter 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);
|
||||
internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES20.GetIntegerPName 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);
|
||||
|
@ -313,19 +313,19 @@ namespace OpenTK.Graphics.ES20
|
|||
internal extern static unsafe void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder 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);
|
||||
internal extern static unsafe void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramPName 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);
|
||||
internal extern static unsafe void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.GetRenderbufferPName 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);
|
||||
internal extern static unsafe void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderPName 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);
|
||||
internal extern static unsafe void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision 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);
|
||||
|
@ -334,10 +334,10 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName 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);
|
||||
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName 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);
|
||||
|
@ -349,22 +349,22 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static unsafe void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexArray 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);
|
||||
internal extern static unsafe void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexArray 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);
|
||||
internal extern static void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexPointer 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);
|
||||
internal extern static void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode 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);
|
||||
internal extern static bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsFenceNV", ExactSpelling = true)]
|
||||
internal extern static bool IsFenceNV(UInt32 fence);
|
||||
|
@ -394,7 +394,7 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void PixelStorei(OpenTK.Graphics.ES20.PixelStorePName pname, OpenTK.Graphics.ES20.PixelStoreParameter param);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glPolygonOffset", ExactSpelling = true)]
|
||||
internal extern static void PolygonOffset(Single factor, Single units);
|
||||
|
@ -403,13 +403,13 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.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.ES20.All target, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height);
|
||||
internal extern static void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat 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);
|
||||
|
@ -430,46 +430,46 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void StencilFunc(OpenTK.Graphics.ES20.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.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask);
|
||||
internal extern static void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.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.ES20.All face, UInt32 mask);
|
||||
internal extern static void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode 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);
|
||||
internal extern static void StencilOp(OpenTK.Graphics.ES20.StencilOperation fail, OpenTK.Graphics.ES20.StencilOperation zfail, OpenTK.Graphics.ES20.StencilOperation 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);
|
||||
internal extern static void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOperation fail, OpenTK.Graphics.ES20.StencilOperation zfail, OpenTK.Graphics.ES20.StencilOperation 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);
|
||||
internal extern static void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
|
||||
[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);
|
||||
internal extern static void TexParameterf(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName 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);
|
||||
internal extern static unsafe void TexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName 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);
|
||||
internal extern static void TexParameteri(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName 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);
|
||||
internal extern static unsafe void TexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName 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);
|
||||
internal extern static void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
|
||||
[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);
|
||||
|
@ -565,7 +565,7 @@ namespace OpenTK.Graphics.ES20
|
|||
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);
|
||||
internal extern static void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribType 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);
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace OpenTK.Graphics.ES20
|
|||
internal static partial class Delegates
|
||||
{
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ActiveTexture(OpenTK.Graphics.ES20.All texture);
|
||||
internal delegate void ActiveTexture(OpenTK.Graphics.ES20.TextureUnit texture);
|
||||
internal static ActiveTexture glActiveTexture;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void AttachShader(UInt32 program, UInt32 shader);
|
||||
|
@ -50,43 +50,43 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate void BindAttribLocation(UInt32 program, UInt32 index, String name);
|
||||
internal static BindAttribLocation glBindAttribLocation;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindBuffer(OpenTK.Graphics.ES20.All target, UInt32 buffer);
|
||||
internal delegate void BindBuffer(OpenTK.Graphics.ES20.BufferTarget target, UInt32 buffer);
|
||||
internal static BindBuffer glBindBuffer;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindFramebuffer(OpenTK.Graphics.ES20.All target, UInt32 framebuffer);
|
||||
internal delegate void BindFramebuffer(OpenTK.Graphics.ES20.FramebufferTarget target, UInt32 framebuffer);
|
||||
internal static BindFramebuffer glBindFramebuffer;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindRenderbuffer(OpenTK.Graphics.ES20.All target, UInt32 renderbuffer);
|
||||
internal delegate void BindRenderbuffer(OpenTK.Graphics.ES20.RenderbufferTarget target, UInt32 renderbuffer);
|
||||
internal static BindRenderbuffer glBindRenderbuffer;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindTexture(OpenTK.Graphics.ES20.All target, UInt32 texture);
|
||||
internal delegate void BindTexture(OpenTK.Graphics.ES20.BindTextureTarget target, UInt32 texture);
|
||||
internal static BindTexture glBindTexture;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BlendColor(Single red, Single green, Single blue, Single alpha);
|
||||
internal static BlendColor glBlendColor;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BlendEquation(OpenTK.Graphics.ES20.All mode);
|
||||
internal delegate void BlendEquation(OpenTK.Graphics.ES20.BlendMode mode);
|
||||
internal static BlendEquation glBlendEquation;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BlendEquationSeparate(OpenTK.Graphics.ES20.All modeRGB, OpenTK.Graphics.ES20.All modeAlpha);
|
||||
internal delegate void BlendEquationSeparate(OpenTK.Graphics.ES20.BlendMode modeRGB, OpenTK.Graphics.ES20.BlendMode modeAlpha);
|
||||
internal static BlendEquationSeparate glBlendEquationSeparate;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BlendFunc(OpenTK.Graphics.ES20.All sfactor, OpenTK.Graphics.ES20.All dfactor);
|
||||
internal delegate void BlendFunc(OpenTK.Graphics.ES20.BlendFactor sfactor, OpenTK.Graphics.ES20.BlendFactor dfactor);
|
||||
internal static BlendFunc glBlendFunc;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BlendFuncSeparate(OpenTK.Graphics.ES20.All srcRGB, OpenTK.Graphics.ES20.All dstRGB, OpenTK.Graphics.ES20.All srcAlpha, OpenTK.Graphics.ES20.All dstAlpha);
|
||||
internal delegate void BlendFuncSeparate(OpenTK.Graphics.ES20.BlendFactor srcRGB, OpenTK.Graphics.ES20.BlendFactor dstRGB, OpenTK.Graphics.ES20.BlendFactor srcAlpha, OpenTK.Graphics.ES20.BlendFactor dstAlpha);
|
||||
internal static BlendFuncSeparate glBlendFuncSeparate;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BufferData(OpenTK.Graphics.ES20.All target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.All usage);
|
||||
internal delegate void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage);
|
||||
internal static BufferData glBufferData;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BufferSubData(OpenTK.Graphics.ES20.All target, IntPtr offset, IntPtr size, IntPtr data);
|
||||
internal delegate void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data);
|
||||
internal static BufferSubData glBufferSubData;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate OpenTK.Graphics.ES20.All CheckFramebufferStatus(OpenTK.Graphics.ES20.All target);
|
||||
internal delegate OpenTK.Graphics.ES20.All CheckFramebufferStatus(OpenTK.Graphics.ES20.FramebufferTarget target);
|
||||
internal static CheckFramebufferStatus glCheckFramebufferStatus;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void Clear(UInt32 mask);
|
||||
internal delegate void Clear(OpenTK.Graphics.ES20.ClearBufferMask mask);
|
||||
internal static Clear glClear;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ClearColor(Single red, Single green, Single blue, Single alpha);
|
||||
|
@ -104,22 +104,22 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate void CompileShader(UInt32 shader);
|
||||
internal static CompileShader glCompileShader;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
|
||||
internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
|
||||
internal static CompressedTexImage2D glCompressedTexImage2D;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate 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);
|
||||
internal static CompressedTexImage3DOES glCompressedTexImage3DOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate 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);
|
||||
internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data);
|
||||
internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate 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);
|
||||
internal static CompressedTexSubImage3DOES glCompressedTexSubImage3DOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void CopyTexImage2D(OpenTK.Graphics.ES20.All target, Int32 level, OpenTK.Graphics.ES20.All internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
|
||||
internal delegate void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
|
||||
internal static CopyTexImage2D glCopyTexImage2D;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
|
||||
internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
|
||||
internal static CopyTexSubImage2D glCopyTexSubImage2D;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.All target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
|
||||
|
@ -128,10 +128,10 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate Int32 CreateProgram();
|
||||
internal static CreateProgram glCreateProgram;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate Int32 CreateShader(OpenTK.Graphics.ES20.All type);
|
||||
internal delegate Int32 CreateShader(OpenTK.Graphics.ES20.ShaderType type);
|
||||
internal static CreateShader glCreateShader;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void CullFace(OpenTK.Graphics.ES20.All mode);
|
||||
internal delegate void CullFace(OpenTK.Graphics.ES20.CullFaceMode mode);
|
||||
internal static CullFace glCullFace;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void DeleteBuffers(Int32 n, UInt32* buffers);
|
||||
|
@ -158,7 +158,7 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate void DeleteTextures(Int32 n, UInt32* textures);
|
||||
internal unsafe static DeleteTextures glDeleteTextures;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DepthFunc(OpenTK.Graphics.ES20.All func);
|
||||
internal delegate void DepthFunc(OpenTK.Graphics.ES20.DepthFunction func);
|
||||
internal static DepthFunc glDepthFunc;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DepthMask(bool flag);
|
||||
|
@ -170,7 +170,7 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate void DetachShader(UInt32 program, UInt32 shader);
|
||||
internal static DetachShader glDetachShader;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void Disable(OpenTK.Graphics.ES20.All cap);
|
||||
internal delegate void Disable(OpenTK.Graphics.ES20.EnableCap cap);
|
||||
internal static Disable glDisable;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DisableDriverControlQCOM(UInt32 driverControl);
|
||||
|
@ -179,10 +179,10 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate void DisableVertexAttribArray(UInt32 index);
|
||||
internal static DisableVertexAttribArray glDisableVertexAttribArray;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DrawArrays(OpenTK.Graphics.ES20.All mode, Int32 first, Int32 count);
|
||||
internal delegate void DrawArrays(OpenTK.Graphics.ES20.PrimitiveMode mode, Int32 first, Int32 count);
|
||||
internal static DrawArrays glDrawArrays;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void DrawElements(OpenTK.Graphics.ES20.All mode, Int32 count, OpenTK.Graphics.ES20.All type, IntPtr indices);
|
||||
internal delegate void DrawElements(OpenTK.Graphics.ES20.PrimitiveMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices);
|
||||
internal static DrawElements glDrawElements;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void EGLImageTargetRenderbufferStorageOES(OpenTK.Graphics.ES20.All target, IntPtr image);
|
||||
|
@ -191,7 +191,7 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate void EGLImageTargetTexture2DOES(OpenTK.Graphics.ES20.All target, IntPtr image);
|
||||
internal static EGLImageTargetTexture2DOES glEGLImageTargetTexture2DOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void Enable(OpenTK.Graphics.ES20.All cap);
|
||||
internal delegate void Enable(OpenTK.Graphics.ES20.EnableCap cap);
|
||||
internal static Enable glEnable;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void EnableDriverControlQCOM(UInt32 driverControl);
|
||||
|
@ -212,22 +212,22 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate void Flush();
|
||||
internal static Flush glFlush;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All renderbuffertarget, UInt32 renderbuffer);
|
||||
internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
|
||||
internal static FramebufferRenderbuffer glFramebufferRenderbuffer;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level);
|
||||
internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget textarget, UInt32 texture, Int32 level);
|
||||
internal static FramebufferTexture2D glFramebufferTexture2D;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void FramebufferTexture3DOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 zoffset);
|
||||
internal static FramebufferTexture3DOES glFramebufferTexture3DOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void FrontFace(OpenTK.Graphics.ES20.All mode);
|
||||
internal delegate void FrontFace(OpenTK.Graphics.ES20.FrontFaceDirection mode);
|
||||
internal static FrontFace glFrontFace;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GenBuffers(Int32 n, UInt32* buffers);
|
||||
internal unsafe static GenBuffers glGenBuffers;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void GenerateMipmap(OpenTK.Graphics.ES20.All target);
|
||||
internal delegate void GenerateMipmap(OpenTK.Graphics.ES20.BindTextureTarget target);
|
||||
internal static GenerateMipmap glGenerateMipmap;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GenFencesNV(Int32 n, UInt32* fences);
|
||||
|
@ -245,10 +245,10 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate void GenTextures(Int32 n, UInt32* textures);
|
||||
internal unsafe static GenTextures glGenTextures;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.All* type, String name);
|
||||
internal unsafe delegate void GetActiveAttrib(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveAttribType* type, String name);
|
||||
internal unsafe static GetActiveAttrib glGetActiveAttrib;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.All* type, String name);
|
||||
internal unsafe delegate void GetActiveUniform(UInt32 program, UInt32 index, Int32 bufsize, Int32* length, Int32* size, OpenTK.Graphics.ES20.ActiveUniformType* type, String name);
|
||||
internal unsafe static GetActiveUniform glGetActiveUniform;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetAttachedShaders(UInt32 program, Int32 maxcount, Int32* count, UInt32* shaders);
|
||||
|
@ -257,10 +257,10 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate int GetAttribLocation(UInt32 program, String name);
|
||||
internal static GetAttribLocation glGetAttribLocation;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES20.All pname, bool* @params);
|
||||
internal unsafe delegate void GetBooleanv(OpenTK.Graphics.ES20.GetBooleanPName pname, bool* @params);
|
||||
internal unsafe static GetBooleanv glGetBooleanv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetBufferParameteriv(OpenTK.Graphics.ES20.BufferTarget target, OpenTK.Graphics.ES20.GetBufferPName pname, Int32* @params);
|
||||
internal unsafe static GetBufferParameteriv glGetBufferParameteriv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, IntPtr @params);
|
||||
|
@ -278,13 +278,13 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate void GetFenceivNV(UInt32 fence, Int32* @params);
|
||||
internal unsafe static GetFenceivNV glGetFenceivNV;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES20.All pname, Single* @params);
|
||||
internal unsafe delegate void GetFloatv(OpenTK.Graphics.ES20.GetFloatPName pname, Single* @params);
|
||||
internal unsafe static GetFloatv glGetFloatv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.FramebufferAttachmentParameter pname, Int32* @params);
|
||||
internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.GetIntegerPName pname, Int32* @params);
|
||||
internal unsafe static GetIntegerv glGetIntegerv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.ES20.All pname, Int32 dataSize, UInt32* data, Int32* bytesWritten);
|
||||
|
@ -311,19 +311,19 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate void GetProgramInfoLog(UInt32 program, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder infolog);
|
||||
internal unsafe static GetProgramInfoLog glGetProgramInfoLog;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetProgramiv(UInt32 program, OpenTK.Graphics.ES20.ProgramPName pname, Int32* @params);
|
||||
internal unsafe static GetProgramiv glGetProgramiv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetRenderbufferParameteriv(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.GetRenderbufferPName pname, Int32* @params);
|
||||
internal unsafe static GetRenderbufferParameteriv glGetRenderbufferParameteriv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetShaderInfoLog(UInt32 shader, Int32 bufsize, Int32* length, String infolog);
|
||||
internal unsafe static GetShaderInfoLog glGetShaderInfoLog;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetShaderiv(UInt32 shader, OpenTK.Graphics.ES20.ShaderPName pname, Int32* @params);
|
||||
internal unsafe static GetShaderiv glGetShaderiv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.All shadertype, OpenTK.Graphics.ES20.All precisiontype, Int32* range, Int32* precision);
|
||||
internal unsafe delegate void GetShaderPrecisionFormat(OpenTK.Graphics.ES20.ShaderType shadertype, OpenTK.Graphics.ES20.ShaderPrecision precisiontype, Int32* range, Int32* precision);
|
||||
internal unsafe static GetShaderPrecisionFormat glGetShaderPrecisionFormat;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetShaderSource(UInt32 shader, Int32 bufsize, Int32* length, [OutAttribute] System.Text.StringBuilder source);
|
||||
|
@ -332,10 +332,10 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate IntPtr GetString(OpenTK.Graphics.ES20.All name);
|
||||
internal unsafe static GetString glGetString;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single* @params);
|
||||
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single* @params);
|
||||
internal unsafe static GetTexParameterfv glGetTexParameterfv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32* @params);
|
||||
internal unsafe static GetTexParameteriv glGetTexParameteriv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetUniformfv(UInt32 program, Int32 location, Single* @params);
|
||||
|
@ -347,22 +347,22 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate int GetUniformLocation(UInt32 program, String name);
|
||||
internal static GetUniformLocation glGetUniformLocation;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.All pname, Single* @params);
|
||||
internal unsafe delegate void GetVertexAttribfv(UInt32 index, OpenTK.Graphics.ES20.VertexArray pname, Single* @params);
|
||||
internal unsafe static GetVertexAttribfv glGetVertexAttribfv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void GetVertexAttribiv(UInt32 index, OpenTK.Graphics.ES20.VertexArray pname, Int32* @params);
|
||||
internal unsafe static GetVertexAttribiv glGetVertexAttribiv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.All pname, IntPtr pointer);
|
||||
internal delegate void GetVertexAttribPointerv(UInt32 index, OpenTK.Graphics.ES20.VertexPointer pname, IntPtr pointer);
|
||||
internal static GetVertexAttribPointerv glGetVertexAttribPointerv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void Hint(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All mode);
|
||||
internal delegate void Hint(OpenTK.Graphics.ES20.HintTarget target, OpenTK.Graphics.ES20.HintMode mode);
|
||||
internal static Hint glHint;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate bool IsBuffer(UInt32 buffer);
|
||||
internal static IsBuffer glIsBuffer;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate bool IsEnabled(OpenTK.Graphics.ES20.All cap);
|
||||
internal delegate bool IsEnabled(OpenTK.Graphics.ES20.EnableCap cap);
|
||||
internal static IsEnabled glIsEnabled;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate bool IsFenceNV(UInt32 fence);
|
||||
|
@ -392,7 +392,7 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate IntPtr MapBufferOES(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All access);
|
||||
internal unsafe static MapBufferOES glMapBufferOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void PixelStorei(OpenTK.Graphics.ES20.All pname, Int32 param);
|
||||
internal delegate void PixelStorei(OpenTK.Graphics.ES20.PixelStorePName pname, OpenTK.Graphics.ES20.PixelStoreParameter param);
|
||||
internal static PixelStorei glPixelStorei;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void PolygonOffset(Single factor, Single units);
|
||||
|
@ -401,13 +401,13 @@ namespace OpenTK.Graphics.ES20
|
|||
internal delegate void ProgramBinaryOES(UInt32 program, OpenTK.Graphics.ES20.All binaryFormat, IntPtr binary, Int32 length);
|
||||
internal static ProgramBinaryOES glProgramBinaryOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
|
||||
internal delegate void ReadPixels(Int32 x, Int32 y, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
|
||||
internal static ReadPixels glReadPixels;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ReleaseShaderCompiler();
|
||||
internal static ReleaseShaderCompiler glReleaseShaderCompiler;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void RenderbufferStorage(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All internalformat, Int32 width, Int32 height);
|
||||
internal delegate void RenderbufferStorage(OpenTK.Graphics.ES20.RenderbufferTarget target, OpenTK.Graphics.ES20.RenderbufferInternalFormat internalformat, Int32 width, Int32 height);
|
||||
internal static RenderbufferStorage glRenderbufferStorage;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void SampleCoverage(Single value, bool invert);
|
||||
|
@ -428,46 +428,46 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate void ShaderSource(UInt32 shader, Int32 count, String[] @string, Int32* length);
|
||||
internal unsafe static ShaderSource glShaderSource;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilFunc(OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask);
|
||||
internal delegate void StencilFunc(OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
internal static StencilFunc glStencilFunc;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilFuncSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All func, Int32 @ref, UInt32 mask);
|
||||
internal delegate void StencilFuncSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
|
||||
internal static StencilFuncSeparate glStencilFuncSeparate;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilMask(UInt32 mask);
|
||||
internal static StencilMask glStencilMask;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilMaskSeparate(OpenTK.Graphics.ES20.All face, UInt32 mask);
|
||||
internal delegate void StencilMaskSeparate(OpenTK.Graphics.ES20.CullFaceMode face, UInt32 mask);
|
||||
internal static StencilMaskSeparate glStencilMaskSeparate;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilOp(OpenTK.Graphics.ES20.All fail, OpenTK.Graphics.ES20.All zfail, OpenTK.Graphics.ES20.All zpass);
|
||||
internal delegate void StencilOp(OpenTK.Graphics.ES20.StencilOperation fail, OpenTK.Graphics.ES20.StencilOperation zfail, OpenTK.Graphics.ES20.StencilOperation zpass);
|
||||
internal static StencilOp glStencilOp;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void StencilOpSeparate(OpenTK.Graphics.ES20.All face, OpenTK.Graphics.ES20.All fail, OpenTK.Graphics.ES20.All zfail, OpenTK.Graphics.ES20.All zpass);
|
||||
internal delegate void StencilOpSeparate(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOperation fail, OpenTK.Graphics.ES20.StencilOperation zfail, OpenTK.Graphics.ES20.StencilOperation zpass);
|
||||
internal static StencilOpSeparate glStencilOpSeparate;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate bool TestFenceNV(UInt32 fence);
|
||||
internal static TestFenceNV glTestFenceNV;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate 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);
|
||||
internal delegate void TexImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
|
||||
internal static TexImage2D glTexImage2D;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate 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);
|
||||
internal static TexImage3DOES glTexImage3DOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void TexParameterf(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single param);
|
||||
internal delegate void TexParameterf(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single param);
|
||||
internal static TexParameterf glTexParameterf;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Single* @params);
|
||||
internal unsafe delegate void TexParameterfv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Single* @params);
|
||||
internal unsafe static TexParameterfv glTexParameterfv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void TexParameteri(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param);
|
||||
internal delegate void TexParameteri(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32 param);
|
||||
internal static TexParameteri glTexParameteri;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32* @params);
|
||||
internal unsafe delegate void TexParameteriv(OpenTK.Graphics.ES20.BindTextureTarget target, OpenTK.Graphics.ES20.TexturePName pname, Int32* @params);
|
||||
internal unsafe static TexParameteriv glTexParameteriv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate 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);
|
||||
internal delegate void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
|
||||
internal static TexSubImage2D glTexSubImage2D;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate 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);
|
||||
|
@ -563,7 +563,7 @@ namespace OpenTK.Graphics.ES20
|
|||
internal unsafe delegate void VertexAttrib4fv(UInt32 indx, Single* values);
|
||||
internal unsafe static VertexAttrib4fv glVertexAttrib4fv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.All type, bool normalized, Int32 stride, IntPtr ptr);
|
||||
internal delegate void VertexAttribPointer(UInt32 indx, Int32 size, OpenTK.Graphics.ES20.VertexAttribType type, bool normalized, Int32 stride, IntPtr ptr);
|
||||
internal static VertexAttribPointer glVertexAttribPointer;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -31,6 +31,38 @@ namespace OpenTK.Graphics.ES20
|
|||
{
|
||||
#pragma warning disable 1591
|
||||
|
||||
public enum ActiveAttribType : int
|
||||
{
|
||||
Float = ((int)0X1406),
|
||||
FloatVec2 = ((int)0X8b50),
|
||||
FloatVec3 = ((int)0X8b51),
|
||||
FloatVec4 = ((int)0X8b52),
|
||||
FloatMat2 = ((int)0X8b5a),
|
||||
FloatMat3 = ((int)0X8b5b),
|
||||
FloatMat4 = ((int)0X8b5c),
|
||||
}
|
||||
|
||||
public enum ActiveUniformType : int
|
||||
{
|
||||
Int = ((int)0X1404),
|
||||
Float = ((int)0X1406),
|
||||
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 All : int
|
||||
{
|
||||
False = ((int)0),
|
||||
|
@ -43,10 +75,13 @@ namespace OpenTK.Graphics.ES20
|
|||
ColorBufferBit = ((int)0x00004000),
|
||||
Lines = ((int)0x0001),
|
||||
LineLoop = ((int)0x0002),
|
||||
Two = ((int)0X0002),
|
||||
LineStrip = ((int)0x0003),
|
||||
Triangles = ((int)0x0004),
|
||||
Four = ((int)0X0004),
|
||||
TriangleStrip = ((int)0x0005),
|
||||
TriangleFan = ((int)0x0006),
|
||||
Eight = ((int)0X0008),
|
||||
Never = ((int)0x0200),
|
||||
Less = ((int)0x0201),
|
||||
Equal = ((int)0x0202),
|
||||
|
@ -158,6 +193,7 @@ namespace OpenTK.Graphics.ES20
|
|||
BlendColor = ((int)0x8005),
|
||||
FuncAdd = ((int)0x8006),
|
||||
BlendEquation = ((int)0x8009),
|
||||
BlendEquationRgb = ((int)0X8009),
|
||||
FuncSubtract = ((int)0x800A),
|
||||
FuncReverseSubtract = ((int)0x800B),
|
||||
UnsignedShort4444 = ((int)0x8033),
|
||||
|
@ -481,6 +517,12 @@ namespace OpenTK.Graphics.ES20
|
|||
TriangleFan = ((int)0x0006),
|
||||
}
|
||||
|
||||
public enum BindTextureTarget : int
|
||||
{
|
||||
Texture2D = ((int)0X0de1),
|
||||
TextureCubeMap = ((int)0X8513),
|
||||
}
|
||||
|
||||
public enum BlendEquationSeparate : int
|
||||
{
|
||||
FuncAdd = ((int)0x8006),
|
||||
|
@ -488,6 +530,25 @@ namespace OpenTK.Graphics.ES20
|
|||
BlendEquationAlpha = ((int)0x883D),
|
||||
}
|
||||
|
||||
public enum BlendFactor : 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 BlendingFactorDest : int
|
||||
{
|
||||
Zero = ((int)0),
|
||||
|
@ -507,6 +568,13 @@ namespace OpenTK.Graphics.ES20
|
|||
SrcAlphaSaturate = ((int)0x0308),
|
||||
}
|
||||
|
||||
public enum BlendMode : int
|
||||
{
|
||||
FuncAdd = ((int)0X8006),
|
||||
FuncSubtract = ((int)0X800a),
|
||||
FuncReverseSubtract = ((int)0X800b),
|
||||
}
|
||||
|
||||
public enum BlendSubtract : int
|
||||
{
|
||||
FuncSubtract = ((int)0x800A),
|
||||
|
@ -533,6 +601,19 @@ namespace OpenTK.Graphics.ES20
|
|||
DynamicDraw = ((int)0x88E8),
|
||||
}
|
||||
|
||||
public enum BufferTarget : int
|
||||
{
|
||||
ArrayBuffer = ((int)0X8892),
|
||||
ElementArrayBuffer = ((int)0X8893),
|
||||
}
|
||||
|
||||
public enum BufferUsage : int
|
||||
{
|
||||
StreamDraw = ((int)0X88e0),
|
||||
StaticDraw = ((int)0X88e4),
|
||||
DynamicDraw = ((int)0X88e8),
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum ClearBufferMask : int
|
||||
{
|
||||
|
@ -560,6 +641,24 @@ namespace OpenTK.Graphics.ES20
|
|||
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 DrawElementsType : int
|
||||
{
|
||||
UnsignedByte = ((int)0X1401),
|
||||
UnsignedShort = ((int)0X1403),
|
||||
}
|
||||
|
||||
public enum EnableCap : int
|
||||
{
|
||||
CullFace = ((int)0x0B44),
|
||||
|
@ -581,6 +680,7 @@ namespace OpenTK.Graphics.ES20
|
|||
InvalidValue = ((int)0x0501),
|
||||
InvalidOperation = ((int)0x0502),
|
||||
OutOfMemory = ((int)0x0505),
|
||||
InvalidFramebufferOperation = ((int)0X0506),
|
||||
}
|
||||
|
||||
public enum ExttextureFilterAnisotropic : int
|
||||
|
@ -602,6 +702,23 @@ namespace OpenTK.Graphics.ES20
|
|||
ExtTextureType2101010Rev = ((int)1),
|
||||
}
|
||||
|
||||
public enum FramebufferAttachmentParameter : int
|
||||
{
|
||||
FramebufferAttachmentObjectType = ((int)0X8cd0),
|
||||
FramebufferAttachmentObjectName = ((int)0X8cd1),
|
||||
FramebufferAttachmentTextureLevel = ((int)0X8cd2),
|
||||
FramebufferAttachmentTextureCubeMapFace = ((int)0X8cd3),
|
||||
}
|
||||
|
||||
public enum FramebufferError : int
|
||||
{
|
||||
FramebufferComplete = ((int)0X8cd5),
|
||||
FramebufferIncompleteAttachment = ((int)0X8cd6),
|
||||
FramebufferIncompleteMissingAttachment = ((int)0X8cd7),
|
||||
FramebufferIncompleteDimensions = ((int)0X8cd9),
|
||||
FramebufferUnsupported = ((int)0X8cdd),
|
||||
}
|
||||
|
||||
public enum FramebufferObject : int
|
||||
{
|
||||
None = ((int)0),
|
||||
|
@ -640,12 +757,120 @@ namespace OpenTK.Graphics.ES20
|
|||
Rgb565 = ((int)0x8D62),
|
||||
}
|
||||
|
||||
public enum FramebufferSlot : int
|
||||
{
|
||||
ColorAttachment0 = ((int)0X8ce0),
|
||||
DepthAttachment = ((int)0X8d00),
|
||||
StencilAttachment = ((int)0X8d20),
|
||||
}
|
||||
|
||||
public enum FramebufferTarget : int
|
||||
{
|
||||
Framebuffer = ((int)0X8d40),
|
||||
}
|
||||
|
||||
public enum FrontFaceDirection : int
|
||||
{
|
||||
Cw = ((int)0x0900),
|
||||
Ccw = ((int)0x0901),
|
||||
}
|
||||
|
||||
public enum GetBooleanPName : int
|
||||
{
|
||||
DepthWritemask = ((int)0X0b72),
|
||||
ColorWritemask = ((int)0X0c23),
|
||||
SampleCoverageInvert = ((int)0X80ab),
|
||||
ShaderCompiler = ((int)0X8dfa),
|
||||
}
|
||||
|
||||
public enum GetBufferPName : int
|
||||
{
|
||||
BufferSize = ((int)0X8764),
|
||||
BufferUsage = ((int)0X8765),
|
||||
}
|
||||
|
||||
public enum GetFloatPName : int
|
||||
{
|
||||
LineWidth = ((int)0X0b21),
|
||||
DepthRange = ((int)0X0b70),
|
||||
ColorClearValue = ((int)0X0c22),
|
||||
PolygonOffsetUnits = ((int)0X2a00),
|
||||
BlendColor = ((int)0X8005),
|
||||
PolygonOffsetFactor = ((int)0X8038),
|
||||
SampleCoverageValue = ((int)0X80aa),
|
||||
AliasedPointSizeRange = ((int)0X846d),
|
||||
AliasedLineWidthRange = ((int)0X846e),
|
||||
}
|
||||
|
||||
public enum GetIntegerPName : int
|
||||
{
|
||||
CullFaceMode = ((int)0X0b45),
|
||||
FrontFace = ((int)0X0b46),
|
||||
DepthClearValue = ((int)0X0b73),
|
||||
DepthFunc = ((int)0X0b74),
|
||||
StencilClearValue = ((int)0X0b91),
|
||||
StencilFunc = ((int)0X0b92),
|
||||
StencilValueMask = ((int)0X0b93),
|
||||
StencilFail = ((int)0X0b94),
|
||||
StencilPassDepthFail = ((int)0X0b95),
|
||||
StencilPassDepthPass = ((int)0X0b96),
|
||||
StencilRef = ((int)0X0b97),
|
||||
StencilWritemask = ((int)0X0b98),
|
||||
Viewport = ((int)0X0ba2),
|
||||
ScissorBox = ((int)0X0c10),
|
||||
UnpackAlignment = ((int)0X0cf5),
|
||||
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),
|
||||
BlendEquation = ((int)0X8009),
|
||||
BlendEquationRgb = ((int)0X8009),
|
||||
TextureBinding2D = ((int)0X8069),
|
||||
SampleBuffers = ((int)0X80a8),
|
||||
Samples = ((int)0X80a9),
|
||||
BlendDstRgb = ((int)0X80c8),
|
||||
BlendSrcRgb = ((int)0X80c9),
|
||||
BlendDstAlpha = ((int)0X80ca),
|
||||
BlendSrcAlpha = ((int)0X80cb),
|
||||
GenerateMipmapHint = ((int)0X8192),
|
||||
ActiveTexture = ((int)0X84e0),
|
||||
MaxRenderbufferSize = ((int)0X84e8),
|
||||
TextureBindingCubeMap = ((int)0X8514),
|
||||
MaxCubeMapTextureSize = ((int)0X851c),
|
||||
NumCompressedTextureFormats = ((int)0X86a2),
|
||||
CompressedTextureFormats = ((int)0X86a3),
|
||||
StencilBackFunc = ((int)0X8800),
|
||||
StencilBackFail = ((int)0X8801),
|
||||
StencilBackPassDepthFail = ((int)0X8802),
|
||||
StencilBackPassDepthPass = ((int)0X8803),
|
||||
BlendEquationAlpha = ((int)0X883d),
|
||||
MaxVertexAttribs = ((int)0X8869),
|
||||
MaxTextureImageUnits = ((int)0X8872),
|
||||
ArrayBufferBinding = ((int)0X8894),
|
||||
ElementArrayBufferBinding = ((int)0X8895),
|
||||
MaxVertexTextureImageUnits = ((int)0X8b4c),
|
||||
MaxCombinedTextureImageUnits = ((int)0X8b4d),
|
||||
CurrentProgram = ((int)0X8b8d),
|
||||
ImplementationColorReadType = ((int)0X8b9a),
|
||||
ImplementationColorReadFormat = ((int)0X8b9b),
|
||||
StencilBackRef = ((int)0X8ca3),
|
||||
StencilBackValueMask = ((int)0X8ca4),
|
||||
StencilBackWritemask = ((int)0X8ca5),
|
||||
FramebufferBinding = ((int)0X8ca6),
|
||||
RenderbufferBinding = ((int)0X8ca7),
|
||||
ShaderBinaryFormats = ((int)0X8df8),
|
||||
NumShaderBinaryFormats = ((int)0X8df9),
|
||||
MaxVertexUniformVectors = ((int)0X8dfb),
|
||||
MaxVaryingVectors = ((int)0X8dfc),
|
||||
MaxFragmentUniformVectors = ((int)0X8dfd),
|
||||
}
|
||||
|
||||
public enum GetPName : int
|
||||
{
|
||||
LineWidth = ((int)0x0B21),
|
||||
|
@ -696,6 +921,19 @@ namespace OpenTK.Graphics.ES20
|
|||
StencilBackWritemask = ((int)0x8CA5),
|
||||
}
|
||||
|
||||
public enum GetRenderbufferPName : int
|
||||
{
|
||||
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 GetTextureParameter : int
|
||||
{
|
||||
NumCompressedTextureFormats = ((int)0x86A2),
|
||||
|
@ -911,13 +1149,61 @@ namespace OpenTK.Graphics.ES20
|
|||
LuminanceAlpha = ((int)0x190A),
|
||||
}
|
||||
|
||||
public enum PixelInternalFormat : int
|
||||
{
|
||||
Alpha = ((int)0X1906),
|
||||
Rgb = ((int)0X1907),
|
||||
Rgba = ((int)0X1908),
|
||||
Luminance = ((int)0X1909),
|
||||
LuminanceAlpha = ((int)0X190a),
|
||||
}
|
||||
|
||||
public enum PixelStoreParameter : int
|
||||
{
|
||||
One = ((int)0X0001),
|
||||
Two = ((int)0X0002),
|
||||
Four = ((int)0X0004),
|
||||
Eight = ((int)0X0008),
|
||||
}
|
||||
|
||||
public enum PixelStorePName : int
|
||||
{
|
||||
UnpackAlignment = ((int)0X0cf5),
|
||||
PackAlignment = ((int)0X0d05),
|
||||
}
|
||||
|
||||
public enum PixelType : int
|
||||
{
|
||||
UnsignedByte = ((int)0X1401),
|
||||
UnsignedShort4444 = ((int)0x8033),
|
||||
UnsignedShort5551 = ((int)0x8034),
|
||||
UnsignedShort565 = ((int)0x8363),
|
||||
}
|
||||
|
||||
public enum PrimitiveMode : int
|
||||
{
|
||||
Points = ((int)0X0000),
|
||||
Lines = ((int)0X0001),
|
||||
LineLoop = ((int)0X0002),
|
||||
LineStrip = ((int)0X0003),
|
||||
Triangles = ((int)0X0004),
|
||||
TriangleStrip = ((int)0X0005),
|
||||
TriangleFan = ((int)0X0006),
|
||||
}
|
||||
|
||||
public enum ProgramPName : int
|
||||
{
|
||||
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 QcomdriverControl : int
|
||||
{
|
||||
QcomDriverControl = ((int)1),
|
||||
|
@ -935,6 +1221,20 @@ namespace OpenTK.Graphics.ES20
|
|||
ImplementationColorReadFormat = ((int)0x8B9B),
|
||||
}
|
||||
|
||||
public enum RenderbufferInternalFormat : int
|
||||
{
|
||||
Rgba4 = ((int)0X8056),
|
||||
Rgb5A1 = ((int)0X8057),
|
||||
DepthComponent16 = ((int)0X81a5),
|
||||
StencilIndex8 = ((int)0X8d48),
|
||||
Rgb565 = ((int)0X8d62),
|
||||
}
|
||||
|
||||
public enum RenderbufferTarget : int
|
||||
{
|
||||
Renderbuffer = ((int)0X8d41),
|
||||
}
|
||||
|
||||
public enum SeparateBlendFunctions : int
|
||||
{
|
||||
ConstantColor = ((int)0x8001),
|
||||
|
@ -954,6 +1254,25 @@ namespace OpenTK.Graphics.ES20
|
|||
NumShaderBinaryFormats = ((int)0x8DF9),
|
||||
}
|
||||
|
||||
public enum ShaderPName : 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),
|
||||
|
@ -996,6 +1315,12 @@ namespace OpenTK.Graphics.ES20
|
|||
ShaderCompiler = ((int)0x8DFA),
|
||||
}
|
||||
|
||||
public enum ShaderType : int
|
||||
{
|
||||
FragmentShader = ((int)0X8b30),
|
||||
VertexShader = ((int)0X8b31),
|
||||
}
|
||||
|
||||
public enum StencilFunction : int
|
||||
{
|
||||
Never = ((int)0x0200),
|
||||
|
@ -1019,12 +1344,25 @@ namespace OpenTK.Graphics.ES20
|
|||
DecrWrap = ((int)0x8508),
|
||||
}
|
||||
|
||||
public enum StencilOperation : 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 TextureMagFilter : int
|
||||
|
@ -1035,6 +1373,8 @@ namespace OpenTK.Graphics.ES20
|
|||
|
||||
public enum TextureMinFilter : int
|
||||
{
|
||||
Nearest = ((int)0X2600),
|
||||
Linear = ((int)0X2601),
|
||||
NearestMipmapNearest = ((int)0x2700),
|
||||
LinearMipmapNearest = ((int)0x2701),
|
||||
NearestMipmapLinear = ((int)0x2702),
|
||||
|
@ -1049,8 +1389,17 @@ namespace OpenTK.Graphics.ES20
|
|||
TextureWrapT = ((int)0x2803),
|
||||
}
|
||||
|
||||
public enum TexturePName : int
|
||||
{
|
||||
TextureMagFilter = ((int)0X2800),
|
||||
TextureMinFilter = ((int)0X2801),
|
||||
TextureWrapS = ((int)0X2802),
|
||||
TextureWrapT = ((int)0X2803),
|
||||
}
|
||||
|
||||
public enum TextureTarget : int
|
||||
{
|
||||
Texture2D = ((int)0X0de1),
|
||||
Texture = ((int)0x1702),
|
||||
TextureCubeMap = ((int)0x8513),
|
||||
TextureBindingCubeMap = ((int)0x8514),
|
||||
|
@ -1126,6 +1475,17 @@ namespace OpenTK.Graphics.ES20
|
|||
SamplerCube = ((int)0x8B60),
|
||||
}
|
||||
|
||||
public enum VertexArray : int
|
||||
{
|
||||
VertexAttribArrayEnabled = ((int)0X8622),
|
||||
VertexAttribArraySize = ((int)0X8623),
|
||||
VertexAttribArrayStride = ((int)0X8624),
|
||||
VertexAttribArrayType = ((int)0X8625),
|
||||
CurrentVertexAttrib = ((int)0X8626),
|
||||
VertexAttribArrayNormalized = ((int)0X886a),
|
||||
VertexAttribArrayBufferBinding = ((int)0X889f),
|
||||
}
|
||||
|
||||
public enum VertexArrays : int
|
||||
{
|
||||
VertexAttribArrayEnabled = ((int)0x8622),
|
||||
|
@ -1137,4 +1497,19 @@ namespace OpenTK.Graphics.ES20
|
|||
VertexAttribArrayBufferBinding = ((int)0x889F),
|
||||
}
|
||||
|
||||
public enum VertexAttribType : int
|
||||
{
|
||||
Byte = ((int)0X1400),
|
||||
UnsignedByte = ((int)0X1401),
|
||||
Short = ((int)0X1402),
|
||||
UnsignedShort = ((int)0X1403),
|
||||
Float = ((int)0X1406),
|
||||
Fixed = ((int)0X140c),
|
||||
}
|
||||
|
||||
public enum VertexPointer : int
|
||||
{
|
||||
VertexAttribArrayPointer = ((int)0X8645),
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue