1 #ifndef MSP_GL_SCENE_H_
2 #define MSP_GL_SCENE_H_
4 #include "renderable.h"
12 Scenes are containers for other Renderables. This is a base class that can't
13 be instantiated. Examples of available Scene types are SimpleScene,
14 InstancedScene and OrderedScene.
16 class Scene: public Renderable
19 std::list<Culler *> cullers;
25 virtual void add(const Renderable &) = 0;
26 virtual void remove(const Renderable &) = 0;
28 void add_culler(Culler &);
29 void remove_culler(Culler &);
31 using Renderable::render;
32 virtual void render(const Tag & = Tag()) const;
35 virtual void setup_cullers(const Renderer &) const;
36 virtual bool cull(const Renderer &, const Renderable &) const;