mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 17:36:55 +00:00
Updated strong-types for Buffer Objects according to the OpenGL 4.4
spec, section 6.
This commit is contained in:
parent
cfa4f230c5
commit
9613975681
|
@ -282,13 +282,25 @@
|
|||
|
||||
<function name="BindBufferRange" extension="Core">
|
||||
<param name="target">
|
||||
<type>BufferTarget</type>
|
||||
<type>BufferRangeTarget</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<function name="BindBufferBase" extension="Core">
|
||||
<param name="target">
|
||||
<type>BufferTarget</type>
|
||||
<type>BufferRangeTarget</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<function name="BindBuffersRange" extension="Core">
|
||||
<param name="target">
|
||||
<type>BufferRangeTarget</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<function name="BindBuffersBase" extension="Core">
|
||||
<param name="target">
|
||||
<type>BufferRangeTarget</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
|
@ -835,6 +847,32 @@
|
|||
<type>BinaryFormat</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<!-- Version 4.3 -->
|
||||
|
||||
<function name="ClearBufferData" extension="Core">
|
||||
<param name="target">
|
||||
<type>BufferTarget</type>
|
||||
</param>
|
||||
<param name="internalformat">
|
||||
<type>PixelInternalFormat</type>
|
||||
</param>
|
||||
<param name="format">
|
||||
<type>PixelFormat</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<function name="ClearBufferSubData" extension="Core">
|
||||
<param name="target">
|
||||
<type>BufferTarget</type>
|
||||
</param>
|
||||
<param name="internalformat">
|
||||
<type>PixelInternalFormat</type>
|
||||
</param>
|
||||
<param name="format">
|
||||
<type>PixelFormat</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<!-- Arb -->
|
||||
|
||||
|
@ -1212,6 +1250,15 @@
|
|||
<type>SyncParameter</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
<function name="BufferStorage" extension="Core">
|
||||
<param name="target">
|
||||
<type>BufferTarget</type>
|
||||
</param>
|
||||
<param name="flags">
|
||||
<type>BufferStorageFlags</type>
|
||||
</param>
|
||||
</function>
|
||||
|
||||
</replace>
|
||||
|
||||
|
@ -1494,18 +1541,24 @@
|
|||
<token name="WRITE_ONLY" value="0x88B9" />
|
||||
</enum>
|
||||
<enum name="BufferAccessMask">
|
||||
<use enum="ARB_map_buffer_range" token="MAP_READ_BIT" />
|
||||
<use enum="ARB_map_buffer_range" token="MAP_WRITE_BIT" />
|
||||
<use enum="ARB_map_buffer_range" token="MAP_INVALIDATE_RANGE_BIT" />
|
||||
<use enum="ARB_map_buffer_range" token="MAP_INVALIDATE_BUFFER_BIT" />
|
||||
<use enum="ARB_map_buffer_range" token="MAP_FLUSH_EXPLICIT_BIT" />
|
||||
<use enum="ARB_map_buffer_range" token="MAP_UNSYNCHRONIZED_BIT" />
|
||||
<use enum="VERSION_3_0" token="MAP_READ_BIT" />
|
||||
<use enum="VERSION_3_0" token="MAP_WRITE_BIT" />
|
||||
<use enum="VERSION_3_0" token="MAP_INVALIDATE_RANGE_BIT" />
|
||||
<use enum="VERSION_3_0" token="MAP_INVALIDATE_BUFFER_BIT" />
|
||||
<use enum="VERSION_3_0" token="MAP_FLUSH_EXPLICIT_BIT" />
|
||||
<use enum="VERSION_3_0" token="MAP_UNSYNCHRONIZED_BIT" />
|
||||
<use enum="VERSION_4_4" token="MASK_COHERENT_BIT" />
|
||||
<use enum="VERSION_4_4" token="MASK_PERSISTENT_BIT" />
|
||||
</enum>
|
||||
<enum name="BufferParameterName">
|
||||
<token name="BUFFER_ACCESS" value="0x88BB" />
|
||||
<token name="BUFFER_MAPPED" value="0x88BC" />
|
||||
<token name="BUFFER_SIZE" value="0x8764" />
|
||||
<token name="BUFFER_USAGE" value="0x8765" />
|
||||
<use enum="VERSION_1_5" token="BUFFER_SIZE" />
|
||||
<use enum="VERSION_1_5" token="BUFFER_USAGE" />
|
||||
<use enum="VERSION_1_5" token="BUFFER_ACCESS" />
|
||||
<use enum="VERSION_1_5" token="BUFFER_MAPPED" />
|
||||
<use enum="VERSION_3_0" token="BUFFER_ACCESS_FLAGS" />
|
||||
<use enum="VERSION_3_0" token="BUFFER_MAP_OFFSET" />
|
||||
<use enum="VERSION_3_0" token="BUFFER_MAP_LENGTH" />
|
||||
<use enum="VERSION_4_4" token="BUFFER_IMMUTABLE_STORAGE" />
|
||||
</enum>
|
||||
<enum name="BufferParameterNameARB">
|
||||
<token name="BUFFER_ACCESS" value="0x88BB" />
|
||||
|
@ -1519,6 +1572,14 @@
|
|||
<enum name="BufferPointerNameARB">
|
||||
<token name="BUFFER_MAP_POINTER" value="0x88BD" />
|
||||
</enum>
|
||||
<enum name="BufferStorageFlags">
|
||||
<use enum="VERSION_3_0" token="MAP_READ_BIT" />
|
||||
<use enum="VERSION_3_0" token="MAP_WRITE_BIT" />
|
||||
<use enum="VERSION_4_4" token="CLIENT_STORAGE_BIT" />
|
||||
<use enum="VERSION_4_4" token="DYNAMIC_STORAGE_BIT" />
|
||||
<use enum="VERSION_4_4" token="MAP_COHERENT_BIT" />
|
||||
<use enum="VERSION_4_4" token="MAP_PERSISTENT_BIT" />
|
||||
</enum>
|
||||
<enum name="BufferTarget">
|
||||
<use enum="ARB_copy_buffer" token="COPY_READ_BUFFER" />
|
||||
<use enum="ARB_copy_buffer" token="COPY_WRITE_BUFFER" />
|
||||
|
@ -1530,6 +1591,16 @@
|
|||
<token name="TRANSFORM_FEEDBACK_BUFFER" value="0x8C8E" />
|
||||
<use enum="VERSION_3_1" token="TEXTURE_BUFFER" />
|
||||
<use enum="VERSION_4_0" token="DRAW_INDIRECT_BUFFER" />
|
||||
<use enum="VERSION_4_2" token="ATOMIC_COUNTER_BUFFER" />
|
||||
<use enum="VERSION_4_3" token="DISPATCH_INDIRECT_BUFFER" />
|
||||
<use enum="VERSION_4_3" token="SHADER_STORAGE_BUFFER" />
|
||||
<use enum="VERSION_4_4" token="QUERY_BUFFER" />
|
||||
</enum>
|
||||
<enum name="BufferRangeTarget">
|
||||
<use token="ATOMIC_COUNTER_BUFFER" />
|
||||
<use token="SHADER_STORAGE_BUFFER" />
|
||||
<use token="UNIFORM_BUFFER" />
|
||||
<use token="TRANSFORM_FEEDBACK_BUFFER" />
|
||||
</enum>
|
||||
<enum name="BufferTargetARB">
|
||||
<token name="ARRAY_BUFFER" value="0x8892" />
|
||||
|
@ -2040,7 +2111,7 @@
|
|||
<use enum="VERSION_3_1" token="MAX_TEXTURE_BUFFER_SIZE" />
|
||||
<use enum="VERSION_3_1" token="TEXTURE_BINDING_BUFFER" />
|
||||
<use enum="VERSION_3_1" token="TEXTURE_BUFFER_DATA_STORE_BINDING" />
|
||||
<use enum="VERSION_3_1" token="TEXTURE_BUFFER_FORMAT" />
|
||||
<!--<use enum="VERSION_3_1" token="TEXTURE_BUFFER_FORMAT" /> Does not exist in core -->
|
||||
<use enum="VERSION_3_2" token="MAX_FRAGMENT_INPUT_COMPONENTS" />
|
||||
<use enum="VERSION_3_2" token="MAX_GEOMETRY_INPUT_COMPONENTS" />
|
||||
<use enum="VERSION_3_2" token="MAX_GEOMETRY_OUTPUT_COMPONENTS" />
|
||||
|
@ -2076,10 +2147,10 @@
|
|||
<use enum="VERSION_4_0" token="MAX_TESS_EVALUATION_INPUT_COMPONENTS" />
|
||||
<use enum="VERSION_4_0" token="MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS" />
|
||||
<use enum="VERSION_4_0" token="MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS" />
|
||||
<use enum="VERSION_4_0" token="TEXTURE_CUBE_MAP_ARRAY_BINDING" />
|
||||
<!--<use enum="VERSION_4_0" token="TEXTURE_CUBE_MAP_ARRAY_BINDING" /> Does not exist -->
|
||||
<use enum="VERSION_4_0" token="MAX_PROGRAM_TEXTURE_GATHER_OFFSET" />
|
||||
<use enum="VERSION_4_0" token="MIN_PROGRAM_TEXTURE_GATHER_OFFSET" />
|
||||
<use enum="VERSION_4_0" token="MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS" />
|
||||
<!--<use enum="VERSION_4_0" token="MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS" /> Does not exist -->
|
||||
<use enum="VERSION_4_0" token="TRANSFORM_FEEDBACK_BUFFER_PAUSED" />
|
||||
<use enum="VERSION_4_0" token="TRANSFORM_FEEDBACK_BUFFER_ACTIVE" />
|
||||
<use enum="VERSION_4_0" token="TRANSFORM_FEEDBACK_BINDING" />
|
||||
|
|
|
@ -32722,13 +32722,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")]
|
||||
public static
|
||||
void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer)
|
||||
void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer);
|
||||
Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -32756,13 +32756,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferBase")]
|
||||
public static
|
||||
void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer)
|
||||
void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer);
|
||||
Delegates.glBindBufferBase((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -32799,13 +32799,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </param>
|
||||
[AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")]
|
||||
public static
|
||||
void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
|
||||
void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, Int32 index, Int32 buffer, IntPtr offset, IntPtr size)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
||||
Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -32843,13 +32843,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glBindBufferRange")]
|
||||
public static
|
||||
void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
|
||||
void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
||||
Delegates.glBindBufferRange((OpenTK.Graphics.OpenGL.BufferRangeTarget)target, (UInt32)index, (UInt32)buffer, (IntPtr)offset, (IntPtr)size);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -34786,13 +34786,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferData")]
|
||||
public static
|
||||
void ClearBufferData(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data)
|
||||
void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data);
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -34801,7 +34801,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferData")]
|
||||
public static
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T4[] data)
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T4[] data)
|
||||
where T4 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -34811,7 +34811,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -34825,7 +34825,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferData")]
|
||||
public static
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T4[,] data)
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T4[,] data)
|
||||
where T4 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -34835,7 +34835,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -34849,7 +34849,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferData")]
|
||||
public static
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T4[,,] data)
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T4[,,] data)
|
||||
where T4 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -34859,7 +34859,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -34873,7 +34873,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferData")]
|
||||
public static
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] ref T4 data)
|
||||
void ClearBufferData<T4>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] ref T4 data)
|
||||
where T4 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -34883,7 +34883,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
data = (T4)data_ptr.Target;
|
||||
}
|
||||
finally
|
||||
|
@ -35225,13 +35225,13 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferSubData")]
|
||||
public static
|
||||
void ClearBufferSubData(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data)
|
||||
void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data);
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -35240,7 +35240,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferSubData")]
|
||||
public static
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T6[] data)
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T6[] data)
|
||||
where T6 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -35250,7 +35250,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -35264,7 +35264,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferSubData")]
|
||||
public static
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T6[,] data)
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T6[,] data)
|
||||
where T6 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -35274,7 +35274,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -35288,7 +35288,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferSubData")]
|
||||
public static
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T6[,,] data)
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] T6[,,] data)
|
||||
where T6 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -35298,7 +35298,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
@ -35312,7 +35312,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <summary>[requires: v4.3 and ARB_clear_buffer_object]</summary>
|
||||
[AutoGenerated(Category = "ARB_clear_buffer_object", Version = "4.3", EntryPoint = "glClearBufferSubData")]
|
||||
public static
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] ref T6 data)
|
||||
void ClearBufferSubData<T6>(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, [InAttribute, OutAttribute] ref T6 data)
|
||||
where T6 : struct
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -35322,7 +35322,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
|
||||
try
|
||||
{
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.ArbClearBufferObject)target, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
Delegates.glClearBufferSubData((OpenTK.Graphics.OpenGL.BufferTarget)target, (OpenTK.Graphics.OpenGL.PixelInternalFormat)internalformat, (IntPtr)offset, (IntPtr)size, (OpenTK.Graphics.OpenGL.PixelFormat)format, (OpenTK.Graphics.OpenGL.ArbClearBufferObject)type, (IntPtr)data_ptr.AddrOfPinnedObject());
|
||||
data = (T6)data_ptr.Target;
|
||||
}
|
||||
finally
|
||||
|
|
|
@ -167,7 +167,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal extern static void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBase", ExactSpelling = true)]
|
||||
internal extern static void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer);
|
||||
internal extern static void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferBaseEXT", ExactSpelling = true)]
|
||||
internal extern static void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer);
|
||||
|
@ -182,7 +182,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal extern static void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRange", ExactSpelling = true)]
|
||||
internal extern static void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size);
|
||||
internal extern static void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBindBufferRangeEXT", ExactSpelling = true)]
|
||||
internal extern static void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size);
|
||||
|
@ -443,7 +443,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal extern static void ClearAccumxOES(int red, int green, int blue, int alpha);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferData", ExactSpelling = true)]
|
||||
internal extern static void ClearBufferData(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
internal extern static void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferfi", ExactSpelling = true)]
|
||||
internal extern static void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil);
|
||||
|
@ -455,7 +455,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal extern static unsafe void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferSubData", ExactSpelling = true)]
|
||||
internal extern static void ClearBufferSubData(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
internal extern static void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClearBufferuiv", ExactSpelling = true)]
|
||||
internal extern static unsafe void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value);
|
||||
|
|
|
@ -165,7 +165,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal delegate void BindBufferARB(OpenTK.Graphics.OpenGL.BufferTargetArb target, UInt32 buffer);
|
||||
internal static BindBufferARB glBindBufferARB;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindBufferBase(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer);
|
||||
internal delegate void BindBufferBase(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer);
|
||||
internal static BindBufferBase glBindBufferBase;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindBufferBaseEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer);
|
||||
|
@ -180,7 +180,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal delegate void BindBufferOffsetNV(OpenTK.Graphics.OpenGL.NvTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset);
|
||||
internal static BindBufferOffsetNV glBindBufferOffsetNV;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindBufferRange(OpenTK.Graphics.OpenGL.BufferTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size);
|
||||
internal delegate void BindBufferRange(OpenTK.Graphics.OpenGL.BufferRangeTarget target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size);
|
||||
internal static BindBufferRange glBindBufferRange;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void BindBufferRangeEXT(OpenTK.Graphics.OpenGL.ExtTransformFeedback target, UInt32 index, UInt32 buffer, IntPtr offset, IntPtr size);
|
||||
|
@ -441,7 +441,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal delegate void ClearAccumxOES(int red, int green, int blue, int alpha);
|
||||
internal static ClearAccumxOES glClearAccumxOES;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ClearBufferData(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
internal delegate void ClearBufferData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
internal static ClearBufferData glClearBufferData;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ClearBufferfi(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Single depth, Int32 stencil);
|
||||
|
@ -453,7 +453,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
internal unsafe delegate void ClearBufferiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, Int32* value);
|
||||
internal unsafe static ClearBufferiv glClearBufferiv;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal delegate void ClearBufferSubData(OpenTK.Graphics.OpenGL.ArbClearBufferObject target, OpenTK.Graphics.OpenGL.ArbClearBufferObject internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.ArbClearBufferObject format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
internal delegate void ClearBufferSubData(OpenTK.Graphics.OpenGL.BufferTarget target, OpenTK.Graphics.OpenGL.PixelInternalFormat internalformat, IntPtr offset, IntPtr size, OpenTK.Graphics.OpenGL.PixelFormat format, OpenTK.Graphics.OpenGL.ArbClearBufferObject type, IntPtr data);
|
||||
internal static ClearBufferSubData glClearBufferSubData;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void ClearBufferuiv(OpenTK.Graphics.OpenGL.ClearBuffer buffer, Int32 drawbuffer, UInt32* value);
|
||||
|
|
|
@ -28873,6 +28873,18 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// Original was GL_BUFFER_MAPPED = 0x88BC
|
||||
/// </summary>
|
||||
BufferMapped = ((int)0x88BC) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BUFFER_ACCESS_FLAGS = 0x911F
|
||||
/// </summary>
|
||||
BufferAccessFlags = ((int)0x911F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BUFFER_MAP_LENGTH = 0x9120
|
||||
/// </summary>
|
||||
BufferMapLength = ((int)0x9120) ,
|
||||
/// <summary>
|
||||
/// Original was GL_BUFFER_MAP_OFFSET = 0x9121
|
||||
/// </summary>
|
||||
BufferMapOffset = ((int)0x9121) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -28921,7 +28933,45 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Apple.BufferParameter, GL.Apple.FlushMappedBufferRange, GL.BindBuffer, GL.BindBufferBase, GL.BindBufferRange, GL.BufferData, GL.BufferSubData, GL.CopyBufferSubData, GL.FlushMappedBufferRange, GL.GetBufferParameter, GL.GetBufferPointer, GL.GetBufferSubData, GL.MapBuffer, GL.MapBufferRange, GL.UnmapBuffer
|
||||
/// Used in GL.BindBufferBase, GL.BindBufferRange
|
||||
/// </summary>
|
||||
public enum BufferRangeTarget : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_UNIFORM_BUFFER = 0x8A11
|
||||
/// </summary>
|
||||
UniformBuffer = ((int)0x8A11) ,
|
||||
/// <summary>
|
||||
/// Original was GL_TRANSFORM_FEEDBACK_BUFFER = 0x8C8E
|
||||
/// </summary>
|
||||
TransformFeedbackBuffer = ((int)0x8C8E) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SHADER_STORAGE_BUFFER = 0x90D2
|
||||
/// </summary>
|
||||
ShaderStorageBuffer = ((int)0x90D2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_ATOMIC_COUNTER_BUFFER = 0x92C0
|
||||
/// </summary>
|
||||
AtomicCounterBuffer = ((int)0x92C0) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Not used directly.
|
||||
/// </summary>
|
||||
public enum BufferStorageFlags : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_MAP_READ_BIT = 0x0001
|
||||
/// </summary>
|
||||
MapReadBit = ((int)0x0001) ,
|
||||
/// <summary>
|
||||
/// Original was GL_MAP_WRITE_BIT = 0x0002
|
||||
/// </summary>
|
||||
MapWriteBit = ((int)0x0002) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Apple.BufferParameter, GL.Apple.FlushMappedBufferRange, GL.BindBuffer, GL.BufferData, GL.BufferSubData, GL.ClearBufferData, GL.ClearBufferSubData, GL.CopyBufferSubData, GL.FlushMappedBufferRange, GL.GetBufferParameter, GL.GetBufferPointer, GL.GetBufferSubData, GL.MapBuffer, GL.MapBufferRange, GL.UnmapBuffer
|
||||
/// </summary>
|
||||
public enum BufferTarget : int
|
||||
{
|
||||
|
@ -28965,6 +29015,18 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// Original was GL_DRAW_INDIRECT_BUFFER = 0x8F3F
|
||||
/// </summary>
|
||||
DrawIndirectBuffer = ((int)0x8F3F) ,
|
||||
/// <summary>
|
||||
/// Original was GL_SHADER_STORAGE_BUFFER = 0x90D2
|
||||
/// </summary>
|
||||
ShaderStorageBuffer = ((int)0x90D2) ,
|
||||
/// <summary>
|
||||
/// Original was GL_DISPATCH_INDIRECT_BUFFER = 0x90EE
|
||||
/// </summary>
|
||||
DispatchIndirectBuffer = ((int)0x90EE) ,
|
||||
/// <summary>
|
||||
/// Original was GL_ATOMIC_COUNTER_BUFFER = 0x92C0
|
||||
/// </summary>
|
||||
AtomicCounterBuffer = ((int)0x92C0) ,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -46268,7 +46330,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Arb.CompressedTexSubImage1D, GL.Arb.CompressedTexSubImage2D, GL.Arb.CompressedTexSubImage3D, GL.ColorSubTable, GL.ColorTable, GL.CompressedTexSubImage1D, GL.CompressedTexSubImage2D, GL.CompressedTexSubImage3D, GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.DrawPixels, GL.GetColorTable, GL.GetConvolutionFilter, GL.GetHistogram, GL.GetMinmax, GL.GetSeparableFilter, GL.GetTexImage, GL.ReadPixels, GL.SeparableFilter2D, GL.TexImage1D, GL.TexImage2D, GL.TexImage3D, GL.TexSubImage1D, GL.TexSubImage2D, GL.TexSubImage3D, GL.Ext.ColorSubTable, GL.Ext.ColorTable, GL.Ext.CompressedMultiTexSubImage1D, GL.Ext.CompressedMultiTexSubImage2D, GL.Ext.CompressedMultiTexSubImage3D, GL.Ext.CompressedTextureSubImage1D, GL.Ext.CompressedTextureSubImage2D, GL.Ext.CompressedTextureSubImage3D, GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.GetColorTable, GL.Ext.GetConvolutionFilter, GL.Ext.GetHistogram, GL.Ext.GetMinmax, GL.Ext.GetMultiTexImage, GL.Ext.GetSeparableFilter, GL.Ext.GetTextureImage, GL.Ext.MultiTexImage1D, GL.Ext.MultiTexImage2D, GL.Ext.MultiTexImage3D, GL.Ext.MultiTexSubImage1D, GL.Ext.MultiTexSubImage2D, GL.Ext.MultiTexSubImage3D, GL.Ext.SeparableFilter2D, GL.Ext.TexImage3D, GL.Ext.TexSubImage1D, GL.Ext.TexSubImage2D, GL.Ext.TexSubImage3D, GL.Ext.TextureImage1D, GL.Ext.TextureImage2D, GL.Ext.TextureImage3D, GL.Ext.TextureSubImage1D, GL.Ext.TextureSubImage2D, GL.Ext.TextureSubImage3D, GL.Sgi.ColorTable, GL.Sgi.GetColorTable, GL.Sgis.TexImage4D, GL.Sgis.TexSubImage4D
|
||||
/// Used in GL.Arb.CompressedTexSubImage1D, GL.Arb.CompressedTexSubImage2D, GL.Arb.CompressedTexSubImage3D, GL.ClearBufferData, GL.ClearBufferSubData, GL.ColorSubTable, GL.ColorTable, GL.CompressedTexSubImage1D, GL.CompressedTexSubImage2D, GL.CompressedTexSubImage3D, GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.DrawPixels, GL.GetColorTable, GL.GetConvolutionFilter, GL.GetHistogram, GL.GetMinmax, GL.GetSeparableFilter, GL.GetTexImage, GL.ReadPixels, GL.SeparableFilter2D, GL.TexImage1D, GL.TexImage2D, GL.TexImage3D, GL.TexSubImage1D, GL.TexSubImage2D, GL.TexSubImage3D, GL.Ext.ColorSubTable, GL.Ext.ColorTable, GL.Ext.CompressedMultiTexSubImage1D, GL.Ext.CompressedMultiTexSubImage2D, GL.Ext.CompressedMultiTexSubImage3D, GL.Ext.CompressedTextureSubImage1D, GL.Ext.CompressedTextureSubImage2D, GL.Ext.CompressedTextureSubImage3D, GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.GetColorTable, GL.Ext.GetConvolutionFilter, GL.Ext.GetHistogram, GL.Ext.GetMinmax, GL.Ext.GetMultiTexImage, GL.Ext.GetSeparableFilter, GL.Ext.GetTextureImage, GL.Ext.MultiTexImage1D, GL.Ext.MultiTexImage2D, GL.Ext.MultiTexImage3D, GL.Ext.MultiTexSubImage1D, GL.Ext.MultiTexSubImage2D, GL.Ext.MultiTexSubImage3D, GL.Ext.SeparableFilter2D, GL.Ext.TexImage3D, GL.Ext.TexSubImage1D, GL.Ext.TexSubImage2D, GL.Ext.TexSubImage3D, GL.Ext.TextureImage1D, GL.Ext.TextureImage2D, GL.Ext.TextureImage3D, GL.Ext.TextureSubImage1D, GL.Ext.TextureSubImage2D, GL.Ext.TextureSubImage3D, GL.Sgi.ColorTable, GL.Sgi.GetColorTable, GL.Sgis.TexImage4D, GL.Sgis.TexSubImage4D
|
||||
/// </summary>
|
||||
public enum PixelFormat : int
|
||||
{
|
||||
|
@ -46391,7 +46453,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Arb.CompressedTexImage1D, GL.Arb.CompressedTexImage2D, GL.Arb.CompressedTexImage3D, GL.ColorTable, GL.CompressedTexImage1D, GL.CompressedTexImage2D, GL.CompressedTexImage3D, GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.CopyColorTable, GL.CopyConvolutionFilter1D, GL.CopyConvolutionFilter2D, GL.CopyTexImage1D, GL.CopyTexImage2D, GL.Histogram, GL.Minmax, GL.SeparableFilter2D, GL.TexImage1D, GL.TexImage2D, GL.TexImage2DMultisample, GL.TexImage3D, GL.TexImage3DMultisample, GL.Ext.ColorTable, GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.CopyConvolutionFilter1D, GL.Ext.CopyConvolutionFilter2D, GL.Ext.CopyTexImage1D, GL.Ext.CopyTexImage2D, GL.Ext.Histogram, GL.Ext.Minmax, GL.Ext.NamedRenderbufferStorage, GL.Ext.NamedRenderbufferStorageMultisampleCoverage, GL.Ext.NamedRenderbufferStorageMultisample, GL.Ext.SeparableFilter2D, GL.Ext.TexImage3D, GL.NV.RenderbufferStorageMultisampleCoverage, GL.Sgi.ColorTable, GL.Sgi.CopyColorTable, GL.Sgis.TexImage4D
|
||||
/// Used in GL.Arb.CompressedTexImage1D, GL.Arb.CompressedTexImage2D, GL.Arb.CompressedTexImage3D, GL.ClearBufferData, GL.ClearBufferSubData, GL.ColorTable, GL.CompressedTexImage1D, GL.CompressedTexImage2D, GL.CompressedTexImage3D, GL.ConvolutionFilter1D, GL.ConvolutionFilter2D, GL.CopyColorTable, GL.CopyConvolutionFilter1D, GL.CopyConvolutionFilter2D, GL.CopyTexImage1D, GL.CopyTexImage2D, GL.Histogram, GL.Minmax, GL.SeparableFilter2D, GL.TexImage1D, GL.TexImage2D, GL.TexImage2DMultisample, GL.TexImage3D, GL.TexImage3DMultisample, GL.Ext.ColorTable, GL.Ext.ConvolutionFilter1D, GL.Ext.ConvolutionFilter2D, GL.Ext.CopyConvolutionFilter1D, GL.Ext.CopyConvolutionFilter2D, GL.Ext.CopyTexImage1D, GL.Ext.CopyTexImage2D, GL.Ext.Histogram, GL.Ext.Minmax, GL.Ext.NamedRenderbufferStorage, GL.Ext.NamedRenderbufferStorageMultisampleCoverage, GL.Ext.NamedRenderbufferStorageMultisample, GL.Ext.SeparableFilter2D, GL.Ext.TexImage3D, GL.NV.RenderbufferStorageMultisampleCoverage, GL.Sgi.ColorTable, GL.Sgi.CopyColorTable, GL.Sgis.TexImage4D
|
||||
/// </summary>
|
||||
public enum PixelInternalFormat : int
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue