mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
70 lines
3 KiB
C#
70 lines
3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
public partial class ImGui
|
|
{
|
|
public unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L799">imgui.h:799</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L8704">imgui_widgets.cpp:8704</see>
|
|
/// <br/>
|
|
/// <c>void PlotLines(const char* label, const float* values, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0, 0), int stride = sizeof(float))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Widgets: Data Plotting
|
|
/// - Consider using ImPlot (https://github.com/epezent/implot) which is much better!
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void PlotLines_0(
|
|
byte* label,
|
|
float* values,
|
|
int values_count,
|
|
int values_offset,
|
|
byte* overlay_text,
|
|
float scale_min,
|
|
float scale_max,
|
|
float2 graph_size,
|
|
int stride
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L800">imgui.h:800</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L8710">imgui_widgets.cpp:8710</see>
|
|
/// <br/>
|
|
/// <c>void PlotLines(const char* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0, 0))</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Widgets: Data Plotting
|
|
/// - Consider using ImPlot (https://github.com/epezent/implot) which is much better!
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void PlotLines_1(
|
|
byte* label,
|
|
nint values_getter,
|
|
void* data,
|
|
int values_count,
|
|
int values_offset,
|
|
byte* overlay_text,
|
|
float scale_min,
|
|
float scale_max,
|
|
float2 graph_size
|
|
);
|
|
}
|
|
}
|
|
}
|