Struct UnsafeList.ParallelReader | Collections | 0.11.0-preview.17
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

    Fields

    Length

    Declaration
    public readonly int Length
    Field Value
    Type Description
    Int32

    Ptr

    Declaration
    [NativeDisableUnsafePtrRestriction]
    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
    In This Article
    • Fields
      • Length
      • Ptr
    • Methods
      • Contains<T>(T)
      • IndexOf<T>(T)
    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