Struct UnsafeList.ParallelReader | Collections | 0.6.0-preview.9
docs.unity.cn
    Show / Hide Table of Contents

    Struct UnsafeList.ParallelReader

    Implements parallel reader. Use AsParallelReader to obtain it from container.

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

    Constructors

    ParallelReader(Void*, Int32)

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

    Fields

    Length

    Declaration
    public readonly int Length
    Field Value
    Type Description
    Int32

    Ptr

    Declaration
    public readonly void *Ptr
    Field Value
    Type Description
    Void*

    Methods

    Contains<T>(T)

    Declaration
    public bool Contains<T>(T value)
        where T : struct, IEquatable<T>
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T

    IndexOf<T>(T)

    Declaration
    public int IndexOf<T>(T value)
        where T : struct, IEquatable<T>
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    Int32
    Type Parameters
    Name Description
    T

    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