mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
41 lines
1.5 KiB
C#
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& out_h, float& out_s, float& 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 & 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
|
|
);
|
|
}
|
|
}
|
|
}
|