| 6855 | |
| 6856 | #if VMA_STATS_STRING_ENABLED |
| 6857 | void VmaBlockMetadata::PrintDetailedMap_Begin(class VmaJsonWriter& json, |
| 6858 | VkDeviceSize unusedBytes, size_t allocationCount, size_t unusedRangeCount) const |
| 6859 | { |
| 6860 | json.WriteString("TotalBytes"); |
| 6861 | json.WriteNumber(GetSize()); |
| 6862 | |
| 6863 | json.WriteString("UnusedBytes"); |
| 6864 | json.WriteNumber(unusedBytes); |
| 6865 | |
| 6866 | json.WriteString("Allocations"); |
| 6867 | json.WriteNumber((uint64_t)allocationCount); |
| 6868 | |
| 6869 | json.WriteString("UnusedRanges"); |
| 6870 | json.WriteNumber((uint64_t)unusedRangeCount); |
| 6871 | |
| 6872 | json.WriteString("Suballocations"); |
| 6873 | json.BeginArray(); |
| 6874 | } |
| 6875 | |
| 6876 | void VmaBlockMetadata::PrintDetailedMap_Allocation(class VmaJsonWriter& json, |
| 6877 | VkDeviceSize offset, VkDeviceSize size, void* userData) const |
nothing calls this directly
no test coverage detected