VulkanBuffer struct

Constructors, destructors, conversion operators

VulkanBuffer() defaulted
~VulkanBuffer()
VulkanBuffer(const VulkanBuffer&) deleted
VulkanBuffer(VulkanBuffer&& o) noexcept

Public functions

auto operator=(const VulkanBuffer&) -> VulkanBuffer& deleted
auto operator=(VulkanBuffer&& o) -> VulkanBuffer& noexcept
auto IsValid() const -> bool
void Free()
Explicit release — use when you need to destroy before the destructor fires.

Public variables

vk::Buffer Buffer
thin wrapper, null until allocated
VmaAllocation Allocation
vk::DeviceAddress DeviceAddr
0 if BDA not requested
void* MappedPtr
Non-null for PersistentMapped/Staging.
VkDeviceSize Size
VmaAllocator Allocator