wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::Window Class Reference

#include <window.hpp>

Public Member Functions

void shutdown ()
 
auto create_surface (::vk::Instance const &instance) -> expected<::vk::SurfaceKHR >
 
void dispatch_events (event::Dispatcher const &dispatcher)
 
auto get_required_vulkan_extension () const -> expected< std::vector< std::string_view > >
 
auto get_size () -> std::pair< int32_t, int32_t >
 
auto native_handle () const
 

Static Public Member Functions

static auto create (std::string const &application_name) -> expected< Window >
 

Member Function Documentation

◆ create()

auto wren::Window::create ( std::string const & application_name) -> expected<Window>
static
Here is the caller graph for this function:

◆ create_surface()

auto wren::Window::create_surface ( ::vk::Instance const & instance) -> expected<::vk::SurfaceKHR>

◆ dispatch_events()

void wren::Window::dispatch_events ( event::Dispatcher const & dispatcher)
Here is the call graph for this function:

◆ get_required_vulkan_extension()

auto wren::Window::get_required_vulkan_extension ( ) const -> expected<std::vector<std::string_view>>

◆ get_size()

auto wren::Window::get_size ( ) -> std::pair<int32_t, int32_t>
inline

◆ native_handle()

auto wren::Window::native_handle ( ) const
inline

◆ shutdown()

void wren::Window::shutdown ( )

The documentation for this class was generated from the following files: