docs.unity.cn
    Show / Hide Table of Contents

    Class JobChunkExtensions

    Extensions for scheduling and running IJobChunk Jobs.

    Inheritance
    Object
    JobChunkExtensions
    Namespace: Unity.Entities
    Syntax
    public static class JobChunkExtensions : object

    Methods

    Name Description
    Run<T>(T, EntityQuery)

    Runs the Job immediately on the current thread.

    RunWithoutJobs<T>(ref T, ref ArchetypeChunkIterator)

    Runs the job using an ArchetypeChunkIterator instead of the jobs API.

    Schedule<T>(T, EntityQuery, JobHandle)

    Adds an IJobChunk instance to the Job scheduler queue for parallel execution. Note: This method is being replaced with use of ScheduleParallel to make non-sequential execution explicit.

    ScheduleParallel<T>(T, EntityQuery, JobHandle)

    Adds an IJobChunk instance to the Job scheduler queue for parallel execution.

    ScheduleSingle<T>(T, EntityQuery, JobHandle)

    Adds an IJobChunk instance to the Job scheduler queue for sequential (non-parallel) execution.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021