Method Schedule
Schedule<TDescription>(TDescription, JobHandle)
Schedule the generated job to be run sequentially.
Declaration
public static JobHandle Schedule<TDescription>(this TDescription description, JobHandle dependency) where TDescription : ILambdaSingleJobExecutionDescription
Parameters
Type | Name | Description |
---|---|---|
TDescription | description | The target object |
JobHandle | dependency | The handle identifying already scheduled jobs that could constrain this job. A job that writes to a component cannot run in parallel with other jobs that read or write that component. Jobs that only read the same components can run in parallel. |
Returns
Type | Description |
---|---|
JobHandle | A handle that combines the current Job with previous dependencies identified by the |
Type Parameters
Name | Description |
---|---|
TDescription | Type of target object |
Schedule<TDescription>(TDescription)
Schedule the generated job to be run sequentially and use the Dependency property of the containing system for both the input and output dependencies.
Declaration
public static void Schedule<TDescription>(this TDescription description) where TDescription : ILambdaSingleJobExecutionDescription
Parameters
Type | Name | Description |
---|---|---|
TDescription | description | The target object |
Type Parameters
Name | Description |
---|---|
TDescription | Type of target object |