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