mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
76 lines
3.4 KiB
C#
76 lines
3.4 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
public partial class ImGui
|
|
{
|
|
public unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a
|
|
/// 32-bit value suitable for ImDrawList
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L557">imgui.h:557</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L3474">imgui.cpp:3474</see>
|
|
/// <br/><c>ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Style read access
|
|
/// - Use the ShowStyleEditor() function to interactively see/edit the colors.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial uint GetColorU32_0(ImGuiCol idx, float alpha_mul);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L558">imgui.h:558</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L3482">imgui.cpp:3482</see>
|
|
/// <br/><c>ImU32 GetColorU32(const ImVec4& col)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Style read access
|
|
/// - Use the ShowStyleEditor() function to interactively see/edit the colors.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial uint GetColorU32_1(float4* col);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L559">imgui.h:559</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L3496">imgui.cpp:3496</see>
|
|
/// <br/><c>ImU32 GetColorU32(ImU32 col, float alpha_mul = 1.0f)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Style read access
|
|
/// - Use the ShowStyleEditor() function to interactively see/edit the colors.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial uint GetColorU32_2(uint col, float alpha_mul);
|
|
}
|
|
}
|
|
}
|