Scripting API

NativeParallelHashMap<TKey, TValue>

struct in Unity.Collections · Unity.Collections

Not in Unity's public API, or in an assembly the coverage doesn't count.

Constructors 1

Properties 4

int Capacity { get; set; }
readonly bool IsCreated { get; }
readonly bool IsEmpty { get; }
TValue this[TKey key] { get; set; }

Methods 14

void Add(TKey key, TValue item)
ParallelWriter AsParallelWriter()
ReadOnly AsReadOnly()
void Clear()
bool ContainsKey(TKey key)
readonly int Count()
void Dispose()
JobHandle Dispose(JobHandle inputDeps)
Enumerator GetEnumerator()
NativeArray<TKey> GetKeyArray(AllocatorManager.AllocatorHandle allocator)
NativeKeyValueArrays<TKey, TValue> GetKeyValueArrays(AllocatorManager.AllocatorHandle allocator)
NativeArray<TValue> GetValueArray(AllocatorManager.AllocatorHandle allocator)
bool Remove(TKey key)
bool TryAdd(TKey key, TValue item)
bool TryGetValue(TKey key, out TValue item)