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 *renderable;
21 void set(Renderable *);
22 Renderable *get() const { return renderable; }
24 virtual const Matrix *get_matrix() const;
25 virtual const Geometry::BoundingSphere<float, 3> *get_bounding_sphere() const;
26 virtual void setup_frame(Renderer &);
27 virtual void finish_frame();
28 virtual void render(Renderer &, Tag) const;