1 #ifndef MSP_GL_SIMPLESCENE_H_
2 #define MSP_GL_SIMPLESCENE_H_
11 A simple yet efficient scene. Rendering order is unspecified.
13 class SimpleScene: public Scene
19 std::set<Renderable *> renderables;
20 mutable std::vector<Renderable *> cache;
23 virtual void add(Renderable &);
24 virtual void remove(Renderable &);
27 void populate_cache() const;
30 virtual void setup_frame(Renderer &);
31 virtual void finish_frame();
33 virtual void render(Renderer &, Tag = Tag()) const;