Class IJobExtensions
Namespace: Unity.Jobs
Syntax
public static class IJobExtensions
Methods
Run<T>(T)
Declaration
public static void Run<T>(this T jobData)
where T : struct, IJob
Parameters
Type | Name | Description |
---|---|---|
T | jobData |
Type Parameters
Name | Description |
---|---|
T |
Schedule<T>(T, JobHandle)
Declaration
public static JobHandle Schedule<T>(this T jobData, JobHandle dependsOn = default(JobHandle))
where T : struct, IJob
Parameters
Type | Name | Description |
---|---|---|
T | jobData | |
JobHandle | dependsOn |
Returns
Type | Description |
---|---|
JobHandle |
Type Parameters
Name | Description |
---|---|
T |