diff options
Diffstat (limited to 'src/window.hpp')
| -rw-r--r-- | src/window.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/window.hpp b/src/window.hpp new file mode 100644 index 0000000..4997327 --- /dev/null +++ b/src/window.hpp @@ -0,0 +1,22 @@ +#ifndef PKE_WINDOW_HPP +#define PKE_WINDOW_HPP + +#include <GLFW/glfw3.h> +#include <vulkan/vulkan.h> + +const unsigned int MAX_FRAMES_IN_FLIGHT = 3; + +extern GLFWwindow *glfwWindow; +extern VkInstance vkInstance; +extern VkPhysicalDevice vkPhysicalDevice; +extern VkSurfaceKHR vkSurfaceKHR; + +struct PKEWindowProperties { + unsigned int width = 1280; + unsigned int height = 720; +}; + +void CreateWindow(PKEWindowProperties *wp); +void DestroyWindow(); + +#endif /* PKE_WINDOW_HPP */ |
