// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Core/LockFreeHashMap.h:48 ///
/// class LFHMAllocatorContext : public NonCopyable ///
///
/// /// /// Allocator context object for a lock free hash map that allocates a larger memory block at once and hands it out in smaller portions. /// This avoids contention on the atomic LFHMAllocator::mWriteOffset. /// /// [InteropHandle] public readonly partial struct LFHMAllocatorContext : IDisposable { /// /// /// C++: /// Jolt/Core/LockFreeHashMap.h:52 ///
/// inline LFHMAllocatorContext(LFHMAllocator &inAllocator, uint32 inBlockSize) ///
///
/// /// /// Construct a new allocator context /// /// public static LFHMAllocatorContext Create(LFHMAllocator allocator, uint blockSize) => Jolt.PInvoke.LFHMAllocatorContext_Create(allocator, blockSize); public void Dispose() => Jolt.PInvoke.LFHMAllocatorContext_Destroy(this); } }