NativeParallelMultiHashMap(int, AllocatorHandle)
Returns a newly allocated multi hash map.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public NativeParallelMultiHashMap(int capacity, AllocatorManager.AllocatorHandle allocator)
Parameters
The number of key-value pairs that should fit in the initial allocation.
The allocator to use.