summaryrefslogtreecommitdiff
path: root/src/window.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-10-10 14:58:06 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-10-10 14:58:06 -0400
commitf872f6b0f27401804e51e7ddbccf680aba8d535e (patch)
treea1d4417f95e5da2230b67a9cd09fbc5e59b401a7 /src/window.hpp
parentfd7f42449557771ab0b6a679853c245681801ba3 (diff)
create and destroy debug pipeline resources
Diffstat (limited to 'src/window.hpp')
-rw-r--r--src/window.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/window.hpp b/src/window.hpp
index 0ab3910..91f9929 100644
--- a/src/window.hpp
+++ b/src/window.hpp
@@ -54,6 +54,19 @@ struct UniformBufferObject {
extern UniformBufferObject UBO;
extern VkBuffer UniformBuffers[MAX_FRAMES_IN_FLIGHT];
+struct DebugHitbox {
+ VkImage vkImage = VK_NULL_HANDLE;
+ VkImageView vkImageView = VK_NULL_HANDLE;
+ VkDeviceMemory textureMemory = VK_NULL_HANDLE;
+ VkDeviceMemory vertBufferMemory = VK_NULL_HANDLE;
+ VkBuffer vertexBuffer;
+ VkBuffer normalsBuffer;
+ VkBuffer uvBuffer;
+ VkBuffer indexBuffer;
+ VkDescriptorPool vkDescriptorPool;
+ VkDescriptorSet *vkDescriptorSets = nullptr;
+};
+extern DebugHitbox pkeDebugHitbox;
struct ImplementedPipelines {
VkDescriptorSetLayout vkDescriptorSetLayout_Texture = VK_NULL_HANDLE;
VkPipelineLayout vkPipelineLayout_Texture = VK_NULL_HANDLE;