diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-11 00:22:13 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-11 00:22:13 +1000 |
commit | eedd332680dbdd367197616658903f00252f5a9c (patch) | |
tree | b50b7fe4c014abd8fee65a2cb1567d8df9a38e7e /src/renderer/backends/backend_vulkan.h | |
parent | 3bd21c92678c62e61c10ba730e8c839edc5e967a (diff) |
upload data using staging buffer. use vertex buffer data
Diffstat (limited to 'src/renderer/backends/backend_vulkan.h')
-rw-r--r-- | src/renderer/backends/backend_vulkan.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/renderer/backends/backend_vulkan.h b/src/renderer/backends/backend_vulkan.h index 330ba18..0b0a492 100644 --- a/src/renderer/backends/backend_vulkan.h +++ b/src/renderer/backends/backend_vulkan.h @@ -75,4 +75,10 @@ typedef struct gpu_cmd_encoder { typedef struct gpu_cmd_buffer { VkCommandBuffer cmd_buffer; -} gpu_cmd_buffer;
\ No newline at end of file +} gpu_cmd_buffer; + +typedef struct gpu_buffer { + VkBuffer handle; + VkDeviceMemory memory; + u64 size; +} gpu_buffer; |