//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Data for IsItemDeactivated()/IsItemDeactivatedAfterEdit() function.
///
///
/// C++:
/// imgui_internal.h:154
///
struct ImGuiDeactivatedItemData
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct ImGuiDeactivatedItemData
{
///
///
/// C++:
/// imgui_internal.h:1436
///
ImGuiID ID
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// imgui_internal.h:1437
///
int ElapseFrame
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
[FieldOffset(4)]
public int ElapseFrame;
///
///
/// C++:
/// imgui_internal.h:1438
///
bool HasBeenEditedBefore
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
[FieldOffset(8)]
public Bool8 HasBeenEditedBefore;
///
///
/// C++:
/// imgui_internal.h:1439
///
bool IsAlive
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
[FieldOffset(9)]
public Bool8 IsAlive;
}
///
///
/// Data for IsItemDeactivated()/IsItemDeactivatedAfterEdit() function.
///
///
/// C++:
/// imgui_internal.h:154
///
struct ImGuiDeactivatedItemData
///
///
///
///
/// ImGui
///
///
public unsafe partial struct ImGuiDeactivatedItemDataPtr(ImGuiDeactivatedItemData* ptr) : INullable
{
private ImGuiDeactivatedItemData* _ptr = ptr;
public ImGuiDeactivatedItemData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiDeactivatedItemDataPtr(ImGuiDeactivatedItemData* ptr) => new(ptr);
public static implicit operator ImGuiDeactivatedItemData*(ImGuiDeactivatedItemDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:1436
///
ImGuiID ID
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// imgui_internal.h:1437
///
int ElapseFrame
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
public ref int ElapseFrame => ref Unsafe.AsRef(&_ptr->ElapseFrame);
///
///
/// C++:
/// imgui_internal.h:1438
///
bool HasBeenEditedBefore
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
public ref bool HasBeenEditedBefore => ref Unsafe.AsRef(&_ptr->HasBeenEditedBefore);
///
///
/// C++:
/// imgui_internal.h:1439
///
bool IsAlive
///
///
///
///
/// Data used by IsItemDeactivated()/IsItemDeactivatedAfterEdit() functions
///
///
public ref bool IsAlive => ref Unsafe.AsRef(&_ptr->IsAlive);
}
}