| 6874 | } |
| 6875 | |
| 6876 | void VmaBlockMetadata::PrintDetailedMap_Allocation(class VmaJsonWriter& json, |
| 6877 | VkDeviceSize offset, VkDeviceSize size, void* userData) const |
| 6878 | { |
| 6879 | json.BeginObject(true); |
| 6880 | |
| 6881 | json.WriteString("Offset"); |
| 6882 | json.WriteNumber(offset); |
| 6883 | |
| 6884 | if (IsVirtual()) |
| 6885 | { |
| 6886 | json.WriteString("Size"); |
| 6887 | json.WriteNumber(size); |
| 6888 | if (userData) |
| 6889 | { |
| 6890 | json.WriteString("CustomData"); |
| 6891 | json.BeginString(); |
| 6892 | json.ContinueString_Pointer(userData); |
| 6893 | json.EndString(); |
| 6894 | } |
| 6895 | } |
| 6896 | else |
| 6897 | { |
| 6898 | ((VmaAllocation)userData)->PrintParameters(json); |
| 6899 | } |
| 6900 | |
| 6901 | json.EndObject(); |
| 6902 | } |
| 6903 | |
| 6904 | void VmaBlockMetadata::PrintDetailedMap_UnusedRange(class VmaJsonWriter& json, |
| 6905 | VkDeviceSize offset, VkDeviceSize size) |
nothing calls this directly
no test coverage detected