Struct VersionNativeParallelMultiHashMap<TKey, TItem>
Wrapper for NativeParallelMultiHashMap with versioning.
Whenever the map is modified, the version is incremented.
Assembly: fwt.core.dll
Syntax
public struct VersionNativeParallelMultiHashMap<TKey, TItem> : IDisposable where TKey : unmanaged, IEquatable<TKey> where TItem : unmanaged
Type Parameters
| Name |
Description |
| TKey |
Type of keys of MultiHashMap
|
| TItem |
Type of value of MultiHashMap
|
Fields
Values
The actual multi hash map.
Declaration
public NativeParallelMultiHashMap<TKey, TItem> Values
Field Value
| Type |
Description |
| NativeParallelMultiHashMap<TKey, TItem> |
|
Version
Version of the map. Incremented whenever the map is modified.
Declaration
Field Value
Properties
Capacity
Declaration
public int Capacity { get; set; }
Property Value
IsCreated
Declaration
public bool IsCreated { get; }
Property Value
IsDirty
Declaration
public bool IsDirty { get; }
Property Value
Length
Declaration
public int Length { get; }
Property Value
Methods
Clear()
Declaration
Dispose()
Declaration
Init(int, Allocator)
Declaration
public void Init(int capacity, Allocator allocator)
Parameters
| Type |
Name |
Description |
| int |
capacity |
|
| Allocator |
allocator |
|
MarkDirty()
Declaration
ResetDirty()
Declaration
Implements
Extension Methods