| 6887 | |
| 6888 | #if VMA_STATS_STRING_ENABLED |
| 6889 | void VmaDedicatedAllocationList::BuildStatsString(VmaJsonWriter& json) |
| 6890 | { |
| 6891 | VmaMutexLockRead lock(m_Mutex, m_UseMutex); |
| 6892 | json.BeginArray(); |
| 6893 | for (VmaAllocation alloc = m_AllocationList.Front(); |
| 6894 | alloc != VMA_NULL; alloc = m_AllocationList.GetNext(alloc)) |
| 6895 | { |
| 6896 | json.BeginObject(true); |
| 6897 | alloc->PrintParameters(json); |
| 6898 | json.EndObject(); |
| 6899 | } |
| 6900 | json.EndArray(); |
| 6901 | } |
| 6902 | #endif // VMA_STATS_STRING_ENABLED |
| 6903 | |
| 6904 | bool VmaDedicatedAllocationList::IsEmpty() |
no test coverage detected