#pragma once #include <stdafx.h> namespace fpr { class VulkanWindow { GLFWwindow* m_window; uint32_t m_width; uint32_t m_height; bool resized = false; public: GLFWwindow* GetWindowHandle(); VulkanWindow(const char* title = "", uint32_t width = 800U, uint32_t height = 600U); vk::Extent2D GetCurrentExtent(); static void ResizeCallback(GLFWwindow* window, int width, int height); bool NeedsResizing(); void ResizeComplete(); ~VulkanWindow(); }; } // namespace fpr