-void Object::Loader::material_inline()
-{
- RefPtr<Material> mat=new Material;
- load_sub(*mat);
- coll.add(format("_%p", mat.get()), mat.get());
- obj.material=mat.release();
+ add("mesh", &Loader::mesh_inline);
+ add("mesh", &Loader::mesh_inline_lod);
+ add("mesh", &Loader::mesh);
+ add("mesh", &Loader::mesh_lod);
+ add("technique", &Loader::technique_inline);
+ add("technique", &Loader::technique);
+
+ // Deprecated alias, will be removed
+ add("lod_mesh", &Loader::mesh_lod);