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