Home
last modified time | relevance | path

Searched refs:BASE_INDEX (Results 1 – 1 of 1) sorted by relevance

/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp41 enum { BASE_INDEX = 2 }; in QueryScaleCommandIndex() enumerator
45 … case ResVertexAttribute::USAGE_POSITION: return BASE_INDEX + 4; // attributeScales[0].x in QueryScaleCommandIndex()
46 … case ResVertexAttribute::USAGE_NORMAL: return BASE_INDEX + 3; // attributeScales[0].y in QueryScaleCommandIndex()
47 … case ResVertexAttribute::USAGE_TANGENT: return BASE_INDEX + 2; // attributeScales[0].z in QueryScaleCommandIndex()
48 … case ResVertexAttribute::USAGE_COLOR: return BASE_INDEX + 0; // attributeScales[0].w in QueryScaleCommandIndex()
49 … case ResVertexAttribute::USAGE_TEXTURECOODINATE0: return BASE_INDEX + 8; // attributeScales[1].x in QueryScaleCommandIndex()
50 … case ResVertexAttribute::USAGE_TEXTURECOODINATE1: return BASE_INDEX + 7; // attributeScales[1].y in QueryScaleCommandIndex()
51 … case ResVertexAttribute::USAGE_TEXTURECOODINATE2: return BASE_INDEX + 6; // attributeScales[1].z in QueryScaleCommandIndex()
52 … case ResVertexAttribute::USAGE_BONEWEIGHT: return BASE_INDEX + 5; // attributeScales[1].w in QueryScaleCommandIndex()