AddMeshModificationJob(JobHandle)
Add a user-scheduled job to this element's post-processing dependency chain.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void AddMeshModificationJob(JobHandle dependency)
Parameters
Remarks
Subsequent callbacks on this element are deferred until all handles added by prior callbacks complete. The main thread does not block while waiting — other dirty elements continue to advance and this element resumes once its pending jobs complete.
All added handles are awaited before the GPU upload, so jobs are free to write into the slices exposed by DrawData.