mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
316 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L271">implot_internal.h:271</see>
|
||||
/// <br/>
|
||||
/// <c>typedef void (*ImPlotLocator)(ImPlotTicker& ticker, const ImPlotRange& range, float pixels, bool vertical, ImPlotFormatter formatter, void* formatter_data)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public unsafe delegate void ImPlotLocator(
|
||||
ImPlotTicker* ticker,
|
||||
ImPlotRange* range,
|
||||
float pixels,
|
||||
Bool8 vertical,
|
||||
nint formatter,
|
||||
void* formatter_data
|
||||
);
|
||||
}
|
||||
88
Brutal.ImPlot/Generated-Internal/Enums/ImPlotDateFmt.gen.cs
Normal file
88
Brutal.ImPlot/Generated-Internal/Enums/ImPlotDateFmt.gen.cs
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// default [ ISO 8601 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L245">implot_internal.h:245</see>
|
||||
/// <br/><c>enum ImPlotDateFmt_ { // default [ ISO 8601 ]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ImPlotDateFmt : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L246">implot_internal.h:246</see>
|
||||
/// <br/><c>ImPlotDateFmt_None = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 10/3 [ --10-03 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L247">implot_internal.h:247</see>
|
||||
/// <br/><c>ImPlotDateFmt_DayMo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
DayMo,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 10/3/91 [ 1991-10-03 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L248">implot_internal.h:248</see>
|
||||
/// <br/><c>ImPlotDateFmt_DayMoYr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
DayMoYr,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Oct 1991 [ 1991-10 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L249">implot_internal.h:249</see>
|
||||
/// <br/><c>ImPlotDateFmt_MoYr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
MoYr,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Oct [ --10 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L250">implot_internal.h:250</see>
|
||||
/// <br/><c>ImPlotDateFmt_Mo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Mo,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 1991 [ 1991 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L251">implot_internal.h:251</see>
|
||||
/// <br/><c>ImPlotDateFmt_Yr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Yr,
|
||||
}
|
||||
}
|
||||
136
Brutal.ImPlot/Generated-Internal/Enums/ImPlotTimeFmt.gen.cs
Normal file
136
Brutal.ImPlot/Generated-Internal/Enums/ImPlotTimeFmt.gen.cs
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// default [ 24 Hour Clock ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L254">implot_internal.h:254</see>
|
||||
/// <br/><c>enum ImPlotTimeFmt_ { // default [ 24 Hour Clock ]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ImPlotTimeFmt : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L255">implot_internal.h:255</see>
|
||||
/// <br/><c>ImPlotTimeFmt_None = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// .428 552 [ .428 552 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L256">implot_internal.h:256</see>
|
||||
/// <br/><c>ImPlotTimeFmt_Us</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Us,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// :29.428 552 [ :29.428 552 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L257">implot_internal.h:257</see>
|
||||
/// <br/><c>ImPlotTimeFmt_SUs</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SUs,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// :29.428 [ :29.428 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L258">implot_internal.h:258</see>
|
||||
/// <br/><c>ImPlotTimeFmt_SMs</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
SMs,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// :29 [ :29 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L259">implot_internal.h:259</see>
|
||||
/// <br/><c>ImPlotTimeFmt_S</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
S,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 21:29.428 [ 21:29.428 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L260">implot_internal.h:260</see>
|
||||
/// <br/><c>ImPlotTimeFmt_MinSMs</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
MinSMs,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 7:21:29.428pm [ 19:21:29.428 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L261">implot_internal.h:261</see>
|
||||
/// <br/><c>ImPlotTimeFmt_HrMinSMs</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
HrMinSMs,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 7:21:29pm [ 19:21:29 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L262">implot_internal.h:262</see>
|
||||
/// <br/><c>ImPlotTimeFmt_HrMinS</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
HrMinS,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 7:21pm [ 19:21 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L263">implot_internal.h:263</see>
|
||||
/// <br/><c>ImPlotTimeFmt_HrMin</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
HrMin,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 7pm [ 19:00 ]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L264">implot_internal.h:264</see>
|
||||
/// <br/><c>ImPlotTimeFmt_Hr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Hr,
|
||||
}
|
||||
}
|
||||
121
Brutal.ImPlot/Generated-Internal/Enums/ImPlotTimeUnit.gen.cs
Normal file
121
Brutal.ImPlot/Generated-Internal/Enums/ImPlotTimeUnit.gen.cs
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L233">implot_internal.h:233</see>
|
||||
/// <br/><c>enum ImPlotTimeUnit_ {</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public enum ImPlotTimeUnit : int
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// microsecond
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L234">implot_internal.h:234</see>
|
||||
/// <br/><c>ImPlotTimeUnit_Us</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Us,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// millisecond
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L235">implot_internal.h:235</see>
|
||||
/// <br/><c>ImPlotTimeUnit_Ms</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Ms,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// second
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L236">implot_internal.h:236</see>
|
||||
/// <br/><c>ImPlotTimeUnit_S</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
S,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// minute
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L237">implot_internal.h:237</see>
|
||||
/// <br/><c>ImPlotTimeUnit_Min</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Min,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// hour
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L238">implot_internal.h:238</see>
|
||||
/// <br/><c>ImPlotTimeUnit_Hr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Hr,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// day
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L239">implot_internal.h:239</see>
|
||||
/// <br/><c>ImPlotTimeUnit_Day</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Day,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// month
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L240">implot_internal.h:240</see>
|
||||
/// <br/><c>ImPlotTimeUnit_Mo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Mo,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// year
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L241">implot_internal.h:241</see>
|
||||
/// <br/><c>ImPlotTimeUnit_Yr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
Yr,
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L242">implot_internal.h:242</see>
|
||||
/// <br/><c>ImPlotTimeUnit_COUNT</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
COUNT,
|
||||
}
|
||||
}
|
||||
2257
Brutal.ImPlot/Generated-Internal/Functions/ImPlot.gen.cs
Normal file
2257
Brutal.ImPlot/Generated-Internal/Functions/ImPlot.gen.cs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,81 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotAlignmentDataExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L927">implot_internal.h:927</see>
|
||||
/// <br/><c>void Begin()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots group data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe void Begin(this ImPlotAlignmentDataPtr target) =>
|
||||
PInvoke.ImPlotAlignmentData_Begin_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L928">implot_internal.h:928</see>
|
||||
/// <br/><c>void Update(float& pad_a, float& pad_b, float& delta_a, float& delta_b)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots group data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe void Update(
|
||||
this ImPlotAlignmentDataPtr target,
|
||||
Ptr<float> padA,
|
||||
Ptr<float> padB,
|
||||
Ptr<float> deltaA,
|
||||
Ptr<float> deltaB
|
||||
) =>
|
||||
PInvoke.ImPlotAlignmentData_Update_internal(
|
||||
target,
|
||||
(float*)padA,
|
||||
(float*)padB,
|
||||
(float*)deltaA,
|
||||
(float*)deltaB
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L935">implot_internal.h:935</see>
|
||||
/// <br/><c>void End()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots group data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe void End(this ImPlotAlignmentDataPtr target) =>
|
||||
PInvoke.ImPlotAlignmentData_End_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L936">implot_internal.h:936</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Align plots group data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe void Reset(this ImPlotAlignmentDataPtr target) =>
|
||||
PInvoke.ImPlotAlignmentData_Reset_internal(target);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,107 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotAnnotationCollectionExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L452">implot_internal.h:452</see>
|
||||
/// <br/>
|
||||
/// <c>void AppendV(const ImVec2& pos, const ImVec2& off, ImU32 bg, ImU32 fg, bool clamp, const char* fmt, va_list args) IM_FMTLIST(7)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void AppendV(
|
||||
this ImPlotAnnotationCollectionPtr target,
|
||||
in float2 pos,
|
||||
in float2 off,
|
||||
uint bg,
|
||||
uint fg,
|
||||
bool clamp,
|
||||
ImString text,
|
||||
Ptr<byte> args
|
||||
)
|
||||
{
|
||||
fixed (byte* text_fixed = text)
|
||||
{
|
||||
fixed (float2* off_fixed = &off)
|
||||
{
|
||||
fixed (float2* pos_fixed = &pos)
|
||||
{
|
||||
PInvoke.ImPlotAnnotationCollection_AppendV_internal(
|
||||
target,
|
||||
pos_fixed,
|
||||
off_fixed,
|
||||
bg,
|
||||
fg,
|
||||
clamp,
|
||||
text_fixed,
|
||||
(byte*)args
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L465">implot_internal.h:465</see>
|
||||
/// <br/>
|
||||
/// <c>void Append(const ImVec2& pos, const ImVec2& off, ImU32 bg, ImU32 fg, bool clamp, const char* fmt, ...) IM_FMTARGS(7)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Append(
|
||||
this ImPlotAnnotationCollectionPtr target,
|
||||
in float2 pos,
|
||||
in float2 off,
|
||||
uint bg,
|
||||
uint fg,
|
||||
bool clamp,
|
||||
ImString text
|
||||
)
|
||||
{
|
||||
fixed (byte* text_fixed = text)
|
||||
{
|
||||
fixed (float2* off_fixed = &off)
|
||||
{
|
||||
fixed (float2* pos_fixed = &pos)
|
||||
{
|
||||
PInvoke.ImPlotAnnotationCollection_Append_internal(
|
||||
target,
|
||||
pos_fixed,
|
||||
off_fixed,
|
||||
bg,
|
||||
fg,
|
||||
clamp,
|
||||
text_fixed
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L472">implot_internal.h:472</see>
|
||||
/// <br/><c>const char* GetText(int idx)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetText(this ImPlotAnnotationCollectionPtr target, int idx) =>
|
||||
PInvoke.ImPlotAnnotationCollection_GetText_internal(target, idx);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L476">implot_internal.h:476</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Reset(this ImPlotAnnotationCollectionPtr target) =>
|
||||
PInvoke.ImPlotAnnotationCollection_Reset_internal(target);
|
||||
}
|
||||
}
|
||||
367
Brutal.ImPlot/Generated-Internal/Functions/ImPlotAxis.gen.cs
Normal file
367
Brutal.ImPlot/Generated-Internal/Functions/ImPlotAxis.gen.cs
Normal file
|
|
@ -0,0 +1,367 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotAxisExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L697">implot_internal.h:697</see>
|
||||
/// <br/><c>inline void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Reset(this ImPlotAxisPtr target) => PInvoke.ImPlotAxis_Reset_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L717">implot_internal.h:717</see>
|
||||
/// <br/><c>inline bool SetMin(double _min, bool force=false)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool SetMin(this ImPlotAxisPtr target, double min, bool force = false) =>
|
||||
PInvoke.ImPlotAxis_SetMin_internal(target, min, force);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L736">implot_internal.h:736</see>
|
||||
/// <br/><c>inline bool SetMax(double _max, bool force=false)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool SetMax(this ImPlotAxisPtr target, double max, bool force = false) =>
|
||||
PInvoke.ImPlotAxis_SetMax_internal(target, max, force);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L755">implot_internal.h:755</see>
|
||||
/// <br/><c>inline void SetRange(double v1, double v2)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void SetRange(this ImPlotAxisPtr target, double v1, double v2) =>
|
||||
PInvoke.ImPlotAxis_SetRange_internal_0(target, v1, v2);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L764">implot_internal.h:764</see>
|
||||
/// <br/><c>inline void SetRange(const ImPlotRange& range)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void SetRange(this ImPlotAxisPtr target, in ImPlotRange range)
|
||||
{
|
||||
fixed (ImPlotRange* range_fixed = &range)
|
||||
{
|
||||
PInvoke.ImPlotAxis_SetRange_internal_1(target, range_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L768">implot_internal.h:768</see>
|
||||
/// <br/><c>inline void SetAspect(double unit_per_pix)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void SetAspect(this ImPlotAxisPtr target, double unitPerPix) =>
|
||||
PInvoke.ImPlotAxis_SetAspect_internal(target, unitPerPix);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L781">implot_internal.h:781</see>
|
||||
/// <br/><c>inline float PixelSize() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe float PixelSize(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_PixelSize_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L783">implot_internal.h:783</see>
|
||||
/// <br/><c>inline double GetAspect() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe double GetAspect(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_GetAspect_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L785">implot_internal.h:785</see>
|
||||
/// <br/><c>inline void Constrain()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Constrain(this ImPlotAxisPtr target) => PInvoke.ImPlotAxis_Constrain_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L807">implot_internal.h:807</see>
|
||||
/// <br/><c>inline void UpdateTransformCache()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void UpdateTransformCache(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_UpdateTransformCache_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L819">implot_internal.h:819</see>
|
||||
/// <br/><c>inline float PlotToPixels(double plt) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe float PlotToPixels(this ImPlotAxisPtr target, double plt) =>
|
||||
PInvoke.ImPlotAxis_PlotToPixels_internal(target, plt);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L829">implot_internal.h:829</see>
|
||||
/// <br/><c>inline double PixelsToPlot(float pix) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe double PixelsToPlot(this ImPlotAxisPtr target, float pix) =>
|
||||
PInvoke.ImPlotAxis_PixelsToPlot_internal(target, pix);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L839">implot_internal.h:839</see>
|
||||
/// <br/><c>inline void ExtendFit(double v)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void ExtendFit(this ImPlotAxisPtr target, double v) =>
|
||||
PInvoke.ImPlotAxis_ExtendFit_internal(target, v);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L846">implot_internal.h:846</see>
|
||||
/// <br/><c>inline void ExtendFitWith(ImPlotAxis& alt, double v, double v_alt)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void ExtendFitWith(this ImPlotAxisPtr target, ImPlotAxisPtr alt, double v, double vAlt) =>
|
||||
PInvoke.ImPlotAxis_ExtendFitWith_internal(target, alt, v, vAlt);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L855">implot_internal.h:855</see>
|
||||
/// <br/><c>inline void ApplyFit(float padding)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void ApplyFit(this ImPlotAxisPtr target, float padding) =>
|
||||
PInvoke.ImPlotAxis_ApplyFit_internal(target, padding);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L871">implot_internal.h:871</see>
|
||||
/// <br/><c>inline bool HasLabel() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool HasLabel(this ImPlotAxisPtr target) => PInvoke.ImPlotAxis_HasLabel_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L872">implot_internal.h:872</see>
|
||||
/// <br/><c>inline bool HasGridLines() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool HasGridLines(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_HasGridLines_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L873">implot_internal.h:873</see>
|
||||
/// <br/><c>inline bool HasTickLabels() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool HasTickLabels(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_HasTickLabels_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L874">implot_internal.h:874</see>
|
||||
/// <br/><c>inline bool HasTickMarks() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool HasTickMarks(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_HasTickMarks_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L875">implot_internal.h:875</see>
|
||||
/// <br/><c>inline bool WillRender() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool WillRender(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_WillRender_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L876">implot_internal.h:876</see>
|
||||
/// <br/><c>inline bool IsOpposite() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsOpposite(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsOpposite_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L877">implot_internal.h:877</see>
|
||||
/// <br/><c>inline bool IsInverted() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsInverted(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsInverted_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L878">implot_internal.h:878</see>
|
||||
/// <br/><c>inline bool IsForeground() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsForeground(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsForeground_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L879">implot_internal.h:879</see>
|
||||
/// <br/><c>inline bool IsAutoFitting() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsAutoFitting(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsAutoFitting_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L880">implot_internal.h:880</see>
|
||||
/// <br/><c>inline bool CanInitFit() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool CanInitFit(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_CanInitFit_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L881">implot_internal.h:881</see>
|
||||
/// <br/><c>inline bool IsRangeLocked() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsRangeLocked(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsRangeLocked_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L882">implot_internal.h:882</see>
|
||||
/// <br/><c>inline bool IsLockedMin() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsLockedMin(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsLockedMin_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L883">implot_internal.h:883</see>
|
||||
/// <br/><c>inline bool IsLockedMax() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsLockedMax(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsLockedMax_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L884">implot_internal.h:884</see>
|
||||
/// <br/><c>inline bool IsLocked() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsLocked(this ImPlotAxisPtr target) => PInvoke.ImPlotAxis_IsLocked_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L885">implot_internal.h:885</see>
|
||||
/// <br/><c>inline bool IsInputLockedMin() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsInputLockedMin(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsInputLockedMin_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L886">implot_internal.h:886</see>
|
||||
/// <br/><c>inline bool IsInputLockedMax() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsInputLockedMax(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsInputLockedMax_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L887">implot_internal.h:887</see>
|
||||
/// <br/><c>inline bool IsInputLocked() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsInputLocked(this ImPlotAxisPtr target) =>
|
||||
PInvoke.ImPlotAxis_IsInputLocked_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L888">implot_internal.h:888</see>
|
||||
/// <br/><c>inline bool HasMenus() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool HasMenus(this ImPlotAxisPtr target) => PInvoke.ImPlotAxis_HasMenus_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L890">implot_internal.h:890</see>
|
||||
/// <br/><c>inline bool IsPanLocked(bool increasing)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsPanLocked(this ImPlotAxisPtr target, bool increasing) =>
|
||||
PInvoke.ImPlotAxis_IsPanLocked_internal(target, increasing);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L904">implot_internal.h:904</see>
|
||||
/// <br/><c>void PushLinks()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void PushLinks(this ImPlotAxisPtr target) => PInvoke.ImPlotAxis_PushLinks_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L909">implot_internal.h:909</see>
|
||||
/// <br/><c>void PullLinks()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void PullLinks(this ImPlotAxisPtr target) => PInvoke.ImPlotAxis_PullLinks_internal(target);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,169 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotColormapDataExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L334">implot_internal.h:334</see>
|
||||
/// <br/><c>int Append(const char* name, const ImU32* keys, int count, bool qual)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int Append(
|
||||
this ImPlotColormapDataPtr target,
|
||||
ImString name,
|
||||
Ptr<uint> keys,
|
||||
int count,
|
||||
bool qual
|
||||
)
|
||||
{
|
||||
fixed (byte* name_fixed = name)
|
||||
{
|
||||
return PInvoke.ImPlotColormapData_Append_internal(target, name_fixed, (uint*)keys, count, qual);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L352">implot_internal.h:352</see>
|
||||
/// <br/><c>void _AppendTable(ImPlotColormap cmap)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void AppendTable(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
|
||||
PInvoke.ImPlotColormapData_AppendTable_internal(target, cmap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L391">implot_internal.h:391</see>
|
||||
/// <br/><c>void RebuildTables()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void RebuildTables(this ImPlotColormapDataPtr target) =>
|
||||
PInvoke.ImPlotColormapData_RebuildTables_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L399">implot_internal.h:399</see>
|
||||
/// <br/><c>inline bool IsQual(ImPlotColormap cmap) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsQual(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
|
||||
PInvoke.ImPlotColormapData_IsQual_internal(target, cmap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L400">implot_internal.h:400</see>
|
||||
/// <br/><c>inline const char* GetName(ImPlotColormap cmap) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetName(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
|
||||
PInvoke.ImPlotColormapData_GetName_internal(target, cmap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L401">implot_internal.h:401</see>
|
||||
/// <br/><c>inline ImPlotColormap GetIndex(const char* name) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotColormap GetIndex(this ImPlotColormapDataPtr target, ImString name)
|
||||
{
|
||||
fixed (byte* name_fixed = name)
|
||||
{
|
||||
return PInvoke.ImPlotColormapData_GetIndex_internal(target, name_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L403">implot_internal.h:403</see>
|
||||
/// <br/><c>inline const ImU32* GetKeys(ImPlotColormap cmap) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<uint> GetKeys(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
|
||||
PInvoke.ImPlotColormapData_GetKeys_internal(target, cmap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L404">implot_internal.h:404</see>
|
||||
/// <br/><c>inline int GetKeyCount(ImPlotColormap cmap) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int GetKeyCount(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
|
||||
PInvoke.ImPlotColormapData_GetKeyCount_internal(target, cmap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L405">implot_internal.h:405</see>
|
||||
/// <br/><c>inline ImU32 GetKeyColor(ImPlotColormap cmap, int idx) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe uint GetKeyColor(this ImPlotColormapDataPtr target, ImPlotColormap cmap, int idx) =>
|
||||
PInvoke.ImPlotColormapData_GetKeyColor_internal(target, cmap, idx);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L406">implot_internal.h:406</see>
|
||||
/// <br/><c>inline void SetKeyColor(ImPlotColormap cmap, int idx, ImU32 value)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void SetKeyColor(
|
||||
this ImPlotColormapDataPtr target,
|
||||
ImPlotColormap cmap,
|
||||
int idx,
|
||||
uint value
|
||||
) => PInvoke.ImPlotColormapData_SetKeyColor_internal(target, cmap, idx, value);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L408">implot_internal.h:408</see>
|
||||
/// <br/><c>inline const ImU32* GetTable(ImPlotColormap cmap) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<uint> GetTable(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
|
||||
PInvoke.ImPlotColormapData_GetTable_internal(target, cmap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L409">implot_internal.h:409</see>
|
||||
/// <br/><c>inline int GetTableSize(ImPlotColormap cmap) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int GetTableSize(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
|
||||
PInvoke.ImPlotColormapData_GetTableSize_internal(target, cmap);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L410">implot_internal.h:410</see>
|
||||
/// <br/><c>inline ImU32 GetTableColor(ImPlotColormap cmap, int idx) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe uint GetTableColor(this ImPlotColormapDataPtr target, ImPlotColormap cmap, int idx) =>
|
||||
PInvoke.ImPlotColormapData_GetTableColor_internal(target, cmap, idx);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L412">implot_internal.h:412</see>
|
||||
/// <br/><c>inline ImU32 LerpTable(ImPlotColormap cmap, float t) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe uint LerpTable(this ImPlotColormapDataPtr target, ImPlotColormap cmap, float t) =>
|
||||
PInvoke.ImPlotColormapData_LerpTable_internal(target, cmap, t);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotItemGroupExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L999">implot_internal.h:999</see>
|
||||
/// <br/><c>int GetItemCount() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int GetItemCount(this ImPlotItemGroupPtr target) =>
|
||||
PInvoke.ImPlotItemGroup_GetItemCount_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1000">implot_internal.h:1000</see>
|
||||
/// <br/><c>ImGuiID GetItemID(const char* label_id)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImGuiID GetItemID(this ImPlotItemGroupPtr target, ImString labelId)
|
||||
{
|
||||
fixed (byte* labelId_fixed = labelId)
|
||||
{
|
||||
return PInvoke.ImPlotItemGroup_GetItemID_internal(target, labelId_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1001">implot_internal.h:1001</see>
|
||||
/// <br/><c>ImPlotItem* GetItem(ImGuiID id)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotItemPtr GetItem(this ImPlotItemGroupPtr target, ImGuiID id) =>
|
||||
PInvoke.ImPlotItemGroup_GetItem_internal_0(target, id);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1002">implot_internal.h:1002</see>
|
||||
/// <br/><c>ImPlotItem* GetItem(const char* label_id)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotItemPtr GetItem(this ImPlotItemGroupPtr target, ImString labelId)
|
||||
{
|
||||
fixed (byte* labelId_fixed = labelId)
|
||||
{
|
||||
return PInvoke.ImPlotItemGroup_GetItem_internal_1(target, labelId_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1003">implot_internal.h:1003</see>
|
||||
/// <br/><c>ImPlotItem* GetOrAddItem(ImGuiID id)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotItemPtr GetOrAddItem(this ImPlotItemGroupPtr target, ImGuiID id) =>
|
||||
PInvoke.ImPlotItemGroup_GetOrAddItem_internal(target, id);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1004">implot_internal.h:1004</see>
|
||||
/// <br/><c>ImPlotItem* GetItemByIndex(int i)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotItemPtr GetItemByIndex(this ImPlotItemGroupPtr target, int i) =>
|
||||
PInvoke.ImPlotItemGroup_GetItemByIndex_internal(target, i);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1005">implot_internal.h:1005</see>
|
||||
/// <br/><c>int GetItemIndex(ImPlotItem* item)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int GetItemIndex(this ImPlotItemGroupPtr target, ImPlotItemPtr item) =>
|
||||
PInvoke.ImPlotItemGroup_GetItemIndex_internal(target, item);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1006">implot_internal.h:1006</see>
|
||||
/// <br/><c>int GetLegendCount() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int GetLegendCount(this ImPlotItemGroupPtr target) =>
|
||||
PInvoke.ImPlotItemGroup_GetLegendCount_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1007">implot_internal.h:1007</see>
|
||||
/// <br/><c>ImPlotItem* GetLegendItem(int i)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotItemPtr GetLegendItem(this ImPlotItemGroupPtr target, int i) =>
|
||||
PInvoke.ImPlotItemGroup_GetLegendItem_internal(target, i);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1008">implot_internal.h:1008</see>
|
||||
/// <br/><c>const char* GetLegendLabel(int i)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetLegendLabel(this ImPlotItemGroupPtr target, int i) =>
|
||||
PInvoke.ImPlotItemGroup_GetLegendLabel_internal(target, i);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1009">implot_internal.h:1009</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Reset(this ImPlotItemGroupPtr target) =>
|
||||
PInvoke.ImPlotItemGroup_Reset_internal(target);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotLegendExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L986">implot_internal.h:986</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Reset(this ImPlotLegendPtr target) => PInvoke.ImPlotLegend_Reset_internal(target);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotNextItemDataExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1194">implot_internal.h:1194</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary data storage for upcoming item
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe void Reset(this ImPlotNextItemDataPtr target) =>
|
||||
PInvoke.ImPlotNextItemData_Reset_internal(target);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotNextPlotDataExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1164">implot_internal.h:1164</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Reset(this ImPlotNextPlotDataPtr target) =>
|
||||
PInvoke.ImPlotNextPlotData_Reset_internal(target);
|
||||
}
|
||||
}
|
||||
133
Brutal.ImPlot/Generated-Internal/Functions/ImPlotPlot.gen.cs
Normal file
133
Brutal.ImPlot/Generated-Internal/Functions/ImPlotPlot.gen.cs
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotPlotExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1059">implot_internal.h:1059</see>
|
||||
/// <br/><c>inline bool IsInputLocked() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool IsInputLocked(this ImPlotPlotPtr target) =>
|
||||
PInvoke.ImPlotPlot_IsInputLocked_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1071">implot_internal.h:1071</see>
|
||||
/// <br/><c>inline void ClearTextBuffer()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void ClearTextBuffer(this ImPlotPlotPtr target) =>
|
||||
PInvoke.ImPlotPlot_ClearTextBuffer_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1073">implot_internal.h:1073</see>
|
||||
/// <br/><c>inline void SetTitle(const char* title)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void SetTitle(this ImPlotPlotPtr target, ImString title)
|
||||
{
|
||||
fixed (byte* title_fixed = title)
|
||||
{
|
||||
PInvoke.ImPlotPlot_SetTitle_internal(target, title_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1082">implot_internal.h:1082</see>
|
||||
/// <br/><c>inline bool HasTitle() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe bool HasTitle(this ImPlotPlotPtr target) => PInvoke.ImPlotPlot_HasTitle_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1083">implot_internal.h:1083</see>
|
||||
/// <br/><c>inline const char* GetTitle() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetTitle(this ImPlotPlotPtr target) =>
|
||||
PInvoke.ImPlotPlot_GetTitle_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1085">implot_internal.h:1085</see>
|
||||
/// <br/><c>inline ImPlotAxis& XAxis(int i)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotAxisPtr XAxis(this ImPlotPlotPtr target, int i) =>
|
||||
PInvoke.ImPlotPlot_XAxis_internal_0(target, i);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1087">implot_internal.h:1087</see>
|
||||
/// <br/><c>inline ImPlotAxis& YAxis(int i)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotAxisPtr YAxis(this ImPlotPlotPtr target, int i) =>
|
||||
PInvoke.ImPlotPlot_YAxis_internal_0(target, i);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1090">implot_internal.h:1090</see>
|
||||
/// <br/><c>inline int EnabledAxesX()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int EnabledAxesX(this ImPlotPlotPtr target) =>
|
||||
PInvoke.ImPlotPlot_EnabledAxesX_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1097">implot_internal.h:1097</see>
|
||||
/// <br/><c>inline int EnabledAxesY()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int EnabledAxesY(this ImPlotPlotPtr target) =>
|
||||
PInvoke.ImPlotPlot_EnabledAxesY_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1104">implot_internal.h:1104</see>
|
||||
/// <br/><c>inline void SetAxisLabel(ImPlotAxis& axis, const char* label)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void SetAxisLabel(this ImPlotPlotPtr target, ImPlotAxisPtr axis, ImString label)
|
||||
{
|
||||
fixed (byte* label_fixed = label)
|
||||
{
|
||||
PInvoke.ImPlotPlot_SetAxisLabel_internal(target, axis, label_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1114">implot_internal.h:1114</see>
|
||||
/// <br/><c>inline const char* GetAxisLabel(const ImPlotAxis& axis) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetAxisLabel(this ImPlotPlotPtr target, in ImPlotAxis axis)
|
||||
{
|
||||
fixed (ImPlotAxis* axis_fixed = &axis)
|
||||
{
|
||||
return PInvoke.ImPlotPlot_GetAxisLabel_internal(target, axis_fixed);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotTagCollectionExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L499">implot_internal.h:499</see>
|
||||
/// <br/>
|
||||
/// <c>void AppendV(ImAxis axis, double value, ImU32 bg, ImU32 fg, const char* fmt, va_list args) IM_FMTLIST(6)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void AppendV(
|
||||
this ImPlotTagCollectionPtr target,
|
||||
ImAxis axis,
|
||||
double value,
|
||||
uint bg,
|
||||
uint fg,
|
||||
ImString text,
|
||||
Ptr<byte> args
|
||||
)
|
||||
{
|
||||
fixed (byte* text_fixed = text)
|
||||
{
|
||||
PInvoke.ImPlotTagCollection_AppendV_internal(target, axis, value, bg, fg, text_fixed, (byte*)args);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L513">implot_internal.h:513</see>
|
||||
/// <br/>
|
||||
/// <c>void Append(ImAxis axis, double value, ImU32 bg, ImU32 fg, const char* fmt, ...) IM_FMTARGS(6)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Append(
|
||||
this ImPlotTagCollectionPtr target,
|
||||
ImAxis axis,
|
||||
double value,
|
||||
uint bg,
|
||||
uint fg,
|
||||
ImString text
|
||||
)
|
||||
{
|
||||
fixed (byte* text_fixed = text)
|
||||
{
|
||||
PInvoke.ImPlotTagCollection_Append_internal(target, axis, value, bg, fg, text_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L520">implot_internal.h:520</see>
|
||||
/// <br/><c>const char* GetText(int idx)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetText(this ImPlotTagCollectionPtr target, int idx) =>
|
||||
PInvoke.ImPlotTagCollection_GetText_internal(target, idx);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L524">implot_internal.h:524</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Reset(this ImPlotTagCollectionPtr target) =>
|
||||
PInvoke.ImPlotTagCollection_Reset_internal(target);
|
||||
}
|
||||
}
|
||||
146
Brutal.ImPlot/Generated-Internal/Functions/ImPlotTicker.gen.cs
Normal file
146
Brutal.ImPlot/Generated-Internal/Functions/ImPlotTicker.gen.cs
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotTickerExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L565">implot_internal.h:565</see>
|
||||
/// <br/>
|
||||
/// <c>ImPlotTick& AddTick(double value, bool major, int level, bool show_label, const char* label)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotTickPtr AddTick(
|
||||
this ImPlotTickerPtr target,
|
||||
double value,
|
||||
bool major,
|
||||
int level,
|
||||
bool showLabel,
|
||||
ImString label
|
||||
)
|
||||
{
|
||||
fixed (byte* label_fixed = label)
|
||||
{
|
||||
return PInvoke.ImPlotTicker_AddTick_internal_0(target, value, major, level, showLabel, label_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L575">implot_internal.h:575</see>
|
||||
/// <br/>
|
||||
/// <c>ImPlotTick& AddTick(double value, bool major, int level, bool show_label, ImPlotFormatter formatter, void* data)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotTickPtr AddTick(
|
||||
this ImPlotTickerPtr target,
|
||||
double value,
|
||||
bool major,
|
||||
int level,
|
||||
bool showLabel,
|
||||
ImPlotFormatter formatter,
|
||||
Ptr data
|
||||
) =>
|
||||
PInvoke.ImPlotTicker_AddTick_internal_1(
|
||||
target,
|
||||
value,
|
||||
major,
|
||||
level,
|
||||
showLabel,
|
||||
Marshal.GetFunctionPointerForDelegate(formatter),
|
||||
data
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L575">implot_internal.h:575</see>
|
||||
/// <br/>
|
||||
/// <c>ImPlotTick& AddTick(double value, bool major, int level, bool show_label, ImPlotFormatter formatter, void* data)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotTickPtr AddTick(
|
||||
this ImPlotTickerPtr target,
|
||||
double value,
|
||||
bool major,
|
||||
int level,
|
||||
bool showLabel,
|
||||
delegate* unmanaged[Cdecl]<double, byte*, int, void*, int> formatter,
|
||||
Ptr data
|
||||
) => PInvoke.ImPlotTicker_AddTick_internal_1(target, value, major, level, showLabel, (nint)formatter, data);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L587">implot_internal.h:587</see>
|
||||
/// <br/><c>inline ImPlotTick& AddTick(ImPlotTick tick)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe ImPlotTickPtr AddTick(this ImPlotTickerPtr target, ImPlotTick tick) =>
|
||||
PInvoke.ImPlotTicker_AddTick_internal_2(target, tick);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L597">implot_internal.h:597</see>
|
||||
/// <br/><c>const char* GetText(int idx) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetText(this ImPlotTickerPtr target, int idx) =>
|
||||
PInvoke.ImPlotTicker_GetText_internal_0(target, idx);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L601">implot_internal.h:601</see>
|
||||
/// <br/><c>const char* GetText(const ImPlotTick& tick)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe Ptr<byte> GetText(this ImPlotTickerPtr target, in ImPlotTick tick)
|
||||
{
|
||||
fixed (ImPlotTick* tick_fixed = &tick)
|
||||
{
|
||||
return PInvoke.ImPlotTicker_GetText_internal_1(target, tick_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L605">implot_internal.h:605</see>
|
||||
/// <br/><c>void OverrideSizeLate(const ImVec2& size)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void OverrideSizeLate(this ImPlotTickerPtr target, in float2 size)
|
||||
{
|
||||
fixed (float2* size_fixed = &size)
|
||||
{
|
||||
PInvoke.ImPlotTicker_OverrideSizeLate_internal(target, size_fixed);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L610">implot_internal.h:610</see>
|
||||
/// <br/><c>void Reset()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe void Reset(this ImPlotTickerPtr target) => PInvoke.ImPlotTicker_Reset_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L618">implot_internal.h:618</see>
|
||||
/// <br/><c>int TickCount() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static unsafe int TickCount(this ImPlotTickerPtr target) =>
|
||||
PInvoke.ImPlotTicker_TickCount_internal(target);
|
||||
}
|
||||
}
|
||||
52
Brutal.ImPlot/Generated-Internal/Functions/ImPlotTime.gen.cs
Normal file
52
Brutal.ImPlot/Generated-Internal/Functions/ImPlotTime.gen.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public static partial class ImPlotTimeExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L298">implot_internal.h:298</see>
|
||||
/// <br/><c>void RollOver()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe void RollOver(this ImPlotTimePtr target) => PInvoke.ImPlotTime_RollOver_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L299">implot_internal.h:299</see>
|
||||
/// <br/><c>double ToDouble() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe double ToDouble(this ImPlotTimePtr target) => PInvoke.ImPlotTime_ToDouble_internal(target);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L300">implot_internal.h:300</see>
|
||||
/// <br/><c>static ImPlotTime FromDouble(double t)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Two part timestamp struct.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static unsafe ImPlotTime FromDouble(this ImPlotTimePtr target, double t) =>
|
||||
PInvoke.ImPlotTime_FromDouble_internal(target, t);
|
||||
}
|
||||
}
|
||||
80
Brutal.ImPlot/Generated-Internal/InlineArrays.gen.cs
Normal file
80
Brutal.ImPlot/Generated-Internal/InlineArrays.gen.cs
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal.InlineArrays
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an inline array of ImPlotAxis with a fixed size of 6.
|
||||
/// </summary>
|
||||
[InlineArray(6)]
|
||||
public struct ImPlotAxis_6
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public ImPlotAxis Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of ImPlotCond with a fixed size of 6.
|
||||
/// </summary>
|
||||
[InlineArray(6)]
|
||||
public struct ImPlotCond_6
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public ImPlotCond Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of ImPlotRange with a fixed size of 6.
|
||||
/// </summary>
|
||||
[InlineArray(6)]
|
||||
public struct ImPlotRange_6
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public ImPlotRange Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of Bool8 with a fixed size of 6.
|
||||
/// </summary>
|
||||
[InlineArray(6)]
|
||||
public struct Bool8_6
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public Bool8 Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of Ptr<double> with a fixed size of 6.
|
||||
/// </summary>
|
||||
[InlineArray(6)]
|
||||
public struct Ptr_double__6
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public Ptr<double> Items;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an inline array of float4 with a fixed size of 5.
|
||||
/// </summary>
|
||||
[InlineArray(5)]
|
||||
public struct float4_5
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal member used to represent the type we have an inline array for.
|
||||
/// </summary>
|
||||
public float4 Items;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1456">implot_internal.h:1456</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L388">implot.cpp:388</see><br/>
|
||||
/// <c>void AddTextCentered(ImDrawList* DrawList, ImVec2 top_center, ImU32 col, const char* text_begin, const char* text_end = nullptr)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Draws multiline horizontal text centered.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void AddTextCentered_internal(
|
||||
ImDrawList* DrawList,
|
||||
float2 top_center,
|
||||
uint col,
|
||||
byte* text_begin,
|
||||
byte* text_end
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.ImPlotApi.Internal
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot_internal.h#L1454">implot_internal.h:1454</see>
|
||||
/// , <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L340">implot.cpp:340</see><br/>
|
||||
/// <c>void AddTextVertical(ImDrawList *DrawList, ImVec2 pos, ImU32 col, const char* text_begin, const char* text_end = nullptr)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Draws vertical text. The position is the bottom left of the text rect.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial void AddTextVertical_internal(
|
||||
ImDrawList* DrawList,
|
||||
float2 pos,
|
||||
uint col,
|
||||
byte* text_begin,
|
||||
byte* text_end
|
||||
);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue