#ifndef VMABUFFER_HPP #define VMABUFFER_HPP #include "vk_mem_alloc.h" typedef struct vmaBufferStruct { VkBuffer buffer = VK_NULL_HANDLE; VmaAllocation allocation = VK_NULL_HANDLE; void destroy(VmaAllocator allocator) { vmaDestroyBuffer(allocator, buffer, allocation); } }VMABuffer; #endif