vkQuake2 doxygen  1.0 dev
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.

Definition at line 2423 of file vk_mem_alloc.h.

Member Data Documentation

◆ allocationCount

size_t VmaPoolStats::allocationCount

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

Definition at line 2432 of file vk_mem_alloc.h.

◆ blockCount

size_t VmaPoolStats::blockCount

Number of VkDeviceMemory blocks allocated for this pool.

Definition at line 2445 of file vk_mem_alloc.h.

◆ size

VkDeviceSize VmaPoolStats::size

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

Definition at line 2426 of file vk_mem_alloc.h.

◆ unusedRangeCount

size_t VmaPoolStats::unusedRangeCount

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

Definition at line 2435 of file vk_mem_alloc.h.

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

Definition at line 2442 of file vk_mem_alloc.h.

◆ unusedSize

VkDeviceSize VmaPoolStats::unusedSize

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

Definition at line 2429 of file vk_mem_alloc.h.