MaterialRef MdfMaterialFactory::LoadMaterial(const std::string& name) { auto mdfContent(vfs->ReadAsString(name)); std::istringstream in(mdfContent); std::string line; // Parse the material type while (std::getline(in, line)) { } // First line of MDF is always which type it is return MaterialRef(); }
MaterialRef Material::create(Material_t tag) { return MaterialRef(new Material(tag)); }