Added VS attrib doc.

This commit is contained in:
bkaradzic 2013-03-20 22:57:07 -07:00
parent de43573088
commit 8d63a9bdc8

View file

@ -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
}; };