//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Storage for ShowMetricsWindow() and DebugNodeXXX() functions
///
///
/// C++:
/// imgui_internal.h:169
///
struct ImGuiMetricsConfig
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImGuiMetricsConfig
{
///
///
/// C++:
/// imgui_internal.h:2268
///
bool ShowDebugLog = false
///
///
[FieldOffset(0)]
public Bool8 ShowDebugLog;
///
///
/// C++:
/// imgui_internal.h:2269
///
bool ShowIDStackTool = false
///
///
[FieldOffset(1)]
public Bool8 ShowIDStackTool;
///
///
/// C++:
/// imgui_internal.h:2270
///
bool ShowWindowsRects = false
///
///
[FieldOffset(2)]
public Bool8 ShowWindowsRects;
///
///
/// C++:
/// imgui_internal.h:2271
///
bool ShowWindowsBeginOrder = false
///
///
[FieldOffset(3)]
public Bool8 ShowWindowsBeginOrder;
///
///
/// C++:
/// imgui_internal.h:2272
///
bool ShowTablesRects = false
///
///
[FieldOffset(4)]
public Bool8 ShowTablesRects;
///
///
/// C++:
/// imgui_internal.h:2273
///
bool ShowDrawCmdMesh = true
///
///
[FieldOffset(5)]
public Bool8 ShowDrawCmdMesh;
///
///
/// C++:
/// imgui_internal.h:2274
///
bool ShowDrawCmdBoundingBoxes = true
///
///
[FieldOffset(6)]
public Bool8 ShowDrawCmdBoundingBoxes;
///
///
/// C++:
/// imgui_internal.h:2275
///
bool ShowTextEncodingViewer = false
///
///
[FieldOffset(7)]
public Bool8 ShowTextEncodingViewer;
///
///
/// C++:
/// imgui_internal.h:2276
///
bool ShowTextureUsedRect = false
///
///
[FieldOffset(8)]
public Bool8 ShowTextureUsedRect;
///
///
/// C++:
/// imgui_internal.h:2277
///
bool ShowDockingNodes = false
///
///
[FieldOffset(9)]
public Bool8 ShowDockingNodes;
///
///
/// C++:
/// imgui_internal.h:2278
///
int ShowWindowsRectsType = -1
///
///
[FieldOffset(12)]
public int ShowWindowsRectsType;
///
///
/// C++:
/// imgui_internal.h:2279
///
int ShowTablesRectsType = -1
///
///
[FieldOffset(16)]
public int ShowTablesRectsType;
///
///
/// C++:
/// imgui_internal.h:2280
///
int HighlightMonitorIdx = -1
///
///
[FieldOffset(20)]
public int HighlightMonitorIdx;
///
///
/// C++:
/// imgui_internal.h:2281
///
ImGuiID HighlightViewportID = 0
///
///
[FieldOffset(24)]
public ImGuiID HighlightViewportID;
///
///
/// C++:
/// imgui_internal.h:2282
///
bool ShowFontPreview = true
///
///
[FieldOffset(28)]
public Bool8 ShowFontPreview;
}
///
///
/// Storage for ShowMetricsWindow() and DebugNodeXXX() functions
///
///
/// C++:
/// imgui_internal.h:169
///
struct ImGuiMetricsConfig
///
///
///
///
/// ImGui
///
///
public unsafe partial struct ImGuiMetricsConfigPtr(ImGuiMetricsConfig* ptr) : INullable
{
private ImGuiMetricsConfig* _ptr = ptr;
public ImGuiMetricsConfig* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiMetricsConfigPtr(ImGuiMetricsConfig* ptr) => new(ptr);
public static implicit operator ImGuiMetricsConfig*(ImGuiMetricsConfigPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:2268
///
bool ShowDebugLog = false
///
///
public ref bool ShowDebugLog => ref Unsafe.AsRef(&_ptr->ShowDebugLog);
///
///
/// C++:
/// imgui_internal.h:2269
///
bool ShowIDStackTool = false
///
///
public ref bool ShowIDStackTool => ref Unsafe.AsRef(&_ptr->ShowIDStackTool);
///
///
/// C++:
/// imgui_internal.h:2270
///
bool ShowWindowsRects = false
///
///
public ref bool ShowWindowsRects => ref Unsafe.AsRef(&_ptr->ShowWindowsRects);
///
///
/// C++:
/// imgui_internal.h:2271
///
bool ShowWindowsBeginOrder = false
///
///
public ref bool ShowWindowsBeginOrder => ref Unsafe.AsRef(&_ptr->ShowWindowsBeginOrder);
///
///
/// C++:
/// imgui_internal.h:2272
///
bool ShowTablesRects = false
///
///
public ref bool ShowTablesRects => ref Unsafe.AsRef(&_ptr->ShowTablesRects);
///
///
/// C++:
/// imgui_internal.h:2273
///
bool ShowDrawCmdMesh = true
///
///
public ref bool ShowDrawCmdMesh => ref Unsafe.AsRef(&_ptr->ShowDrawCmdMesh);
///
///
/// C++:
/// imgui_internal.h:2274
///
bool ShowDrawCmdBoundingBoxes = true
///
///
public ref bool ShowDrawCmdBoundingBoxes => ref Unsafe.AsRef(&_ptr->ShowDrawCmdBoundingBoxes);
///
///
/// C++:
/// imgui_internal.h:2275
///
bool ShowTextEncodingViewer = false
///
///
public ref bool ShowTextEncodingViewer => ref Unsafe.AsRef(&_ptr->ShowTextEncodingViewer);
///
///
/// C++:
/// imgui_internal.h:2276
///
bool ShowTextureUsedRect = false
///
///
public ref bool ShowTextureUsedRect => ref Unsafe.AsRef(&_ptr->ShowTextureUsedRect);
///
///
/// C++:
/// imgui_internal.h:2277
///
bool ShowDockingNodes = false
///
///
public ref bool ShowDockingNodes => ref Unsafe.AsRef(&_ptr->ShowDockingNodes);
///
///
/// C++:
/// imgui_internal.h:2278
///
int ShowWindowsRectsType = -1
///
///
public ref int ShowWindowsRectsType => ref Unsafe.AsRef(&_ptr->ShowWindowsRectsType);
///
///
/// C++:
/// imgui_internal.h:2279
///
int ShowTablesRectsType = -1
///
///
public ref int ShowTablesRectsType => ref Unsafe.AsRef(&_ptr->ShowTablesRectsType);
///
///
/// C++:
/// imgui_internal.h:2280
///
int HighlightMonitorIdx = -1
///
///
public ref int HighlightMonitorIdx => ref Unsafe.AsRef(&_ptr->HighlightMonitorIdx);
///
///
/// C++:
/// imgui_internal.h:2281
///
ImGuiID HighlightViewportID = 0
///
///
public ref ImGuiID HighlightViewportID => ref Unsafe.AsRef(&_ptr->HighlightViewportID);
///
///
/// C++:
/// imgui_internal.h:2282
///
bool ShowFontPreview = true
///
///
public ref bool ShowFontPreview => ref Unsafe.AsRef(&_ptr->ShowFontPreview);
}
}