Documentation

Unity Engine

Download Unity

Unity Engine

UnsafeHashMap(int, AllocatorHandle)

Initializes and returns an instance of UnsafeHashMap.
Read time 1 minuteLast updated 2 months ago

Definition

public UnsafeHashMap(int initialCapacity, AllocatorManager.AllocatorHandle allocator)

Parameters

initialCapacity

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

The allocator to use.