| 6623 | |
| 6624 | #if VMA_STATS_STRING_ENABLED |
| 6625 | void VmaDedicatedAllocationList::BuildStatsString(VmaJsonWriter& json) |
| 6626 | { |
| 6627 | VmaMutexLockRead lock(m_Mutex, m_UseMutex); |
| 6628 | json.BeginArray(); |
| 6629 | for (VmaAllocation alloc = m_AllocationList.Front(); |
| 6630 | alloc != VMA_NULL; alloc = m_AllocationList.GetNext(alloc)) |
| 6631 | { |
| 6632 | json.BeginObject(true); |
| 6633 | alloc->PrintParameters(json); |
| 6634 | json.EndObject(); |
| 6635 | } |
| 6636 | json.EndArray(); |
| 6637 | } |
| 6638 | #endif // VMA_STATS_STRING_ENABLED |
| 6639 | |
| 6640 | bool VmaDedicatedAllocationList::IsEmpty() |
no test coverage detected