Class IJobParallelForExtensions | DOTS Runtime | 0.32.0-preview.54
docs.unity.cn
    Show / Hide Table of Contents

    Class IJobParallelForExtensions

    Inheritance
    Object
    IJobParallelForExtensions
    Namespace: Unity.Jobs
    Syntax
    public static class IJobParallelForExtensions

    Methods

    Run<T>(T, Int32)

    Declaration
    public static void Run<T>(this T jobData, int arrayLength)
        where T : struct, IJobParallelFor
    Parameters
    Type Name Description
    T jobData
    Int32 arrayLength
    Type Parameters
    Name Description
    T

    Schedule<T>(T, Int32, Int32, JobHandle)

    Declaration
    public static JobHandle Schedule<T>(this T jobData, int arrayLength, int innerloopBatchCount, JobHandle dependsOn = default(JobHandle))
        where T : struct, IJobParallelFor
    Parameters
    Type Name Description
    T jobData
    Int32 arrayLength
    Int32 innerloopBatchCount
    JobHandle dependsOn
    Returns
    Type Description
    JobHandle
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021