ScheduleByRef<T>(ref T, int, JobHandle)
Schedules the job to execute on a single worker thread by reference.
Read time 1 minuteLast updated 17 days ago
Definition
- Type: Method
- Namespace: Unity.Jobs
- Assembly: UnityEngine.CoreModule
ScheduleByRef<T>(T, int, JobHandle)
public static JobHandle ScheduleByRef<T>(this ref T jobData, int arrayLength, JobHandle dependency) where T : struct, IJobFor
Parameters
The number of iterations to execute the for loop over.
Returns
Type | Description |
|---|---|
| JobHandle | The JobHandle of the scheduled job. You can use the |
Remarks
Additional Resources: IJobFor.