Class IJobParallelForBatchExtensions | Jobs | 0.2.10-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class IJobParallelForBatchExtensions

    Inheritance
    Object
    IJobParallelForBatchExtensions
    Namespace: Unity.Jobs
    Syntax
    public static class IJobParallelForBatchExtensions

    Methods

    RunBatch<T>(T, Int32)

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

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

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