Vulkan Memory Allocator
|
Parameters for defragmentation. More...
Public Attributes | |
VmaDefragmentationFlags | flags |
Use combination of VmaDefragmentationFlagBits. More... | |
VmaPool | pool |
Custom pool to be defragmented. More... | |
VkDeviceSize | maxBytesPerPass |
Maximum numbers of bytes that can be copied during single pass, while moving allocations to different places. More... | |
uint32_t | maxAllocationsPerPass |
Maximum number of allocations that can be moved during single pass to a different place. More... | |
Parameters for defragmentation.
To be used with function vmaBeginDefragmentation().
VmaDefragmentationFlags VmaDefragmentationInfo::flags |
Use combination of VmaDefragmentationFlagBits.
uint32_t VmaDefragmentationInfo::maxAllocationsPerPass |
Maximum number of allocations that can be moved during single pass to a different place.
0
means no limit.
VkDeviceSize VmaDefragmentationInfo::maxBytesPerPass |
Maximum numbers of bytes that can be copied during single pass, while moving allocations to different places.
0
means no limit.
VmaPool VmaDefragmentationInfo::pool |
Custom pool to be defragmented.
If null then default pools will undergo defragmentation process.