Lines Matching refs:ResVertexAttribute
37 QueryScaleCommandIndex(ResVertexAttribute::VertexAttributeUsage usage) in QueryScaleCommandIndex()
43 … case ResVertexAttribute::USAGE_POSITION: return BASE_INDEX + 4; // attributeScales[0].x in QueryScaleCommandIndex()
44 … case ResVertexAttribute::USAGE_NORMAL: return BASE_INDEX + 3; // attributeScales[0].y in QueryScaleCommandIndex()
45 … case ResVertexAttribute::USAGE_TANGENT: return BASE_INDEX + 2; // attributeScales[0].z in QueryScaleCommandIndex()
46 … case ResVertexAttribute::USAGE_COLOR: return BASE_INDEX + 0; // attributeScales[0].w in QueryScaleCommandIndex()
47 … case ResVertexAttribute::USAGE_TEXTURECOODINATE0: return BASE_INDEX + 8; // attributeScales[1].x in QueryScaleCommandIndex()
48 … case ResVertexAttribute::USAGE_TEXTURECOODINATE1: return BASE_INDEX + 7; // attributeScales[1].y in QueryScaleCommandIndex()
49 … case ResVertexAttribute::USAGE_TEXTURECOODINATE2: return BASE_INDEX + 6; // attributeScales[1].z in QueryScaleCommandIndex()
50 … case ResVertexAttribute::USAGE_BONEWEIGHT: return BASE_INDEX + 5; // attributeScales[1].w in QueryScaleCommandIndex()
51 …case ResVertexAttribute::USAGE_BONEINDEX: return BONE_INDEX_SCALE_INDEX; // attributeSc… in QueryScaleCommandIndex()
52 case ResVertexAttribute::USAGE_USERATTRIBUTE0: // don't break; in QueryScaleCommandIndex()
53 case ResVertexAttribute::USAGE_USERATTRIBUTE1: // don't break; in QueryScaleCommandIndex()
54 case ResVertexAttribute::USAGE_USERATTRIBUTE2: // don't break; in QueryScaleCommandIndex()
86 ResVertexAttribute attribute = *iter; in ResSeparateDataShape_SetupVertexIrScale()
97 ResVertexAttribute::VertexAttributeUsage usage = ResVertexAttribute::USAGE_NONE; in ResSeparateDataShape_SetupVertexIrScale()
105 … usage = static_cast<ResVertexAttribute::VertexAttributeUsage>(constantVertexAttribute.GetUsage()); in ResSeparateDataShape_SetupVertexIrScale()
115 … usage = static_cast<ResVertexAttribute::VertexAttributeUsage>(vertexStream.GetUsage()); in ResSeparateDataShape_SetupVertexIrScale()
124 if (usage == ResVertexAttribute::USAGE_COLOR) in ResSeparateDataShape_SetupVertexIrScale()
128 else if (usage == ResVertexAttribute::USAGE_BONEWEIGHT) in ResSeparateDataShape_SetupVertexIrScale()