MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / AddDrawList

Method AddDrawList

include/imgui/imgui_draw.cpp:2335–2340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2333}
2334
2335void ImDrawData::AddDrawList(ImDrawList* draw_list)
2336{
2337 IM_ASSERT(CmdLists.Size == CmdListsCount);
2338 draw_list->_PopUnusedDrawCmd();
2339 ImGui::AddDrawListToDrawDataEx(this, &CmdLists, draw_list);
2340}
2341
2342// 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!
2343void ImDrawData::DeIndexAllBuffers()

Callers

nothing calls this directly

Calls 1

_PopUnusedDrawCmdMethod · 0.80

Tested by

no test coverage detected