NativeQueue<T>
struct in Unity.Collections · Unity.Collections
Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix
A first-in first-out queue in native memory; parallel jobs can enqueue at once.
Constructors 1
NativeQueue(AllocatorManager.AllocatorHandle allocator)Properties 2
readonly int Count { get; }readonly bool IsCreated { get; }Methods 10
ParallelWriter AsParallelWriter()ReadOnly AsReadOnly()void Clear()T Dequeue()void Enqueue(T value)readonly bool IsEmpty()T Peek()NativeArray<T> ToArray(AllocatorManager.AllocatorHandle allocator)bool TryDequeue(out T item)