4 #include "renderable.h"
10 A container for a single renderable. Can be used if a part of the scene graph
11 needs to be switched without affecting the rest.
13 class Slot: public Renderable
16 Renderable *content = 0;
19 void set(Renderable *);
20 Renderable *get() const { return content; }
22 virtual const Matrix *get_matrix() const;
23 virtual const Geometry::BoundingSphere<float, 3> *get_bounding_sphere() const;
24 virtual void setup_frame(Renderer &);
25 virtual void finish_frame();
26 virtual void render(Renderer &, Tag) const;