Renderable *renderable;
public:
- Pass(const Tag &, Renderable *);
+ Pass(Tag, Renderable *);
- const Tag &get_tag() const { return tag; }
+ Tag get_tag() const { return tag; }
void set_lighting(const Lighting *);
void set_depth_test(const DepthTest *);
/** Adds a pass to the pipeline. It's permissible to add the same
Renderable multiple times. */
- Pass &add_pass(const Tag &, Renderable &);
+ Pass &add_pass(Tag, Renderable &);
/** Adds a postprocessor to the pipeline. */
void add_postprocessor(PostProcessor &);
virtual void setup_frame(Renderer &);
virtual void finish_frame();
- virtual void render(Renderer &, const Tag &tag = Tag()) const;
+ virtual void render(Renderer &, Tag tag = Tag()) const;
private:
void create_targets(unsigned);