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

Method AddDrawList

KBotExt/imgui/imgui_draw.cpp:1863–1868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1861}
1862
1863void ImDrawData::AddDrawList(ImDrawList* draw_list)
1864{
1865 IM_ASSERT(CmdLists.Size == CmdListsCount);
1866 draw_list->_PopUnusedDrawCmd();
1867 ImGui::AddDrawListToDrawDataEx(this, &CmdLists, draw_list);
1868}
1869
1870// For backward compatibility: convert all buffers from indexed to de-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering!
1871void ImDrawData::DeIndexAllBuffers()

Callers

nothing calls this directly

Calls 1

_PopUnusedDrawCmdMethod · 0.80

Tested by

no test coverage detected