mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 05:55:29 +00:00
Corrected tokens for TexBuffer. Fixes issue [#749]: "ARB_texture_ buffer_object" (http://www.opentk.com/node/749).
This commit is contained in:
parent
cf4a243c99
commit
1db5d3953a
|
@ -7107,6 +7107,9 @@ ProgramParameter enum:
|
|||
use ARB_uniform_buffer_object ACTIVE_UNIFORM_BLOCKS
|
||||
|
||||
# Used in TexBuffer
|
||||
TextureBufferTarget enum:
|
||||
use VERSION_3_1 TEXTURE_BUFFER
|
||||
|
||||
SizedInternalFormat enum:
|
||||
use PixelInternalFormat R8
|
||||
use PixelInternalFormat R16
|
||||
|
|
|
@ -261,7 +261,9 @@
|
|||
</function>
|
||||
|
||||
<!-- Version 3.1 -->
|
||||
|
||||
<function name="TexBuffer" extension="Core">
|
||||
<param name="target"><type>TextureBufferTarget</type></param>
|
||||
<param name="internalformat"><type>SizedInternalFormat</type></param>
|
||||
</function>
|
||||
|
||||
|
|
|
@ -76564,13 +76564,13 @@ namespace OpenTK.Graphics
|
|||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")]
|
||||
public static
|
||||
void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer)
|
||||
void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glTexBuffer((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer);
|
||||
Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -76578,13 +76578,13 @@ namespace OpenTK.Graphics
|
|||
|
||||
[AutoGenerated(Category = "Version31", Version = "3.1", EntryPoint = "glTexBuffer")]
|
||||
public static
|
||||
void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, Int32 buffer)
|
||||
void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, Int32 buffer)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glTexBuffer((OpenTK.Graphics.TextureTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer);
|
||||
Delegates.glTexBuffer((OpenTK.Graphics.TextureBufferTarget)target, (OpenTK.Graphics.SizedInternalFormat)internalformat, (UInt32)buffer);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -1525,7 +1525,7 @@ namespace OpenTK.Graphics
|
|||
internal extern static void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexBuffer", ExactSpelling = true)]
|
||||
internal extern static void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer);
|
||||
internal extern static void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexCoord1d", ExactSpelling = true)]
|
||||
internal extern static void TexCoord1d(Double s);
|
||||
|
|
|
@ -4064,7 +4064,7 @@ namespace OpenTK.Graphics
|
|||
internal delegate bool TestObjectAPPLE(OpenTK.Graphics.AppleFence @object, UInt32 name);
|
||||
internal static TestObjectAPPLE glTestObjectAPPLE;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void TexBuffer(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer);
|
||||
internal delegate void TexBuffer(OpenTK.Graphics.TextureBufferTarget target, OpenTK.Graphics.SizedInternalFormat internalformat, UInt32 buffer);
|
||||
internal static TexBuffer glTexBuffer;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void TexBufferARB(OpenTK.Graphics.TextureTarget target, OpenTK.Graphics.ArbTextureBufferObject internalformat, UInt32 buffer);
|
||||
|
|
|
@ -9665,6 +9665,11 @@ namespace OpenTK.Graphics
|
|||
HalfFloat = ((int)0X140b),
|
||||
}
|
||||
|
||||
public enum TextureBufferTarget
|
||||
{
|
||||
TextureBuffer = ((int)0X8c2a),
|
||||
}
|
||||
|
||||
public enum TextureCompareMode
|
||||
{
|
||||
CompareRefToTexture = ((int)0X884e),
|
||||
|
|
Loading…
Reference in a new issue