ドキュメント

Unity Engine

Unity Engine

EnforceAllBufferJobsHaveCompletedAndDisableReadWrite(AtomicSafetyHandle)

Waits for all jobs running against an AtomicSafetyHandle to complete and then disables the read and write access on the AtomicSafetyHandle.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Definition

public static EnforceJobResult EnforceAllBufferJobsHaveCompletedAndDisableReadWrite(AtomicSafetyHandle handle)

Parameters

The AtomicSafetyHandle to check.

Returns

Type

Description

EnforceJobResultWhether the job system waited for any jobs to finish.

Remarks

When read and write acess is disabled, you can only dispose of the AtomicSafetyHandle.