UnsafeParallelHashSet(int, AllocatorHandle)
Initializes and returns an instance of UnsafeParallelHashSet.
阅读时间1 分钟最后更新于 2 个月前
Definition
- Type: Constructor
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public UnsafeParallelHashSet(int capacity, AllocatorManager.AllocatorHandle allocator)
Parameters
The number of values that should fit in the initial allocation.
The allocator to use.