docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class JobChunkExtensions

    Extensions for scheduling and running IJobChunk jobs.

    Inheritance
    object
    JobChunkExtensions
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public static class JobChunkExtensions

    Methods

    Name Description
    EarlyJobInit<T>()

    Gathers and caches reflection data for the internal job system's managed bindings. Unity is responsible for calling this method - don't call it yourself.

    RunByRef<T>(ref T, EntityQuery)

    Runs the job immediately on the current thread.

    Run<T>(T, EntityQuery)

    Runs the job immediately on the current thread.

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

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

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

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

    ScheduleParallel<T>(T, EntityQuery, JobHandle)

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

    Schedule<T>(T, EntityQuery, JobHandle)

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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)