docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023