brutal/Brutal.ImPlot/Generated/PInvoke/ColormapScale.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

38 lines
1.6 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#L1191">implot.h:1191</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4632">implot.cpp:4632</see>
/// <br/>
/// <c>void ColormapScale(const char* label, double scale_min, double scale_max, const ImVec2&amp; size = ImVec2(0,0), const char* format = "%g", ImPlotColormapScaleFlags flags = 0, ImPlotColormap cmap = IMPLOT_AUTO)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Shows a vertical color scale with linear spaced ticks using the specified color map. Use double
/// hashes to hide label (e.g. "##NoLabel"). If scale_min &gt; scale_max, the scale to color mapping
/// will be reversed.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial void ColormapScale(
byte* label,
double scale_min,
double scale_max,
float2* size,
byte* format,
ImPlotColormapScaleFlags flags,
ImPlotColormap cmap
);
}
}
}