diff options
| author | Quentin LADEVIE <qladevie@wanadev.fr> | 2025-01-26 22:27:10 +0100 |
|---|---|---|
| committer | Quentin LADEVIE <qladevie@wanadev.fr> | 2025-01-26 22:27:10 +0100 |
| commit | c29105b461135f3909cca0308fb05715cee45763 (patch) | |
| tree | 49c6c41bb88377f6af73ebdf39821038b88b05cf /include/api-test/vk-device.hpp | |
| parent | 3490db941ea16e67da72f60ebda75ec0f8bb8051 (diff) | |
DX12 command buffers and resourcesapi-proto
Diffstat (limited to 'include/api-test/vk-device.hpp')
| -rw-r--r-- | include/api-test/vk-device.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/api-test/vk-device.hpp b/include/api-test/vk-device.hpp index 9dffad8..dc46e1a 100644 --- a/include/api-test/vk-device.hpp +++ b/include/api-test/vk-device.hpp @@ -5,12 +5,13 @@ #include <vulkan/vulkan_core.h> -#include "command-buffer.hpp" #include "freelist.hpp" +#include "vk-device-types.hpp" #include "vk-bindless.hpp" using VmaAllocator = struct VmaAllocator_T*; +struct command_buffer; class window; class vkdevice { @@ -23,6 +24,7 @@ class vkdevice { public: void init(); + void deinit(); static inline vkdevice& get_render_device() { return render_device; @@ -106,7 +108,7 @@ class vkdevice { private: vkdevice() = default; - ~vkdevice(); + ~vkdevice() = default; void allocate_command_buffers(command_buffer* buffers, size_t count, QueueType type); |
