// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// C++: /// imgui_internal.h:1523 ///
struct ImGuiInputEventMouseButton { int Button; bool Down; ImGuiMouseSource MouseSource; } ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// [StructLayout(LayoutKind.Explicit, Size = 12)] public partial struct ImGuiInputEventMouseButton { /// /// /// C++: /// imgui_internal.h:1523 ///
int Button ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// [FieldOffset(0)] public int Button; /// /// /// C++: /// imgui_internal.h:1523 ///
bool Down ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// [FieldOffset(4)] public Bool8 Down; /// /// /// C++: /// imgui_internal.h:1523 ///
ImGuiMouseSource MouseSource ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// [FieldOffset(8)] public ImGuiMouseSource MouseSource; } /// /// /// C++: /// imgui_internal.h:1523 ///
struct ImGuiInputEventMouseButton { int Button; bool Down; ImGuiMouseSource MouseSource; } ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// public unsafe partial struct ImGuiInputEventMouseButtonPtr(ImGuiInputEventMouseButton* ptr) : INullable { private ImGuiInputEventMouseButton* _ptr = ptr; public ImGuiInputEventMouseButton* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImGuiInputEventMouseButtonPtr(ImGuiInputEventMouseButton* ptr) => new(ptr); public static implicit operator ImGuiInputEventMouseButton*(ImGuiInputEventMouseButtonPtr wrapper) => wrapper.Ptr; /// /// /// C++: /// imgui_internal.h:1523 ///
int Button ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// public ref int Button => ref Unsafe.AsRef(&_ptr->Button); /// /// /// C++: /// imgui_internal.h:1523 ///
bool Down ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// public ref bool Down => ref Unsafe.AsRef(&_ptr->Down); /// /// /// C++: /// imgui_internal.h:1523 ///
ImGuiMouseSource MouseSource ///
///
/// /// /// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension? /// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor' /// /// public ref ImGuiMouseSource MouseSource => ref Unsafe.AsRef(&_ptr->MouseSource); } }