2#include <engine/engine_export.h>
5#include <ospp/display_mode.h>
8#include <ospp/window.h>
49 void resize(uint32_t w, uint32_t h);
79 std::unique_ptr<gfx::render_pass> pass_;
Struct representing a render window.
~render_window()
Destructor for the render window.
std::shared_ptr< gfx::frame_buffer > graphics_surface_t
auto get_surface() -> graphics_surface_t &
Gets the rendering surface.
void prepare_surface()
Prepares the rendering surface.
void destroy_surface()
Destroys the rendering surface.
auto begin_present_pass() -> gfx::render_pass &
Begins the present render pass.
void resize(uint32_t w, uint32_t h)
Resizes the render window to the specified width and height.
auto get_window() -> os::window &
Gets the associated OS window.
render_window(os::window &&win)
Constructs a render window with the specified OS window.
auto get_present_pass() -> gfx::render_pass &
Gets the present render pass.