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

    Methods

    Name Description
    EarlyJobInit<T>()

    This method is only to be called by automatically generated setup code.

    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.

    RunByRef<T>(ref T, EntityQuery)

    Runs the job immediately on the current thread.

    RunByRef<T>(ref 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, IntPtr, Int32)
    RunWithoutJobsInternal<T>(ref T, ref EntityQuery, Entity*, Int32)
    Schedule<T>(T, EntityQuery, NativeArray<Entity>, JobHandle)

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

    Schedule<T>(T, EntityQuery, JobHandle)

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

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

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

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

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

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

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

    ScheduleParallel<T>(T, EntityQuery, JobHandle)

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

    ScheduleParallelByRef<T>(ref T, EntityQuery, ScheduleGranularity, NativeArray<Entity>, JobHandle)

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

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

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

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