<trclass="memdesc:a58b492901baab685f466199124e514a0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sum size of all <code>VkDeviceMemory</code> blocks allocated from particular heap, in bytes. <ahref="struct_vma_budget.html#a58b492901baab685f466199124e514a0">More...</a><br/></td></tr>
<trclass="memdesc:a7e2a6583ebd63e194951c542563804d8"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sum size of all allocations created in particular heap, in bytes. <ahref="struct_vma_budget.html#a7e2a6583ebd63e194951c542563804d8">More...</a><br/></td></tr>
<trclass="memdesc:a84dd1ecca8b0110259eb206dbadb11f6"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Estimated current memory usage of the program, in bytes. <ahref="struct_vma_budget.html#a84dd1ecca8b0110259eb206dbadb11f6">More...</a><br/></td></tr>
<trclass="memdesc:ab82e1d1754c2d210d0bdf90220bc6cdd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Estimated amount of memory available to the program, in bytes. <ahref="struct_vma_budget.html#ab82e1d1754c2d210d0bdf90220bc6cdd">More...</a><br/></td></tr>
<p>Usually less or equal than <code>blockBytes</code>. Difference <code>blockBytes - allocationBytes</code> is the amount of memory allocated but unused - available for new allocations or wasted due to fragmentation.</p>
<p>It might be greater than <code>blockBytes</code> if there are some allocations in lost state, as they account to this value as well. </p>
<p>Estimated amount of memory available to the program, in bytes. </p>
<p>Fetched from system using <code>VK_EXT_memory_budget</code> extension if enabled.</p>
<p>It might be different (most probably smaller) than <code>VkMemoryHeap::size[heapIndex]</code> due to factors external to the program, like other programs also consuming system resources. Difference <code>budget - usage</code> is the amount of additional memory that can probably be allocated without problems. Exceeding the budget may result in various problems. </p>
<p>Estimated current memory usage of the program, in bytes. </p>
<p>Fetched from system using <code>VK_EXT_memory_budget</code> extension if enabled.</p>
<p>It might be different than <code>blockBytes</code> (usually higher) due to additional implicit objects also occupying the memory, like swapchain, pipelines, descriptor heaps, command buffers, or <code>VkDeviceMemory</code> blocks allocated outside of this library, if any. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>