#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 bool has_pass(const Tag &tag) const =0;
+ virtual void render(const Tag &tag=Tag()) const =0;
};
} // namespace Msp