Struct UnsafeList<T>.ParallelWriter | Collections | 0.6.0-preview.9
docs.unity.cn
    Show / Hide Table of Contents

    Struct UnsafeList<T>.ParallelWriter

    Returns parallel writer instance.

    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public struct ParallelWriter

    Fields

    Writer

    Declaration
    public UnsafeList.ParallelWriter Writer
    Field Value
    Type Description
    UnsafeList.ParallelWriter

    Methods

    AddNoResize(T)

    Adds an element to the list.

    Declaration
    public void AddNoResize(T value)
    Parameters
    Type Name Description
    T value

    The value to be added at the end of the list.

    Remarks

    If the list has reached its current capacity, internal array won't be resized, and exception will be thrown.

    AddRangeNoResize(Void*, Int32)

    Declaration
    public void AddRangeNoResize(void *ptr, int length)
    Parameters
    Type Name Description
    Void* ptr
    Int32 length

    AddRangeNoResize(UnsafeList<T>)

    Declaration
    public void AddRangeNoResize(UnsafeList<T> list)
    Parameters
    Type Name Description
    UnsafeList<T> list

    Extension Methods

    JobNativeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobNativeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX