MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / PrintDetailedMap_Allocation

Method PrintDetailedMap_Allocation

include/vk_mem_alloc.h:6876–6902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6874}
6875
6876void 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
6904void VmaBlockMetadata::PrintDetailedMap_UnusedRange(class VmaJsonWriter& json,
6905 VkDeviceSize offset, VkDeviceSize size)

Callers

nothing calls this directly

Calls 8

BeginObjectMethod · 0.80
BeginStringMethod · 0.80
EndStringMethod · 0.80
PrintParametersMethod · 0.80
WriteStringMethod · 0.45
WriteNumberMethod · 0.45
EndObjectMethod · 0.45

Tested by

no test coverage detected