mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
5 changed files with 784842 additions and 0 deletions
929
Brutal.ImPlot/Generated/Structs/ImPlotContext.gen.cs
Normal file
929
Brutal.ImPlot/Generated/Structs/ImPlotContext.gen.cs
Normal file
|
|
@ -0,0 +1,929 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImPlotApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ImPlot context (opaque struct, see implot_internal.h)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L77">implot.h:77</see><br/>
|
||||
/// <c>struct ImPlotContext</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 1584)]
|
||||
public partial struct ImPlotContext
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1206">implot_internal.h:1206</see>
|
||||
/// <br/><c>ImPool<ImPlotPlot> Plots</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImPool<ImPlotPlot> Plots;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1207">implot_internal.h:1207</see>
|
||||
/// <br/><c>ImPool<ImPlotSubplot> Subplots</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(40)]
|
||||
public ImPool<ImPlotSubplot> Subplots;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1208">implot_internal.h:1208</see>
|
||||
/// <br/><c>ImPlotPlot* CurrentPlot</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(80)]
|
||||
public ImPlotPlotPtr CurrentPlot;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1209">implot_internal.h:1209</see>
|
||||
/// <br/><c>ImPlotSubplot* CurrentSubplot</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(88)]
|
||||
public ImPlotSubplotPtr CurrentSubplot;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1210">implot_internal.h:1210</see>
|
||||
/// <br/><c>ImPlotItemGroup* CurrentItems</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(96)]
|
||||
public ImPlotItemGroupPtr CurrentItems;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1211">implot_internal.h:1211</see>
|
||||
/// <br/><c>ImPlotItem* CurrentItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(104)]
|
||||
public ImPlotItemPtr CurrentItem;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1212">implot_internal.h:1212</see>
|
||||
/// <br/><c>ImPlotItem* PreviousItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(112)]
|
||||
public ImPlotItemPtr PreviousItem;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1215">implot_internal.h:1215</see>
|
||||
/// <br/><c>ImPlotTicker CTicker</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Tick Marks and Labels
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(120)]
|
||||
public ImPlotTicker CTicker;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1218">implot_internal.h:1218</see>
|
||||
/// <br/><c>ImPlotAnnotationCollection Annotations</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Annotation and Tabs
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(176)]
|
||||
public ImPlotAnnotationCollection Annotations;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1219">implot_internal.h:1219</see>
|
||||
/// <br/><c>ImPlotTagCollection Tags</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Annotation and Tabs
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(216)]
|
||||
public ImPlotTagCollection Tags;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1222">implot_internal.h:1222</see>
|
||||
/// <br/><c>ImPlotStyle Style</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(256)]
|
||||
public ImPlotStyle Style;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1223">implot_internal.h:1223</see>
|
||||
/// <br/><c>ImVector<ImGuiColorMod> ColorModifiers</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(776)]
|
||||
public ImVector<ImGuiColorMod> ColorModifiers;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1224">implot_internal.h:1224</see>
|
||||
/// <br/><c>ImVector<ImGuiStyleMod> StyleModifiers</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(792)]
|
||||
public ImVector<ImGuiStyleMod> StyleModifiers;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1225">implot_internal.h:1225</see>
|
||||
/// <br/><c>ImPlotColormapData ColormapData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(808)]
|
||||
public ImPlotColormapData ColormapData;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1226">implot_internal.h:1226</see>
|
||||
/// <br/><c>ImVector<ImPlotColormap> ColormapModifiers</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(976)]
|
||||
public ImVector<int> ColormapModifiers;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1229">implot_internal.h:1229</see>
|
||||
/// <br/><c>tm Tm</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Time
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(992)]
|
||||
public tm Tm;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1232">implot_internal.h:1232</see>
|
||||
/// <br/><c>ImVector<double> TempDouble1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temp data for general use
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1032)]
|
||||
public ImVector<double> TempDouble1;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1232">implot_internal.h:1232</see>
|
||||
/// <br/><c>ImVector<double> TempDouble1, TempDouble2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temp data for general use
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1048)]
|
||||
public ImVector<double> TempDouble2;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1233">implot_internal.h:1233</see>
|
||||
/// <br/><c>ImVector<int> TempInt1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temp data for general use
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1064)]
|
||||
public ImVector<int> TempInt1;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1236">implot_internal.h:1236</see>
|
||||
/// <br/><c>int DigitalPlotItemCnt</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1080)]
|
||||
public int DigitalPlotItemCnt;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1237">implot_internal.h:1237</see>
|
||||
/// <br/><c>int DigitalPlotOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1084)]
|
||||
public int DigitalPlotOffset;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1238">implot_internal.h:1238</see>
|
||||
/// <br/><c>ImPlotNextPlotData NextPlotData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1088)]
|
||||
public ImPlotNextPlotData NextPlotData;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1239">implot_internal.h:1239</see>
|
||||
/// <br/><c>ImPlotNextItemData NextItemData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1320)]
|
||||
public ImPlotNextItemData NextItemData;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1240">implot_internal.h:1240</see>
|
||||
/// <br/><c>ImPlotInputMap InputMap</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1448)]
|
||||
public ImPlotInputMap InputMap;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1241">implot_internal.h:1241</see>
|
||||
/// <br/><c>bool OpenContextThisFrame</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1496)]
|
||||
public Bool8 OpenContextThisFrame;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1242">implot_internal.h:1242</see>
|
||||
/// <br/><c>ImGuiTextBuffer MousePosStringBuilder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1504)]
|
||||
public ImGuiTextBuffer MousePosStringBuilder;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1243">implot_internal.h:1243</see>
|
||||
/// <br/><c>ImPlotItemGroup* SortItems</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1520)]
|
||||
public ImPlotItemGroupPtr SortItems;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1246">implot_internal.h:1246</see>
|
||||
/// <br/><c>ImPool<ImPlotAlignmentData> AlignmentData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1528)]
|
||||
public ImPool<ImPlotAlignmentData> AlignmentData;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1247">implot_internal.h:1247</see>
|
||||
/// <br/><c>ImPlotAlignmentData* CurrentAlignmentH</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1568)]
|
||||
public ImPlotAlignmentDataPtr CurrentAlignmentH;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1248">implot_internal.h:1248</see>
|
||||
/// <br/><c>ImPlotAlignmentData* CurrentAlignmentV</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(1576)]
|
||||
public ImPlotAlignmentDataPtr CurrentAlignmentV;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ImPlot context (opaque struct, see implot_internal.h)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L77">implot.h:77</see><br/>
|
||||
/// <c>struct ImPlotContext</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImPlotContextPtr(ImPlotContext* ptr) : INullable
|
||||
{
|
||||
private ImPlotContext* _ptr = ptr;
|
||||
public ImPlotContext* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImPlotContextPtr(ImPlotContext* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImPlotContext*(ImPlotContextPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1206">implot_internal.h:1206</see>
|
||||
/// <br/><c>ImPool<ImPlotPlot> Plots</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPool<ImPlotPlot> Plots => ref Unsafe.AsRef<ImPool<ImPlotPlot>>(&_ptr->Plots);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1207">implot_internal.h:1207</see>
|
||||
/// <br/><c>ImPool<ImPlotSubplot> Subplots</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPool<ImPlotSubplot> Subplots => ref Unsafe.AsRef<ImPool<ImPlotSubplot>>(&_ptr->Subplots);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1208">implot_internal.h:1208</see>
|
||||
/// <br/><c>ImPlotPlot* CurrentPlot</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotPlotPtr CurrentPlot => ref Unsafe.AsRef<ImPlotPlotPtr>(&_ptr->CurrentPlot);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1209">implot_internal.h:1209</see>
|
||||
/// <br/><c>ImPlotSubplot* CurrentSubplot</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotSubplotPtr CurrentSubplot => ref Unsafe.AsRef<ImPlotSubplotPtr>(&_ptr->CurrentSubplot);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1210">implot_internal.h:1210</see>
|
||||
/// <br/><c>ImPlotItemGroup* CurrentItems</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotItemGroupPtr CurrentItems => ref Unsafe.AsRef<ImPlotItemGroupPtr>(&_ptr->CurrentItems);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1211">implot_internal.h:1211</see>
|
||||
/// <br/><c>ImPlotItem* CurrentItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotItemPtr CurrentItem => ref Unsafe.AsRef<ImPlotItemPtr>(&_ptr->CurrentItem);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1212">implot_internal.h:1212</see>
|
||||
/// <br/><c>ImPlotItem* PreviousItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Plot States
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotItemPtr PreviousItem => ref Unsafe.AsRef<ImPlotItemPtr>(&_ptr->PreviousItem);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1215">implot_internal.h:1215</see>
|
||||
/// <br/><c>ImPlotTicker CTicker</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Tick Marks and Labels
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotTicker CTicker => ref Unsafe.AsRef<ImPlotTicker>(&_ptr->CTicker);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1218">implot_internal.h:1218</see>
|
||||
/// <br/><c>ImPlotAnnotationCollection Annotations</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Annotation and Tabs
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotAnnotationCollection Annotations =>
|
||||
ref Unsafe.AsRef<ImPlotAnnotationCollection>(&_ptr->Annotations);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1219">implot_internal.h:1219</see>
|
||||
/// <br/><c>ImPlotTagCollection Tags</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Annotation and Tabs
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotTagCollection Tags => ref Unsafe.AsRef<ImPlotTagCollection>(&_ptr->Tags);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1222">implot_internal.h:1222</see>
|
||||
/// <br/><c>ImPlotStyle Style</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotStyle Style => ref Unsafe.AsRef<ImPlotStyle>(&_ptr->Style);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1223">implot_internal.h:1223</see>
|
||||
/// <br/><c>ImVector<ImGuiColorMod> ColorModifiers</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImVector<ImGuiColorMod> ColorModifiers =>
|
||||
ref Unsafe.AsRef<ImVector<ImGuiColorMod>>(&_ptr->ColorModifiers);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1224">implot_internal.h:1224</see>
|
||||
/// <br/><c>ImVector<ImGuiStyleMod> StyleModifiers</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImVector<ImGuiStyleMod> StyleModifiers =>
|
||||
ref Unsafe.AsRef<ImVector<ImGuiStyleMod>>(&_ptr->StyleModifiers);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1225">implot_internal.h:1225</see>
|
||||
/// <br/><c>ImPlotColormapData ColormapData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotColormapData ColormapData => ref Unsafe.AsRef<ImPlotColormapData>(&_ptr->ColormapData);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1226">implot_internal.h:1226</see>
|
||||
/// <br/><c>ImVector<ImPlotColormap> ColormapModifiers</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Style and Colormaps
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImVector<int> ColormapModifiers => ref Unsafe.AsRef<ImVector<int>>(&_ptr->ColormapModifiers);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1229">implot_internal.h:1229</see>
|
||||
/// <br/><c>tm Tm</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Time
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref tm Tm => ref Unsafe.AsRef<tm>(&_ptr->Tm);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1232">implot_internal.h:1232</see>
|
||||
/// <br/><c>ImVector<double> TempDouble1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temp data for general use
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImVector<double> TempDouble1 => ref Unsafe.AsRef<ImVector<double>>(&_ptr->TempDouble1);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1232">implot_internal.h:1232</see>
|
||||
/// <br/><c>ImVector<double> TempDouble1, TempDouble2</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temp data for general use
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImVector<double> TempDouble2 => ref Unsafe.AsRef<ImVector<double>>(&_ptr->TempDouble2);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1233">implot_internal.h:1233</see>
|
||||
/// <br/><c>ImVector<int> TempInt1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temp data for general use
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImVector<int> TempInt1 => ref Unsafe.AsRef<ImVector<int>>(&_ptr->TempInt1);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1236">implot_internal.h:1236</see>
|
||||
/// <br/><c>int DigitalPlotItemCnt</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int DigitalPlotItemCnt => ref Unsafe.AsRef<int>(&_ptr->DigitalPlotItemCnt);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1237">implot_internal.h:1237</see>
|
||||
/// <br/><c>int DigitalPlotOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int DigitalPlotOffset => ref Unsafe.AsRef<int>(&_ptr->DigitalPlotOffset);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1238">implot_internal.h:1238</see>
|
||||
/// <br/><c>ImPlotNextPlotData NextPlotData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotNextPlotData NextPlotData => ref Unsafe.AsRef<ImPlotNextPlotData>(&_ptr->NextPlotData);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1239">implot_internal.h:1239</see>
|
||||
/// <br/><c>ImPlotNextItemData NextItemData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotNextItemData NextItemData => ref Unsafe.AsRef<ImPlotNextItemData>(&_ptr->NextItemData);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1240">implot_internal.h:1240</see>
|
||||
/// <br/><c>ImPlotInputMap InputMap</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotInputMap InputMap => ref Unsafe.AsRef<ImPlotInputMap>(&_ptr->InputMap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1241">implot_internal.h:1241</see>
|
||||
/// <br/><c>bool OpenContextThisFrame</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool OpenContextThisFrame => ref Unsafe.AsRef<bool>(&_ptr->OpenContextThisFrame);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1242">implot_internal.h:1242</see>
|
||||
/// <br/><c>ImGuiTextBuffer MousePosStringBuilder</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiTextBuffer MousePosStringBuilder =>
|
||||
ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->MousePosStringBuilder);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1243">implot_internal.h:1243</see>
|
||||
/// <br/><c>ImPlotItemGroup* SortItems</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Misc
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotItemGroupPtr SortItems => ref Unsafe.AsRef<ImPlotItemGroupPtr>(&_ptr->SortItems);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1246">implot_internal.h:1246</see>
|
||||
/// <br/><c>ImPool<ImPlotAlignmentData> AlignmentData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPool<ImPlotAlignmentData> AlignmentData =>
|
||||
ref Unsafe.AsRef<ImPool<ImPlotAlignmentData>>(&_ptr->AlignmentData);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1247">implot_internal.h:1247</see>
|
||||
/// <br/><c>ImPlotAlignmentData* CurrentAlignmentH</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotAlignmentDataPtr CurrentAlignmentH =>
|
||||
ref Unsafe.AsRef<ImPlotAlignmentDataPtr>(&_ptr->CurrentAlignmentH);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1248">implot_internal.h:1248</see>
|
||||
/// <br/><c>ImPlotAlignmentData* CurrentAlignmentV</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotAlignmentDataPtr CurrentAlignmentV =>
|
||||
ref Unsafe.AsRef<ImPlotAlignmentDataPtr>(&_ptr->CurrentAlignmentV);
|
||||
}
|
||||
}
|
||||
442
Brutal.ImPlot/Generated/Structs/ImPlotInputMap.gen.cs
Normal file
442
Brutal.ImPlot/Generated/Structs/ImPlotInputMap.gen.cs
Normal file
|
|
@ -0,0 +1,442 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImPlotApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L566">implot.h:566</see><br/>
|
||||
/// <c>struct ImPlotInputMap {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
||||
public partial struct ImPlotInputMap
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// LMB enables panning when held,
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L567">implot.h:567</see><br/>
|
||||
/// <c>ImGuiMouseButton Pan</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiMouseButton Pan;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// none optional modifier that must be held for panning/fitting
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L568">implot.h:568</see><br/>
|
||||
/// <c>int PanMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public int PanMod;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// LMB initiates fit when double clicked
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L569">implot.h:569</see><br/>
|
||||
/// <c>ImGuiMouseButton Fit</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public ImGuiMouseButton Fit;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// RMB begins box selection when pressed and confirms selection when released
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L570">implot.h:570</see><br/>
|
||||
/// <c>ImGuiMouseButton Select</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiMouseButton Select;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// LMB cancels active box selection when pressed; cannot be same as Select
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L571">implot.h:571</see><br/>
|
||||
/// <c>ImGuiMouseButton SelectCancel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public ImGuiMouseButton SelectCancel;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// none optional modifier that must be held for box selection
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L572">implot.h:572</see><br/>
|
||||
/// <c>int SelectMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(20)]
|
||||
public int SelectMod;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Alt expands active box selection horizontally to plot edge when held
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L573">implot.h:573</see><br/>
|
||||
/// <c>int SelectHorzMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public int SelectHorzMod;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Shift expands active box selection vertically to plot edge when held
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L574">implot.h:574</see><br/>
|
||||
/// <c>int SelectVertMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(28)]
|
||||
public int SelectVertMod;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// RMB opens context menus (if enabled) when clicked
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L575">implot.h:575</see><br/>
|
||||
/// <c>ImGuiMouseButton Menu</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public ImGuiMouseButton Menu;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Ctrl when held, all input is ignored; used to enable axis/plots as DND sources
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L576">implot.h:576</see><br/>
|
||||
/// <c>int OverrideMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(36)]
|
||||
public int OverrideMod;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// none optional modifier that must be held for scroll wheel zooming
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L577">implot.h:577</see><br/>
|
||||
/// <c>int ZoomMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(40)]
|
||||
public int ZoomMod;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 0.1f zoom rate for scroll (e.g. 0.1f = 10% plot range every scroll click); make negative to invert
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L578">implot.h:578</see><br/>
|
||||
/// <c>float ZoomRate</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(44)]
|
||||
public float ZoomRate;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L566">implot.h:566</see><br/>
|
||||
/// <c>struct ImPlotInputMap {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImPlotInputMapPtr(ImPlotInputMap* ptr) : INullable
|
||||
{
|
||||
private ImPlotInputMap* _ptr = ptr;
|
||||
public ImPlotInputMap* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImPlotInputMapPtr(ImPlotInputMap* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImPlotInputMap*(ImPlotInputMapPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// LMB enables panning when held,
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L567">implot.h:567</see><br/>
|
||||
/// <c>ImGuiMouseButton Pan</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiMouseButton Pan => ref Unsafe.AsRef<ImGuiMouseButton>(&_ptr->Pan);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// none optional modifier that must be held for panning/fitting
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L568">implot.h:568</see><br/>
|
||||
/// <c>int PanMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int PanMod => ref Unsafe.AsRef<int>(&_ptr->PanMod);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// LMB initiates fit when double clicked
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L569">implot.h:569</see><br/>
|
||||
/// <c>ImGuiMouseButton Fit</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiMouseButton Fit => ref Unsafe.AsRef<ImGuiMouseButton>(&_ptr->Fit);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// RMB begins box selection when pressed and confirms selection when released
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L570">implot.h:570</see><br/>
|
||||
/// <c>ImGuiMouseButton Select</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiMouseButton Select => ref Unsafe.AsRef<ImGuiMouseButton>(&_ptr->Select);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// LMB cancels active box selection when pressed; cannot be same as Select
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L571">implot.h:571</see><br/>
|
||||
/// <c>ImGuiMouseButton SelectCancel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiMouseButton SelectCancel => ref Unsafe.AsRef<ImGuiMouseButton>(&_ptr->SelectCancel);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// none optional modifier that must be held for box selection
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L572">implot.h:572</see><br/>
|
||||
/// <c>int SelectMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int SelectMod => ref Unsafe.AsRef<int>(&_ptr->SelectMod);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Alt expands active box selection horizontally to plot edge when held
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L573">implot.h:573</see><br/>
|
||||
/// <c>int SelectHorzMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int SelectHorzMod => ref Unsafe.AsRef<int>(&_ptr->SelectHorzMod);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Shift expands active box selection vertically to plot edge when held
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L574">implot.h:574</see><br/>
|
||||
/// <c>int SelectVertMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int SelectVertMod => ref Unsafe.AsRef<int>(&_ptr->SelectVertMod);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// RMB opens context menus (if enabled) when clicked
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L575">implot.h:575</see><br/>
|
||||
/// <c>ImGuiMouseButton Menu</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiMouseButton Menu => ref Unsafe.AsRef<ImGuiMouseButton>(&_ptr->Menu);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Ctrl when held, all input is ignored; used to enable axis/plots as DND sources
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L576">implot.h:576</see><br/>
|
||||
/// <c>int OverrideMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int OverrideMod => ref Unsafe.AsRef<int>(&_ptr->OverrideMod);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// none optional modifier that must be held for scroll wheel zooming
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L577">implot.h:577</see><br/>
|
||||
/// <c>int ZoomMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int ZoomMod => ref Unsafe.AsRef<int>(&_ptr->ZoomMod);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 0.1f zoom rate for scroll (e.g. 0.1f = 10% plot range every scroll click); make negative to invert
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L578">implot.h:578</see><br/>
|
||||
/// <c>float ZoomRate</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Input mapping structure. Default values listed. See also MapInputDefault, MapInputReverse.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float ZoomRate => ref Unsafe.AsRef<float>(&_ptr->ZoomRate);
|
||||
}
|
||||
}
|
||||
100
Brutal.ImPlot/Generated/Structs/ImPlotRange.gen.cs
Normal file
100
Brutal.ImPlot/Generated/Structs/ImPlotRange.gen.cs
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImPlotApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L485">implot.h:485</see><br/>
|
||||
/// <c>struct ImPlotRange {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImPlotRange
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public double Min;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min, Max</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public double Max;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L485">implot.h:485</see><br/>
|
||||
/// <c>struct ImPlotRange {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImPlotRangePtr(ImPlotRange* ptr) : INullable
|
||||
{
|
||||
private ImPlotRange* _ptr = ptr;
|
||||
public ImPlotRange* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImPlotRangePtr(ImPlotRange* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImPlotRange*(ImPlotRangePtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double Min => ref Unsafe.AsRef<double>(&_ptr->Min);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L486">implot.h:486</see><br/>
|
||||
/// <c>double Min, Max</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Range defined by a min/max value.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref double Max => ref Unsafe.AsRef<double>(&_ptr->Max);
|
||||
}
|
||||
}
|
||||
100
Brutal.ImPlot/Generated/Structs/ImPlotRect.gen.cs
Normal file
100
Brutal.ImPlot/Generated/Structs/ImPlotRect.gen.cs
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImPlotApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L495">implot.h:495</see><br/>
|
||||
/// <c>struct ImPlotRect {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public partial struct ImPlotRect
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImPlotRange X;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X, Y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public ImPlotRange Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L495">implot.h:495</see><br/>
|
||||
/// <c>struct ImPlotRect {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImPlotRectPtr(ImPlotRect* ptr) : INullable
|
||||
{
|
||||
private ImPlotRect* _ptr = ptr;
|
||||
public ImPlotRect* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImPlotRectPtr(ImPlotRect* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImPlotRect*(ImPlotRectPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotRange X => ref Unsafe.AsRef<ImPlotRange>(&_ptr->X);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L496">implot.h:496</see><br/>
|
||||
/// <c>ImPlotRange X, Y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Combination of two range limits for X and Y axes. Also an AABB defined by Min()/Max().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImPlotRange Y => ref Unsafe.AsRef<ImPlotRange>(&_ptr->Y);
|
||||
}
|
||||
}
|
||||
1106
Brutal.ImPlot/Generated/Structs/ImPlotStyle.gen.cs
Normal file
1106
Brutal.ImPlot/Generated/Structs/ImPlotStyle.gen.cs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue