{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class NativeParallelHashMapExtensions | Collections | 2.3.0-pre.3
docs.unity3d.com
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)