add NORMAL, BLEND_WEIGHT, BLEND_INDEX flag to be correspondent to GLProgram::VertexAttrib

This commit is contained in:
Huabing.Xu 2014-08-05 15:15:17 +08:00
parent f74626e946
commit 7fbd81aeca
1 changed files with 4 additions and 1 deletions

View File

@ -51,6 +51,9 @@ enum {
VERTEX_ATTRIB_FLAG_POSITION = 1 << 0,
VERTEX_ATTRIB_FLAG_COLOR = 1 << 1,
VERTEX_ATTRIB_FLAG_TEX_COORD = 1 << 2,
VERTEX_ATTRIB_FLAG_NORMAL = 1 << 3,
VERTEX_ATTRIB_FLAG_BLEND_WEIGHT = 1 << 4,
VERTEX_ATTRIB_FLAG_BLEND_INDEX = 1 << 5,
VERTEX_ATTRIB_FLAG_POS_COLOR_TEX = (VERTEX_ATTRIB_FLAG_POSITION | VERTEX_ATTRIB_FLAG_COLOR | VERTEX_ATTRIB_FLAG_TEX_COORD),
};