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