Struct UnsafeQueue<T>.ParallelWriter
A parallel writer for a UnsafeQueue.
Namespace: Unity.Collections
Assembly: Unity.Collections.dll
Syntax
public struct UnsafeQueue<T>.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. |