MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / AddAllocation

Method AddAllocation

include/vk_mem_alloc.h:10090–10097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10088}
10089
10090void VmaCurrentBudgetData::AddAllocation(uint32_t heapIndex, VkDeviceSize allocationSize)
10091{
10092 m_AllocationBytes[heapIndex] += allocationSize;
10093 ++m_AllocationCount[heapIndex];
10094#if VMA_MEMORY_BUDGET
10095 ++m_OperationsSinceBudgetFetch;
10096#endif
10097}
10098
10099void VmaCurrentBudgetData::RemoveAllocation(uint32_t heapIndex, VkDeviceSize allocationSize)
10100{

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected