5 #include "framebuffer.h"
14 Manages the presentation of rendering results on the screen.
16 class View: public sigc::trackable
26 virtual unsigned get_width() const { return target.get_width(); }
27 virtual unsigned get_height() const { return target.get_height(); }
28 float get_aspect_ratio() const { return static_cast<float>(get_width())/get_height(); }
30 void set_camera(Camera *);
31 void set_content(Renderable *);
33 virtual void render();