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

Describes parameter of existing VmaPool. More...

#include <vk_mem_alloc.h>

Public Attributes

VkDeviceSize size
 Total amount of VkDeviceMemory allocated from Vulkan for this pool, in bytes. More...
 
VkDeviceSize unusedSize
 Total number of bytes in the pool not used by any VmaAllocation. More...
 
size_t allocationCount
 Number of VmaAllocation objects created from this pool that were not destroyed or lost. More...
 
size_t unusedRangeCount
 Number of continuous memory ranges in the pool not used by any VmaAllocation. More...
 
VkDeviceSize unusedRangeSizeMax
 Size of the largest continuous free memory region available for new allocation. More...
 
size_t blockCount
 Number of VkDeviceMemory blocks allocated for this pool. More...
 

Detailed Description

Describes parameter of existing VmaPool.

Member Data Documentation

◆ allocationCount

size_t VmaPoolStats::allocationCount

Number of VmaAllocation objects created from this pool that were not destroyed or lost.

◆ blockCount

size_t VmaPoolStats::blockCount

Number of VkDeviceMemory blocks allocated for this pool.

◆ size

VkDeviceSize VmaPoolStats::size

Total amount of VkDeviceMemory allocated from Vulkan for this pool, in bytes.

◆ unusedRangeCount

size_t VmaPoolStats::unusedRangeCount

Number of continuous memory ranges in the pool not used by any VmaAllocation.

◆ unusedRangeSizeMax

VkDeviceSize VmaPoolStats::unusedRangeSizeMax

Size of the largest continuous free memory region available for new allocation.

Making a new allocation of that size is not guaranteed to succeed because of possible additional margin required to respect alignment and buffer/image granularity.

◆ unusedSize

VkDeviceSize VmaPoolStats::unusedSize

Total number of bytes in the pool not used by any VmaAllocation.


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