The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
|
Vulkan Memory Allocator
|
Statistics of current memory usage and available budget for a specific memory heap. More...
#include <vk_mem_alloc.h>
Public Attributes | |
| VmaStatistics | statistics |
| Statistics fetched from the library. | |
| VkDeviceSize | usage |
| Estimated current memory usage of the program, in bytes. | |
| VkDeviceSize | budget |
| Estimated amount of memory available to the program, in bytes. | |
Statistics of current memory usage and available budget for a specific memory heap.
These are fast to calculate. See function vmaGetHeapBudgets().
| VkDeviceSize VmaBudget::budget |
Estimated amount of memory available to the program, in bytes.
Fetched from system using VK_EXT_memory_budget extension if enabled.
It might be different (most probably smaller) than VkMemoryHeap::size[heapIndex] due to factors external to the program, decided by the operating system. Difference budget - usage is the amount of additional memory that can probably be allocated without problems. Exceeding the budget may result in various problems.
| VmaStatistics VmaBudget::statistics |
Statistics fetched from the library.
| VkDeviceSize VmaBudget::usage |
Estimated current memory usage of the program, in bytes.
Fetched from system using VK_EXT_memory_budget extension if enabled.
It might be different than statistics.blockBytes (usually higher) due to additional implicit objects also occupying the memory, like swapchain, pipelines, descriptor heaps, command buffers, or VkDeviceMemory blocks allocated outside of this library, if any.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.