summaryrefslogtreecommitdiff
path: root/render/vulkan/surface.h
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-10-25 22:57:43 -0500
committerDanny Holman <dholman@gymli.org>2024-10-25 22:57:43 -0500
commit71befd8eaf7244badb0188b751066afacb8d8ee3 (patch)
treeca1c6bac49f68083556cb1492136078aff8a35b1 /render/vulkan/surface.h
parentc20adaa0c494edf1a04d88b925ca887f42e71bf1 (diff)
render: create the rendering subsystem
Create the rendering subsystem and populate it with a basic Vulkan renderer. This renderer is not yet functional and should not be used yet. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'render/vulkan/surface.h')
-rw-r--r--render/vulkan/surface.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/render/vulkan/surface.h b/render/vulkan/surface.h
new file mode 100644
index 0000000..8d59ab8
--- /dev/null
+++ b/render/vulkan/surface.h
@@ -0,0 +1,13 @@
+#ifndef VKSURFACE_H
+#define VKSURFACE_H
+
+#include <vulkan/vulkan.h>
+#include <GLFW/glfw3.h>
+
+struct vksurface {
+ VkSurfaceKHR handle;
+ uint32_t width;
+ uint32_t height;
+};
+
+#endif