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