MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / BustItemCache

Function BustItemCache

Source/3rdParty/implot/implot_items.cpp:370–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void 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
382void BustColorCache(const char* plot_title_id) {
383 ImPlotContext& gp = *GImPlot;

Callers 4

ShowColormapSelectorFunction · 0.85
ShowStyleEditorFunction · 0.85
ShowMetricsWindowFunction · 0.85
BustColorCacheFunction · 0.85

Calls 3

GetBufSizeMethod · 0.80
GetByIndexMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected