mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
33 lines
1.8 KiB
C#
33 lines
1.8 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImPlotApi
|
|
{
|
|
public partial class ImPlot
|
|
{
|
|
public unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1204">implot.h:1204</see>,
|
|
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_items.cpp#L372">implot_items.cpp:372</see>
|
|
/// <br/><c>void BustColorCache(const char* plot_title_id = nullptr)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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).
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("implot")]
|
|
public static unsafe partial void BustColorCache(byte* plot_title_id);
|
|
}
|
|
}
|
|
}
|