19 inline bool isFramebufferResized()
const {
return m_framebufferResized; }
20 inline bool shouldClose()
const {
return m_shouldClose; }
21 inline VkSurfaceKHR getSurface()
const {
return m_surface; }
23 static const char** getRequiredInstanceExtensions(uint32_t* glfwExtensionCount);
26 void getValidFramebufferSize(
int* width,
int* height)
const;
27 void getFramebufferSize(
int* width,
int* height)
const;
28 VkBool32 isPhysicalDeviceSupported(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex)
const;
33 inline void setFramebufferResized(
bool value) { m_framebufferResized = value; }
37 VkSurfaceKHR m_surface;
39 bool m_framebufferResized =
false;
40 bool m_shouldClose =
false;
45 static void framebufferResizeCallback(GLFWwindow* window,
int width,
int height);