mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
135 lines
4.4 KiB
C#
135 lines
4.4 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3271">imgui.h:3271</see>
|
|
/// <br/><c>struct ImDrawCmdHeader</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
|
public partial struct ImDrawCmdHeader
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3273">imgui.h:3273</see>
|
|
/// <br/><c>ImVec4 ClipRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public float4 ClipRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3274">imgui.h:3274</see>
|
|
/// <br/><c>ImTextureRef TexRef</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public ImTextureRef TexRef;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3275">imgui.h:3275</see>
|
|
/// <br/><c>unsigned int VtxOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(32)]
|
|
public uint VtxOffset;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3271">imgui.h:3271</see>
|
|
/// <br/><c>struct ImDrawCmdHeader</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImDrawCmdHeaderPtr(ImDrawCmdHeader* ptr) : INullable
|
|
{
|
|
private ImDrawCmdHeader* _ptr = ptr;
|
|
public ImDrawCmdHeader* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImDrawCmdHeaderPtr(ImDrawCmdHeader* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImDrawCmdHeader*(ImDrawCmdHeaderPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3273">imgui.h:3273</see>
|
|
/// <br/><c>ImVec4 ClipRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float4 ClipRect => ref Unsafe.AsRef<float4>(&_ptr->ClipRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3274">imgui.h:3274</see>
|
|
/// <br/><c>ImTextureRef TexRef</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImTextureRef TexRef => ref Unsafe.AsRef<ImTextureRef>(&_ptr->TexRef);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3275">imgui.h:3275</see>
|
|
/// <br/><c>unsigned int VtxOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawList
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref uint VtxOffset => ref Unsafe.AsRef<uint>(&_ptr->VtxOffset);
|
|
}
|
|
}
|