Struct NativeHashMap<TKey, TValue>.ParallelWriter
Implements parallel writer. Use AsParallelWriter to obtain it from container.
Namespace: Unity.Collections
Syntax
public struct ParallelWriter
Properties
Capacity
Declaration
public int Capacity { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
TryAdd(TKey, TValue)
Declaration
public bool TryAdd(TKey key, TValue item)
Parameters
Type | Name | Description |
---|---|---|
TKey | key | |
TValue | item |
Returns
Type | Description |
---|---|
System.Boolean |