mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
114 lines
4 KiB
C#
114 lines
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>
|
|
/// Temporary storage to output draw commands out of order, used by ImDrawListSplitter and
|
|
/// ImDrawList::ChannelsSplit()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L174">imgui.h:174</see>
|
|
/// <br/><c>struct ImDrawChannel</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
|
public partial struct ImDrawChannel
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3281">imgui.h:3281</see>
|
|
/// <br/><c>ImVector<ImDrawCmd> _CmdBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawListSplitter
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImVector<ImDrawCmd> _CmdBuffer;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3282">imgui.h:3282</see>
|
|
/// <br/><c>ImVector<ImDrawIdx> _IdxBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawListSplitter
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public ImVector<ushort> _IdxBuffer;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Temporary storage to output draw commands out of order, used by ImDrawListSplitter and
|
|
/// ImDrawList::ChannelsSplit()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L174">imgui.h:174</see>
|
|
/// <br/><c>struct ImDrawChannel</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Forward declarations: ImDrawList, ImFontAtlas layer
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImDrawChannelPtr(ImDrawChannel* ptr) : INullable
|
|
{
|
|
private ImDrawChannel* _ptr = ptr;
|
|
public ImDrawChannel* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImDrawChannelPtr(ImDrawChannel* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImDrawChannel*(ImDrawChannelPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3281">imgui.h:3281</see>
|
|
/// <br/><c>ImVector<ImDrawCmd> _CmdBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawListSplitter
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImVector<ImDrawCmd> _CmdBuffer => ref Unsafe.AsRef<ImVector<ImDrawCmd>>(&_ptr->_CmdBuffer);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3282">imgui.h:3282</see>
|
|
/// <br/><c>ImVector<ImDrawIdx> _IdxBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// [Internal] For use by ImDrawListSplitter
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImVector<ushort> _IdxBuffer => ref Unsafe.AsRef<ImVector<ushort>>(&_ptr->_IdxBuffer);
|
|
}
|
|
}
|