docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IJobParallelForBatchExtensions

    Inheritance
    object
    IJobParallelForBatchExtensions
    Namespace: Unity.Jobs
    Assembly: Unity.Collections.dll
    Syntax
    public static class IJobParallelForBatchExtensions

    Methods

    EarlyJobInit<T>()

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

    Declaration
    public static void EarlyJobInit<T>() where T : struct, IJobParallelForBatch
    Type Parameters
    Name Description
    T

    RunBatch<T>(T, int)

    Declaration
    public static void RunBatch<T>(this T jobData, int arrayLength) where T : struct, IJobParallelForBatch
    Parameters
    Type Name Description
    T jobData
    int arrayLength
    Type Parameters
    Name Description
    T

    ScheduleBatch<T>(T, int, int, JobHandle)

    Declaration
    public static JobHandle ScheduleBatch<T>(this T jobData, int arrayLength, int minIndicesPerJobCount, JobHandle dependsOn = default) where T : struct, IJobParallelForBatch
    Parameters
    Type Name Description
    T jobData
    int arrayLength
    int minIndicesPerJobCount
    JobHandle dependsOn
    Returns
    Type Description
    JobHandle
    Type Parameters
    Name Description
    T
    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)