| 2223 | } |
| 2224 | |
| 2225 | void 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! |
| 2233 | void ImDrawData::DeIndexAllBuffers() |
nothing calls this directly
no test coverage detected