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
|
struct Attrib
|
||||||
{
|
{
|
||||||
enum Enum
|
enum Enum // corresponds to vertex shader attribute:
|
||||||
{
|
{
|
||||||
Position,
|
Position, // a_position
|
||||||
Normal,
|
Normal, // a_normal
|
||||||
Tangent,
|
Tangent, // a_tangent
|
||||||
Color0,
|
Color0, // a_color0
|
||||||
Color1,
|
Color1, // a_color1
|
||||||
Indices,
|
Indices, // a_indices
|
||||||
Weight,
|
Weight, // a_weight
|
||||||
TexCoord0,
|
TexCoord0, // a_texcoord0
|
||||||
TexCoord1,
|
TexCoord1, // a_texcoord1
|
||||||
TexCoord2,
|
TexCoord2, // a_texcoord2
|
||||||
TexCoord3,
|
TexCoord3, // a_texcoord3
|
||||||
TexCoord4,
|
TexCoord4, // a_texcoord4
|
||||||
TexCoord5,
|
TexCoord5, // a_texcoord5
|
||||||
TexCoord6,
|
TexCoord6, // a_texcoord6
|
||||||
TexCoord7,
|
TexCoord7, // a_texcoord7
|
||||||
|
|
||||||
Count
|
Count
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue