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

Deprecated. 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

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

Deprecated:
This is a part of the old interface. It is recommended to use structure VmaDefragmentationInfo2 and function vmaDefragmentationBegin() instead.

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: