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

Statistics returned by function vmaDefragment(). More...

#include <vk_mem_alloc.h>

Public Attributes

VkDeviceSize bytesMoved
 Total number of bytes that have been copied while moving allocations to different places. More...
 
VkDeviceSize bytesFreed
 Total number of bytes that have been released to the system by freeing empty VkDeviceMemory objects. More...
 
uint32_t allocationsMoved
 Number of allocations that have been moved to different places. More...
 
uint32_t deviceMemoryBlocksFreed
 Number of empty VkDeviceMemory objects that have been released to the system. More...
 

Detailed Description

Statistics returned by function vmaDefragment().

Member Data Documentation

◆ allocationsMoved

uint32_t VmaDefragmentationStats::allocationsMoved

Number of allocations that have been moved to different places.

◆ bytesFreed

VkDeviceSize VmaDefragmentationStats::bytesFreed

Total number of bytes that have been released to the system by freeing empty VkDeviceMemory objects.

◆ bytesMoved

VkDeviceSize VmaDefragmentationStats::bytesMoved

Total number of bytes that have been copied while moving allocations to different places.

◆ deviceMemoryBlocksFreed

uint32_t VmaDefragmentationStats::deviceMemoryBlocksFreed

Number of empty VkDeviceMemory objects that have been released to the system.


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