Constructor NativeParallelHashSet
NativeParallelHashSet(int, AllocatorHandle)
Initializes and returns an instance of NativeParallelHashSet.
Declaration
public NativeParallelHashSet(int capacity, AllocatorManager.AllocatorHandle allocator)
Parameters
Type | Name | Description |
---|---|---|
int | capacity | The number of values that should fit in the initial allocation. |
AllocatorManager.AllocatorHandle | allocator | The allocator to use. |