ドキュメント

Unity Engine

Unity Engine

NativeParallelHashMap<TKey, TValue>.ParallelWriter

A parallel writer for a NativeParallelHashMap.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Remarks

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

Properties

Property

Description

CapacityThe number of key-value pairs that fit in the current allocation.
ThreadIndexReturns the index of the current thread.

Methods

Method

Description

AddAdds a new key-value pair.
TryAddAdds a new key-value pair.