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