]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderable.h
Style update: add spaces around assignment operators
[libs/gl.git] / source / renderable.h
index b9b6b080e363150616dc809072217dffda23395e..44b3c257b9a79b825e466be5d9d467827c350b38 100644 (file)
@@ -9,17 +9,19 @@ Distributed under the LGPL
 #define MSP_GL_RENDERABLE_H_
 
 #include <string>
+#include "tag.h"
 
 namespace Msp {
 namespace GL {
 
 class Renderable
 {
+protected:
+       Renderable() { }
 public:
-       virtual bool has_pass(const std::string &pn) const =0;
+       virtual ~Renderable() { }
 
-       virtual void render() const =0;
-       virtual void render(const std::string &pn) const =0;
+       virtual void render(const Tag &tag = Tag()) const =0;
 };
 
 } // namespace Msp