|
wren
Vulkan-based game engine
|
#include <window.hpp>
Public Member Functions | |
| void | shutdown () |
| auto | create_surface (const ::vk::Instance &instance) -> expected<::vk::SurfaceKHR > |
| void | dispatch_events (const event::Dispatcher &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 (const std::string &application_name) -> expected< Window > |
Private Member Functions | |
| Window (SDL_Window *window) | |
Private Attributes | |
| SDL_Window * | window_ |
|
inlineexplicitprivate |



| auto wren::Window::create_surface | ( | const ::vk::Instance & | instance | ) | -> expected<::vk::SurfaceKHR > |
| void wren::Window::dispatch_events | ( | const event::Dispatcher & | dispatcher | ) |

|
nodiscard |
|
inline |
|
inlinenodiscard |
| void wren::Window::shutdown | ( | ) |
|
private |