Class JobChunkExtensions
Extensions for scheduling and running IJobChunk jobs.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public static class JobChunkExtensions
Methods
Name | Description |
---|---|
EarlyJobInit<T>() | Gathers and caches reflection data for the internal job system's managed bindings. Unity is responsible for calling this method - don't call it yourself. |
RunByRef<T>(ref T, EntityQuery) | Runs the job immediately on the current thread. |
Run<T>(T, EntityQuery) | Runs the job immediately on the current thread. |
ScheduleByRef<T>(ref T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the job scheduler queue for sequential (non-parallel) execution. |
ScheduleParallelByRef<T>(ref T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the job scheduler queue for parallel execution. |
ScheduleParallel<T>(T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the job scheduler queue for parallel execution. |
Schedule<T>(T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the job scheduler queue for sequential (non-parallel) execution. |