Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IJobParallelForDeferExtensions

Extension class for the IJobParallelForDefer job type providing custom overloads for scheduling and running.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Class
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.ManagedKernelModule
public static class IJobParallelForDeferExtensions

Static Methods

Method

Description

EarlyJobInitGathers and caches reflection data for the internal job system's managed bindings. Unity is responsible for calling this method - don't call it yourself.
ScheduleSchedule the job for execution on worker threads. forEachCount is a pointer to the number of iterations, when dependsOn has completed. This API is unsafe, it is recommended to use the NativeList based Schedule method instead.
ScheduleByRefSchedule the job for execution on worker threads. forEachCount is a pointer to the number of iterations, when dependsOn has completed. This API is unsafe, it is recommended to use the NativeList based Schedule method instead.