//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:1148
///
struct IMGUI_API ImGuiComboPreviewData
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
[StructLayout(LayoutKind.Explicit, Size = 48)]
public partial struct ImGuiComboPreviewData
{
///
///
/// C++:
/// imgui_internal.h:1150
///
ImRect PreviewRect
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
[FieldOffset(0)]
public floatRect PreviewRect;
///
///
/// C++:
/// imgui_internal.h:1151
///
ImVec2 BackupCursorPos
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
[FieldOffset(16)]
public float2 BackupCursorPos;
///
///
/// C++:
/// imgui_internal.h:1152
///
ImVec2 BackupCursorMaxPos
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
[FieldOffset(24)]
public float2 BackupCursorMaxPos;
///
///
/// C++:
/// imgui_internal.h:1153
///
ImVec2 BackupCursorPosPrevLine
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
[FieldOffset(32)]
public float2 BackupCursorPosPrevLine;
///
///
/// C++:
/// imgui_internal.h:1154
///
float BackupPrevLineTextBaseOffset
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
[FieldOffset(40)]
public float BackupPrevLineTextBaseOffset;
///
///
/// C++:
/// imgui_internal.h:1155
///
ImGuiLayoutType BackupLayout
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
[FieldOffset(44)]
public ImGuiLayoutType BackupLayout;
}
///
///
/// C++:
/// imgui_internal.h:1148
///
struct IMGUI_API ImGuiComboPreviewData
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
public unsafe partial struct ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* ptr) : INullable
{
private ImGuiComboPreviewData* _ptr = ptr;
public ImGuiComboPreviewData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* ptr) => new(ptr);
public static implicit operator ImGuiComboPreviewData*(ImGuiComboPreviewDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:1150
///
ImRect PreviewRect
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
public ref floatRect PreviewRect => ref Unsafe.AsRef(&_ptr->PreviewRect);
///
///
/// C++:
/// imgui_internal.h:1151
///
ImVec2 BackupCursorPos
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
public ref float2 BackupCursorPos => ref Unsafe.AsRef(&_ptr->BackupCursorPos);
///
///
/// C++:
/// imgui_internal.h:1152
///
ImVec2 BackupCursorMaxPos
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
public ref float2 BackupCursorMaxPos => ref Unsafe.AsRef(&_ptr->BackupCursorMaxPos);
///
///
/// C++:
/// imgui_internal.h:1153
///
ImVec2 BackupCursorPosPrevLine
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
public ref float2 BackupCursorPosPrevLine => ref Unsafe.AsRef(&_ptr->BackupCursorPosPrevLine);
///
///
/// C++:
/// imgui_internal.h:1154
///
float BackupPrevLineTextBaseOffset
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
public ref float BackupPrevLineTextBaseOffset => ref Unsafe.AsRef(&_ptr->BackupPrevLineTextBaseOffset);
///
///
/// C++:
/// imgui_internal.h:1155
///
ImGuiLayoutType BackupLayout
///
///
///
///
/// Storage data for BeginComboPreview()/EndComboPreview()
///
///
public ref ImGuiLayoutType BackupLayout => ref Unsafe.AsRef(&_ptr->BackupLayout);
}
}