Constructor UnsafeParallelHashSet
UnsafeParallelHashSet(int, AllocatorHandle)
Initializes and returns an instance of UnsafeParallelHashSet.
Declaration
public UnsafeParallelHashSet(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. |