docs.unity3d.com
    目次を表示する/隠す

    Interface IJobParallelForBatch

    Job type allowing for data to be operated on in parallel batches. When scheduling an IJobParallelForBatch job the number of elements to work on is specied along with a batch size. Jobs will then run in parallel invoking Execute at a particular 'startIndex' of your working set and for a specified 'count' number of elements.

    Namespace: Unity.Jobs
    Syntax
    [JobProducerType(typeof(IJobParallelForBatchExtensions.JobParallelForBatchProducer<>))]
    public interface IJobParallelForBatch

    Methods

    Execute(Int32, Int32)

    Function operation on a "batch" of data contained within the job.

    Declaration
    void Execute(int startIndex, int count)
    Parameters
    Type Name Description
    Int32 startIndex

    Starting index of job data to safely access.

    Int32 count

    Number of elements to operate on in the batch.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)