BufferSetup struct
Used as configuration for creating a new tp::
Constructors, destructors, conversion operators
- BufferSetup(uint64_t size, BufferUsageMask usage, VkBufferUsageFlags vkAdditionalUsage = 0, VmaAllocationCreateFlags vmaAdditionalFlags = 0, uint32_t additionalAlignment = 1)
Function documentation
tp:: BufferSetup:: BufferSetup(uint64_t size,
BufferUsageMask usage,
VkBufferUsageFlags vkAdditionalUsage = 0,
VmaAllocationCreateFlags vmaAdditionalFlags = 0,
uint32_t additionalAlignment = 1)
| 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_ |
| additionalAlignment | Extra user-specified alignment that should be taken into account for this buffer and its views. Must be a power of two. |