mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
169 lines
7.6 KiB
C#
169 lines
7.6 KiB
C#
// <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);
|
|
}
|
|
}
|