//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:444
///
struct ImPlotAnnotationCollection {
///
///
///
///
/// Collection of plot labels
///
///
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImPlotAnnotationCollection
{
///
///
/// C++:
/// implot_internal.h:446
///
ImVector<ImPlotAnnotation> Annotations
///
///
[FieldOffset(0)]
public ImVector Annotations;
///
///
/// C++:
/// implot_internal.h:447
///
ImGuiTextBuffer TextBuffer
///
///
[FieldOffset(16)]
public ImGuiTextBuffer TextBuffer;
///
///
/// C++:
/// implot_internal.h:448
///
int Size
///
///
[FieldOffset(32)]
public int Size;
}
///
///
/// C++:
/// implot_internal.h:444
///
struct ImPlotAnnotationCollection {
///
///
///
///
/// Collection of plot labels
///
///
public unsafe partial struct ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* ptr) : INullable
{
private ImPlotAnnotationCollection* _ptr = ptr;
public ImPlotAnnotationCollection* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotAnnotationCollectionPtr(ImPlotAnnotationCollection* ptr) => new(ptr);
public static implicit operator ImPlotAnnotationCollection*(ImPlotAnnotationCollectionPtr wrapper) =>
wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:446
///
ImVector<ImPlotAnnotation> Annotations
///
///
public ref ImVector Annotations =>
ref Unsafe.AsRef>(&_ptr->Annotations);
///
///
/// C++:
/// implot_internal.h:447
///
ImGuiTextBuffer TextBuffer
///
///
public ref ImGuiTextBuffer TextBuffer => ref Unsafe.AsRef(&_ptr->TextBuffer);
///
///
/// C++:
/// implot_internal.h:448
///
int Size
///
///
public ref int Size => ref Unsafe.AsRef(&_ptr->Size);
}
}