Struct VersionNativeParallelHashSet<TItem>
Wrapper for NativeParallelHashSet with versioning.
Whenever the hash set is modified, the version is incremented.
Assembly: fwt.core.dll
Syntax
public struct VersionNativeParallelHashSet<TItem> : IDisposable where TItem : unmanaged, IEquatable<TItem>
Type Parameters
| Name |
Description |
| TItem |
Value of the HashSet
|
Fields
Values
Declaration
public NativeParallelHashSet<TItem> Values
Field Value
| Type |
Description |
| NativeParallelHashSet<TItem> |
|
Version
Version of the hash set.
Whenever the hash set is modified, this value is incremented.
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
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
Remove(TItem)
Declaration
public bool Remove(TItem item)
Parameters
| Type |
Name |
Description |
| TItem |
item |
|
Returns
ResetDirty()
Declaration
Implements
Extension Methods