//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:883
///
struct ImFontStackData
///
///
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImFontStackData
{
///
///
/// C++:
/// imgui_internal.h:885
///
ImFont* Font
///
///
[FieldOffset(0)]
public ImFontPtr Font;
///
///
/// ~~ style.FontSizeBase
///
///
/// C++:
/// imgui_internal.h:886
///
float FontSizeBeforeScaling
///
///
[FieldOffset(8)]
public float FontSizeBeforeScaling;
///
///
/// ~~ g.FontSize
///
///
/// C++:
/// imgui_internal.h:887
///
float FontSizeAfterScaling
///
///
[FieldOffset(12)]
public float FontSizeAfterScaling;
}
///
///
/// C++:
/// imgui_internal.h:883
///
struct ImFontStackData
///
///
public unsafe partial struct ImFontStackDataPtr(ImFontStackData* ptr) : INullable
{
private ImFontStackData* _ptr = ptr;
public ImFontStackData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImFontStackDataPtr(ImFontStackData* ptr) => new(ptr);
public static implicit operator ImFontStackData*(ImFontStackDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:885
///
ImFont* Font
///
///
public ref ImFontPtr Font => ref Unsafe.AsRef(&_ptr->Font);
///
///
/// ~~ style.FontSizeBase
///
///
/// C++:
/// imgui_internal.h:886
///
float FontSizeBeforeScaling
///
///
public ref float FontSizeBeforeScaling => ref Unsafe.AsRef(&_ptr->FontSizeBeforeScaling);
///
///
/// ~~ g.FontSize
///
///
/// C++:
/// imgui_internal.h:887
///
float FontSizeAfterScaling
///
///
public ref float FontSizeAfterScaling => ref Unsafe.AsRef(&_ptr->FontSizeAfterScaling);
}
}