MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator / BeginArray

Method BeginArray

include/vk_mem_alloc.h:6114–6126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6112}
6113
6114void VmaJsonWriter::BeginArray(bool singleLine)
6115{
6116 VMA_ASSERT(!m_InsideString);
6117
6118 BeginValue(false);
6119 m_SB.Add('[');
6120
6121 StackItem item;
6122 item.type = COLLECTION_TYPE_ARRAY;
6123 item.valueCount = 0;
6124 item.singleLineMode = singleLine;
6125 m_Stack.push_back(item);
6126}
6127
6128void VmaJsonWriter::EndArray()
6129{

Callers 4

BuildStatsStringMethod · 0.80
PrintDetailedMapMethod · 0.80
vmaBuildStatsStringFunction · 0.80

Calls 2

AddMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected