Struct UnsafeParallelHashMapBucketData
A bucket of key-value pairs. Used as the internal storage for hash maps.
Namespace: Unity.Collections.LowLevel.Unsafe
Assembly: Unity.Collections.dll
Syntax
public struct UnsafeParallelHashMapBucketData
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 |
---|---|
int | 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. |