Implemented Vertex Arrays accordign to the OpenGL 4.4 specification,

section 10.
This commit is contained in:
Stefanos A. 2013-10-23 09:31:09 +02:00
parent 35b63e777a
commit 88183770ae
5 changed files with 549 additions and 328 deletions

View file

@ -148,6 +148,14 @@
<type>BufferPointer</type>
</param>
</function>
<!-- Version 1.2 -->
<function name="DrawArraysIndirect" extension="Core">
<param name="mode">
<type>PrimitiveType</type>
</param>
</function>
<!-- Version 2.0-->
@ -409,7 +417,7 @@
<function name="VertexAttribIPointer" extension="Core">
<param name="type">
<type>VertexAttribIPointerType</type>
<type>VertexAttribIntegerType</type>
</param>
</function>
@ -432,6 +440,12 @@
</function>
<!-- Version 3.1 -->
<function name="DrawArraysInstancedBaseInstance" extension="Core">
<param name="mode">
<type>PrimitiveType</type>
</param>
</function>
<function name="TexBuffer" extension="Core">
<param name="target">
@ -449,6 +463,34 @@
</function>
<!-- Version 3.2 -->
<function name="DrawElementsBaseVertex" extension="Core">
<version>3.2</version>
<param name="mode">
<type>PrimitiveType</type>
</param>
</function>
<function name="DrawElementsInstancedBaseVertex" extension="Core">
<version>3.2</version>
<param name="mode">
<type>PrimitiveType</type>
</param>
</function>
<function name="DrawRangeElementsBaseVertex" extension="Core">
<version>3.2</version>
<param name="mode">
<type>PrimitiveType</type>
</param>
</function>
<function name="MultiDrawElementsBaseVertex" extension="Core">
<version>3.2</version>
<param name="mode">
<type>PrimitiveType</type>
</param>
</function>
<function name="TexImage2DMultisample" extension="Core">
<param name="target">
@ -480,30 +522,6 @@
</param>
</function>
<function name="DrawElementsBaseVertex" extension="Core">
<param name="mode">
<type>BeginMode</type>
</param>
</function>
<function name="DrawRangeElementsBaseVertex" extension="Core">
<param name="mode">
<type>BeginMode</type>
</param>
</function>
<function name="DrawElementsInstancedBaseVertex" extension="Core">
<param name="mode">
<type>BeginMode</type>
</param>
</function>
<function name="MultiDrawElementsBaseVertex" extension="Core">
<param name="mode">
<type>BeginMode</type>
</param>
</function>
<function name="FramebufferTexture" extension="Core">
<param name="target">
<type>FramebufferTarget</type>
@ -791,7 +809,7 @@
<function name="VertexAttribLPointer" extension="Core">
<param name="type">
<type>VertexAttribDPointerType</type>
<type>VertexAttribDoubleType</type>
</param>
</function>
@ -864,6 +882,24 @@
</param>
</function>
<function name="DrawElementsInstancedBaseInstance" extension="Core">
<param name="mode">
<type>PrimitiveType</type>
</param>
<param name="type">
<type>DrawElementsType</type>
</param>
</function>
<function name="DrawElementsInstancedBaseVertexBaseInstance" extension="Core">
<param name="mode">
<type>PrimitiveType</type>
</param>
<param name="type">
<type>DrawElementsType</type>
</param>
</function>
<function name="GetActiveAtomicCounterBuffer" extension="Core">
<param name="pname">
<type>AtomicCounterBufferParameter</type>
@ -989,6 +1025,12 @@
</param>
</function>
<function name="MultiDrawArraysIndirect" extension="Core">
<param name="mode">
<type>PrimitiveType</type>
</param>
</function>
<function name="TexBufferRange" extension="Core">
<param name="target">
<type>TextureBufferTarget</type>
@ -1025,6 +1067,24 @@
</param>
</function>
<function name="VertexAttribFormat" extension="Core">
<param name="type">
<type>VertexAttribType</type>
</param>
</function>
<function name="VertexAttribIFormat" extension="Core">
<param name="type">
<type>VertexAttribIntegerType</type>
</param>
</function>
<function name="VertexAttribLFormat" extension="Core">
<param name="type">
<type>VertexAttribDoubleType</type>
</param>
</function>
<!-- Version 4.4 -->
<function name="ClearTexImage" extension="Core">
@ -1974,6 +2034,7 @@
<use enum="VERSION_3_1" token="TEXTURE_RECTANGLE" />
<use enum="VERSION_3_2" token="TEXTURE_CUBE_MAP_SEAMLESS" />
<use enum="VERSION_4_0" token="SAMPLE_SHADING" />
<use enum="VERSION_4_3" token="PRIMITIVE_RESTART_FIXED_INDEX" />
</enum>
<enum name="ErrorCode">
<use enum="ARB_framebuffer_object" token="INVALID_FRAMEBUFFER_OPERATION" />
@ -2743,6 +2804,20 @@
<token name="LOWER_LEFT" value="0x8CA1" />
<token name="UPPER_LEFT" value="0x8CA2" />
</enum>
<enum name="PrimitiveType">
<use enum="VERSION_1_1" token="POINTS" />
<use enum="VERSION_1_1" token="LINE_STRIP" />
<use enum="VERSION_1_1" token="LINE_LOOP" />
<use enum="VERSION_1_1" token="LINES" />
<use enum="VERSION_1_1" token="TRIANGLE_STRIP" />
<use enum="VERSION_1_1" token="TRIANGLE_FAN" />
<use enum="VERSION_1_1" token="TRIANGLES" />
<use enum="VERSION_3_2" token="LINES_ADJACENCY" />
<use enum="VERSION_3_2" token="TRIANGLES_ADJACENCY" />
<use enum="VERSION_3_2" token="LINE_STRIP_ADJACENCY" />
<use enum="VERSION_3_2" token="TRIANGLE_STRIP_ADJACENCY" />
<use enum="VERSION_4_0" token="PATCHES" />
</enum>
<enum name="ProgramInterface">
<use enum="VERSION_3_0" token="TRANSFORM_FEEDBACK_BUFFER" />
<use enum="VERSION_4_2" token="ATOMIC_COUNTER_BUFFER" />
@ -3367,9 +3442,20 @@
<enum name="TransformFeedbackTarget">
<use enum="VERSION_4_0" token="TRANSFORM_FEEDBACK" />
</enum>
<enum name="VertexAttribDoubleType">
<use enum="VERSION_4_1" token="DOUBLE" />
</enum>
<enum name="VertexAttribD_PointerType">
<use enum="VERSION_4_1" token="DOUBLE" />
</enum>
<enum name="VertexAttribIntegerType">
<use enum="DataType" token="BYTE" />
<use enum="DataType" token="UNSIGNED_BYTE" />
<use enum="DataType" token="SHORT" />
<use enum="DataType" token="UNSIGNED_SHORT" />
<use enum="DataType" token="INT" />
<use enum="DataType" token="UNSIGNED_INT" />
</enum>
<enum name="VertexAttribI_PointerType">
<use enum="DataType" token="BYTE" />
<use enum="DataType" token="UNSIGNED_BYTE" />
@ -3403,16 +3489,30 @@
<enum name="VertexAttribPointerParameterARB">
<token name="ARRAY_POINTER" value="0x8645" />
</enum>
<enum name="VertexAttribType">
<use enum="VERSION_1_1" token="BYTE" />
<use enum="VERSION_1_1" token="UNSIGNED_BYTE" />
<use enum="VERSION_1_1" token="SHORT" />
<use enum="VERSION_1_1" token="UNSIGNED_SHORT" />
<use enum="VERSION_1_1" token="INT" />
<use enum="VERSION_1_1" token="UNSIGNED_INT" />
<use enum="VERSION_1_1" token="FLOAT" />
<use enum="VERSION_1_1" token="DOUBLE" />
<use enum="VERSION_3_0" token="HALF_FLOAT" />
<use enum="VERSION_3_3" token="UNSIGNED_INT_2_10_10_10_REV" />
<use enum="VERSION_3_3" token="INT_2_10_10_10_REV" />
<use enum="VERSION_4_1" token="FIXED" />
</enum>
<enum name="VertexAttribPointerType">
<use enum="DataType" token="BYTE" />
<use enum="DataType" token="UNSIGNED_BYTE" />
<use enum="DataType" token="SHORT" />
<use enum="DataType" token="UNSIGNED_SHORT" />
<use enum="DataType" token="INT" />
<use enum="DataType" token="UNSIGNED_INT" />
<use enum="DataType" token="FLOAT" />
<use enum="DataType" token="DOUBLE" />
<use enum="ARB_half_float_vertex" token="HALF_FLOAT" />
<use enum="VERSION_1_1" token="BYTE" />
<use enum="VERSION_1_1" token="UNSIGNED_BYTE" />
<use enum="VERSION_1_1" token="SHORT" />
<use enum="VERSION_1_1" token="UNSIGNED_SHORT" />
<use enum="VERSION_1_1" token="INT" />
<use enum="VERSION_1_1" token="UNSIGNED_INT" />
<use enum="VERSION_1_1" token="FLOAT" />
<use enum="VERSION_1_1" token="DOUBLE" />
<use enum="VERSION_3_0" token="HALF_FLOAT" />
<use enum="VERSION_3_3" token="UNSIGNED_INT_2_10_10_10_REV" />
<use enum="VERSION_3_3" token="INT_2_10_10_10_REV" />
<use enum="VERSION_4_1" token="FIXED" />

File diff suppressed because it is too large Load diff

View file

@ -1247,7 +1247,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysIndirect", ExactSpelling = true)]
internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect);
internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)]
internal extern static void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount);
@ -1256,7 +1256,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedBaseInstance", ExactSpelling = true)]
internal extern static void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance);
internal extern static void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)]
internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount);
@ -1283,7 +1283,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)]
internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsIndirect", ExactSpelling = true)]
internal extern static void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, IntPtr indirect);
@ -1295,13 +1295,13 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseInstance", ExactSpelling = true)]
internal extern static void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, UInt32 baseinstance);
internal extern static void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)]
internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance", ExactSpelling = true)]
internal extern static void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance);
internal extern static void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)]
internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
@ -1322,7 +1322,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)]
internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)]
internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
@ -3548,7 +3548,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirect", ExactSpelling = true)]
internal extern static void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, IntPtr indirect, Int32 drawcount, Int32 stride);
internal extern static void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirectAMD", ExactSpelling = true)]
internal extern static void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride);
@ -3560,7 +3560,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)]
internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex);
internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)]
internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
@ -6998,7 +6998,7 @@ namespace OpenTK.Graphics.OpenGL
internal extern static void VertexAttribDivisorARB(UInt32 index, UInt32 divisor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormat", ExactSpelling = true)]
internal extern static void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, bool normalized, UInt32 relativeoffset);
internal extern static void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormatNV", ExactSpelling = true)]
internal extern static void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride);
@ -7124,13 +7124,13 @@ namespace OpenTK.Graphics.OpenGL
internal extern static unsafe void VertexAttribI4usvEXT(UInt32 index, UInt16* v);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormat", ExactSpelling = true)]
internal extern static void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset);
internal extern static void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormatNV", ExactSpelling = true)]
internal extern static void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)]
internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer);
internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointerEXT", ExactSpelling = true)]
internal extern static void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer);
@ -7232,13 +7232,13 @@ namespace OpenTK.Graphics.OpenGL
internal extern static unsafe void VertexAttribL4ui64vNV(UInt32 index, UInt64* v);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormat", ExactSpelling = true)]
internal extern static void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset);
internal extern static void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormatNV", ExactSpelling = true)]
internal extern static void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointer", ExactSpelling = true)]
internal extern static void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer);
internal extern static void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointerEXT", ExactSpelling = true)]
internal extern static void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer);

