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

35 lines
1.3 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#L1193">implot.h:1193</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4721">implot.cpp:4721</see>
/// <br/>
/// <c>bool ColormapSlider(const char* label, float* t, ImVec4* out = nullptr, const char* format = "", ImPlotColormap cmap = IMPLOT_AUTO)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Shows a horizontal slider with a colormap gradient background. Optionally returns the color sampled
/// at t in [0 1].
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 ColormapSlider(
byte* label,
float* t,
float4* @out,
byte* format,
ImPlotColormap cmap
);
}
}
}