1 #ifndef MSP_GL_ORDEREDSCENE_H_
2 #define MSP_GL_ORDEREDSCENE_H_
11 A scene which renders its contents in a specific order.
13 class OrderedScene: public Scene
19 std::vector<Renderable *> content;
22 virtual void add(Renderable &);
23 virtual void remove(Renderable &);
24 void prepend(Renderable &);
25 void insert(unsigned, Renderable &);
26 void insert_after(Renderable &, Renderable &);
28 virtual void setup_frame(Renderer &);
29 virtual void finish_frame();
31 virtual void render(Renderer &, Tag = Tag()) const;