mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
73 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,87 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Store 1-bit per value
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L137">imgui_internal.h:137</see>
|
||||
/// <br/><c>struct ImBitVector</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Utilities
|
||||
/// (other types which are not forwarded declared are: ImBitArray<>, ImSpan<>, ImSpanAllocator<>, ImStableVector<>, ImPool<>, ImChunkStream<>)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImBitVector
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L649">imgui_internal.h:649</see>
|
||||
/// <br/><c>ImVector<ImU32> Storage</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Helper: ImBitVector
|
||||
/// Store 1-bit per value.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImVector<uint> Storage;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Store 1-bit per value
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L137">imgui_internal.h:137</see>
|
||||
/// <br/><c>struct ImBitVector</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Utilities
|
||||
/// (other types which are not forwarded declared are: ImBitArray<>, ImSpan<>, ImSpanAllocator<>, ImStableVector<>, ImPool<>, ImChunkStream<>)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImBitVectorPtr(ImBitVector* ptr) : INullable
|
||||
{
|
||||
private ImBitVector* _ptr = ptr;
|
||||
public ImBitVector* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImBitVectorPtr(ImBitVector* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImBitVector*(ImBitVectorPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L649">imgui_internal.h:649</see>
|
||||
/// <br/><c>ImVector<ImU32> Storage</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Helper: ImBitVector
|
||||
/// Store 1-bit per value.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ImVector<uint> Storage => ref Unsafe.AsRef<ImVector<uint>>(&_ptr->Storage);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,345 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L145">imgui_internal.h:145</see>
|
||||
/// <br/><c>struct ImFontAtlasPostProcessData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImDrawList/ImFontAtlas
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 64)]
|
||||
public partial struct ImFontAtlasPostProcessData
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4054">imgui_internal.h:4054</see>
|
||||
/// <br/><c>ImFontAtlas* FontAtlas</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImFontAtlasPtr FontAtlas;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4055">imgui_internal.h:4055</see>
|
||||
/// <br/><c>ImFont* Font</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public ImFontPtr Font;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4056">imgui_internal.h:4056</see>
|
||||
/// <br/><c>ImFontConfig* FontSrc</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public ImFontConfigPtr FontSrc;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4057">imgui_internal.h:4057</see>
|
||||
/// <br/><c>ImFontBaked* FontBaked</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public ImFontBakedPtr FontBaked;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4058">imgui_internal.h:4058</see>
|
||||
/// <br/><c>ImFontGlyph* Glyph</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public ImFontGlyphPtr Glyph;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4061">imgui_internal.h:4061</see>
|
||||
/// <br/><c>void* Pixels</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(40)]
|
||||
public nint Pixels;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4062">imgui_internal.h:4062</see>
|
||||
/// <br/><c>ImTextureFormat Format</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(48)]
|
||||
public ImTextureFormat Format;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4063">imgui_internal.h:4063</see>
|
||||
/// <br/><c>int Pitch</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(52)]
|
||||
public int Pitch;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4064">imgui_internal.h:4064</see>
|
||||
/// <br/><c>int Width</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(56)]
|
||||
public int Width;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4065">imgui_internal.h:4065</see>
|
||||
/// <br/><c>int Height</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(60)]
|
||||
public int Height;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L145">imgui_internal.h:145</see>
|
||||
/// <br/><c>struct ImFontAtlasPostProcessData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImDrawList/ImFontAtlas
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImFontAtlasPostProcessDataPtr(ImFontAtlasPostProcessData* ptr) : INullable
|
||||
{
|
||||
private ImFontAtlasPostProcessData* _ptr = ptr;
|
||||
public ImFontAtlasPostProcessData* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImFontAtlasPostProcessDataPtr(ImFontAtlasPostProcessData* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImFontAtlasPostProcessData*(ImFontAtlasPostProcessDataPtr wrapper) =>
|
||||
wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4054">imgui_internal.h:4054</see>
|
||||
/// <br/><c>ImFontAtlas* FontAtlas</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImFontAtlasPtr FontAtlas => ref Unsafe.AsRef<ImFontAtlasPtr>(&_ptr->FontAtlas);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4055">imgui_internal.h:4055</see>
|
||||
/// <br/><c>ImFont* Font</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImFontPtr Font => ref Unsafe.AsRef<ImFontPtr>(&_ptr->Font);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4056">imgui_internal.h:4056</see>
|
||||
/// <br/><c>ImFontConfig* FontSrc</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImFontConfigPtr FontSrc => ref Unsafe.AsRef<ImFontConfigPtr>(&_ptr->FontSrc);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4057">imgui_internal.h:4057</see>
|
||||
/// <br/><c>ImFontBaked* FontBaked</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImFontBakedPtr FontBaked => ref Unsafe.AsRef<ImFontBakedPtr>(&_ptr->FontBaked);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4058">imgui_internal.h:4058</see>
|
||||
/// <br/><c>ImFontGlyph* Glyph</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data available to potential texture post-processing functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImFontGlyphPtr Glyph => ref Unsafe.AsRef<ImFontGlyphPtr>(&_ptr->Glyph);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4061">imgui_internal.h:4061</see>
|
||||
/// <br/><c>void* Pixels</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref nint Pixels => ref Unsafe.AsRef<nint>(&_ptr->Pixels);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4062">imgui_internal.h:4062</see>
|
||||
/// <br/><c>ImTextureFormat Format</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImTextureFormat Format => ref Unsafe.AsRef<ImTextureFormat>(&_ptr->Format);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4063">imgui_internal.h:4063</see>
|
||||
/// <br/><c>int Pitch</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int Pitch => ref Unsafe.AsRef<int>(&_ptr->Pitch);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4064">imgui_internal.h:4064</see>
|
||||
/// <br/><c>int Width</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int Width => ref Unsafe.AsRef<int>(&_ptr->Width);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4065">imgui_internal.h:4065</see>
|
||||
/// <br/><c>int Height</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Pixel data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int Height => ref Unsafe.AsRef<int>(&_ptr->Height);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,179 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Packed rectangle lookup entry
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L146">imgui_internal.h:146</see>
|
||||
/// <br/><c>struct ImFontAtlasRectEntry</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImDrawList/ImFontAtlas
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 4)]
|
||||
public partial struct ImFontAtlasRectEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// When Used: ImFontAtlasRectId -> into Rects[]. When unused: index to next unused RectsIndex[] slot to
|
||||
/// consume free-list.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4046">imgui_internal.h:4046</see>
|
||||
/// <br/><c>int TargetIndex : 20</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
|
||||
/// User are returned ImFontAtlasRectId values which are meant to be persistent.
|
||||
/// We handle this with an indirection. While Rects[] may be in theory shuffled, compacted etc., RectsIndex[] cannot it is keyed by ImFontAtlasRectId.
|
||||
/// RectsIndex[] is used both as an index into Rects[] and an index into itself. This is basically a free-list. See ImFontAtlasBuildAllocRectIndexEntry() code.
|
||||
/// Having this also makes it easier to e.g. sort rectangles during repack.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public int TargetIndex;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Increased each time the entry is reused for a new rectangle.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4047">imgui_internal.h:4047</see>
|
||||
/// <br/><c>int Generation : 10</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
|
||||
/// User are returned ImFontAtlasRectId values which are meant to be persistent.
|
||||
/// We handle this with an indirection. While Rects[] may be in theory shuffled, compacted etc., RectsIndex[] cannot it is keyed by ImFontAtlasRectId.
|
||||
/// RectsIndex[] is used both as an index into Rects[] and an index into itself. This is basically a free-list. See ImFontAtlasBuildAllocRectIndexEntry() code.
|
||||
/// Having this also makes it easier to e.g. sort rectangles during repack.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(2)]
|
||||
public int Generation;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4048">imgui_internal.h:4048</see>
|
||||
/// <br/><c>unsigned int IsUsed : 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
|
||||
/// User are returned ImFontAtlasRectId values which are meant to be persistent.
|
||||
/// We handle this with an indirection. While Rects[] may be in theory shuffled, compacted etc., RectsIndex[] cannot it is keyed by ImFontAtlasRectId.
|
||||
/// RectsIndex[] is used both as an index into Rects[] and an index into itself. This is basically a free-list. See ImFontAtlasBuildAllocRectIndexEntry() code.
|
||||
/// Having this also makes it easier to e.g. sort rectangles during repack.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(3)]
|
||||
public uint IsUsed;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Packed rectangle lookup entry
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L146">imgui_internal.h:146</see>
|
||||
/// <br/><c>struct ImFontAtlasRectEntry</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImDrawList/ImFontAtlas
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImFontAtlasRectEntryPtr(ImFontAtlasRectEntry* ptr) : INullable
|
||||
{
|
||||
private ImFontAtlasRectEntry* _ptr = ptr;
|
||||
public ImFontAtlasRectEntry* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImFontAtlasRectEntryPtr(ImFontAtlasRectEntry* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImFontAtlasRectEntry*(ImFontAtlasRectEntryPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// When Used: ImFontAtlasRectId -> into Rects[]. When unused: index to next unused RectsIndex[] slot to
|
||||
/// consume free-list.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4046">imgui_internal.h:4046</see>
|
||||
/// <br/><c>int TargetIndex : 20</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
|
||||
/// User are returned ImFontAtlasRectId values which are meant to be persistent.
|
||||
/// We handle this with an indirection. While Rects[] may be in theory shuffled, compacted etc., RectsIndex[] cannot it is keyed by ImFontAtlasRectId.
|
||||
/// RectsIndex[] is used both as an index into Rects[] and an index into itself. This is basically a free-list. See ImFontAtlasBuildAllocRectIndexEntry() code.
|
||||
/// Having this also makes it easier to e.g. sort rectangles during repack.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref int TargetIndex => ref Unsafe.AsRef<int>(&_ptr->TargetIndex);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Increased each time the entry is reused for a new rectangle.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4047">imgui_internal.h:4047</see>
|
||||
/// <br/><c>int Generation : 10</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
|
||||
/// User are returned ImFontAtlasRectId values which are meant to be persistent.
|
||||
/// We handle this with an indirection. While Rects[] may be in theory shuffled, compacted etc., RectsIndex[] cannot it is keyed by ImFontAtlasRectId.
|
||||
/// RectsIndex[] is used both as an index into Rects[] and an index into itself. This is basically a free-list. See ImFontAtlasBuildAllocRectIndexEntry() code.
|
||||
/// Having this also makes it easier to e.g. sort rectangles during repack.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref int Generation => ref Unsafe.AsRef<int>(&_ptr->Generation);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L4048">imgui_internal.h:4048</see>
|
||||
/// <br/><c>unsigned int IsUsed : 1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
|
||||
/// User are returned ImFontAtlasRectId values which are meant to be persistent.
|
||||
/// We handle this with an indirection. While Rects[] may be in theory shuffled, compacted etc., RectsIndex[] cannot it is keyed by ImFontAtlasRectId.
|
||||
/// RectsIndex[] is used both as an index into Rects[] and an index into itself. This is basically a free-list. See ImFontAtlasBuildAllocRectIndexEntry() code.
|
||||
/// Having this also makes it easier to e.g. sort rectangles during repack.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref uint IsUsed => ref Unsafe.AsRef<uint>(&_ptr->IsUsed);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,107 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L883">imgui_internal.h:883</see>
|
||||
/// <br/><c>struct ImFontStackData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImFontStackData
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L885">imgui_internal.h:885</see>
|
||||
/// <br/><c>ImFont* Font</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public ImFontPtr Font;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ~~ style.FontSizeBase
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L886">imgui_internal.h:886</see>
|
||||
/// <br/><c>float FontSizeBeforeScaling</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public float FontSizeBeforeScaling;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ~~ g.FontSize
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L887">imgui_internal.h:887</see>
|
||||
/// <br/><c>float FontSizeAfterScaling</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public float FontSizeAfterScaling;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L883">imgui_internal.h:883</see>
|
||||
/// <br/><c>struct ImFontStackData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe partial struct ImFontStackDataPtr(ImFontStackData* ptr) : INullable
|
||||
{
|
||||
private ImFontStackData* _ptr = ptr;
|
||||
public ImFontStackData* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImFontStackDataPtr(ImFontStackData* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImFontStackData*(ImFontStackDataPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L885">imgui_internal.h:885</see>
|
||||
/// <br/><c>ImFont* Font</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImFontPtr Font => ref Unsafe.AsRef<ImFontPtr>(&_ptr->Font);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ~~ style.FontSizeBase
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L886">imgui_internal.h:886</see>
|
||||
/// <br/><c>float FontSizeBeforeScaling</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref float FontSizeBeforeScaling => ref Unsafe.AsRef<float>(&_ptr->FontSizeBeforeScaling);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ~~ g.FontSize
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L887">imgui_internal.h:887</see>
|
||||
/// <br/><c>float FontSizeAfterScaling</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref float FontSizeAfterScaling => ref Unsafe.AsRef<float>(&_ptr->FontSizeAfterScaling);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,541 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Box-selection state (currently used by multi-selection, could potentially be used by others)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L149">imgui_internal.h:149</see>
|
||||
/// <br/><c>struct ImGuiBoxSelectState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 104)]
|
||||
public partial struct ImGuiBoxSelectState
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1862">imgui_internal.h:1862</see>
|
||||
/// <br/><c>ImGuiID ID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiID ID;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1863">imgui_internal.h:1863</see>
|
||||
/// <br/><c>bool IsActive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public Bool8 IsActive;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1864">imgui_internal.h:1864</see>
|
||||
/// <br/><c>bool IsStarting</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(5)]
|
||||
public Bool8 IsStarting;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Starting click was not from an item.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1865">imgui_internal.h:1865</see>
|
||||
/// <br/><c>bool IsStartedFromVoid</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(6)]
|
||||
public Bool8 IsStartedFromVoid;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1866">imgui_internal.h:1866</see>
|
||||
/// <br/><c>bool IsStartedSetNavIdOnce</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(7)]
|
||||
public Bool8 IsStartedSetNavIdOnce;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1867">imgui_internal.h:1867</see>
|
||||
/// <br/><c>bool RequestClear</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public Bool8 RequestClear;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Latched key-mods for box-select logic.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1868">imgui_internal.h:1868</see>
|
||||
/// <br/><c>ImGuiKeyChord KeyMods : 16</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiKeyChord KeyMods;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Start position in window-contents relative space (to support scrolling)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1869">imgui_internal.h:1869</see>
|
||||
/// <br/><c>ImVec2 StartPosRel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public float2 StartPosRel;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// End position in window-contents relative space
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1870">imgui_internal.h:1870</see>
|
||||
/// <br/><c>ImVec2 EndPosRel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public float2 EndPosRel;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Scrolling accumulator (to behave at high-frame spaces)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1871">imgui_internal.h:1871</see>
|
||||
/// <br/><c>ImVec2 ScrollAccum</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public float2 ScrollAccum;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1872">imgui_internal.h:1872</see>
|
||||
/// <br/><c>ImGuiWindow* Window</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(40)]
|
||||
public ImGuiWindowPtr Window;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// (Temp/Transient, here in hot area). Set/cleared by the BeginMultiSelect()/EndMultiSelect() owning active
|
||||
/// box-select.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1875">imgui_internal.h:1875</see>
|
||||
/// <br/><c>bool UnclipMode</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(48)]
|
||||
public Bool8 UnclipMode;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Rectangle where ItemAdd() clipping may be temporarily disabled. Need support by multi-select supporting
|
||||
/// widgets.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1876">imgui_internal.h:1876</see>
|
||||
/// <br/><c>ImRect UnclipRect</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(52)]
|
||||
public floatRect UnclipRect;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Selection rectangle in absolute coordinates (derived every frame from BoxSelectStartPosRel and MousePos)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1877">imgui_internal.h:1877</see>
|
||||
/// <br/><c>ImRect BoxSelectRectPrev</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(68)]
|
||||
public floatRect BoxSelectRectPrev;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1878">imgui_internal.h:1878</see>
|
||||
/// <br/><c>ImRect BoxSelectRectCurr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(84)]
|
||||
public floatRect BoxSelectRectCurr;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Box-selection state (currently used by multi-selection, could potentially be used by others)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L149">imgui_internal.h:149</see>
|
||||
/// <br/><c>struct ImGuiBoxSelectState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiBoxSelectStatePtr(ImGuiBoxSelectState* ptr) : INullable
|
||||
{
|
||||
private ImGuiBoxSelectState* _ptr = ptr;
|
||||
public ImGuiBoxSelectState* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiBoxSelectStatePtr(ImGuiBoxSelectState* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiBoxSelectState*(ImGuiBoxSelectStatePtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1862">imgui_internal.h:1862</see>
|
||||
/// <br/><c>ImGuiID ID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1863">imgui_internal.h:1863</see>
|
||||
/// <br/><c>bool IsActive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool IsActive => ref Unsafe.AsRef<bool>(&_ptr->IsActive);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1864">imgui_internal.h:1864</see>
|
||||
/// <br/><c>bool IsStarting</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool IsStarting => ref Unsafe.AsRef<bool>(&_ptr->IsStarting);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Starting click was not from an item.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1865">imgui_internal.h:1865</see>
|
||||
/// <br/><c>bool IsStartedFromVoid</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool IsStartedFromVoid => ref Unsafe.AsRef<bool>(&_ptr->IsStartedFromVoid);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1866">imgui_internal.h:1866</see>
|
||||
/// <br/><c>bool IsStartedSetNavIdOnce</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool IsStartedSetNavIdOnce => ref Unsafe.AsRef<bool>(&_ptr->IsStartedSetNavIdOnce);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1867">imgui_internal.h:1867</see>
|
||||
/// <br/><c>bool RequestClear</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool RequestClear => ref Unsafe.AsRef<bool>(&_ptr->RequestClear);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Latched key-mods for box-select logic.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1868">imgui_internal.h:1868</see>
|
||||
/// <br/><c>ImGuiKeyChord KeyMods : 16</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiKeyChord KeyMods => ref Unsafe.AsRef<ImGuiKeyChord>(&_ptr->KeyMods);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Start position in window-contents relative space (to support scrolling)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1869">imgui_internal.h:1869</see>
|
||||
/// <br/><c>ImVec2 StartPosRel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 StartPosRel => ref Unsafe.AsRef<float2>(&_ptr->StartPosRel);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// End position in window-contents relative space
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1870">imgui_internal.h:1870</see>
|
||||
/// <br/><c>ImVec2 EndPosRel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 EndPosRel => ref Unsafe.AsRef<float2>(&_ptr->EndPosRel);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Scrolling accumulator (to behave at high-frame spaces)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1871">imgui_internal.h:1871</see>
|
||||
/// <br/><c>ImVec2 ScrollAccum</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 ScrollAccum => ref Unsafe.AsRef<float2>(&_ptr->ScrollAccum);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1872">imgui_internal.h:1872</see>
|
||||
/// <br/><c>ImGuiWindow* Window</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Active box-selection data (persistent, 1 active at a time)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiWindowPtr Window => ref Unsafe.AsRef<ImGuiWindowPtr>(&_ptr->Window);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// (Temp/Transient, here in hot area). Set/cleared by the BeginMultiSelect()/EndMultiSelect() owning active
|
||||
/// box-select.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1875">imgui_internal.h:1875</see>
|
||||
/// <br/><c>bool UnclipMode</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool UnclipMode => ref Unsafe.AsRef<bool>(&_ptr->UnclipMode);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Rectangle where ItemAdd() clipping may be temporarily disabled. Need support by multi-select supporting
|
||||
/// widgets.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1876">imgui_internal.h:1876</see>
|
||||
/// <br/><c>ImRect UnclipRect</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref floatRect UnclipRect => ref Unsafe.AsRef<floatRect>(&_ptr->UnclipRect);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Selection rectangle in absolute coordinates (derived every frame from BoxSelectStartPosRel and MousePos)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1877">imgui_internal.h:1877</see>
|
||||
/// <br/><c>ImRect BoxSelectRectPrev</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref floatRect BoxSelectRectPrev => ref Unsafe.AsRef<floatRect>(&_ptr->BoxSelectRectPrev);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1878">imgui_internal.h:1878</see>
|
||||
/// <br/><c>ImRect BoxSelectRectCurr</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Temporary/Transient data
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref floatRect BoxSelectRectCurr => ref Unsafe.AsRef<floatRect>(&_ptr->BoxSelectRectCurr);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,112 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L150">imgui_internal.h:150</see>
|
||||
/// <br/><c>struct ImGuiColorMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 20)]
|
||||
public partial struct ImGuiColorMod
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L905">imgui_internal.h:905</see>
|
||||
/// <br/><c>ImGuiCol Col</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiCol Col;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L906">imgui_internal.h:906</see>
|
||||
/// <br/><c>ImVec4 BackupValue</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public float4 BackupValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L150">imgui_internal.h:150</see>
|
||||
/// <br/><c>struct ImGuiColorMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiColorModPtr(ImGuiColorMod* ptr) : INullable
|
||||
{
|
||||
private ImGuiColorMod* _ptr = ptr;
|
||||
public ImGuiColorMod* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiColorModPtr(ImGuiColorMod* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiColorMod*(ImGuiColorModPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L905">imgui_internal.h:905</see>
|
||||
/// <br/><c>ImGuiCol Col</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiCol Col => ref Unsafe.AsRef<ImGuiCol>(&_ptr->Col);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L906">imgui_internal.h:906</see>
|
||||
/// <br/><c>ImVec4 BackupValue</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float4 BackupValue => ref Unsafe.AsRef<float4>(&_ptr->BackupValue);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,222 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1148">imgui_internal.h:1148</see>
|
||||
/// <br/><c>struct IMGUI_API ImGuiComboPreviewData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 48)]
|
||||
public partial struct ImGuiComboPreviewData
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1150">imgui_internal.h:1150</see>
|
||||
/// <br/><c>ImRect PreviewRect</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public floatRect PreviewRect;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1151">imgui_internal.h:1151</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public float2 BackupCursorPos;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1152">imgui_internal.h:1152</see>
|
||||
/// <br/><c>ImVec2 BackupCursorMaxPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public float2 BackupCursorMaxPos;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1153">imgui_internal.h:1153</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPosPrevLine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public float2 BackupCursorPosPrevLine;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1154">imgui_internal.h:1154</see>
|
||||
/// <br/><c>float BackupPrevLineTextBaseOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(40)]
|
||||
public float BackupPrevLineTextBaseOffset;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1155">imgui_internal.h:1155</see>
|
||||
/// <br/><c>ImGuiLayoutType BackupLayout</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(44)]
|
||||
public ImGuiLayoutType BackupLayout;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1148">imgui_internal.h:1148</see>
|
||||
/// <br/><c>struct IMGUI_API ImGuiComboPreviewData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* ptr) : INullable
|
||||
{
|
||||
private ImGuiComboPreviewData* _ptr = ptr;
|
||||
public ImGuiComboPreviewData* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiComboPreviewData*(ImGuiComboPreviewDataPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1150">imgui_internal.h:1150</see>
|
||||
/// <br/><c>ImRect PreviewRect</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref floatRect PreviewRect => ref Unsafe.AsRef<floatRect>(&_ptr->PreviewRect);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1151">imgui_internal.h:1151</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 BackupCursorPos => ref Unsafe.AsRef<float2>(&_ptr->BackupCursorPos);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1152">imgui_internal.h:1152</see>
|
||||
/// <br/><c>ImVec2 BackupCursorMaxPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 BackupCursorMaxPos => ref Unsafe.AsRef<float2>(&_ptr->BackupCursorMaxPos);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1153">imgui_internal.h:1153</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPosPrevLine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 BackupCursorPosPrevLine => ref Unsafe.AsRef<float2>(&_ptr->BackupCursorPosPrevLine);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1154">imgui_internal.h:1154</see>
|
||||
/// <br/><c>float BackupPrevLineTextBaseOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float BackupPrevLineTextBaseOffset => ref Unsafe.AsRef<float>(&_ptr->BackupPrevLineTextBaseOffset);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1155">imgui_internal.h:1155</see>
|
||||
/// <br/><c>ImGuiLayoutType BackupLayout</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage data for BeginComboPreview()/EndComboPreview()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiLayoutType BackupLayout => ref Unsafe.AsRef<ImGuiLayoutType>(&_ptr->BackupLayout);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,155 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Hook for extensions like ImGuiTestEngine
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L152">imgui_internal.h:152</see>
|
||||
/// <br/><c>struct ImGuiContextHook</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public partial struct ImGuiContextHook
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A unique ID assigned by AddContextHook()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2319">imgui_internal.h:2319</see>
|
||||
/// <br/><c>ImGuiID HookId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiID HookId;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2320">imgui_internal.h:2320</see>
|
||||
/// <br/><c>ImGuiContextHookType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public ImGuiContextHookType Type;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2321">imgui_internal.h:2321</see>
|
||||
/// <br/><c>ImGuiID Owner</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public ImGuiID Owner;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2322">imgui_internal.h:2322</see>
|
||||
/// <br/><c>ImGuiContextHookCallback Callback</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public nint Callback;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2323">imgui_internal.h:2323</see>
|
||||
/// <br/><c>void* UserData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public nint UserData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Hook for extensions like ImGuiTestEngine
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L152">imgui_internal.h:152</see>
|
||||
/// <br/><c>struct ImGuiContextHook</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiContextHookPtr(ImGuiContextHook* ptr) : INullable
|
||||
{
|
||||
private ImGuiContextHook* _ptr = ptr;
|
||||
public ImGuiContextHook* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiContextHookPtr(ImGuiContextHook* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiContextHook*(ImGuiContextHookPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A unique ID assigned by AddContextHook()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2319">imgui_internal.h:2319</see>
|
||||
/// <br/><c>ImGuiID HookId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiID HookId => ref Unsafe.AsRef<ImGuiID>(&_ptr->HookId);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2320">imgui_internal.h:2320</see>
|
||||
/// <br/><c>ImGuiContextHookType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiContextHookType Type => ref Unsafe.AsRef<ImGuiContextHookType>(&_ptr->Type);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2321">imgui_internal.h:2321</see>
|
||||
/// <br/><c>ImGuiID Owner</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiID Owner => ref Unsafe.AsRef<ImGuiID>(&_ptr->Owner);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2322">imgui_internal.h:2322</see>
|
||||
/// <br/><c>ImGuiContextHookCallback Callback</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref nint Callback => ref Unsafe.AsRef<nint>(&_ptr->Callback);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2323">imgui_internal.h:2323</see>
|
||||
/// <br/><c>void* UserData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref nint UserData => ref Unsafe.AsRef<nint>(&_ptr->UserData);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,194 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Type information associated to a ImGuiDataType enum
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L153">imgui_internal.h:153</see>
|
||||
/// <br/><c>struct ImGuiDataTypeInfo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public partial struct ImGuiDataTypeInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Size in bytes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L931">imgui_internal.h:931</see>
|
||||
/// <br/><c>size_t Size</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public nuint Size;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Short descriptive name for the type, for debugging
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L932">imgui_internal.h:932</see>
|
||||
/// <br/><c>const char* Name</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public Ptr<byte> Name;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Default printf format for the type
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L933">imgui_internal.h:933</see>
|
||||
/// <br/><c>const char* PrintFmt</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public Ptr<byte> PrintFmt;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Default scanf format for the type
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L934">imgui_internal.h:934</see>
|
||||
/// <br/><c>const char* ScanFmt</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public Ptr<byte> ScanFmt;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Type information associated to a ImGuiDataType enum
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L153">imgui_internal.h:153</see>
|
||||
/// <br/><c>struct ImGuiDataTypeInfo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* ptr) : INullable
|
||||
{
|
||||
private ImGuiDataTypeInfo* _ptr = ptr;
|
||||
public ImGuiDataTypeInfo* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiDataTypeInfo*(ImGuiDataTypeInfoPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Size in bytes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L931">imgui_internal.h:931</see>
|
||||
/// <br/><c>size_t Size</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref nuint Size => ref Unsafe.AsRef<nuint>(&_ptr->Size);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Short descriptive name for the type, for debugging
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L932">imgui_internal.h:932</see>
|
||||
/// <br/><c>const char* Name</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref Ptr<byte> Name => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->Name);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Default printf format for the type
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L933">imgui_internal.h:933</see>
|
||||
/// <br/><c>const char* PrintFmt</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref Ptr<byte> PrintFmt => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->PrintFmt);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Default scanf format for the type
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L934">imgui_internal.h:934</see>
|
||||
/// <br/><c>const char* ScanFmt</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref Ptr<byte> ScanFmt => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->ScanFmt);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L923">imgui_internal.h:923</see>
|
||||
/// <br/><c>struct ImGuiDataTypeStorage</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct ImGuiDataTypeStorage
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Opaque storage to fit any data up to ImGuiDataType_COUNT
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L925">imgui_internal.h:925</see>
|
||||
/// <br/><c>ImU8 Data[8]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public byte_8 Data;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L923">imgui_internal.h:923</see>
|
||||
/// <br/><c>struct ImGuiDataTypeStorage</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe partial struct ImGuiDataTypeStoragePtr(ImGuiDataTypeStorage* ptr) : INullable
|
||||
{
|
||||
private ImGuiDataTypeStorage* _ptr = ptr;
|
||||
public ImGuiDataTypeStorage* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiDataTypeStoragePtr(ImGuiDataTypeStorage* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiDataTypeStorage*(ImGuiDataTypeStoragePtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Opaque storage to fit any data up to ImGuiDataType_COUNT
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L925">imgui_internal.h:925</see>
|
||||
/// <br/><c>ImU8 Data[8]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref byte_8 Data => ref Unsafe.AsRef<byte_8>(&_ptr->Data);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,170 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Data for IsItemDeactivated()/IsItemDeactivatedAfterEdit() function.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L154">imgui_internal.h:154</see>
|
||||
/// <br/><c>struct ImGuiDeactivatedItemData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct ImGuiDeactivatedItemData
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1436">imgui_internal.h:1436</see>
|
||||
/// <br/><c>ImGuiID ID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiID ID;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1437">imgui_internal.h:1437</see>
|
||||
/// <br/><c>int ElapseFrame</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public int ElapseFrame;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1438">imgui_internal.h:1438</see>
|
||||
/// <br/><c>bool HasBeenEditedBefore</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public Bool8 HasBeenEditedBefore;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1439">imgui_internal.h:1439</see>
|
||||
/// <br/><c>bool IsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(9)]
|
||||
public Bool8 IsAlive;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Data for IsItemDeactivated()/IsItemDeactivatedAfterEdit() function.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L154">imgui_internal.h:154</see>
|
||||
/// <br/><c>struct ImGuiDeactivatedItemData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiDeactivatedItemDataPtr(ImGuiDeactivatedItemData* ptr) : INullable
|
||||
{
|
||||
private ImGuiDeactivatedItemData* _ptr = ptr;
|
||||
public ImGuiDeactivatedItemData* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiDeactivatedItemDataPtr(ImGuiDeactivatedItemData* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiDeactivatedItemData*(ImGuiDeactivatedItemDataPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1436">imgui_internal.h:1436</see>
|
||||
/// <br/><c>ImGuiID ID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1437">imgui_internal.h:1437</see>
|
||||
/// <br/><c>int ElapseFrame</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int ElapseFrame => ref Unsafe.AsRef<int>(&_ptr->ElapseFrame);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1438">imgui_internal.h:1438</see>
|
||||
/// <br/><c>bool HasBeenEditedBefore</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool HasBeenEditedBefore => ref Unsafe.AsRef<bool>(&_ptr->HasBeenEditedBefore);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1439">imgui_internal.h:1439</see>
|
||||
/// <br/><c>bool IsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool IsAlive => ref Unsafe.AsRef<bool>(&_ptr->IsAlive);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2249">imgui_internal.h:2249</see>
|
||||
/// <br/><c>struct ImGuiDebugAllocEntry</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct ImGuiDebugAllocEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2251">imgui_internal.h:2251</see>
|
||||
/// <br/><c>int FrameCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public int FrameCount;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2252">imgui_internal.h:2252</see>
|
||||
/// <br/><c>ImS16 AllocCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public short AllocCount;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2253">imgui_internal.h:2253</see>
|
||||
/// <br/><c>ImS16 FreeCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(6)]
|
||||
public short FreeCount;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2249">imgui_internal.h:2249</see>
|
||||
/// <br/><c>struct ImGuiDebugAllocEntry</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe partial struct ImGuiDebugAllocEntryPtr(ImGuiDebugAllocEntry* ptr) : INullable
|
||||
{
|
||||
private ImGuiDebugAllocEntry* _ptr = ptr;
|
||||
public ImGuiDebugAllocEntry* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiDebugAllocEntryPtr(ImGuiDebugAllocEntry* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiDebugAllocEntry*(ImGuiDebugAllocEntryPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2251">imgui_internal.h:2251</see>
|
||||
/// <br/><c>int FrameCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref int FrameCount => ref Unsafe.AsRef<int>(&_ptr->FrameCount);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2252">imgui_internal.h:2252</see>
|
||||
/// <br/><c>ImS16 AllocCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref short AllocCount => ref Unsafe.AsRef<short>(&_ptr->AllocCount);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2253">imgui_internal.h:2253</see>
|
||||
/// <br/><c>ImS16 FreeCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref short FreeCount => ref Unsafe.AsRef<short>(&_ptr->FreeCount);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,133 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2256">imgui_internal.h:2256</see>
|
||||
/// <br/><c>struct ImGuiDebugAllocInfo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 60)]
|
||||
public partial struct ImGuiDebugAllocInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Number of call to MemAlloc().
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2258">imgui_internal.h:2258</see>
|
||||
/// <br/><c>int TotalAllocCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public int TotalAllocCount;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2259">imgui_internal.h:2259</see>
|
||||
/// <br/><c>int TotalFreeCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public int TotalFreeCount;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Current index in buffer
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2260">imgui_internal.h:2260</see>
|
||||
/// <br/><c>ImS16 LastEntriesIdx</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public short LastEntriesIdx;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Track last 6 frames that had allocations
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2261">imgui_internal.h:2261</see>
|
||||
/// <br/><c>ImGuiDebugAllocEntry LastEntriesBuf[6]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiDebugAllocEntry_6 LastEntriesBuf;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2256">imgui_internal.h:2256</see>
|
||||
/// <br/><c>struct ImGuiDebugAllocInfo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe partial struct ImGuiDebugAllocInfoPtr(ImGuiDebugAllocInfo* ptr) : INullable
|
||||
{
|
||||
private ImGuiDebugAllocInfo* _ptr = ptr;
|
||||
public ImGuiDebugAllocInfo* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiDebugAllocInfoPtr(ImGuiDebugAllocInfo* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiDebugAllocInfo*(ImGuiDebugAllocInfoPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Number of call to MemAlloc().
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2258">imgui_internal.h:2258</see>
|
||||
/// <br/><c>int TotalAllocCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref int TotalAllocCount => ref Unsafe.AsRef<int>(&_ptr->TotalAllocCount);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2259">imgui_internal.h:2259</see>
|
||||
/// <br/><c>int TotalFreeCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref int TotalFreeCount => ref Unsafe.AsRef<int>(&_ptr->TotalFreeCount);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Current index in buffer
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2260">imgui_internal.h:2260</see>
|
||||
/// <br/><c>ImS16 LastEntriesIdx</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref short LastEntriesIdx => ref Unsafe.AsRef<short>(&_ptr->LastEntriesIdx);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Track last 6 frames that had allocations
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2261">imgui_internal.h:2261</see>
|
||||
/// <br/><c>ImGuiDebugAllocEntry LastEntriesBuf[6]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiDebugAllocEntry_6 LastEntriesBuf =>
|
||||
ref Unsafe.AsRef<ImGuiDebugAllocEntry_6>(&_ptr->LastEntriesBuf);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,137 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Docking system context
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L155">imgui_internal.h:155</see>
|
||||
/// <br/><c>struct ImGuiDockContext</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 56)]
|
||||
public partial struct ImGuiDockContext
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Map ID -> ImGuiDockNode*: Active nodes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2076">imgui_internal.h:2076</see>
|
||||
/// <br/><c>ImGuiStorage Nodes</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiStorage Nodes;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2077">imgui_internal.h:2077</see>
|
||||
/// <br/><c>ImVector<ImGuiDockRequest> Requests</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public ImVector<ImGuiDockRequest> Requests;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2078">imgui_internal.h:2078</see>
|
||||
/// <br/><c>ImVector<ImGuiDockNodeSettings> NodesSettings</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(32)]
|
||||
public ImVector<ImGuiDockNodeSettings> NodesSettings;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2079">imgui_internal.h:2079</see>
|
||||
/// <br/><c>bool WantFullRebuild</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(48)]
|
||||
public Bool8 WantFullRebuild;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Docking system context
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L155">imgui_internal.h:155</see>
|
||||
/// <br/><c>struct ImGuiDockContext</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiDockContextPtr(ImGuiDockContext* ptr) : INullable
|
||||
{
|
||||
private ImGuiDockContext* _ptr = ptr;
|
||||
public ImGuiDockContext* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiDockContextPtr(ImGuiDockContext* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiDockContext*(ImGuiDockContextPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Map ID -> ImGuiDockNode*: Active nodes
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2076">imgui_internal.h:2076</see>
|
||||
/// <br/><c>ImGuiStorage Nodes</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiStorage Nodes => ref Unsafe.AsRef<ImGuiStorage>(&_ptr->Nodes);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2077">imgui_internal.h:2077</see>
|
||||
/// <br/><c>ImVector<ImGuiDockRequest> Requests</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImVector<ImGuiDockRequest> Requests => ref Unsafe.AsRef<ImVector<ImGuiDockRequest>>(&_ptr->Requests);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2078">imgui_internal.h:2078</see>
|
||||
/// <br/><c>ImVector<ImGuiDockNodeSettings> NodesSettings</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImVector<ImGuiDockNodeSettings> NodesSettings =>
|
||||
ref Unsafe.AsRef<ImVector<ImGuiDockNodeSettings>>(&_ptr->NodesSettings);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2079">imgui_internal.h:2079</see>
|
||||
/// <br/><c>bool WantFullRebuild</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref bool WantFullRebuild => ref Unsafe.AsRef<bool>(&_ptr->WantFullRebuild);
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,373 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Storage of stack sizes for error handling and recovery
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L159">imgui_internal.h:159</see>
|
||||
/// <br/><c>struct ImGuiErrorRecoveryState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 22)]
|
||||
public partial struct ImGuiErrorRecoveryState
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1392">imgui_internal.h:1392</see>
|
||||
/// <br/><c>short SizeOfWindowStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public short SizeOfWindowStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1393">imgui_internal.h:1393</see>
|
||||
/// <br/><c>short SizeOfIDStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(2)]
|
||||
public short SizeOfIDStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1394">imgui_internal.h:1394</see>
|
||||
/// <br/><c>short SizeOfTreeStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public short SizeOfTreeStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1395">imgui_internal.h:1395</see>
|
||||
/// <br/><c>short SizeOfColorStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(6)]
|
||||
public short SizeOfColorStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1396">imgui_internal.h:1396</see>
|
||||
/// <br/><c>short SizeOfStyleVarStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public short SizeOfStyleVarStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1397">imgui_internal.h:1397</see>
|
||||
/// <br/><c>short SizeOfFontStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(10)]
|
||||
public short SizeOfFontStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1398">imgui_internal.h:1398</see>
|
||||
/// <br/><c>short SizeOfFocusScopeStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(12)]
|
||||
public short SizeOfFocusScopeStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1399">imgui_internal.h:1399</see>
|
||||
/// <br/><c>short SizeOfGroupStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(14)]
|
||||
public short SizeOfGroupStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1400">imgui_internal.h:1400</see>
|
||||
/// <br/><c>short SizeOfItemFlagsStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public short SizeOfItemFlagsStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1401">imgui_internal.h:1401</see>
|
||||
/// <br/><c>short SizeOfBeginPopupStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(18)]
|
||||
public short SizeOfBeginPopupStack;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1402">imgui_internal.h:1402</see>
|
||||
/// <br/><c>short SizeOfDisabledStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(20)]
|
||||
public short SizeOfDisabledStack;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Storage of stack sizes for error handling and recovery
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L159">imgui_internal.h:159</see>
|
||||
/// <br/><c>struct ImGuiErrorRecoveryState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiErrorRecoveryStatePtr(ImGuiErrorRecoveryState* ptr) : INullable
|
||||
{
|
||||
private ImGuiErrorRecoveryState* _ptr = ptr;
|
||||
public ImGuiErrorRecoveryState* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiErrorRecoveryStatePtr(ImGuiErrorRecoveryState* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiErrorRecoveryState*(ImGuiErrorRecoveryStatePtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1392">imgui_internal.h:1392</see>
|
||||
/// <br/><c>short SizeOfWindowStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfWindowStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfWindowStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1393">imgui_internal.h:1393</see>
|
||||
/// <br/><c>short SizeOfIDStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfIDStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfIDStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1394">imgui_internal.h:1394</see>
|
||||
/// <br/><c>short SizeOfTreeStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfTreeStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfTreeStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1395">imgui_internal.h:1395</see>
|
||||
/// <br/><c>short SizeOfColorStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfColorStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfColorStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1396">imgui_internal.h:1396</see>
|
||||
/// <br/><c>short SizeOfStyleVarStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfStyleVarStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfStyleVarStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1397">imgui_internal.h:1397</see>
|
||||
/// <br/><c>short SizeOfFontStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfFontStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfFontStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1398">imgui_internal.h:1398</see>
|
||||
/// <br/><c>short SizeOfFocusScopeStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfFocusScopeStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfFocusScopeStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1399">imgui_internal.h:1399</see>
|
||||
/// <br/><c>short SizeOfGroupStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfGroupStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfGroupStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1400">imgui_internal.h:1400</see>
|
||||
/// <br/><c>short SizeOfItemFlagsStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfItemFlagsStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfItemFlagsStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1401">imgui_internal.h:1401</see>
|
||||
/// <br/><c>short SizeOfBeginPopupStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfBeginPopupStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfBeginPopupStack);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1402">imgui_internal.h:1402</see>
|
||||
/// <br/><c>short SizeOfDisabledStack</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// sizeof() = 20
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref short SizeOfDisabledStack => ref Unsafe.AsRef<short>(&_ptr->SizeOfDisabledStack);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1756">imgui_internal.h:1756</see>
|
||||
/// <br/><c>struct ImGuiFocusScopeData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct ImGuiFocusScopeData
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1758">imgui_internal.h:1758</see>
|
||||
/// <br/><c>ImGuiID ID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiID ID;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1759">imgui_internal.h:1759</see>
|
||||
/// <br/><c>ImGuiID WindowID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public ImGuiID WindowID;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1756">imgui_internal.h:1756</see>
|
||||
/// <br/><c>struct ImGuiFocusScopeData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiFocusScopeDataPtr(ImGuiFocusScopeData* ptr) : INullable
|
||||
{
|
||||
private ImGuiFocusScopeData* _ptr = ptr;
|
||||
public ImGuiFocusScopeData* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiFocusScopeDataPtr(ImGuiFocusScopeData* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiFocusScopeData*(ImGuiFocusScopeDataPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1758">imgui_internal.h:1758</see>
|
||||
/// <br/><c>ImGuiID ID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1759">imgui_internal.h:1759</see>
|
||||
/// <br/><c>ImGuiID WindowID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for PushFocusScope(), g.FocusScopeStack[], g.NavFocusRoute[]
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID WindowID => ref Unsafe.AsRef<ImGuiID>(&_ptr->WindowID);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,431 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L160">imgui_internal.h:160</see>
|
||||
/// <br/><c>struct ImGuiGroupData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 56)]
|
||||
public partial struct ImGuiGroupData
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1163">imgui_internal.h:1163</see>
|
||||
/// <br/><c>ImGuiID WindowID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiID WindowID;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1164">imgui_internal.h:1164</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public float2 BackupCursorPos;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1165">imgui_internal.h:1165</see>
|
||||
/// <br/><c>ImVec2 BackupCursorMaxPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(12)]
|
||||
public float2 BackupCursorMaxPos;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1166">imgui_internal.h:1166</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPosPrevLine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(20)]
|
||||
public float2 BackupCursorPosPrevLine;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1167">imgui_internal.h:1167</see>
|
||||
/// <br/><c>ImVec1 BackupIndent</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(28)]
|
||||
public float BackupIndent;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1168">imgui_internal.h:1168</see>
|
||||
/// <br/><c>ImVec1 BackupGroupOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public float BackupGroupOffset;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1169">imgui_internal.h:1169</see>
|
||||
/// <br/><c>ImVec2 BackupCurrLineSize</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(36)]
|
||||
public float2 BackupCurrLineSize;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1170">imgui_internal.h:1170</see>
|
||||
/// <br/><c>float BackupCurrLineTextBaseOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(44)]
|
||||
public float BackupCurrLineTextBaseOffset;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1171">imgui_internal.h:1171</see>
|
||||
/// <br/><c>ImGuiID BackupActiveIdIsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(48)]
|
||||
public ImGuiID BackupActiveIdIsAlive;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1172">imgui_internal.h:1172</see>
|
||||
/// <br/><c>bool BackupDeactivatedIdIsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(52)]
|
||||
public Bool8 BackupDeactivatedIdIsAlive;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1173">imgui_internal.h:1173</see>
|
||||
/// <br/><c>bool BackupHoveredIdIsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(53)]
|
||||
public Bool8 BackupHoveredIdIsAlive;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1174">imgui_internal.h:1174</see>
|
||||
/// <br/><c>bool BackupIsSameLine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(54)]
|
||||
public Bool8 BackupIsSameLine;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1175">imgui_internal.h:1175</see>
|
||||
/// <br/><c>bool EmitItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(55)]
|
||||
public Bool8 EmitItem;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L160">imgui_internal.h:160</see>
|
||||
/// <br/><c>struct ImGuiGroupData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiGroupDataPtr(ImGuiGroupData* ptr) : INullable
|
||||
{
|
||||
private ImGuiGroupData* _ptr = ptr;
|
||||
public ImGuiGroupData* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiGroupDataPtr(ImGuiGroupData* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiGroupData*(ImGuiGroupDataPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1163">imgui_internal.h:1163</see>
|
||||
/// <br/><c>ImGuiID WindowID</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID WindowID => ref Unsafe.AsRef<ImGuiID>(&_ptr->WindowID);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1164">imgui_internal.h:1164</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 BackupCursorPos => ref Unsafe.AsRef<float2>(&_ptr->BackupCursorPos);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1165">imgui_internal.h:1165</see>
|
||||
/// <br/><c>ImVec2 BackupCursorMaxPos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 BackupCursorMaxPos => ref Unsafe.AsRef<float2>(&_ptr->BackupCursorMaxPos);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1166">imgui_internal.h:1166</see>
|
||||
/// <br/><c>ImVec2 BackupCursorPosPrevLine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 BackupCursorPosPrevLine => ref Unsafe.AsRef<float2>(&_ptr->BackupCursorPosPrevLine);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1167">imgui_internal.h:1167</see>
|
||||
/// <br/><c>ImVec1 BackupIndent</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float BackupIndent => ref Unsafe.AsRef<float>(&_ptr->BackupIndent);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1168">imgui_internal.h:1168</see>
|
||||
/// <br/><c>ImVec1 BackupGroupOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float BackupGroupOffset => ref Unsafe.AsRef<float>(&_ptr->BackupGroupOffset);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1169">imgui_internal.h:1169</see>
|
||||
/// <br/><c>ImVec2 BackupCurrLineSize</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float2 BackupCurrLineSize => ref Unsafe.AsRef<float2>(&_ptr->BackupCurrLineSize);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1170">imgui_internal.h:1170</see>
|
||||
/// <br/><c>float BackupCurrLineTextBaseOffset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float BackupCurrLineTextBaseOffset => ref Unsafe.AsRef<float>(&_ptr->BackupCurrLineTextBaseOffset);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1171">imgui_internal.h:1171</see>
|
||||
/// <br/><c>ImGuiID BackupActiveIdIsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID BackupActiveIdIsAlive => ref Unsafe.AsRef<ImGuiID>(&_ptr->BackupActiveIdIsAlive);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1172">imgui_internal.h:1172</see>
|
||||
/// <br/><c>bool BackupDeactivatedIdIsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool BackupDeactivatedIdIsAlive => ref Unsafe.AsRef<bool>(&_ptr->BackupDeactivatedIdIsAlive);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1173">imgui_internal.h:1173</see>
|
||||
/// <br/><c>bool BackupHoveredIdIsAlive</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool BackupHoveredIdIsAlive => ref Unsafe.AsRef<bool>(&_ptr->BackupHoveredIdIsAlive);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1174">imgui_internal.h:1174</see>
|
||||
/// <br/><c>bool BackupIsSameLine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool BackupIsSameLine => ref Unsafe.AsRef<bool>(&_ptr->BackupIsSameLine);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1175">imgui_internal.h:1175</see>
|
||||
/// <br/><c>bool EmitItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked storage data for BeginGroup()/EndGroup()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool EmitItem => ref Unsafe.AsRef<bool>(&_ptr->EmitItem);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,264 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2297">imgui_internal.h:2297</see>
|
||||
/// <br/><c>struct ImGuiIDStackTool</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 56)]
|
||||
public partial struct ImGuiIDStackTool
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2299">imgui_internal.h:2299</see>
|
||||
/// <br/><c>int LastActiveFrame</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public int LastActiveFrame;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// -1: query stack and resize Results, >= 0: individual stack level
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2300">imgui_internal.h:2300</see>
|
||||
/// <br/><c>int StackLevel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public int StackLevel;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ID to query details for
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2301">imgui_internal.h:2301</see>
|
||||
/// <br/><c>ImGuiID QueryId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public ImGuiID QueryId;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2302">imgui_internal.h:2302</see>
|
||||
/// <br/><c>ImVector<ImGuiStackLevelInfo> Results</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public ImVector<ImGuiStackLevelInfo> Results;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2303">imgui_internal.h:2303</see>
|
||||
/// <br/><c>bool CopyToClipboardOnCtrlC</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public Bool8 CopyToClipboardOnCtrlC;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2304">imgui_internal.h:2304</see>
|
||||
/// <br/><c>float CopyToClipboardLastTime</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(36)]
|
||||
public float CopyToClipboardLastTime;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2305">imgui_internal.h:2305</see>
|
||||
/// <br/><c>ImGuiTextBuffer ResultPathBuf</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(40)]
|
||||
public ImGuiTextBuffer ResultPathBuf;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2297">imgui_internal.h:2297</see>
|
||||
/// <br/><c>struct ImGuiIDStackTool</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiIDStackToolPtr(ImGuiIDStackTool* ptr) : INullable
|
||||
{
|
||||
private ImGuiIDStackTool* _ptr = ptr;
|
||||
public ImGuiIDStackTool* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiIDStackToolPtr(ImGuiIDStackTool* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiIDStackTool*(ImGuiIDStackToolPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2299">imgui_internal.h:2299</see>
|
||||
/// <br/><c>int LastActiveFrame</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int LastActiveFrame => ref Unsafe.AsRef<int>(&_ptr->LastActiveFrame);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// -1: query stack and resize Results, >= 0: individual stack level
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2300">imgui_internal.h:2300</see>
|
||||
/// <br/><c>int StackLevel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int StackLevel => ref Unsafe.AsRef<int>(&_ptr->StackLevel);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ID to query details for
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2301">imgui_internal.h:2301</see>
|
||||
/// <br/><c>ImGuiID QueryId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID QueryId => ref Unsafe.AsRef<ImGuiID>(&_ptr->QueryId);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2302">imgui_internal.h:2302</see>
|
||||
/// <br/><c>ImVector<ImGuiStackLevelInfo> Results</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImVector<ImGuiStackLevelInfo> Results =>
|
||||
ref Unsafe.AsRef<ImVector<ImGuiStackLevelInfo>>(&_ptr->Results);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2303">imgui_internal.h:2303</see>
|
||||
/// <br/><c>bool CopyToClipboardOnCtrlC</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool CopyToClipboardOnCtrlC => ref Unsafe.AsRef<bool>(&_ptr->CopyToClipboardOnCtrlC);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2304">imgui_internal.h:2304</see>
|
||||
/// <br/><c>float CopyToClipboardLastTime</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float CopyToClipboardLastTime => ref Unsafe.AsRef<float>(&_ptr->CopyToClipboardLastTime);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2305">imgui_internal.h:2305</see>
|
||||
/// <br/><c>ImGuiTextBuffer ResultPathBuf</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// State for ID Stack tool queries
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiTextBuffer ResultPathBuf => ref Unsafe.AsRef<ImGuiTextBuffer>(&_ptr->ResultPathBuf);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,301 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1529">imgui_internal.h:1529</see>
|
||||
/// <br/><c>struct ImGuiInputEvent</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 28)]
|
||||
public partial struct ImGuiInputEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1531">imgui_internal.h:1531</see>
|
||||
/// <br/><c>ImGuiInputEventType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiInputEventType Type;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1532">imgui_internal.h:1532</see>
|
||||
/// <br/><c>ImGuiInputSource Source</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public ImGuiInputSource Source;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Unique, sequential increasing integer to identify an event (if you need to correlate them to other
|
||||
/// data).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1533">imgui_internal.h:1533</see>
|
||||
/// <br/><c>ImU32 EventId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public uint EventId;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MousePos
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1536">imgui_internal.h:1536</see>
|
||||
/// <br/><c>ImGuiInputEventMousePos MousePos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMousePos MousePos;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseWheel
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1537">imgui_internal.h:1537</see>
|
||||
/// <br/><c>ImGuiInputEventMouseWheel MouseWheel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMouseWheel MouseWheel;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseButton
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1538">imgui_internal.h:1538</see>
|
||||
/// <br/><c>ImGuiInputEventMouseButton MouseButton</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMouseButton MouseButton;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseViewport
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1539">imgui_internal.h:1539</see>
|
||||
/// <br/><c>ImGuiInputEventMouseViewport MouseViewport</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMouseViewport MouseViewport;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Key
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1540">imgui_internal.h:1540</see>
|
||||
/// <br/><c>ImGuiInputEventKey Key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventKey Key;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Text
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1541">imgui_internal.h:1541</see>
|
||||
/// <br/><c>ImGuiInputEventText Text</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventText Text;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Focus
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1542">imgui_internal.h:1542</see>
|
||||
/// <br/><c>ImGuiInputEventAppFocused AppFocused</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventAppFocused AppFocused;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1544">imgui_internal.h:1544</see>
|
||||
/// <br/><c>bool AddedByTestEngine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public Bool8 AddedByTestEngine;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1529">imgui_internal.h:1529</see>
|
||||
/// <br/><c>struct ImGuiInputEvent</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe partial struct ImGuiInputEventPtr(ImGuiInputEvent* ptr) : INullable
|
||||
{
|
||||
private ImGuiInputEvent* _ptr = ptr;
|
||||
public ImGuiInputEvent* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiInputEventPtr(ImGuiInputEvent* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiInputEvent*(ImGuiInputEventPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1531">imgui_internal.h:1531</see>
|
||||
/// <br/><c>ImGuiInputEventType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventType Type => ref Unsafe.AsRef<ImGuiInputEventType>(&_ptr->Type);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1532">imgui_internal.h:1532</see>
|
||||
/// <br/><c>ImGuiInputSource Source</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputSource Source => ref Unsafe.AsRef<ImGuiInputSource>(&_ptr->Source);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Unique, sequential increasing integer to identify an event (if you need to correlate them to other
|
||||
/// data).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1533">imgui_internal.h:1533</see>
|
||||
/// <br/><c>ImU32 EventId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref uint EventId => ref Unsafe.AsRef<uint>(&_ptr->EventId);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MousePos
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1536">imgui_internal.h:1536</see>
|
||||
/// <br/><c>ImGuiInputEventMousePos MousePos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMousePos MousePos => ref Unsafe.AsRef<ImGuiInputEventMousePos>(&_ptr->MousePos);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseWheel
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1537">imgui_internal.h:1537</see>
|
||||
/// <br/><c>ImGuiInputEventMouseWheel MouseWheel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMouseWheel MouseWheel =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventMouseWheel>(&_ptr->MouseWheel);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseButton
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1538">imgui_internal.h:1538</see>
|
||||
/// <br/><c>ImGuiInputEventMouseButton MouseButton</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMouseButton MouseButton =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventMouseButton>(&_ptr->MouseButton);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseViewport
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1539">imgui_internal.h:1539</see>
|
||||
/// <br/><c>ImGuiInputEventMouseViewport MouseViewport</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMouseViewport MouseViewport =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventMouseViewport>(&_ptr->MouseViewport);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Key
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1540">imgui_internal.h:1540</see>
|
||||
/// <br/><c>ImGuiInputEventKey Key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventKey Key => ref Unsafe.AsRef<ImGuiInputEventKey>(&_ptr->Key);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Text
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1541">imgui_internal.h:1541</see>
|
||||
/// <br/><c>ImGuiInputEventText Text</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventText Text => ref Unsafe.AsRef<ImGuiInputEventText>(&_ptr->Text);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Focus
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1542">imgui_internal.h:1542</see>
|
||||
/// <br/><c>ImGuiInputEventAppFocused AppFocused</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventAppFocused AppFocused =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventAppFocused>(&_ptr->AppFocused);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1544">imgui_internal.h:1544</see>
|
||||
/// <br/><c>bool AddedByTestEngine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref bool AddedByTestEngine => ref Unsafe.AsRef<bool>(&_ptr->AddedByTestEngine);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue