mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 05:28:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
288
Brutal.ImGui/Generated/Structs/ImFontAtlasRect.gen.cs
Normal file
288
Brutal.ImGui/Generated/Structs/ImFontAtlasRect.gen.cs
Normal file
|
|
@ -0,0 +1,288 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L184">imgui.h:184</see>
|
||||
/// <br/><c>struct ImFontAtlasRect</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
||||
public partial struct ImFontAtlasRect
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Position (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3687">imgui.h:3687</see>
|
||||
/// <br/><c>unsigned short x</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ushort x;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Position (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3687">imgui.h:3687</see>
|
||||
/// <br/><c>unsigned short x, y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(2)]
|
||||
public ushort y;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Size
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3688">imgui.h:3688</see>
|
||||
/// <br/><c>unsigned short w</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public ushort w;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Size
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3688">imgui.h:3688</see>
|
||||
/// <br/><c>unsigned short w, h</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(6)]
|
||||
public ushort h;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// UV coordinates (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3689">imgui.h:3689</see>
|
||||
/// <br/><c>ImVec2 uv0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public float2 uv0;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// UV coordinates (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3689">imgui.h:3689</see>
|
||||
/// <br/><c>ImVec2 uv0, uv1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public float2 uv1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L184">imgui.h:184</see>
|
||||
/// <br/><c>struct ImFontAtlasRect</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImFontAtlasRectPtr(ImFontAtlasRect* ptr) : INullable
|
||||
{
|
||||
private ImFontAtlasRect* _ptr = ptr;
|
||||
public ImFontAtlasRect* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImFontAtlasRectPtr(ImFontAtlasRect* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImFontAtlasRect*(ImFontAtlasRectPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Position (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3687">imgui.h:3687</see>
|
||||
/// <br/><c>unsigned short x</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ushort x => ref Unsafe.AsRef<ushort>(&_ptr->x);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Position (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3687">imgui.h:3687</see>
|
||||
/// <br/><c>unsigned short x, y</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ushort y => ref Unsafe.AsRef<ushort>(&_ptr->y);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Size
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3688">imgui.h:3688</see>
|
||||
/// <br/><c>unsigned short w</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ushort w => ref Unsafe.AsRef<ushort>(&_ptr->w);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Size
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3688">imgui.h:3688</see>
|
||||
/// <br/><c>unsigned short w, h</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ushort h => ref Unsafe.AsRef<ushort>(&_ptr->h);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// UV coordinates (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3689">imgui.h:3689</see>
|
||||
/// <br/><c>ImVec2 uv0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float2 uv0 => ref Unsafe.AsRef<float2>(&_ptr->uv0);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// UV coordinates (in current texture)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3689">imgui.h:3689</see>
|
||||
/// <br/><c>ImVec2 uv0, uv1</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Output of ImFontAtlas::GetCustomRect() when using custom rectangles.
|
||||
/// Those values may not be cached/stored as they are only valid for the current value of atlas->TexRef
|
||||
/// (this is in theory derived from ImTextureRect but we use separate structures for reasons)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float2 uv1 => ref Unsafe.AsRef<float2>(&_ptr->uv1);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue