Struct UnsafeParallelHashMap<TKey, TValue>.ParallelWriter
A parallel writer for a NativeParallelHashMap.
Namespace: Unity.Collections.LowLevel.Unsafe
Assembly: solution.dll
Syntax
public struct UnsafeParallelHashMap<TKey, TValue>.ParallelWriter
Remarks
Use AsParallelWriter() to create a parallel writer for a NativeParallelHashMap.
Properties
Name | Description |
---|---|
Capacity | The number of key-value pairs that fit in the current allocation. |
ThreadIndex | Returns the index of the current thread. |
Methods
Name | Description |
---|---|
TryAdd(TKey, TValue) | Adds a new key-value pair. |