Method ScheduleParallel
ScheduleParallel<T>(T, EntityQuery, JobHandle)
Declaration
public static JobHandle ScheduleParallel<T>(this T jobData, EntityQuery query, JobHandle dependsOn = default(JobHandle))
where T : struct, IJobEntity
Parameters
Returns
Type Parameters
ScheduleParallel<T>(T, JobHandle)
Schedules the given job to run on in parallel on multiple thread(s). By copying the job data.
Declaration
public static JobHandle ScheduleParallel<T>(this T jobData, JobHandle dependsOn = default(JobHandle))
where T : struct, IJobEntity
Parameters
Type |
Name |
Description |
T |
jobData |
The implemented IJobEntity job
|
JobHandle |
dependsOn |
A jobhandle dependency, if not specified then generated as Dependency property in System
|
Returns
Type |
Description |
JobHandle |
Jobhandle with dependency chain
|
Type Parameters
Name |
Description |
T |
Type of IJobEntity implementation
|