Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IJobParallelForBatch

Job type allowing for data to be operated on in parallel batches.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Interface
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.ManagedKernelModule
[JobProducerType(typeof(IJobParallelForBatchExtensions.JobParallelForBatchProducer<>))]public interface IJobParallelForBatch

Remarks

When scheduling an IJobParallelForBatch job the number of elements to work on is specified 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.

Methods

Method

Description

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