class EE::Window::FramePresenter¶
Overview¶
Presentation boundary used to export completed Window frames to an external transport. More…
#include <framepresenter.hpp> class FramePresenter { public: // construction virtual ~FramePresenter(); // methods virtual bool initialize(Window&) = 0; virtual void present(Window&) = 0; virtual void resized(Window&, const Math::Sizei&); virtual void shutdown(Window&); };
Detailed Documentation¶
Presentation boundary used to export completed Window frames to an external transport.
Methods¶
virtual bool initialize(Window&) = 0
Initializes the presenter for a window.
Returns:
True when presentation can begin.
virtual void present(Window&) = 0
Queues or presents the window’s completed frame.
virtual void resized(Window&, const Math::Sizei&)
Notifies the presenter that the logical framebuffer size changed.
virtual void shutdown(Window&)
Releases resources associated with the window.