Struct NativeQueue<T>.ParallelWriter
A parallel writer for a NativeQueue.
Namespace: Unity.Collections
Assembly: Unity.Collections.dll
Syntax
[NativeContainer]
[NativeContainerIsAtomicWriteOnly]
public struct NativeQueue<T>.ParallelWriter
Remarks
Use AsParallelWriter() to create a parallel writer for a NativeQueue.
Methods
Enqueue(T)
Adds an element at the back of the queue.
Declaration
public void Enqueue(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value to be enqueued. |