Version: 2023.2
언어: 한국어

AtomicSafetyHandle.EnforceAllBufferJobsHaveCompletedAndDisableReadWrite

매뉴얼로 전환
public static Unity.Collections.LowLevel.Unsafe.EnforceJobResult EnforceAllBufferJobsHaveCompletedAndDisableReadWrite (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

파라미터

handle Safety handle.

반환

EnforceJobResult A value describing how much work was done by the job system to complete the request.

설명

Waits for all jobs running against this AtomicSafetyHandle to complete and then disables the read and write access on this atomic safety handle.

When read and write acess is disabled the only thing you can do with the atomic safety handle is to dispose it.