+ for(vector<Slot>::iterator i=renderables.begin(); i!=renderables.end(); ++i)
+ if(i->renderable==&r)
+ {
+ i->passes.clear();
+ return;
+ }
+
+ renderables.push_back(&r);
+}
+
+void Pipeline::add_renderable_for_pass(const Renderable &r, const Tag &tag)
+{
+ for(vector<Slot>::iterator i=renderables.begin(); i!=renderables.end(); ++i)
+ if(i->renderable==&r)
+ {
+ i->passes.insert(tag);
+ return;
+ }
+