文档

Unity Engine

Unity Engine

AddMeshModificationJob(JobHandle)

Add a user-scheduled job to this element's post-processing dependency chain.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void AddMeshModificationJob(JobHandle dependency)

Parameters

dependency

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.