| 368 | } |
| 369 | |
| 370 | void BustItemCache() { |
| 371 | ImPlotContext& gp = *GImPlot; |
| 372 | for (int p = 0; p < gp.Plots.GetBufSize(); ++p) { |
| 373 | ImPlotPlot& plot = *gp.Plots.GetByIndex(p); |
| 374 | plot.Items.Reset(); |
| 375 | } |
| 376 | for (int p = 0; p < gp.Subplots.GetBufSize(); ++p) { |
| 377 | ImPlotSubplot& subplot = *gp.Subplots.GetByIndex(p); |
| 378 | subplot.Items.Reset(); |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | void BustColorCache(const char* plot_title_id) { |
| 383 | ImPlotContext& gp = *GImPlot; |
no test coverage detected