// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImPlotApi { public partial class ImPlot { public unsafe partial class PInvoke { /// /// /// C++: implot.h:1159, /// implot.cpp:4494 ///
/// ImPlotColormap AddColormap(const char* name, const ImVec4* cols, int size, bool qual=true) ///
///
/// /// /// Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the /// string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive /// an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a /// continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly /// interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes. /// /// [LibraryImport("implot")] public static unsafe partial ImPlotColormap AddColormap_0(byte* name, float4* cols, int size, Bool8 qual); /// /// /// C++: implot.h:1160, /// implot.cpp:4505 ///
/// ImPlotColormap AddColormap(const char* name, const ImU32* cols, int size, bool qual=true) ///
///
/// /// /// Add a new colormap. The color data will be copied. The colormap can be used by pushing either the returned index or the /// string name with PushColormap. The colormap name must be unique and the size must be greater than 1. You will receive /// an assert otherwise! By default colormaps are considered to be qualitative (i.e. discrete). If you want to create a /// continuous colormap, set #qual=false. This will treat the colors you provide as keys, and ImPlot will build a linearly /// interpolated lookup table. The memory footprint of this table will be exactly ((size-1)*255+1)*4 bytes. /// /// [LibraryImport("implot")] public static unsafe partial ImPlotColormap AddColormap_1(byte* name, uint* cols, int size, Bool8 qual); } } }