MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / Clear

Method Clear

KBotExt/imgui/imgui_draw.cpp:1813–1820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1811//-----------------------------------------------------------------------------
1812
1813void ImDrawData::Clear()
1814{
1815 Valid = false;
1816 CmdListsCount = TotalIdxCount = TotalVtxCount = 0;
1817 CmdLists.resize(0); // The ImDrawList are NOT owned by ImDrawData but e.g. by ImGuiContext, so we don't clear them.
1818 DisplayPos = DisplaySize = FramebufferScale = ImVec2(0.0f, 0.0f);
1819 OwnerViewport = NULL;
1820}
1821
1822// Important: 'out_list' is generally going to be draw_data->CmdLists, but may be another temporary list
1823// as long at it is expected that the result will be later merged into draw_data->CmdLists[].

Callers 7

BeginTableExMethod · 0.45
ShutdownMethod · 0.45
NavMoveRequestSubmitMethod · 0.45
ClearDragDropMethod · 0.45
_ResetForNewFrameMethod · 0.45

Calls 1

ImVec2Function · 0.85

Tested by

no test coverage detected