Class NativeHashMapExtensions
Inheritance
System.Object
NativeHashMapExtensions
Syntax
public static class NativeHashMapExtensions
Methods
GetUniqueKeyArray<TKey, TValue>(NativeMultiHashMap<TKey, TValue>, Allocator)
Declaration
public static Tuple<NativeArray<TKey>, int> GetUniqueKeyArray<TKey, TValue>(this NativeMultiHashMap<TKey, TValue> hashMap, Allocator allocator)
where TKey : struct, IEquatable<TKey>, IComparable<TKey> where TValue : struct
Parameters
Returns
Type |
Description |
System.Tuple<NativeArray<TKey>, System.Int32> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Unique<T>(NativeArray<T>)
Declaration
public static int Unique<T>(this NativeArray<T> array)
where T : struct, IEquatable<T>
Parameters
Type |
Name |
Description |
NativeArray<T> |
array |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters