文档

Unity Engine

Download Unity

Unity Engine

IJobParallelForDeferExtensions

Extension class for the IJobParallelForDefer job type providing custom overloads for scheduling and running.
阅读时间1 分钟最后更新于 2 个月前

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.