Documentation

Unity Engine


Unity Engine


JobChunkExtensions

Extensions for scheduling and running IJobChunk jobs.
Read time 1 minuteLast updated 16 hours ago

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.