MCPcopy Create free account
hub / github.com/MrDrElliot/LuminaEngine / BustColorCache

Function BustColorCache

Engine/Source/ThirdParty/imgui/implot_items.cpp:372–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void BustColorCache(const char* plot_title_id) {
373 ImPlotContext& gp = *GImPlot;
374 if (plot_title_id == nullptr) {
375 BustItemCache();
376 }
377 else {
378 ImGuiID id = ImGui::GetCurrentWindow()->GetID(plot_title_id);
379 ImPlotPlot* plot = gp.Plots.GetByKey(id);
380 if (plot != nullptr)
381 plot->Items.Reset();
382 else {
383 ImPlotSubplot* subplot = gp.Subplots.GetByKey(id);
384 if (subplot != nullptr)
385 subplot->Items.Reset();
386 }
387 }
388}
389
390//-----------------------------------------------------------------------------
391// [SECTION] BeginItem / EndItem

Callers 1

Demo_HeatmapsFunction · 0.85

Calls 5

BustItemCacheFunction · 0.85
GetCurrentWindowFunction · 0.85
GetByKeyMethod · 0.80
GetIDMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected