5 #include "framebuffer.h"
15 Manages the presentation of rendering results on the screen.
17 class View: public sigc::trackable
23 Renderer *internal_renderer;
29 virtual unsigned get_width() const { return target.get_width(); }
30 virtual unsigned get_height() const { return target.get_height(); }
31 float get_aspect_ratio() const { return static_cast<float>(get_width())/get_height(); }
33 void set_camera(Camera *);
34 void set_content(Renderable *);
36 virtual void render();
37 virtual void render(Renderer &);