// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// Store 1-bit per value /// /// /// C++: /// imgui_internal.h:137 ///
struct ImBitVector ///
///
/// /// /// Utilities /// (other types which are not forwarded declared are: ImBitArray<>, ImSpan<>, ImSpanAllocator<>, ImStableVector<>, ImPool<>, ImChunkStream<>) /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct ImBitVector { /// /// /// C++: /// imgui_internal.h:649 ///
ImVector<ImU32> Storage ///
///
/// /// /// Helper: ImBitVector /// Store 1-bit per value. /// /// [FieldOffset(0)] public ImVector Storage; } /// /// /// Store 1-bit per value /// /// /// C++: /// imgui_internal.h:137 ///
struct ImBitVector ///
///
/// /// /// Utilities /// (other types which are not forwarded declared are: ImBitArray<>, ImSpan<>, ImSpanAllocator<>, ImStableVector<>, ImPool<>, ImChunkStream<>) /// /// public unsafe partial struct ImBitVectorPtr(ImBitVector* ptr) : INullable { private ImBitVector* _ptr = ptr; public ImBitVector* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImBitVectorPtr(ImBitVector* ptr) => new(ptr); public static implicit operator ImBitVector*(ImBitVectorPtr wrapper) => wrapper.Ptr; /// /// /// C++: /// imgui_internal.h:649 ///
ImVector<ImU32> Storage ///
///
/// /// /// Helper: ImBitVector /// Store 1-bit per value. /// /// public ref ImVector Storage => ref Unsafe.AsRef>(&_ptr->Storage); } }