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_
13 #include "renderable.h"
21 class Scene: public Renderable
24 std::map<const Object *, std::set<const ObjectInstance *> > objects;
25 std::set<const Renderable *> 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;