Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NativeParallelMultiHashMap<TKey, TValue>.ParallelWriter

A parallel writer for a NativeParallelMultiHashMap.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Struct
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public struct NativeParallelMultiHashMap<TKey, TValue>.ParallelWriter

Remarks

Use NativeParallelMultiHashMap<TKey, TValue>.AsParallelWriter to create a parallel writer for a NativeParallelMultiHashMap.

Properties

Property

Description

CapacityReturns the number of key-value pairs that fit in the current allocation.
m_ThreadIndexReturns the index of the current thread.

Methods

Method

Description

AddAdds a new key-value pair.