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

44 lines
2.1 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#L733">imgui.h:733</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L3746">imgui_widgets.cpp:3746</see>
/// <br/>
/// <c>bool InputScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_step = NULL, const void* p_step_fast = NULL, const char* format = NULL, ImGuiInputTextFlags flags = 0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Widgets: Input with Keyboard
/// - If you want to use InputText() with std::string or any custom dynamic string type, see misc/cpp/imgui_stdlib.h and comments in imgui_demo.cpp.
/// - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc.
/// </code>
/// <code>
/// Note: p_data, p_step, p_step_fast are _pointers_ to a memory address holding the data. For an Input widget, p_step and p_step_fast are optional.
/// Read code of e.g. InputFloat(), InputInt() etc. or examples in 'Demo-&gt;Widgets-&gt;Data Types' to understand how to use this function directly.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial Bool8 InputScalar(
byte* label,
ImGuiDataType data_type,
void* p_data,
void* p_step,
void* p_step_fast,
byte* format,
ImGuiInputTextFlags flags
);
}
}
}