Struct UnsafeList.ParallelReader | Collections | 0.4.0-preview.6
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023