brutal/Brutal.ImGui/Generated/PInvoke/ColorConvertRGBtoHSV.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

41 lines
1.5 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>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1074">imgui.h:1074</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L2772">imgui.cpp:2772</see>
/// <br/>
/// <c>void ColorConvertRGBtoHSV(float r, float g, float b, float&amp; out_h, float&amp; out_s, float&amp; out_v)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Color Utilities
/// </para>
/// <code>
/// Convert rgb floats ([0-1],[0-1],[0-1]) to hsv floats ([0-1],[0-1],[0-1]), from Foley &amp; van Dam p592
/// Optimized http://lolengine.net/blog/2013/01/13/fast-rgb-to-hsv
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void ColorConvertRGBtoHSV(
float r,
float g,
float b,
float* out_h,
float* out_s,
float* out_v
);
}
}
}