mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-04-17 21:01:42 +00:00
Implemented Vertex Attributes according to the OpenGL 4.4
specification, section 11.
This commit is contained in:
parent
88183770ae
commit
bb2bf9fa48
|
@ -1495,10 +1495,17 @@
|
|||
|
||||
<add>
|
||||
<enum name="ActiveAttribType">
|
||||
<use enum="VERSION_1_1" token="NONE" />
|
||||
<use enum="DataType" token="FLOAT" />
|
||||
<token name="FLOAT_MAT2" value="0x8B5A" />
|
||||
<token name="FLOAT_MAT3" value="0x8B5B" />
|
||||
<token name="FLOAT_MAT4" value="0x8B5C" />
|
||||
<use enum="VERSION_2_1" token="FLOAT_MAT2x3" />
|
||||
<use enum="VERSION_2_1" token="FLOAT_MAT2x4" />
|
||||
<use enum="VERSION_2_1" token="FLOAT_MAT3x2" />
|
||||
<use enum="VERSION_2_1" token="FLOAT_MAT3x4" />
|
||||
<use enum="VERSION_2_1" token="FLOAT_MAT4x2" />
|
||||
<use enum="VERSION_2_1" token="FLOAT_MAT4x3" />
|
||||
<token name="FLOAT_VEC2" value="0x8B50" />
|
||||
<token name="FLOAT_VEC3" value="0x8B51" />
|
||||
<token name="FLOAT_VEC4" value="0x8B52" />
|
||||
|
|
|
@ -61,6 +61,10 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
public enum ActiveAttribType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Original was GL_NONE = 0
|
||||
/// </summary>
|
||||
None = ((int)0) ,
|
||||
/// <summary>
|
||||
/// Original was GL_INT = 0x1404
|
||||
/// </summary>
|
||||
|
@ -114,6 +118,30 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// </summary>
|
||||
FloatMat4 = ((int)0x8B5C) ,
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT_MAT2x3 = 0x8B65
|
||||
/// </summary>
|
||||
FloatMat2x3 = ((int)0x8B65) ,
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT_MAT2x4 = 0x8B66
|
||||
/// </summary>
|
||||
FloatMat2x4 = ((int)0x8B66) ,
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT_MAT3x2 = 0x8B67
|
||||
/// </summary>
|
||||
FloatMat3x2 = ((int)0x8B67) ,
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT_MAT3x4 = 0x8B68
|
||||
/// </summary>
|
||||
FloatMat3x4 = ((int)0x8B68) ,
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT_MAT4x2 = 0x8B69
|
||||
/// </summary>
|
||||
FloatMat4x2 = ((int)0x8B69) ,
|
||||
/// <summary>
|
||||
/// Original was GL_FLOAT_MAT4x3 = 0x8B6A
|
||||
/// </summary>
|
||||
FloatMat4x3 = ((int)0x8B6A) ,
|
||||
/// <summary>
|
||||
/// Original was GL_UNSIGNED_INT_VEC2 = 0x8DC6
|
||||
/// </summary>
|
||||
UnsignedIntVec2 = ((int)0x8DC6) ,
|
||||
|
|
Loading…
Reference in a new issue