This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit b578433e37
132 changed files with 784842 additions and 0 deletions

View file

@ -0,0 +1,52 @@
// <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#L1159">implot.h:1159</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4494">implot.cpp:4494</see>
/// <br/>
/// <c>ImPlotColormap AddColormap(const char* name, const ImVec4* cols, int size, bool qual=true)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the
/// string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive
/// an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a
/// continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly
/// interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes.
/// </code>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial ImPlotColormap AddColormap_0(byte* name, float4* cols, int size, Bool8 qual);
/// <summary>
/// <para>
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1160">implot.h:1160</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4505">implot.cpp:4505</see>
/// <br/>
/// <c>ImPlotColormap AddColormap(const char* name, const ImU32* cols, int size, bool qual=true)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the
/// string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive
/// an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a
/// continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly
/// interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes.
/// </code>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial ImPlotColormap AddColormap_1(byte* name, uint* cols, int size, Bool8 qual);
}
}
}

View file

@ -0,0 +1,60 @@
// <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#L949">implot.h:949</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3807">implot.cpp:3807</see>
/// <br/>
/// <c>void Annotation(double x, double y, const ImVec4&amp; col, const ImVec2&amp; pix_offset, bool clamp, bool round = false)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Shows an annotation callout at a chosen point. Clamping keeps annotations in the plot area.
/// Annotations are always rendered on top.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial void Annotation_0(
double x,
double y,
float4* col,
float2* pix_offset,
Bool8 clamp,
Bool8 round
);
/// <summary>
/// <para>
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L950">implot.h:950</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3830">implot.cpp:3830</see>
/// <br/>
/// <c>void Annotation(double x, double y, const ImVec4&amp; col, const ImVec2&amp; pix_offset, bool clamp, const char* fmt, ...) IM_FMTARGS(6)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Shows an annotation callout at a chosen point. Clamping keeps annotations in the plot area.
/// Annotations are always rendered on top.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial void Annotation_1(
double x,
double y,
float4* col,
float2* pix_offset,
Bool8 clamp,
byte* fmt
);
}
}
}

View file

@ -0,0 +1,28 @@
// <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#L1014">implot.h:1014</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4353">implot.cpp:4353</see>
/// <br/><c>bool BeginAlignedPlots(const char* group_id, bool vertical = true)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Align axis padding over multiple plots in a single row or column. #group_id must
/// be unique. If this function returns true, EndAlignedPlots() must be called.
/// </code>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginAlignedPlots(byte* group_id, Bool8 vertical);
}
}
}

View file

@ -0,0 +1,28 @@
// <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#L1048">implot.h:1048</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4323">implot.cpp:4323</see>
/// <br/><c>bool BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags=0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Turns the current plot's X-axis into a drag and drop source. You must hold Ctrl. Don't forget to
/// call EndDragDropSource!
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginDragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags);
}
}
}

View file

@ -0,0 +1,28 @@
// <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#L1050">implot.h:1050</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4332">implot.cpp:4332</see>
/// <br/><c>bool BeginDragDropSourceItem(const char* label_id, ImGuiDragDropFlags flags=0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Turns an item in the current plot's legend into drag and drop source. Don't forget to call
/// EndDragDropSource!
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginDragDropSourceItem(byte* label_id, ImGuiDragDropFlags flags);
}
}
}

View file

@ -0,0 +1,28 @@
// <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#L1046">implot.h:1046</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4314">implot.cpp:4314</see>
/// <br/><c>bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags=0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Turns the current plot's plotting area into a drag and drop source. You must hold Ctrl. Don't forget
/// to call EndDragDropSource!
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginDragDropSourcePlot(ImGuiDragDropFlags flags);
}
}
}

View file

@ -0,0 +1,27 @@
// <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#L1036">implot.h:1036</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4293">implot.cpp:4293</see>
/// <br/><c>bool BeginDragDropTargetAxis(ImAxis axis)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Turns the current plot's X-axis into a drag and drop target. Don't forget to call EndDragDropTarget!
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginDragDropTargetAxis(ImAxis axis);
}
}
}

View file

@ -0,0 +1,27 @@
// <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#L1038">implot.h:1038</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4302">implot.cpp:4302</see>
/// <br/><c>bool BeginDragDropTargetLegend()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Turns the current plot's legend into a drag and drop target. Don't forget to call EndDragDropTarget!
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginDragDropTargetLegend();
}
}
}

View file

@ -0,0 +1,28 @@
// <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#L1034">implot.h:1034</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4286">implot.cpp:4286</see>
/// <br/><c>bool BeginDragDropTargetPlot()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Turns the current plot's plotting area into a drag and drop target. Don't forget to call
/// EndDragDropTarget!
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginDragDropTargetPlot();
}
}
}

View file

@ -0,0 +1,27 @@
// <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#L1023">implot.h:1023</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4225">implot.cpp:4225</see>
/// <br/><c>bool BeginLegendPopup(const char* label_id, ImGuiMouseButton mouse_button=1)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Begin a popup for a legend entry.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginLegendPopup(byte* label_id, ImGuiMouseButton mouse_button);
}
}
}

View file

@ -0,0 +1,32 @@
// <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#L636">implot.h:636</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L2372">implot.cpp:2372</see>
/// <br/>
/// <c>bool BeginPlot(const char* title_id, const ImVec2&amp; size=ImVec2(-1,0), ImPlotFlags flags=0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// - #title_id must be unique to the current ImGui ID scope. If you need to avoid ID
/// collisions or don't want to display a title in the plot, use double hashes
/// (e.g. "MyPlot##HiddenIdText" or "##NoTitle").
/// - #size is the **frame** size of the plot widget, not the plot area. The default
/// size of plots (i.e. when ImVec2(0,0)) can be modified in your ImPlotStyle.
/// </code>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginPlot(byte* title_id, float2* size, ImPlotFlags flags);
}
}
}

View file

@ -0,0 +1,30 @@
// <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#L692">implot.h:692</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3341">implot.cpp:3341</see>
/// <br/><c>bool BeginSubplots(const char* title_id,</c>
/// </para>
/// </summary>
[LibraryImport("implot")]
public static unsafe partial Bool8 BeginSubplots(
byte* title_id,
int rows,
int cols,
float2* size,
ImPlotSubplotFlags flags,
float* row_ratios,
float* col_ratios
);
}
}
}

View file

@ -0,0 +1,33 @@
// <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);
}
}
}

View file

@ -0,0 +1,27 @@
// <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#L1001">implot.h:1001</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L3787">implot.cpp:3787</see>
/// <br/><c>void CancelPlotSelection()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Cancels a the current plot box selection.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial void CancelPlotSelection();
}
}
}

View file

@ -0,0 +1,28 @@
// <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#L1195">implot.h:1195</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4755">implot.cpp:4755</see>
/// <br/>
/// <c>bool ColormapButton(const char* label, const ImVec2&amp; size = ImVec2(0,0), ImPlotColormap cmap = IMPLOT_AUTO)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Shows a button with a colormap gradient brackground.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial Bool8 ColormapButton(byte* label, float2* size, ImPlotColormap cmap);
}
}
}

View file

@ -0,0 +1,27 @@
// <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#L1225">implot.h:1225</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4843">implot.cpp:4843</see>
/// <br/><c>void ColormapIcon(ImPlotColormap cmap)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Render icons similar to those that appear in legends (nifty for data lists).
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial void ColormapIcon(ImPlotColormap cmap);
}
}
}

View file

@ -0,0 +1,38 @@
// <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
);
}
}
}

View file

@ -0,0 +1,35 @@
// <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
);
}
}
}

View file

@ -0,0 +1,27 @@
// <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#L602">implot.h:602</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L436">implot.cpp:436</see>
/// <br/><c>ImPlotContext* CreateContext()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Creates a new ImPlot context. Call this after ImGui::CreateContext.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial ImPlotContext* CreateContext();
}
}
}

View file

@ -0,0 +1,28 @@
// <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#L604">implot.h:604</see>,
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L444">implot.cpp:444</see>
/// <br/><c>void DestroyContext(ImPlotContext* ctx = nullptr)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Destroys an ImPlot context. Call this before ImGui::DestroyContext. nullptr = destroy current
/// context.
/// </para>
/// </remarks>
[LibraryImport("implot")]
public static unsafe partial void DestroyContext(ImPlotContext* ctx);
}
}
}

Some files were not shown because too many files have changed in this diff Show more