View file

@ -1245,7 +1245,7 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count);
internal static DrawArraysEXT glDrawArraysEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect);
internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect);
internal static DrawArraysIndirect glDrawArraysIndirect;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount);
@ -1254,7 +1254,7 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount);
internal static DrawArraysInstancedARB glDrawArraysInstancedARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance);
internal delegate void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance);
internal static DrawArraysInstancedBaseInstance glDrawArraysInstancedBaseInstance;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount);
@ -1281,7 +1281,7 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawElements glDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawElementsBaseVertex glDrawElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, IntPtr indirect);
@ -1293,13 +1293,13 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedARB glDrawElementsInstancedARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, UInt32 baseinstance);
internal delegate void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance);
internal static DrawElementsInstancedBaseInstance glDrawElementsInstancedBaseInstance;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance);
internal delegate void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance);
internal static DrawElementsInstancedBaseVertexBaseInstance glDrawElementsInstancedBaseVertexBaseInstance;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
@ -1320,7 +1320,7 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawRangeElements glDrawRangeElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
@ -3546,7 +3546,7 @@ namespace OpenTK.Graphics.OpenGL
internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, IntPtr indirect, Int32 drawcount, Int32 stride);
internal delegate void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride);
internal static MultiDrawArraysIndirect glMultiDrawArraysIndirect;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride);
@ -3558,7 +3558,7 @@ namespace OpenTK.Graphics.OpenGL
internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount);
internal unsafe static MultiDrawElements glMultiDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex);
internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex);
internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
@ -6996,7 +6996,7 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void VertexAttribDivisorARB(UInt32 index, UInt32 divisor);
internal static VertexAttribDivisorARB glVertexAttribDivisorARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, bool normalized, UInt32 relativeoffset);
internal delegate void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset);
internal static VertexAttribFormat glVertexAttribFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride);
@ -7122,13 +7122,13 @@ namespace OpenTK.Graphics.OpenGL
internal unsafe delegate void VertexAttribI4usvEXT(UInt32 index, UInt16* v);
internal unsafe static VertexAttribI4usvEXT glVertexAttribI4usvEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset);
internal delegate void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset);
internal static VertexAttribIFormat glVertexAttribIFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride);
internal static VertexAttribIFormatNV glVertexAttribIFormatNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer);
internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer);
internal static VertexAttribIPointer glVertexAttribIPointer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer);
@ -7230,13 +7230,13 @@ namespace OpenTK.Graphics.OpenGL
internal unsafe delegate void VertexAttribL4ui64vNV(UInt32 index, UInt64* v);
internal unsafe static VertexAttribL4ui64vNV glVertexAttribL4ui64vNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset);
internal delegate void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset);
internal static VertexAttribLFormat glVertexAttribLFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride);
internal static VertexAttribLFormatNV glVertexAttribLFormatNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer);
internal delegate void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer);
internal static VertexAttribLPointer glVertexAttribLPointer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer);

