IJobParallelForTransformExtensions
Contains extension methods for IJobParallelForTransform.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Jobs
- Assembly: UnityEngine.CoreModule
public static class IJobParallelForTransformExtensions
Remarks
While IJobParallelForTransform.Execute defines how a job should process a single data element, the methods in this extension class actually add an instance of the job to the work queue. Use IJobParallelForTransformExtensions.ScheduleByRef to request asynchronous execution, or RunByRef to execute the job immediately on the main thread.
Additional Resources: IJobParallelForTransform.
Examples
{code Tests/EditModeAndPlayModeTests/Jobs/Assets/DocumentationExamples/TransformJobDocExamples.cs#ijobparallelfortransform-apidocs-example}
Static Methods
Method | Description |
|---|---|
| EarlyJobInit | Gathers and caches reflection data for the internal job system's managed bindings. |
| RunReadOnly | Runs an IJobParallelForTransform job immediately on the main thread, with read-only access to the transform data. |
| RunReadOnlyByRef | Runs an IJobParallelForTransform job immediately on the main thread, with read-only access to the transform data. |
| Schedule | Schedules an IJobParallelForTransform job with read-write access to the transform data. |
| ScheduleByRef | Schedules an IJobParallelForTransform job with read-write access to the transform data. |
| ScheduleReadOnly | Schedules an IJobParallelForTransform job with read-only access to the transform data. |
| ScheduleReadOnlyByRef | Schedules an IJobParallelForTransform job with read-only access to the transform data. |