docs.unity.cn
    Show / Hide Table of Contents

    Class JobEntityBatchIndexExtensions

    Extensions for scheduling and running IJobEntityBatchWithIndex jobs.

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

    Methods

    Name Description
    Run<T>(T, EntityQuery)

    Runs the job immediately on the current thread.

    Run<T>(T, EntityQuery, NativeArray<Entity>)

    Runs the job immediately on the current thread.

    RunWithoutJobs<T>(ref T, EntityQuery)

    Runs the job without using the jobs API.

    RunWithoutJobsInternal<T>(ref T, ref ArchetypeChunkIterator)
    Schedule<T>(T, EntityQuery, JobHandle)

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

    Schedule<T>(T, EntityQuery, NativeArray<Entity>, JobHandle)

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

    ScheduleParallel<T>(T, EntityQuery, NativeArray<Entity>, JobHandle)

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

    ScheduleParallel<T>(T, EntityQuery, Int32, JobHandle)

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

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