| 10088 | } |
| 10089 | |
| 10090 | void 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 | |
| 10099 | void VmaCurrentBudgetData::RemoveAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) |
| 10100 | { |
no outgoing calls
no test coverage detected