5 #include "framebuffer.h"
14 Manages the presentation of rendering results on the screen.
16 class View: public sigc::trackable
22 std::list<Camera *> synced_cameras;
27 virtual unsigned get_width() const { return target.get_width(); }
28 virtual unsigned get_height() const { return target.get_height(); }
29 float get_aspect_ratio() const { return static_cast<float>(get_width())/get_height(); }
31 void set_camera(Camera *);
32 void set_content(Renderable *);
35 float get_aspect() const { return get_aspect_ratio(); }
36 void synchronize_camera_aspect(Camera &);
38 virtual void render();