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
1 changed files with 784842 additions and 0 deletions
52
Brutal.ImPlot/Generated/PInvoke/AddColormap.gen.cs
Normal file
52
Brutal.ImPlot/Generated/PInvoke/AddColormap.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
|
||||
{
|
||||
public partial class ImPlot
|
||||
{
|
||||
public unsafe partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1159">implot.h:1159</see>,
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4494">implot.cpp:4494</see>
|
||||
/// <br/>
|
||||
/// <c>ImPlotColormap AddColormap(const char* name, const ImVec4* cols, int size, bool qual=true)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial ImPlotColormap AddColormap_0(byte* name, float4* cols, int size, Bool8 qual);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++: <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.h#L1160">implot.h:1160</see>,
|
||||
/// <see href="https://github.com/epezent/implot/blob/3da8bd34/implot.cpp#L4505">implot.cpp:4505</see>
|
||||
/// <br/>
|
||||
/// <c>ImPlotColormap AddColormap(const char* name, const ImU32* cols, int size, bool qual=true)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// 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.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("implot")]
|
||||
public static unsafe partial ImPlotColormap AddColormap_1(byte* name, uint* cols, int size, Bool8 qual);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue