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
1 changed files with 768360 additions and 0 deletions
114
brutal.imgui/Brutal.ImGui/Generated/Structs/ImDrawChannel.gen.cs
Normal file
114
brutal.imgui/Brutal.ImGui/Generated/Structs/ImDrawChannel.gen.cs
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
// <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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue