mirror of https://github.com/axmolengine/axmol.git
add NORMAL, BLEND_WEIGHT, BLEND_INDEX flag to be correspondent to GLProgram::VertexAttrib
This commit is contained in:
parent
f74626e946
commit
7fbd81aeca
|
@ -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),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue