Class JobChunkExtensions
Extensions for scheduling and running IJobChunk Jobs.
Namespace: Unity.Entities
Syntax
public static class JobChunkExtensions
Methods
Name | Description |
---|---|
EarlyJobInit<T>() | This method is only to be called by automatically generated setup code. |
Run<T>(T, EntityQuery) | Runs the Job immediately on the current thread. |
RunByRef<T>(ref T, EntityQuery) | Runs the Job immediately on the current thread. |
RunWithoutJobs<T>(ref T, ref ArchetypeChunkIterator) | Runs the job using an ArchetypeChunkIterator instead of the jobs API. |
Schedule<T>(T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the Job scheduler queue for parallel execution. Note: This method is being replaced with use of ScheduleParallel to make non-sequential execution explicit. |
ScheduleByRef<T>(ref T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the Job scheduler queue for parallel execution. Note: This method is being replaced with use of ScheduleParallel to make non-sequential execution explicit. |
ScheduleParallel<T>(T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the Job scheduler queue for parallel execution. |
ScheduleParallelByRef<T>(ref T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the Job scheduler queue for parallel execution. |
ScheduleSingle<T>(T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the Job scheduler queue for sequential (non-parallel) execution. |
ScheduleSingleByRef<T>(ref T, EntityQuery, JobHandle) | Adds an IJobChunk instance to the Job scheduler queue for sequential (non-parallel) execution. |