View file

@ -21155,7 +21155,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.DrawArraysInstancedBaseInstance, GL.DrawElementsInstancedBaseInstance, GL.DrawElementsInstancedBaseVertexBaseInstance
/// Not used directly.
/// </summary>
public enum ArbBaseInstance : int
{
@ -21641,7 +21641,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.DrawArraysIndirect, GL.DrawElementsIndirect
/// Used in GL.DrawElementsIndirect
/// </summary>
public enum ArbDrawIndirect : int
{
@ -23717,7 +23717,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.MultiDrawArraysIndirect, GL.MultiDrawElementsIndirect
/// Used in GL.MultiDrawElementsIndirect
/// </summary>
public enum ArbMultiDrawIndirect : int
{
@ -26529,7 +26529,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.VertexAttribFormat, GL.VertexAttribIFormat, GL.VertexAttribLFormat, GL.Ext.VertexArrayVertexAttribFormat, GL.Ext.VertexArrayVertexAttribIFormat, GL.Ext.VertexArrayVertexAttribLFormat
/// Used in GL.Ext.VertexArrayVertexAttribFormat, GL.Ext.VertexArrayVertexAttribIFormat, GL.Ext.VertexArrayVertexAttribLFormat
/// </summary>
public enum ArbVertexAttribBinding : int
{
@ -28619,7 +28619,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.DrawElementsBaseVertex, GL.DrawElementsInstancedBaseVertex, GL.DrawRangeElementsBaseVertex, GL.DrawTransformFeedback, GL.DrawTransformFeedbackStream, GL.MultiDrawElementsBaseVertex
/// Used in GL.DrawTransformFeedback, GL.DrawTransformFeedbackStream
/// </summary>
public enum BeginMode : int
{
@ -30154,7 +30154,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.Arb.DrawElementsInstanced, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseVertex, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawElements
/// Used in GL.Arb.DrawElementsInstanced, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseInstance, GL.DrawElementsInstancedBaseVertex, GL.DrawElementsInstancedBaseVertexBaseInstance, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawElements
/// </summary>
public enum DrawElementsType : int
{
@ -30702,6 +30702,10 @@ namespace OpenTK.Graphics.OpenGL
/// </summary>
RasterizerDiscard = ((int)0x8C89) ,
/// <summary>
/// Original was GL_PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69
/// </summary>
PrimitiveRestartFixedIndex = ((int)0x8D69) ,
/// <summary>
/// Original was GL_FRAMEBUFFER_SRGB = 0x8DB9
/// </summary>
FramebufferSrgb = ((int)0x8DB9) ,
@ -48109,7 +48113,7 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray, GL.Apple.MultiDrawElementArray, GL.Apple.MultiDrawRangeElementArray, GL.Arb.DrawArraysInstanced, GL.Arb.DrawElementsInstanced, GL.Ati.DrawElementArray, GL.Ati.DrawRangeElementArray, GL.Begin, GL.DrawArrays, GL.DrawArraysInstanced, GL.DrawElements, GL.DrawElementsInstanced, GL.DrawRangeElements, GL.MultiDrawArrays, GL.MultiDrawElements, GL.Ext.DrawArrays, GL.Ext.DrawArraysInstanced, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawArrays, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawArrays, GL.Ibm.MultiModeDrawElements, GL.Sun.DrawMeshArrays
/// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray, GL.Apple.MultiDrawElementArray, GL.Apple.MultiDrawRangeElementArray, GL.Arb.DrawArraysInstanced, GL.Arb.DrawElementsInstanced, GL.Ati.DrawElementArray, GL.Ati.DrawRangeElementArray, GL.Begin, GL.DrawArrays, GL.DrawArraysIndirect, GL.DrawArraysInstanced, GL.DrawArraysInstancedBaseInstance, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseInstance, GL.DrawElementsInstancedBaseVertex, GL.DrawElementsInstancedBaseVertexBaseInstance, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.MultiDrawArrays, GL.MultiDrawArraysIndirect, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawArrays, GL.Ext.DrawArraysInstanced, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawArrays, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawArrays, GL.Ibm.MultiModeDrawElements, GL.Sun.DrawMeshArrays
/// </summary>
public enum PrimitiveType : int
{
@ -48153,6 +48157,26 @@ namespace OpenTK.Graphics.OpenGL
/// Original was GL_POLYGON = 0x0009
/// </summary>
Polygon = ((int)0x0009) ,
/// <summary>
/// Original was GL_LINES_ADJACENCY = 0x000A
/// </summary>
LinesAdjacency = ((int)0x000A) ,
/// <summary>
/// Original was GL_LINE_STRIP_ADJACENCY = 0x000B
/// </summary>
LineStripAdjacency = ((int)0x000B) ,
/// <summary>
/// Original was GL_TRIANGLES_ADJACENCY = 0x000C
/// </summary>
TrianglesAdjacency = ((int)0x000C) ,
/// <summary>
/// Original was GL_TRIANGLE_STRIP_ADJACENCY = 0x000D
/// </summary>
TriangleStripAdjacency = ((int)0x000D) ,
/// <summary>
/// Original was GL_PATCHES = 0x000E
/// </summary>
Patches = ((int)0x000E) ,
}
/// <summary>
@ -60234,7 +60258,18 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.VertexAttribLPointer
/// Used in GL.VertexAttribLFormat, GL.VertexAttribLPointer
/// </summary>
public enum VertexAttribDoubleType : int
{
/// <summary>
/// Original was GL_DOUBLE = 0x140A
/// </summary>
Double = ((int)0x140A) ,
}
/// <summary>
/// Not used directly.
/// </summary>
public enum VertexAttribDPointerType : int
{
@ -60245,7 +60280,38 @@ namespace OpenTK.Graphics.OpenGL
}
/// <summary>
/// Used in GL.VertexAttribIPointer
/// Used in GL.VertexAttribIFormat, GL.VertexAttribIPointer
/// </summary>
public enum VertexAttribIntegerType : int
{
/// <summary>
/// Original was GL_BYTE = 0x1400
/// </summary>
Byte = ((int)0x1400) ,
/// <summary>
/// Original was GL_UNSIGNED_BYTE = 0x1401
/// </summary>
UnsignedByte = ((int)0x1401) ,
/// <summary>
/// Original was GL_SHORT = 0x1402
/// </summary>
Short = ((int)0x1402) ,
/// <summary>
/// Original was GL_UNSIGNED_SHORT = 0x1403
/// </summary>
UnsignedShort = ((int)0x1403) ,
/// <summary>
/// Original was GL_INT = 0x1404
/// </summary>
Int = ((int)0x1404) ,
/// <summary>
/// Original was GL_UNSIGNED_INT = 0x1405
/// </summary>
UnsignedInt = ((int)0x1405) ,
}
/// <summary>
/// Not used directly.
/// </summary>
public enum VertexAttribIPointerType : int
{
@ -60465,6 +60531,61 @@ namespace OpenTK.Graphics.OpenGL
Double = ((int)0x140A) ,
}
/// <summary>
/// Used in GL.VertexAttribFormat
/// </summary>
public enum VertexAttribType : int
{
/// <summary>
/// Original was GL_BYTE = 0x1400
/// </summary>
Byte = ((int)0x1400) ,
/// <summary>
/// Original was GL_UNSIGNED_BYTE = 0x1401
/// </summary>
UnsignedByte = ((int)0x1401) ,
/// <summary>
/// Original was GL_SHORT = 0x1402
/// </summary>
Short = ((int)0x1402) ,
/// <summary>
/// Original was GL_UNSIGNED_SHORT = 0x1403
/// </summary>
UnsignedShort = ((int)0x1403) ,
/// <summary>
/// Original was GL_INT = 0x1404
/// </summary>
Int = ((int)0x1404) ,
/// <summary>
/// Original was GL_UNSIGNED_INT = 0x1405
/// </summary>
UnsignedInt = ((int)0x1405) ,
/// <summary>
/// Original was GL_FLOAT = 0x1406
/// </summary>
Float = ((int)0x1406) ,
/// <summary>
/// Original was GL_DOUBLE = 0x140A
/// </summary>
Double = ((int)0x140A) ,
/// <summary>
/// Original was GL_HALF_FLOAT = 0x140B
/// </summary>
HalfFloat = ((int)0x140B) ,
/// <summary>
/// Original was GL_FIXED = 0x140C
/// </summary>
Fixed = ((int)0x140C) ,
/// <summary>
/// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368
/// </summary>
UnsignedInt2101010Rev = ((int)0x8368) ,
/// <summary>
/// Original was GL_INT_2_10_10_10_REV = 0x8D9F
/// </summary>
Int2101010Rev = ((int)0x8D9F) ,
}
/// <summary>
/// Used in GL.VertexPointer, GL.Ext.VertexPointer, GL.Ibm.VertexPointerList, GL.Intel.ColorPointer, GL.Intel.TexCoordPointer, GL.Intel.VertexPointer
/// </summary>