Searched refs:meshPrimitive (Results 1 – 1 of 1) sorted by relevance
1436 meshPrimitive.attributes.push_back(attribute); in PrimitiveAttributes()1440 if (std::none_of(meshPrimitive.attributes.begin(), meshPrimitive.attributes.end(), in PrimitiveAttributes()1496 meshPrimitive.targets.push_back(move(mTarget)); in PrimitiveAttributes()1504 MeshPrimitive meshPrimitive; in PrimitiveAttributes() local1506 if (!PrimitiveAttributes(loadResult, jsonData, meshPrimitive)) { in PrimitiveAttributes()1515 meshPrimitive.indices = loadResult.data->accessors[indices].get(); in PrimitiveAttributes()1522 if (meshPrimitive.materialIndex != GLTF_INVALID_INDEX && in PrimitiveAttributes()1523 meshPrimitive.materialIndex < loadResult.data->materials.size()) { in PrimitiveAttributes()1524 meshPrimitive.material = loadResult.data->materials[meshPrimitive.materialIndex].get(); in PrimitiveAttributes()1526 meshPrimitive.material = loadResult.data->defaultMaterial.get(); in PrimitiveAttributes()[all …]