UnsafeParallelHashMap<TKey, TValue>.ParallelWriter
A parallel writer for a NativeParallelHashMap.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public struct UnsafeParallelHashMap<TKey, TValue>.ParallelWriter
Remarks
Use UnsafeParallelHashMap<TKey, TValue>.AsParallelWriter to create a parallel writer for a NativeParallelHashMap.
Properties
Property | Description |
|---|---|
| Capacity | The number of key-value pairs that fit in the current allocation. |
| ThreadIndex | Returns the index of the current thread. |