Permalink
Browse files

Aligned FBO API with desktop OpenGL

  • Loading branch information...
1 parent 0865b0f commit 01d40c551a33d5417a5469bb509fa8af525f0832 @thefiddler thefiddler committed Nov 17, 2013
View
48 Source/OpenTK/Graphics/ES30/ES30.cs
@@ -16371,7 +16371,7 @@ void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
+ Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
@@ -16410,7 +16410,7 @@ void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
+ Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
@@ -16441,13 +16441,13 @@ void FramebufferRenderbuffer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES
/// </param>
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
public static
- void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, Int32 renderbuffer)
+ void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, Int32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
+ Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
@@ -16479,13 +16479,13 @@ void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, Open
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferRenderbuffer")]
public static
- void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer)
+ void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
+ Delegates.glFramebufferRenderbuffer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.RenderbufferTarget)renderbuffertarget, (UInt32)renderbuffer);
#if DEBUG
}
#endif
@@ -16500,7 +16500,7 @@ void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
+ Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
@@ -16517,7 +16517,7 @@ void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
+ Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
@@ -16526,13 +16526,13 @@ void FramebufferTexture2D(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.
/// <summary>[requires: v2.0 and ES_VERSION_2_0]</summary>
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
public static
- void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, Int32 texture, Int32 level)
+ void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, Int32 texture, Int32 level)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
+ Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
@@ -16542,13 +16542,13 @@ void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glFramebufferTexture2D")]
public static
- void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level)
+ void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
+ Delegates.glFramebufferTexture2D((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (OpenTK.Graphics.ES30.TextureTarget2d)textarget, (UInt32)texture, (Int32)level);
#if DEBUG
}
#endif
@@ -16590,7 +16590,7 @@ void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
+ Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
@@ -16634,7 +16634,7 @@ void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
+ Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
@@ -16670,13 +16670,13 @@ void FramebufferTextureLayer(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")]
public static
- void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, Int32 texture, Int32 level, Int32 layer)
+ void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, Int32 texture, Int32 level, Int32 layer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
+ Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
@@ -16713,13 +16713,13 @@ void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, Open
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glFramebufferTextureLayer")]
public static
- void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, UInt32 texture, Int32 level, Int32 layer)
+ void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferSlot)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
+ Delegates.glFramebufferTextureLayer((OpenTK.Graphics.ES30.FramebufferTarget)target, (OpenTK.Graphics.ES30.FramebufferAttachment)attachment, (UInt32)texture, (Int32)level, (Int32)layer);
#if DEBUG
}
#endif
@@ -45141,7 +45141,7 @@ void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
+ Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
#if DEBUG
}
#endif
@@ -45182,13 +45182,13 @@ void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glTexStorage3D")]
public static
- void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth)
+ void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
+ Delegates.glTexStorage3D((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
#if DEBUG
}
#endif
@@ -66230,7 +66230,7 @@ void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
+ Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
#if DEBUG
}
#endif
@@ -66271,13 +66271,13 @@ void TexStorage3D(OpenTK.Graphics.ES30.All target, Int32 levels, OpenTK.Graphics
/// </param>
[AutoGenerated(Category = "EXT_texture_storage", Version = "", EntryPoint = "glTexStorage3DEXT")]
public static
- void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth)
+ void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget2d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
+ Delegates.glTexStorage3DEXT((OpenTK.Graphics.ES30.TextureTarget3d)target, (Int32)levels, (OpenTK.Graphics.ES30.SizedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)depth);
#if DEBUG
}
#endif
View
10 Source/OpenTK/Graphics/ES30/ES30Core.cs
@@ -467,10 +467,10 @@ internal static partial class Core
internal extern static void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferRenderbuffer", ExactSpelling = true)]
- internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
+ internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)]
- internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level);
+ internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleEXT", ExactSpelling = true)]
internal extern static void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples);
@@ -482,7 +482,7 @@ internal static partial class Core
internal extern static void FramebufferTexture3DOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTextureLayer", ExactSpelling = true)]
- internal extern static void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, UInt32 texture, Int32 level, Int32 layer);
+ internal extern static void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFrontFace", ExactSpelling = true)]
internal extern static void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode);
@@ -1148,10 +1148,10 @@ internal static partial class Core
internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3D", ExactSpelling = true)]
- internal extern static void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
+ internal extern static void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DEXT", ExactSpelling = true)]
- internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
+ internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
internal extern static void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
View
10 Source/OpenTK/Graphics/ES30/ES30Delegates.cs
@@ -465,10 +465,10 @@ internal static partial class Delegates
internal delegate void FlushMappedBufferRangeEXT(OpenTK.Graphics.ES30.BufferTarget target, IntPtr offset, IntPtr length);
internal static FlushMappedBufferRangeEXT glFlushMappedBufferRangeEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
+ internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
internal static FramebufferRenderbuffer glFramebufferRenderbuffer;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level);
+ internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, OpenTK.Graphics.ES30.TextureTarget2d textarget, UInt32 texture, Int32 level);
internal static FramebufferTexture2D glFramebufferTexture2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 samples);
@@ -480,7 +480,7 @@ internal static partial class Delegates
internal delegate void FramebufferTexture3DOES(OpenTK.Graphics.ES30.All target, OpenTK.Graphics.ES30.All attachment, OpenTK.Graphics.ES30.All textarget, UInt32 texture, Int32 level, Int32 zoffset);
internal static FramebufferTexture3DOES glFramebufferTexture3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferSlot attachment, UInt32 texture, Int32 level, Int32 layer);
+ internal delegate void FramebufferTextureLayer(OpenTK.Graphics.ES30.FramebufferTarget target, OpenTK.Graphics.ES30.FramebufferAttachment attachment, UInt32 texture, Int32 level, Int32 layer);
internal static FramebufferTextureLayer glFramebufferTextureLayer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FrontFace(OpenTK.Graphics.ES30.FrontFaceDirection mode);
@@ -1146,10 +1146,10 @@ internal static partial class Delegates
internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height);
internal static TexStorage2DEXT glTexStorage2DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
+ internal delegate void TexStorage3D(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
internal static TexStorage3D glTexStorage3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
+ internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES30.TextureTarget3d target, Int32 levels, OpenTK.Graphics.ES30.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
internal static TexStorage3DEXT glTexStorage3DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage2D(OpenTK.Graphics.ES30.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES30.PixelFormat format, OpenTK.Graphics.ES30.PixelType type, IntPtr pixels);
View
147 Source/OpenTK/Graphics/ES30/ES30Enums.cs
@@ -14601,7 +14601,7 @@ public enum FragmentLightModelParameterSgix : int
}
/// <summary>
- /// Used in GL.GetFramebufferAttachmentParameter, GL.InvalidateFramebuffer and 1 other function
+ /// Used in GL.FramebufferRenderbuffer, GL.FramebufferTexture2D and 4 other functions
/// </summary>
public enum FramebufferAttachment : int
{
@@ -14782,7 +14782,7 @@ public enum FramebufferParameterName : int
}
/// <summary>
- /// Used in GL.FramebufferRenderbuffer, GL.FramebufferTexture2D and 1 other function
+ /// Not used directly.
/// </summary>
public enum FramebufferSlot : int
{
@@ -22067,6 +22067,53 @@ public enum PrimitiveType : int
}
/// <summary>
+ /// Not used directly.
+ /// </summary>
+ public enum ProgramParameter : int
+ {
+ /// <summary>
+ /// Original was GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257
+ /// </summary>
+ ProgramBinaryRetrievableHint = ((int)0x8257) ,
+ /// <summary>
+ /// Original was GL_DELETE_STATUS = 0x8B80
+ /// </summary>
+ DeleteStatus = ((int)0x8B80) ,
+ /// <summary>
+ /// Original was GL_LINK_STATUS = 0x8B82
+ /// </summary>
+ LinkStatus = ((int)0x8B82) ,
+ /// <summary>
+ /// Original was GL_VALIDATE_STATUS = 0x8B83
+ /// </summary>
+ ValidateStatus = ((int)0x8B83) ,
+ /// <summary>
+ /// Original was GL_INFO_LOG_LENGTH = 0x8B84
+ /// </summary>
+ InfoLogLength = ((int)0x8B84) ,
+ /// <summary>
+ /// Original was GL_ATTACHED_SHADERS = 0x8B85
+ /// </summary>
+ AttachedShaders = ((int)0x8B85) ,
+ /// <summary>
+ /// Original was GL_ACTIVE_UNIFORMS = 0x8B86
+ /// </summary>
+ ActiveUniforms = ((int)0x8B86) ,
+ /// <summary>
+ /// Original was GL_ACTIVE_UNIFORM_MAX_LENGTH = 0x8B87
+ /// </summary>
+ ActiveUniformMaxLength = ((int)0x8B87) ,
+ /// <summary>
+ /// Original was GL_ACTIVE_ATTRIBUTES = 0x8B89
+ /// </summary>
+ ActiveAttributes = ((int)0x8B89) ,
+ /// <summary>
+ /// Original was GL_ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8B8A
+ /// </summary>
+ ActiveAttributeMaxLength = ((int)0x8B8A) ,
+ }
+
+ /// <summary>
/// Used in GL.ProgramParameter, GL.Ext.ProgramParameter
/// </summary>
public enum ProgramParameterName : int
@@ -23865,10 +23912,26 @@ public enum TextureComponentCount : int
/// </summary>
LuminanceAlpha = ((int)0x190A) ,
/// <summary>
+ /// Original was GL_ALPHA8_EXT = 0x803C
+ /// </summary>
+ Alpha8Ext = ((int)0x803C) ,
+ /// <summary>
+ /// Original was GL_LUMINANCE8_EXT = 0x8040
+ /// </summary>
+ Luminance8Ext = ((int)0x8040) ,
+ /// <summary>
+ /// Original was GL_LUMINANCE8_ALPHA8_EXT = 0x8045
+ /// </summary>
+ Luminance8Alpha8Ext = ((int)0x8045) ,
+ /// <summary>
/// Original was GL_RGB8 = 0x8051
/// </summary>
Rgb8 = ((int)0x8051) ,
/// <summary>
+ /// Original was GL_RGB10_EXT = 0x8052
+ /// </summary>
+ Rgb10Ext = ((int)0x8052) ,
+ /// <summary>
/// Original was GL_RGBA4 = 0X8056
/// </summary>
Rgba4 = ((int)0X8056) ,
@@ -23885,6 +23948,10 @@ public enum TextureComponentCount : int
/// </summary>
Rgb10A2 = ((int)0x8059) ,
/// <summary>
+ /// Original was GL_RGB10_A2_EXT = 0x8059
+ /// </summary>
+ Rgb10A2Ext = ((int)0x8059) ,
+ /// <summary>
/// Original was GL_DEPTH_COMPONENT16 = 0x81A5
/// </summary>
DepthComponent16 = ((int)0x81A5) ,
@@ -23897,26 +23964,50 @@ public enum TextureComponentCount : int
/// </summary>
R8 = ((int)0x8229) ,
/// <summary>
+ /// Original was GL_R8_EXT = 0x8229
+ /// </summary>
+ R8Ext = ((int)0x8229) ,
+ /// <summary>
/// Original was GL_RG8 = 0x822B
/// </summary>
Rg8 = ((int)0x822B) ,
/// <summary>
+ /// Original was GL_RG8_EXT = 0x822B
+ /// </summary>
+ Rg8Ext = ((int)0x822B) ,
+ /// <summary>
/// Original was GL_R16F = 0x822D
/// </summary>
R16f = ((int)0x822D) ,
/// <summary>
+ /// Original was GL_R16F_EXT = 0x822D
+ /// </summary>
+ R16fExt = ((int)0x822D) ,
+ /// <summary>
/// Original was GL_R32F = 0x822E
/// </summary>
R32f = ((int)0x822E) ,
/// <summary>
+ /// Original was GL_R32F_EXT = 0x822E
+ /// </summary>
+ R32fExt = ((int)0x822E) ,
+ /// <summary>
/// Original was GL_RG16F = 0x822F
/// </summary>
Rg16f = ((int)0x822F) ,
/// <summary>
+ /// Original was GL_RG16F_EXT = 0x822F
+ /// </summary>
+ Rg16fExt = ((int)0x822F) ,
+ /// <summary>
/// Original was GL_RG32F = 0x8230
/// </summary>
Rg32f = ((int)0x8230) ,
/// <summary>
+ /// Original was GL_RG32F_EXT = 0x8230
+ /// </summary>
+ Rg32fExt = ((int)0x8230) ,
+ /// <summary>
/// Original was GL_R8I = 0x8231
/// </summary>
R8i = ((int)0x8231) ,
@@ -23969,22 +24060,66 @@ public enum TextureComponentCount : int
/// </summary>
Rgba32f = ((int)0x8814) ,
/// <summary>
+ /// Original was GL_RGBA32F_EXT = 0x8814
+ /// </summary>
+ Rgba32fExt = ((int)0x8814) ,
+ /// <summary>
/// Original was GL_RGB32F = 0x8815
/// </summary>
Rgb32f = ((int)0x8815) ,
/// <summary>
+ /// Original was GL_RGB32F_EXT = 0x8815
+ /// </summary>
+ Rgb32fExt = ((int)0x8815) ,
+ /// <summary>
+ /// Original was GL_ALPHA32F_EXT = 0x8816
+ /// </summary>
+ Alpha32fExt = ((int)0x8816) ,
+ /// <summary>
+ /// Original was GL_LUMINANCE32F_EXT = 0x8818
+ /// </summary>
+ Luminance32fExt = ((int)0x8818) ,
+ /// <summary>
+ /// Original was GL_LUMINANCE_ALPHA32F_EXT = 0x8819
+ /// </summary>
+ LuminanceAlpha32fExt = ((int)0x8819) ,
+ /// <summary>
/// Original was GL_RGBA16F = 0x881A
/// </summary>
Rgba16f = ((int)0x881A) ,
/// <summary>
+ /// Original was GL_RGBA16F_EXT = 0x881A
+ /// </summary>
+ Rgba16fExt = ((int)0x881A) ,
+ /// <summary>
/// Original was GL_RGB16F = 0x881B
/// </summary>
Rgb16f = ((int)0x881B) ,
/// <summary>
+ /// Original was GL_RGB16F_EXT = 0x881B
+ /// </summary>
+ Rgb16fExt = ((int)0x881B) ,
+ /// <summary>
+ /// Original was GL_ALPHA16F_EXT = 0x881C
+ /// </summary>
+ Alpha16fExt = ((int)0x881C) ,
+ /// <summary>
+ /// Original was GL_LUMINANCE16F_EXT = 0x881E
+ /// </summary>
+ Luminance16fExt = ((int)0x881E) ,
+ /// <summary>
+ /// Original was GL_LUMINANCE_ALPHA16F_EXT = 0x881F
+ /// </summary>
+ LuminanceAlpha16fExt = ((int)0x881F) ,
+ /// <summary>
/// Original was GL_DEPTH24_STENCIL8 = 0x88F0
/// </summary>
Depth24Stencil8 = ((int)0x88F0) ,
/// <summary>
+ /// Original was GL_RGB_RAW_422_APPLE = 0x8A51
+ /// </summary>
+ RgbRaw422Apple = ((int)0x8A51) ,
+ /// <summary>
/// Original was GL_R11F_G11F_B10F = 0x8C3A
/// </summary>
R11fG11fB10f = ((int)0x8C3A) ,
@@ -24080,6 +24215,10 @@ public enum TextureComponentCount : int
/// Original was GL_RGB10_A2UI = 0x906F
/// </summary>
Rgb10A2ui = ((int)0x906F) ,
+ /// <summary>
+ /// Original was GL_BGRA8_EXT = 0x93A1
+ /// </summary>
+ Bgra8Ext = ((int)0x93A1) ,
}
/// <summary>
@@ -24891,7 +25030,7 @@ public enum TextureTarget : int
}
/// <summary>
- /// Used in GL.CompressedTexImage2D, GL.CompressedTexSubImage2D and 9 other functions
+ /// Used in GL.CompressedTexImage2D, GL.CompressedTexSubImage2D and 7 other functions
/// </summary>
public enum TextureTarget2d : int
{
@@ -24926,7 +25065,7 @@ public enum TextureTarget2d : int
}
/// <summary>
- /// Used in GL.CompressedTexImage3D, GL.CompressedTexSubImage3D and 8 other functions
+ /// Used in GL.CompressedTexImage3D, GL.CompressedTexSubImage3D and 10 other functions
/// </summary>
public enum TextureTarget3d : int
{

0 comments on commit 01d40c5

Please sign in to comment.