{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class IJobParallelForDeferExtensions | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IJobParallelForDeferExtensions

    Extension class for the IJobParallelForDefer job type providing custom overloads for scheduling and running.

    Inheritance
    object
    IJobParallelForDeferExtensions
    Namespace: Unity.Jobs
    Assembly: solution.dll
    Syntax
    public static class IJobParallelForDeferExtensions

    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.

    ScheduleByRef<T>(ref T, int*, int, JobHandle)

    Schedule the job for execution on worker threads. forEachCount is a pointer to the number of iterations, when dependsOn has completed. This API is unsafe, it is recommended to use the NativeList based Schedule method instead.

    ScheduleByRef<T, U>(ref T, NativeList<U>, int, JobHandle)

    Schedule the job for execution on worker threads. list.Length is used as the iteration count. Note that it is required to embed the list on the job struct as well.

    Schedule<T>(T, int*, int, JobHandle)

    Schedule the job for execution on worker threads. forEachCount is a pointer to the number of iterations, when dependsOn has completed. This API is unsafe, it is recommended to use the NativeList based Schedule method instead.

    Schedule<T, U>(T, NativeList<U>, int, JobHandle)

    Schedule the job for execution on worker threads. list.Length is used as the iteration count. Note that it is required to embed the list on the job struct as well.

    In This Article
    Back to top
    Copyright © 2023 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)