文档

Unity Engine

Unity Engine

JobChunkExtensions

Extensions for scheduling and running IJobChunk jobs.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Class
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static class JobChunkExtensions

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.
RunRuns the job immediately on the current thread.
RunByRefRuns the job immediately on the current thread.
ScheduleAdds an IJobChunk instance to the job scheduler queue for sequential (non-parallel) execution.
ScheduleByRefAdds an IJobChunk instance to the job scheduler queue for sequential (non-parallel) execution.
ScheduleParallelAdds an IJobChunk instance to the job scheduler queue for parallel execution.
ScheduleParallelByRefAdds an IJobChunk instance to the job scheduler queue for parallel execution.