]> git.tdb.fi Git - libs/gl.git/blobdiff - source/scene.h
Add a Tag class to identify passes
[libs/gl.git] / source / scene.h
index f4e128105f75535d8398f06267924cfb50f8568e..6bfad812e517ecc45216216ed2aa0a37c50e3789 100644 (file)
@@ -23,9 +23,8 @@ public:
        void add(const Renderable &);
        void remove(const Renderable &);
 
-       virtual bool has_pass(const std::string &) const { return true; }
-       virtual void render() const;
-       virtual void render(const std::string &) const;
+       virtual bool has_pass(const Tag &) const { return true; }
+       virtual void render(const Tag &tag=Tag()) const;
 };
 
 } // namespace GL