- obj.meshes.resize(l+1, 0);
- obj.meshes[l]=coll.get<Mesh>(n);
+ allow_pointer_reload = false;
+
+ add("mesh", static_cast<void (Loader::*)()>(&Loader::mesh));
+ add("mesh", static_cast<void (Loader::*)(unsigned)>(&Loader::mesh));
+ add("mesh", static_cast<void (Loader::*)(const std::string &)>(&Loader::mesh));
+ add("mesh", static_cast<void (Loader::*)(unsigned, const std::string &)>(&Loader::mesh));
+ // Deprecated alias, will be removed
+ add("lod_mesh", static_cast<void (Loader::*)(unsigned, const std::string &)>(&Loader::mesh));
+ add("technique", static_cast<void (Loader::*)()>(&Loader::technique));
+ add("technique", static_cast<void (Loader::*)(const std::string &)>(&Loader::technique));