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

    Methods

    Name Description
    EarlyJobInit<T>()

    Gathers and caches reflection data for the internal job system's managed bindings. Unity is responsible for calling this method - don't call it yourself.

    Run<T>(T, EntityQuery)

    Runs the job immediately on the current thread.

    RunByRef<T>(ref T, EntityQuery)

    Runs the job immediately on the current thread.

    Schedule<T>(T, EntityQuery, JobHandle)

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

    ScheduleByRef<T>(ref T, EntityQuery, JobHandle)

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

    ScheduleParallel<T>(T, EntityQuery, JobHandle)

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

    ScheduleParallelByRef<T>(ref T, EntityQuery, JobHandle)

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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023