Renamed function vmaGetBudget to vmaGetHeapBudgets. COMPATIBILITY BREAKING!

Rebuilt the docs.
Closes #213
This commit is contained in:
Adam Sawicki 2021-12-06 17:36:18 +01:00
parent 4687f53764
commit 35eeb340a3
19 changed files with 330 additions and 322 deletions

View file

@ -5473,7 +5473,7 @@ static void TestBudget()
vmaSetCurrentFrameIndex(g_hAllocator, ++g_FrameIndex);
VmaBudget budgetBeg[VK_MAX_MEMORY_HEAPS] = {};
vmaGetBudget(g_hAllocator, budgetBeg);
vmaGetHeapBudgets(g_hAllocator, budgetBeg);
for(uint32_t i = 0; i < memProps->memoryHeapCount; ++i)
{
@ -5514,7 +5514,7 @@ static void TestBudget()
}
VmaBudget budgetWithBufs[VK_MAX_MEMORY_HEAPS] = {};
vmaGetBudget(g_hAllocator, budgetWithBufs);
vmaGetHeapBudgets(g_hAllocator, budgetWithBufs);
// DESTROY BUFFERS
for(size_t bufIndex = BUF_COUNT; bufIndex--; )
@ -5523,7 +5523,7 @@ static void TestBudget()
}
VmaBudget budgetEnd[VK_MAX_MEMORY_HEAPS] = {};
vmaGetBudget(g_hAllocator, budgetEnd);
vmaGetHeapBudgets(g_hAllocator, budgetEnd);
// CHECK
for(uint32_t i = 0; i < memProps->memoryHeapCount; ++i)