Struct VersionNativeHashSet<TValue>
Wrapper for NativeHashSet with versioning.
Whenever the hash set is modified, the version is incremented.
Assembly: fwt.core.dll
Syntax
public struct VersionNativeHashSet<TValue> : IDisposable where TValue : unmanaged, IEquatable<TValue>
Type Parameters
| Name |
Description |
| TValue |
Type of value in the HashSet
|
Fields
Values
Declaration
public NativeHashSet<TValue> Values
Field Value
| Type |
Description |
| NativeHashSet<TValue> |
|
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
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