docs.unity.cn
    Show / Hide Table of Contents

    Namespace Unity.Collections

    Classes

    AllocatorManager

    Manages custom memory allocators.

    BurstCompatibleAttribute

    Documents and enforces (via generated tests) that the tagged method or property has to stay burst compatible.

    CollectionHelper

    Provides helper methods for collections.

    FixedList128BytesExtensions

    Provides extension methods for FixedList128Bytes.

    FixedList32BytesExtensions

    Provides extension methods for FixedList32Bytes.

    FixedList4096BytesExtensions

    Provides extension methods for FixedList4096Bytes.

    FixedList512BytesExtensions

    Provides extension methods for FixedList512Bytes.

    FixedList64BytesExtensions

    Provides extension methods for FixedList64Bytes.

    FixedListExtensions

    Provides extension methods for FixedListN.

    FixedString

    Provides formatting methods for FixedStringN.

    FixedStringMethods

    Provides extension methods for FixedStringNBytes.

    HashSetExtensions

    Provides extension methods for sets.

    ListExtensions

    Extension methods for lists.

    NativeArrayExtensions

    Extension methods for NativeArray.

    NativeHashMapExtensions

    Provides extension methods for hash maps.

    NativeMultiHashMapExtensions

    NativeSortExtension

    Extension methods for sorting collections.

    NotBurstCompatibleAttribute

    Internal attribute to state that a method is not burst compatible even though the containing type is.

    UTF8ArrayUnsafeUtility

    Provides methods for copying and encoding Unicode text.

    xxHash3

    A feature complete hashing API based on xxHash3 (https://github.com/Cyan4973/xxHash)

    Structs

    AllocatorManager.AllocatorHandle

    Represents the allocator function used within an allocator.

    AllocatorManager.Block

    Represents an individual allocation within an allocator.

    AllocatorManager.BlockHandle

    For internal use only.

    AllocatorManager.Range

    A range of allocated memory.

    BitField32

    A 32-bit array of bits.

    BitField64

    A 64-bit array of bits.

    FixedBytes126

    For internal use only.

    FixedBytes16

    [FixedBytes will be removed]

    FixedBytes30

    For internal use only.

    FixedBytes4094

    For internal use only.

    FixedBytes510

    For internal use only.

    FixedBytes62

    For internal use only.

    FixedList128<T>

    FixedList128Bytes<T>

    An unmanaged, resizable list whose content is all stored directly in the 128-byte struct. Useful for small lists.

    FixedList128Bytes<T>.Enumerator

    An enumerator over the elements of a FixedList128Bytes<T>.

    FixedList32<T>

    FixedList32Bytes<T>

    An unmanaged, resizable list whose content is all stored directly in the 32-byte struct. Useful for small lists.

    FixedList32Bytes<T>.Enumerator

    An enumerator over the elements of a FixedList32Bytes<T>.

    FixedList4096<T>

    FixedList4096Bytes<T>

    An unmanaged, resizable list whose content is all stored directly in the 4096-byte struct. Useful for small lists.

    FixedList4096Bytes<T>.Enumerator

    An enumerator over the elements of a FixedList4096Bytes<T>.

    FixedList512<T>

    FixedList512Bytes<T>

    An unmanaged, resizable list whose content is all stored directly in the 512-byte struct. Useful for small lists.

    FixedList512Bytes<T>.Enumerator

    An enumerator over the elements of a FixedList512Bytes<T>.

    FixedList64<T>

    FixedList64Bytes<T>

    An unmanaged, resizable list whose content is all stored directly in the 64-byte struct. Useful for small lists.

    FixedList64Bytes<T>.Enumerator

    An enumerator over the elements of a FixedList64Bytes<T>.

    FixedListByte128

    An unmanaged, resizable list of byte that does not allocate memory. It is 128 bytes in size, and contains all the memory it needs.

    FixedListByte32

    An unmanaged, resizable list of byte that does not allocate memory. It is 32 bytes in size, and contains all the memory it needs.

    FixedListByte4096

    An unmanaged, resizable list of byte that does not allocate memory. It is 4096 bytes in size, and contains all the memory it needs.

    FixedListByte512

    An unmanaged, resizable list of byte that does not allocate memory. It is 512 bytes in size, and contains all the memory it needs.

    FixedListByte64

    An unmanaged, resizable list of byte that does not allocate memory. It is 64 bytes in size, and contains all the memory it needs.

    FixedListFloat128

    An unmanaged, resizable list of float that does not allocate memory. It is 128 bytes in size, and contains all the memory it needs.

    FixedListFloat32

    An unmanaged, resizable list of float that does not allocate memory. It is 32 bytes in size, and contains all the memory it needs.

    FixedListFloat4096

    An unmanaged, resizable list of float that does not allocate memory. It is 4096 bytes in size, and contains all the memory it needs.

    FixedListFloat512

    An unmanaged, resizable list of float that does not allocate memory. It is 512 bytes in size, and contains all the memory it needs.

    FixedListFloat64

    An unmanaged, resizable list of float that does not allocate memory. It is 64 bytes in size, and contains all the memory it needs.

    FixedListInt128

    An unmanaged, resizable list of int that does not allocate memory. It is 128 bytes in size, and contains all the memory it needs.

    FixedListInt32

    An unmanaged, resizable list of int that does not allocate memory. It is 32 bytes in size, and contains all the memory it needs.

    FixedListInt4096

    An unmanaged, resizable list of int that does not allocate memory. It is 4096 bytes in size, and contains all the memory it needs.

    FixedListInt512

    An unmanaged, resizable list of int that does not allocate memory. It is 512 bytes in size, and contains all the memory it needs.

    FixedListInt64

    An unmanaged, resizable list of int that does not allocate memory. It is 64 bytes in size, and contains all the memory it needs.

    FixedString128

    FixedString128Bytes

    An unmanaged UTF-8 string whose content is stored directly in the 128-byte struct.

    FixedString128Bytes.Enumerator

    An enumerator over the characters (not bytes) of a FixedString128Bytes.

    FixedString32

    FixedString32Bytes

    An unmanaged UTF-8 string whose content is stored directly in the 32-byte struct.

    FixedString32Bytes.Enumerator

    An enumerator over the characters (not bytes) of a FixedString32Bytes.

    FixedString4096

    FixedString4096Bytes

    An unmanaged UTF-8 string whose content is stored directly in the 4096-byte struct.

    FixedString4096Bytes.Enumerator

    An enumerator over the characters (not bytes) of a FixedString4096Bytes.

    FixedString512

    FixedString512Bytes

    An unmanaged UTF-8 string whose content is stored directly in the 512-byte struct.

    FixedString512Bytes.Enumerator

    An enumerator over the characters (not bytes) of a FixedString512Bytes.

    FixedString64

    FixedString64Bytes

    An unmanaged UTF-8 string whose content is stored directly in the 64-byte struct.

    FixedString64Bytes.Enumerator

    An enumerator over the characters (not bytes) of a FixedString64Bytes.

    HeapString

    An unmanaged, allocated, mutable, resizable UTF-8 string.

    HeapString.Enumerator

    An enumerator over the characters (not bytes) of a HeapString.

    NativeBitArray

    An arbitrarily-sized array of bits.

    NativeHashMap<TKey, TValue>

    An unordered, expandable associative array.

    NativeHashMap<TKey, TValue>.Enumerator

    An enumerator over the key-value pairs of a hash map.

    NativeHashMap<TKey, TValue>.ParallelWriter

    A parallel writer for a NativeHashMap.

    NativeHashSet<T>

    An unordered, expandable set of unique values.

    NativeHashSet<T>.Enumerator

    An enumerator over the values of a set.

    NativeHashSet<T>.ParallelWriter

    A parallel writer for a NativeHashSet.

    NativeKeyValueArrays<TKey, TValue>

    The keys and values of a hash map copied into two parallel arrays.

    NativeList<T>

    An unmanaged, resizable list.

    NativeList<T>.ParallelWriter

    A parallel writer for a NativeList.

    NativeMultiHashMap<TKey, TValue>

    An unordered, expandable associative array. Each key can have more than one associated value.

    NativeMultiHashMap<TKey, TValue>.Enumerator

    An enumerator over the values of an individual key in a multi hash map.

    NativeMultiHashMap<TKey, TValue>.KeyValueEnumerator

    An enumerator over the key-value pairs of a multi hash map.

    NativeMultiHashMap<TKey, TValue>.ParallelWriter

    A parallel writer for a NativeMultiHashMap.

    NativeMultiHashMapIterator<TKey>

    An iterator over all values associated with an individual key in a multi hash map.

    NativeQueue<T>

    An unmanaged queue.

    NativeQueue<T>.ParallelWriter

    A parallel writer for a NativeQueue.

    NativeReference<T>

    An unmanaged single value.

    NativeReference<T>.ReadOnly

    A read-only alias for the value of a NativeReference. Does not have its own allocated storage.

    NativeSortExtension.DefaultComparer<T>

    A comparer that uses IComparable.CompareTo(). For primitive types, this is an ascending sort.

    NativeStream

    A set of untyped, append-only buffers. Allows for concurrent reading and concurrent writing without synchronization.

    NativeStream.Reader

    Reads data from a buffer of a NativeStream.

    NativeStream.Writer

    Writes data into a buffer of a NativeStream.

    NativeText

    An unmanaged, mutable, resizable UTF-8 string.

    NativeText.Enumerator

    An enumerator over the characters (not bytes) of a NativeText.

    RewindableAllocator

    An allocator that is fast like a linear allocator, is threadsafe, and automatically invalidates all allocations made from it, when "rewound" by the user.

    SortJob<T, U>

    Returned by the SortJob methods of NativeSortExtension. Call Schedule to schedule the sorting.

    Unicode

    Provides utility methods for UTF-8, UTF-16, UCS-4 (a.k.a. UTF-32), and WTF-8.

    Unicode.Rune

    Representation of a Unicode character as a code point.

    xxHash3.StreamingState

    Type used to compute hash based on multiple data feed

    Interfaces

    AllocatorManager.IAllocator

    An allocator function pointer.

    IIndexable<T>

    An indexable collection.

    INativeDisposable

    For scheduling release of unmanaged resources.

    INativeList<T>

    A resizable list.

    IUTF8Bytes

    An interface for a sequence of UTF-8 encoded text.

    Enums

    BurstCompatibleAttribute.BurstCompatibleCompileTarget

    Burst compatible compile target.

    ConversionError

    Kinds of conversion errors.

    CopyError

    Kinds of copy errors.

    FormatError

    Kinds of format errors.

    ParseError

    Kinds of parse errors.

    Delegates

    AllocatorManager.TryFunction

    Used for calling an allocator function.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, September 29, 2021