MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / AddDrawList

Method AddDrawList

TheForceEngine/TFE_Ui/imGUI/imgui_draw.cpp:2225–2230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2223}
2224
2225void ImDrawData::AddDrawList(ImDrawList* draw_list)
2226{
2227 IM_ASSERT(CmdLists.Size == CmdListsCount);
2228 draw_list->_PopUnusedDrawCmd();
2229 ImGui::AddDrawListToDrawDataEx(this, &CmdLists, draw_list);
2230}
2231
2232// 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!
2233void ImDrawData::DeIndexAllBuffers()

Callers

nothing calls this directly

Calls 1

_PopUnusedDrawCmdMethod · 0.80

Tested by

no test coverage detected