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