struct
BufferSetupUsed as configuration for creating a new tp::
Constructors, destructors, conversion operators
- BufferSetup(uint64_t size, BufferUsageMask usage, VkBufferUsageFlags vkAdditionalUsage = 0, VmaAllocationCreateFlags vmaAdditionalFlags = 0)
Function documentation
tp:: BufferSetup:: BufferSetup(uint64_t size,
BufferUsageMask usage,
VkBufferUsageFlags vkAdditionalUsage = 0,
VmaAllocationCreateFlags vmaAdditionalFlags = 0)
Parameters | |
---|---|
size | The size of the new buffer in bytes. |
usage | A mask of tp:: |
vkAdditionalUsage | A mask of additional Vulkan usage flags that will be passed to VkBufferCreateInfo. |
vmaAdditionalFlags | A mask of additional VMA allocation create flags that will be passed to <a href='https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/struct_ |