NativeParallelMultiHashMap<TKey, TValue>.ParallelWriter
A parallel writer for a NativeParallelMultiHashMap.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public struct NativeParallelMultiHashMap<TKey, TValue>.ParallelWriter
Remarks
Use NativeParallelMultiHashMap<TKey, TValue>.AsParallelWriter to create a parallel writer for a NativeParallelMultiHashMap.
Properties
Property | 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
Method | Description |
|---|---|
| Add | Adds a new key-value pair. |