docs.unity.cn
    Show / Hide Table of Contents

    Method ScheduleParallel

    ScheduleParallel<T>(T, EntityQuery, JobHandle)

    Declaration
    public static JobHandle ScheduleParallel<T>(this T jobData, EntityQuery query, JobHandle dependsOn = default(JobHandle))
        where T : struct, IJobEntity
    Parameters
    Type Name Description
    T jobData
    EntityQuery query
    JobHandle dependsOn
    Returns
    Type Description
    JobHandle
    Type Parameters
    Name Description
    T

    ScheduleParallel<T>(T, JobHandle)

    Schedules the given job to run on in parallel on multiple thread(s). By copying the job data.

    Declaration
    public static JobHandle ScheduleParallel<T>(this T jobData, JobHandle dependsOn = default(JobHandle))
        where T : struct, IJobEntity
    Parameters
    Type Name Description
    T jobData

    The implemented IJobEntity job

    JobHandle dependsOn

    A jobhandle dependency, if not specified then generated as Dependency property in System

    Returns
    Type Description
    JobHandle

    Jobhandle with dependency chain

    Type Parameters
    Name Description
    T

    Type of IJobEntity implementation

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use