X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Fpipeline.h;fp=source%2Frender%2Fpipeline.h;h=91996186e3eb1296f6be4e8117d64748313af5be;hb=233dff2a6c552e08da832496aecd88ef4f8948f1;hp=dd80ef3bb1563d475e1ab9d606444187047b4b6d;hpb=cbe2ec1f080b117faf9bf0ad2d92d5d4f2379584;p=libs%2Fgl.git diff --git a/source/render/pipeline.h b/source/render/pipeline.h index dd80ef3b..91996186 100644 --- a/source/render/pipeline.h +++ b/source/render/pipeline.h @@ -47,9 +47,9 @@ public: 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 *); @@ -111,7 +111,7 @@ public: /** 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 &); @@ -128,7 +128,7 @@ public: 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);