Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NativeParallelMultiHashMap(int, AllocatorHandle)

Returns a newly allocated multi hash map.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeParallelMultiHashMap(int capacity, AllocatorManager.AllocatorHandle allocator)

Parameters

capacity

The number of key-value pairs that should fit in the initial allocation.

The allocator to use.