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