- for(map<string, ObjectPass>::iterator i=obj.passes.begin(); i!=obj.passes.end(); ++i)
- if(i->second.shdata)
- {
- for(unsigned j=0; j<textures.size(); ++j)
- i->second.shdata->uniform(i->second.shprog->get_uniform_location(textures[j]), static_cast<int>(j));
- }
+ 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);