docs.unity.cn
    Show / Hide Table of Contents

    Class JobEntityBatchExtensions

    Extensions for scheduling and running IJobEntityBatch jobs.

    Inheritance
    Object
    JobEntityBatchExtensions
    Namespace: Unity.Entities
    Syntax
    public static class JobEntityBatchExtensions : 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.

    RunWithoutJobs<T>(ref T, EntityQuery, NativeArray<Entity>)

    Runs the job without using the jobs API.

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

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

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

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

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

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

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

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

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