Struct UnsafeParallelHashSet<T>.ParallelWriter
A parallel writer for an UnsafeParallelHashSet.
Namespace: Unity.Collections.LowLevel.Unsafe
Assembly: solution.dll
Syntax
[NativeContainerIsAtomicWriteOnly]
public struct UnsafeParallelHashSet<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). |