blob: 38f31514eac46d40e22d611ac22128f69713387c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#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;
extern VkDevice vkDevice;
struct PKEWindowProperties {
unsigned int width = 1280;
unsigned int height = 720;
};
void CreateWindow(PKEWindowProperties *wp);
void DestroyWindow();
#endif /* PKE_WINDOW_HPP */
|