#include <bufferdata.h>
Public Member Functions | |
BufferData ()=default | |
void | release () |
Public Attributes | |
VmaAllocation | mAllocation = VK_NULL_HANDLE |
Vulkan memory allocation handle. More... | |
VmaAllocationInfo | mAllocationInfo |
Vulkan allocation information. More... | |
VkBufferUsageFlags | mUsage = 0 |
Usage flags. More... | |
VkBuffer | mBuffer = VK_NULL_HANDLE |
Vulkan buffer. More... | |
Vulkan Buffer Data Structure Binds a buffer, usage information, memory allocation and allocation information together.
|
default |
void release | ( | ) |
Releases the buffer, resetting all the handles to null. Does not delete it.
VmaAllocation mAllocation = VK_NULL_HANDLE |
Vulkan memory allocation handle.
VmaAllocationInfo mAllocationInfo |
Vulkan allocation information.
VkBuffer mBuffer = VK_NULL_HANDLE |
Vulkan buffer.
VkBufferUsageFlags mUsage = 0 |
Usage flags.