4#include <SDL2/SDL_video.h>
5#include <spdlog/spdlog.h>
7#include <boost/describe/enum.hpp>
8#include <vulkan/vulkan.hpp>
16 SDL_VULKAN_EXTENSION);
32 auto get_size() -> std::pair<int32_t, int32_t> {
34 SDL_GetWindowSize(
window_, &w, &h);
auto get_size() -> std::pair< int32_t, int32_t >
Definition window.hpp:32
auto get_required_vulkan_extension() const -> expected< std::vector< std::string_view > >
Definition window.cpp:47
void dispatch_events(const event::Dispatcher &dispatcher)
Definition window.cpp:420
auto native_handle() const
Definition window.hpp:38
Window(SDL_Window *window)
Definition window.hpp:41
void shutdown()
Definition window.cpp:37
auto create_surface(const ::vk::Instance &instance) -> expected<::vk::SurfaceKHR >
Definition window.cpp:39
SDL_Window * window_
Definition window.hpp:43
static auto create(const std::string &application_name) -> expected< Window >
Definition window.cpp:18
Definition editor_scene.hpp:5
std::expected< T, Err > expected
Definition result.hpp:49
#define DEFINE_ERROR(cat_name, name,...)
Definition result.hpp:88