mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
124
Brutal.ImGui/Generated/PInvoke/GetID.gen.cs
Normal file
124
Brutal.ImGui/Generated/PInvoke/GetID.gen.cs
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
// <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>
|
||||
/// calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into
|
||||
/// ImGuiStorage yourself
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L615">imgui.h:615</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9677">imgui.cpp:9677</see>
|
||||
/// <br/><c>ImGuiID GetID(const char* str_id)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// ID stack/scopes
|
||||
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
||||
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
||||
/// - "Q: Why is my widget not reacting when I click on it?"
|
||||
/// - "Q: How can I have widgets with an empty label?"
|
||||
/// - "Q: How can I have multiple widgets with the same label?"
|
||||
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
||||
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
||||
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
||||
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
||||
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial ImGuiID GetID_0(byte* str_id);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L616">imgui.h:616</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9683">imgui.cpp:9683</see>
|
||||
/// <br/><c>ImGuiID GetID(const char* str_id_begin, const char* str_id_end)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// ID stack/scopes
|
||||
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
||||
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
||||
/// - "Q: Why is my widget not reacting when I click on it?"
|
||||
/// - "Q: How can I have widgets with an empty label?"
|
||||
/// - "Q: How can I have multiple widgets with the same label?"
|
||||
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
||||
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
||||
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
||||
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
||||
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial ImGuiID GetID_1(byte* str_id_begin, byte* str_id_end);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L617">imgui.h:617</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9689">imgui.cpp:9689</see>
|
||||
/// <br/><c>ImGuiID GetID(const void* ptr_id)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// ID stack/scopes
|
||||
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
||||
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
||||
/// - "Q: Why is my widget not reacting when I click on it?"
|
||||
/// - "Q: How can I have widgets with an empty label?"
|
||||
/// - "Q: How can I have multiple widgets with the same label?"
|
||||
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
||||
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
||||
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
||||
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
||||
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial ImGuiID GetID_2(void* ptr_id);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L618">imgui.h:618</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9695">imgui.cpp:9695</see>
|
||||
/// <br/><c>ImGuiID GetID(int int_id)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// ID stack/scopes
|
||||
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
||||
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
||||
/// - "Q: Why is my widget not reacting when I click on it?"
|
||||
/// - "Q: How can I have widgets with an empty label?"
|
||||
/// - "Q: How can I have multiple widgets with the same label?"
|
||||
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
||||
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
||||
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
||||
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
||||
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial ImGuiID GetID_3(int int_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue