NativeParallelMultiHashMap(int, AllocatorHandle)
Returns a newly allocated multi hash map.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public NativeParallelMultiHashMap(int capacity, AllocatorManager.AllocatorHandle allocator)
Parameters
The number of key-value pairs that should fit in the initial allocation.
The allocator to use.