docs.unity.cn
    Show / Hide Table of Contents

    Class IJobParallelForBatchExtensions

    Inheritance
    Object
    IJobParallelForBatchExtensions
    Namespace: Unity.Jobs
    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, 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 = default(JobHandle))
        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
    Generated by DocFX
    on Wednesday, July 26, 2023