|
|
@ -18,8 +18,6 @@ Buffer::Buffer(VkDeviceSize size, VkBufferUsageFlags bufferUsage, VmaMemoryUsage |
|
|
|
allocationCreateInfo.flags = flags; |
|
|
|
allocationCreateInfo.flags = flags; |
|
|
|
|
|
|
|
|
|
|
|
vmaCreateBuffer(Instance::GetAllocator(), &bufferCreateInfo, &allocationCreateInfo, &handle, &allocation, &allocationInfo); |
|
|
|
vmaCreateBuffer(Instance::GetAllocator(), &bufferCreateInfo, &allocationCreateInfo, &handle, &allocation, &allocationInfo); |
|
|
|
|
|
|
|
|
|
|
|
vmaSetAllocationName(Instance::GetAllocator(), allocation, "My Custom name"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Buffer::Buffer(VkDeviceSize size, void *data, VkDeviceSize dataSize, VkBufferUsageFlags bufferUsage, |
|
|
|
Buffer::Buffer(VkDeviceSize size, void *data, VkDeviceSize dataSize, VkBufferUsageFlags bufferUsage, |
|
|
|