NativeParallelHashMap(int, AllocatorHandle)
Initializes and returns an instance of NativeParallelHashMap.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public NativeParallelHashMap(int capacity, AllocatorManager.AllocatorHandle allocator)
Parameters
The number of key-value pairs that should fit in the initial allocation.
The allocator to use.