Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct VersionNativeParallelHashSet<TItem>

    Wrapper for NativeParallelHashSet with versioning. Whenever the hash set is modified, the version is incremented.

    Implements
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.Core.Collections
    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

    The hash set itself.

    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
    public long Version
    Field Value
    Type Description
    long

    Properties

    Capacity

    Declaration
    public int Capacity { get; set; }
    Property Value
    Type Description
    int

    IsCreated

    Declaration
    public bool IsCreated { get; }
    Property Value
    Type Description
    bool

    IsDirty

    Declaration
    public bool IsDirty { get; }
    Property Value
    Type Description
    bool

    Methods

    Clear()

    Declaration
    public void Clear()

    Dispose()

    Declaration
    public void Dispose()

    Init(int, Allocator)

    Declaration
    public void Init(int capacity, Allocator allocator)
    Parameters
    Type Name Description
    int capacity
    Allocator allocator

    MarkDirty()

    Declaration
    public void MarkDirty()

    Remove(TItem)

    Declaration
    public bool Remove(TItem item)
    Parameters
    Type Name Description
    TItem item
    Returns
    Type Description
    bool

    ResetDirty()

    Declaration
    public void ResetDirty()

    Implements

    IDisposable

    Extension Methods

    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX