class Camera;
class Renderable;
+class Renderer;
/**
Manages the presentation of rendering results on the screen.
Framebuffer ⌖
Camera *camera;
Renderable *content;
- std::list<Camera *> synced_cameras;
- View();
+ View(Framebuffer &);
public:
virtual unsigned get_width() const { return target.get_width(); }
void set_camera(Camera *);
void set_content(Renderable *);
- // Deprecated
- float get_aspect() const { return get_aspect_ratio(); }
- void synchronize_camera_aspect(Camera &);
-
virtual void render();
+ virtual void render(Renderer &);
};
} // namespace GL