NativeParallelMultiHashMap<TKey, TValue>.ParallelWriter
A parallel writer for a NativeParallelMultiHashMap.
阅读时间1 分钟最后更新于 1 个月前
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. |