//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImPlotApi.Internal
{
public static partial class ImPlotColormapDataExtensions
{
///
///
/// C++:
/// implot_internal.h:334
///
int Append(const char* name, const ImU32* keys, int count, bool qual)
///
///
public static unsafe int Append(
this ImPlotColormapDataPtr target,
ImString name,
Ptr keys,
int count,
bool qual
)
{
fixed (byte* name_fixed = name)
{
return PInvoke.ImPlotColormapData_Append_internal(target, name_fixed, (uint*)keys, count, qual);
}
}
///
///
/// C++:
/// implot_internal.h:352
///
void _AppendTable(ImPlotColormap cmap)
///
///
public static unsafe void AppendTable(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
PInvoke.ImPlotColormapData_AppendTable_internal(target, cmap);
///
///
/// C++:
/// implot_internal.h:391
///
void RebuildTables()
///
///
public static unsafe void RebuildTables(this ImPlotColormapDataPtr target) =>
PInvoke.ImPlotColormapData_RebuildTables_internal(target);
///
///
/// C++:
/// implot_internal.h:399
///
inline bool IsQual(ImPlotColormap cmap) const
///
///
public static unsafe bool IsQual(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
PInvoke.ImPlotColormapData_IsQual_internal(target, cmap);
///
///
/// C++:
/// implot_internal.h:400
///
inline const char* GetName(ImPlotColormap cmap) const
///
///
public static unsafe Ptr GetName(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
PInvoke.ImPlotColormapData_GetName_internal(target, cmap);
///
///
/// C++:
/// implot_internal.h:401
///
inline ImPlotColormap GetIndex(const char* name) const
///
///
public static unsafe ImPlotColormap GetIndex(this ImPlotColormapDataPtr target, ImString name)
{
fixed (byte* name_fixed = name)
{
return PInvoke.ImPlotColormapData_GetIndex_internal(target, name_fixed);
}
}
///
///
/// C++:
/// implot_internal.h:403
///
inline const ImU32* GetKeys(ImPlotColormap cmap) const
///
///
public static unsafe Ptr GetKeys(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
PInvoke.ImPlotColormapData_GetKeys_internal(target, cmap);
///
///
/// C++:
/// implot_internal.h:404
///
inline int GetKeyCount(ImPlotColormap cmap) const
///
///
public static unsafe int GetKeyCount(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
PInvoke.ImPlotColormapData_GetKeyCount_internal(target, cmap);
///
///
/// C++:
/// implot_internal.h:405
///
inline ImU32 GetKeyColor(ImPlotColormap cmap, int idx) const
///
///
public static unsafe uint GetKeyColor(this ImPlotColormapDataPtr target, ImPlotColormap cmap, int idx) =>
PInvoke.ImPlotColormapData_GetKeyColor_internal(target, cmap, idx);
///
///
/// C++:
/// implot_internal.h:406
///
inline void SetKeyColor(ImPlotColormap cmap, int idx, ImU32 value)
///
///
public static unsafe void SetKeyColor(
this ImPlotColormapDataPtr target,
ImPlotColormap cmap,
int idx,
uint value
) => PInvoke.ImPlotColormapData_SetKeyColor_internal(target, cmap, idx, value);
///
///
/// C++:
/// implot_internal.h:408
///
inline const ImU32* GetTable(ImPlotColormap cmap) const
///
///
public static unsafe Ptr GetTable(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
PInvoke.ImPlotColormapData_GetTable_internal(target, cmap);
///
///
/// C++:
/// implot_internal.h:409
///
inline int GetTableSize(ImPlotColormap cmap) const
///
///
public static unsafe int GetTableSize(this ImPlotColormapDataPtr target, ImPlotColormap cmap) =>
PInvoke.ImPlotColormapData_GetTableSize_internal(target, cmap);
///
///
/// C++:
/// implot_internal.h:410
///
inline ImU32 GetTableColor(ImPlotColormap cmap, int idx) const
///
///
public static unsafe uint GetTableColor(this ImPlotColormapDataPtr target, ImPlotColormap cmap, int idx) =>
PInvoke.ImPlotColormapData_GetTableColor_internal(target, cmap, idx);
///
///
/// C++:
/// implot_internal.h:412
///
inline ImU32 LerpTable(ImPlotColormap cmap, float t) const
///
///
public static unsafe uint LerpTable(this ImPlotColormapDataPtr target, ImPlotColormap cmap, float t) =>
PInvoke.ImPlotColormapData_LerpTable_internal(target, cmap, t);
}
}