Struct NativeParallelHashSet<T>.ParallelWriter
A parallel writer for a NativeParallelHashSet.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
[NativeContainerIsAtomicWriteOnly]
public struct NativeParallelHashSet<T>.ParallelWriter
Remarks
Use AsParallelWriter() to create a parallel writer for a set.
Properties
Name | Description |
---|---|
Capacity | The number of values that fit in the current allocation. |
Methods
Name | Description |
---|---|
Add(T) | Adds a new value (unless it is already present). |