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