//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi
{
///
///
/// C++:
/// imgui.h:3271
///
struct ImDrawCmdHeader
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImDrawCmdHeader
{
///
///
/// C++:
/// imgui.h:3273
///
ImVec4 ClipRect
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
[FieldOffset(0)]
public float4 ClipRect;
///
///
/// C++:
/// imgui.h:3274
///
ImTextureRef TexRef
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
[FieldOffset(16)]
public ImTextureRef TexRef;
///
///
/// C++:
/// imgui.h:3275
///
unsigned int VtxOffset
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
[FieldOffset(32)]
public uint VtxOffset;
}
///
///
/// C++:
/// imgui.h:3271
///
struct ImDrawCmdHeader
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
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;
///
///
/// C++:
/// imgui.h:3273
///
ImVec4 ClipRect
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
public ref float4 ClipRect => ref Unsafe.AsRef(&_ptr->ClipRect);
///
///
/// C++:
/// imgui.h:3274
///
ImTextureRef TexRef
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
public ref ImTextureRef TexRef => ref Unsafe.AsRef(&_ptr->TexRef);
///
///
/// C++:
/// imgui.h:3275
///
unsigned int VtxOffset
///
///
///
///
/// [Internal] For use by ImDrawList
///
///
public ref uint VtxOffset => ref Unsafe.AsRef(&_ptr->VtxOffset);
}
}