MCPcopy Create free account
hub / github.com/RenderKit/embree / _ClearFreeMemory

Method _ClearFreeMemory

tutorials/common/imgui/imgui_draw.cpp:410–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410void ImDrawList::_ClearFreeMemory()
411{
412 CmdBuffer.clear();
413 IdxBuffer.clear();
414 VtxBuffer.clear();
415 Flags = ImDrawListFlags_None;
416 _VtxCurrentIdx = 0;
417 _VtxWritePtr = NULL;
418 _IdxWritePtr = NULL;
419 _ClipRectStack.clear();
420 _TextureIdStack.clear();
421 _Path.clear();
422 _Splitter.ClearFreeMemory();
423}
424
425ImDrawList* ImDrawList::CloneOutput() const
426{

Callers 1

Calls 2

clearMethod · 0.45
ClearFreeMemoryMethod · 0.45

Tested by

no test coverage detected