docs.unity.cn
    Show / Hide Table of Contents

    Struct UnsafeHashMapBucketData

    A bucket of key-value pairs. Used as the internal storage for hash maps.

    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public struct UnsafeHashMapBucketData
    Remarks

    Exposed publicly only for advanced use cases.

    Fields

    bucketCapacityMask

    One less than the bucket capacity.

    Declaration
    public readonly int bucketCapacityMask
    Field Value
    Type Description
    Int32

    One less than the bucket capacity.

    buckets

    The first bucket in the chain.

    Declaration
    public readonly byte *buckets
    Field Value
    Type Description
    Byte*

    The first bucket in the chain.

    keys

    The buffer of keys.

    Declaration
    public readonly byte *keys
    Field Value
    Type Description
    Byte*

    The buffer of keys.

    next

    The next bucket in the chain.

    Declaration
    public readonly byte *next
    Field Value
    Type Description
    Byte*

    The next bucket in the chain.

    values

    The buffer of values.

    Declaration
    public readonly byte *values
    Field Value
    Type Description
    Byte*

    The buffer of values.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, August 3, 2022
    Terms of use