3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_SCENE_H_
9 #define MSP_GL_SCENE_H_
12 #include "renderable.h"
17 class Scene: public Renderable
22 bool operator()(const Renderable *, const Renderable *) const;
25 std::set<const Renderable *, Compare> renderables;
28 void add(const Renderable &);
29 void remove(const Renderable &);
31 virtual bool has_pass(const Tag &) const { return true; }
32 virtual void render(const Tag &tag=Tag()) const;