summaryrefslogtreecommitdiff
path: root/engine/xe_frame_info.hpp
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-09-18 21:20:51 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-09-18 21:20:51 -0400
commit8045b8ba04aae39a4cf9733e72413f648b6ebe2b (patch)
treef90a9bd50a2316d5077df99c9e8584afc76ed656 /engine/xe_frame_info.hpp
downloadminecraftvulkan-8045b8ba04aae39a4cf9733e72413f648b6ebe2b.tar.gz
minecraftvulkan-8045b8ba04aae39a4cf9733e72413f648b6ebe2b.tar.bz2
minecraftvulkan-8045b8ba04aae39a4cf9733e72413f648b6ebe2b.zip
stanford dragon rendering
Diffstat (limited to 'engine/xe_frame_info.hpp')
-rw-r--r--engine/xe_frame_info.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/engine/xe_frame_info.hpp b/engine/xe_frame_info.hpp
new file mode 100644
index 0000000..d6cf7cb
--- /dev/null
+++ b/engine/xe_frame_info.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "xe_camera.hpp"
+
+#include <vulkan/vulkan.h>
+
+namespace xe {
+
+struct XeFrameInfo {
+ int frameIndex;
+ float frameTime;
+ VkCommandBuffer commandBuffer;
+ XeCamera &camera;
+ VkDescriptorSet globalDescriptorSet;
+};
+
+} \ No newline at end of file