MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / BeginObject

Method BeginObject

modules/engine/graphics/src/d3d12/D3D12MemAlloc.cpp:1351–1363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1349}
1350
1351void JsonWriter::BeginObject(bool singleLine)
1352{
1353 D3D12MA_ASSERT(!m_InsideString);
1354
1355 BeginValue(false);
1356 m_SB.Add(L'{');
1357
1358 StackItem stackItem;
1359 stackItem.type = COLLECTION_TYPE_OBJECT;
1360 stackItem.valueCount = 0;
1361 stackItem.singleLineMode = singleLine;
1362 m_Stack.push_back(stackItem);
1363}
1364
1365void JsonWriter::EndObject()
1366{

Callers 4

NormalBlockClass · 0.45
serializeImplMethod · 0.45

Calls 2

AddMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected