docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class NativeParallelHashMapExtensions

    Provides extension methods for hash maps.

    Inheritance
    object
    NativeParallelHashMapExtensions
    Namespace: Unity.Collections
    Assembly: solution.dll
    Syntax
    public static class NativeParallelHashMapExtensions

    Methods

    Name Description
    GetUniqueKeyArray<TKey, TValue>(UnsafeParallelMultiHashMap<TKey, TValue>, AllocatorHandle)

    Returns an array populated with the unique keys from this multi hash map.

    GetUniqueKeyArray<TKey, TValue>(NativeParallelMultiHashMap<TKey, TValue>, AllocatorHandle)

    Returns an array populated with the unique keys from this multi hash map.

    GetUnsafeBucketData<TKey, TValue>(NativeParallelHashMap<TKey, TValue>)

    Returns a "bucket" view of this hash map.

    GetUnsafeBucketData<TKey, TValue>(NativeParallelMultiHashMap<TKey, TValue>)

    Returns a "bucket" view of this multi hash map.

    Remove<TKey, TValue>(NativeParallelMultiHashMap<TKey, TValue>, TKey, TValue)

    Removes all occurrences of a particular key-value pair.

    Unique<T>(NativeArray<T>)

    Removes duplicate values from this sorted array and returns the number of values remaining.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)