MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / _ClearFreeMemory

Method _ClearFreeMemory

extern/imgui/imgui_draw.cpp:417–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417void ImDrawList::_ClearFreeMemory()
418{
419 CmdBuffer.clear();
420 IdxBuffer.clear();
421 VtxBuffer.clear();
422 Flags = ImDrawListFlags_None;
423 _VtxCurrentIdx = 0;
424 _VtxWritePtr = NULL;
425 _IdxWritePtr = NULL;
426 _ClipRectStack.clear();
427 _TextureIdStack.clear();
428 _Path.clear();
429 _Splitter.ClearFreeMemory();
430}
431
432ImDrawList* ImDrawList::CloneOutput() const
433{

Callers 1

Calls 2

clearMethod · 0.45
ClearFreeMemoryMethod · 0.45

Tested by

no test coverage detected