Struct NativeParallelMultiHashMap<TKey, TValue>.ParallelWriter
A parallel writer for a NativeParallelMultiHashMap.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
[NativeContainer]
[NativeContainerIsAtomicWriteOnly]
public struct NativeParallelMultiHashMap<TKey, TValue>.ParallelWriter
  Remarks
Use AsParallelWriter() to create a parallel writer for a NativeParallelMultiHashMap.
Properties
| Name | Description | 
|---|---|
| Capacity | Returns the number of key-value pairs that fit in the current allocation.  | 
      
| m_ThreadIndex | Returns the index of the current thread.  | 
      
Methods
| Name | Description | 
|---|---|
| Add(TKey, TValue) | Adds a new key-value pair.  |