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