기술 자료

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.