Vulkan Memory Allocator
Public Attributes | List of all members
VmaDefragmentationInfo Struct Reference

Optional configuration parameters to be passed to function vmaDefragment(). More...

#include <vk_mem_alloc.h>

Public Attributes

VkDeviceSize maxBytesToMove
 Maximum total numbers of bytes that can be copied while moving allocations to different places. More...
 
uint32_t maxAllocationsToMove
 Maximum number of allocations that can be moved to different place. More...
 

Detailed Description

Optional configuration parameters to be passed to function vmaDefragment().

Member Data Documentation

◆ maxAllocationsToMove

uint32_t VmaDefragmentationInfo::maxAllocationsToMove

Maximum number of allocations that can be moved to different place.

Default is UINT32_MAX, which means no limit.

◆ maxBytesToMove

VkDeviceSize VmaDefragmentationInfo::maxBytesToMove

Maximum total numbers of bytes that can be copied while moving allocations to different places.

Default is VK_WHOLE_SIZE, which means no limit.


The documentation for this struct was generated from the following file: