//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImPlotApi
{
public partial class ImPlot
{
public unsafe partial class PInvoke
{
///
///
/// C++: implot.h:1204,
/// implot_items.cpp:372
///
void BustColorCache(const char* plot_title_id = nullptr)
///
///
///
///
/// When items in a plot sample their color from a colormap, the color is cached and does not change
/// unless explicitly overriden. Therefore, if you change the colormap after the item has already been plotted,
/// item colors will NOT update. If you need item colors to resample the new colormap, then use this
/// function to bust the cached colors. If #plot_title_id is nullptr, then every item in EVERY existing plot
/// will be cache busted. Otherwise only the plot specified by #plot_title_id will be busted. For the
/// latter, this function must be called in the same ImGui ID scope that the plot is in. You should rarely if ever
/// need this function, but it is available for applications that require runtime colormap swaps (e.g. Heatmaps demo).
///
///
[LibraryImport("implot")]
public static unsafe partial void BustColorCache(byte* plot_title_id);
}
}
}