struct VmaDefragmentationContext_T
Defined at line 7588 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h
Public Methods
void VmaDefragmentationContext_T (VmaAllocator hAllocator, uint32_t currFrameIndex, uint32_t flags, VmaDefragmentationStats * pStats)
/////////////////////////////////////////////////////////////////////////////
VmaDefragmentationContext
Defined at line 14686 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h
void ~VmaDefragmentationContext_T ()
Defined at line 14700 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h
void AddPools (uint32_t poolCount, const VmaPool * pPools)
Defined at line 14719 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h
void AddAllocations (uint32_t allocationCount, const VmaAllocation * pAllocations, VkBool32 * pAllocationsChanged)
Defined at line 14754 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h
VkResult Defragment (VkDeviceSize maxCpuBytesToMove, uint32_t maxCpuAllocationsToMove, VkDeviceSize maxGpuBytesToMove, uint32_t maxGpuAllocationsToMove, VkCommandBuffer commandBuffer, VmaDefragmentationStats * pStats, VmaDefragmentationFlags flags)
Returns:
- `VK_SUCCESS` if succeeded and object can be destroyed immediately.
- `VK_NOT_READY` if succeeded but the object must remain alive until vmaDefragmentationEnd().
- Negative value if error occurred and object can be destroyed immediately.
Defined at line 14823 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h
VkResult DefragmentPassBegin (VmaDefragmentationPassInfo * pInfo)
Defined at line 14902 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h
VkResult DefragmentPassEnd ()
Defined at line 14976 of file ../../src/ui/lib/escher/third_party/VulkanMemoryAllocator/vk_mem_alloc.h