docs.unity3d.com
    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>()

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

    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.

    RunWithoutJobs<T>(ref T, ref ArchetypeChunkIterator)

    Runs the job using an ArchetypeChunkIterator instead of the jobs API.

    Schedule<T>(T, EntityQuery, JobHandle)

    Adds an IJobChunk instance to the Job scheduler queue for parallel execution. Note: This method is being replaced with use of ScheduleParallel to make non-sequential execution explicit.

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

    Adds an IJobChunk instance to the Job scheduler queue for parallel execution. Note: This method is being replaced with use of ScheduleParallel to make non-sequential execution explicit.

    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.

    ScheduleSingle<T>(T, EntityQuery, JobHandle)

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

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

    Adds an IJobChunk instance to the Job scheduler queue for sequential (non-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