From 8d63a9bdc827ce74d59cda8bb79b5a9b8c579c04 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Wed, 20 Mar 2013 22:57:07 -0700 Subject: [PATCH] Added VS attrib doc. --- include/bgfx.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/include/bgfx.h b/include/bgfx.h index b2a0375c..216e71c6 100644 --- a/include/bgfx.h +++ b/include/bgfx.h @@ -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 };