MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / Clear

Method Clear

lib/imgui/imgui_draw.cpp:379–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void ImDrawList::Clear()
380{
381 CmdBuffer.resize(0);
382 IdxBuffer.resize(0);
383 VtxBuffer.resize(0);
384 Flags = _Data ? _Data->InitialFlags : ImDrawListFlags_None;
385 _VtxCurrentOffset = 0;
386 _VtxCurrentIdx = 0;
387 _VtxWritePtr = NULL;
388 _IdxWritePtr = NULL;
389 _ClipRectStack.resize(0);
390 _TextureIdStack.resize(0);
391 _Path.resize(0);
392 _Splitter.Clear();
393}
394
395void ImDrawList::ClearFreeMemory()
396{

Callers 14

HAIKU_SetClipboardTextFunction · 0.45
DirectFB_RunCommandQueueFunction · 0.45
NewFrameMethod · 0.45
ShutdownMethod · 0.45
RenderMethod · 0.45
BeginMethod · 0.45
NavUpdateMethod · 0.45
ClearDragDropMethod · 0.45
mainFunction · 0.45
Deflate_CompressMethod · 0.45

Calls 1

resizeMethod · 0.45

Tested by 2

Deflate_CompressMethod · 0.36
Inflate_ExpandMethod · 0.36