.. index:: pair: class; EE::Window::FramePresenter .. _doxid-class_e_e_1_1_window_1_1_frame_presenter: class EE::Window::FramePresenter ================================ .. toctree:: :hidden: Overview ~~~~~~~~ Presentation boundary used to export completed :ref:`Window ` frames to an external transport. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class FramePresenter { public: // construction virtual :target:`~FramePresenter`(); // methods virtual bool :ref:`initialize`(:ref:`Window`&) = 0; virtual void :ref:`present`(:ref:`Window`&) = 0; virtual void :ref:`resized`(:ref:`Window`&, const :ref:`Math::Sizei`&); virtual void :ref:`shutdown`(:ref:`Window`&); }; .. _details-class_e_e_1_1_window_1_1_frame_presenter: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Presentation boundary used to export completed :ref:`Window ` frames to an external transport. Methods ------- .. index:: pair: function; initialize .. _doxid-class_e_e_1_1_window_1_1_frame_presenter_1a748b75c87c230945cde78fb8be777339: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual bool initialize(:ref:`Window`&) = 0 Initializes the presenter for a window. .. rubric:: Returns: True when presentation can begin. .. index:: pair: function; present .. _doxid-class_e_e_1_1_window_1_1_frame_presenter_1ae8fab37e4fec5d340d1408cc2fd439b5: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void present(:ref:`Window`&) = 0 Queues or presents the window's completed frame. .. index:: pair: function; resized .. _doxid-class_e_e_1_1_window_1_1_frame_presenter_1a61d4bd5c78a48f76d5224b609cf0a0f5: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void resized(:ref:`Window`&, const :ref:`Math::Sizei`&) Notifies the presenter that the logical framebuffer size changed. .. index:: pair: function; shutdown .. _doxid-class_e_e_1_1_window_1_1_frame_presenter_1a0ce3e369c501fecfa971f1fb645f4561: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual void shutdown(:ref:`Window`&) Releases resources associated with the window.