mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Added VS attrib doc.
This commit is contained in:
parent
de43573088
commit
8d63a9bdc8
1 changed files with 16 additions and 16 deletions
|
@ -242,23 +242,23 @@ namespace bgfx
|
|||
|
||||
struct Attrib
|
||||
{
|
||||
enum Enum
|
||||
enum Enum // corresponds to vertex shader attribute:
|
||||
{
|
||||
Position,
|
||||
Normal,
|
||||
Tangent,
|
||||
Color0,
|
||||
Color1,
|
||||
Indices,
|
||||
Weight,
|
||||
TexCoord0,
|
||||
TexCoord1,
|
||||
TexCoord2,
|
||||
TexCoord3,
|
||||
TexCoord4,
|
||||
TexCoord5,
|
||||
TexCoord6,
|
||||
TexCoord7,
|
||||
Position, // a_position
|
||||
Normal, // a_normal
|
||||
Tangent, // a_tangent
|
||||
Color0, // a_color0
|
||||
Color1, // a_color1
|
||||
Indices, // a_indices
|
||||
Weight, // a_weight
|
||||
TexCoord0, // a_texcoord0
|
||||
TexCoord1, // a_texcoord1
|
||||
TexCoord2, // a_texcoord2
|
||||
TexCoord3, // a_texcoord3
|
||||
TexCoord4, // a_texcoord4
|
||||
TexCoord5, // a_texcoord5
|
||||
TexCoord6, // a_texcoord6
|
||||
TexCoord7, // a_texcoord7
|
||||
|
||||
Count
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue