Version: 2023.2
언어: 한국어
public static Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle GetTempMemoryHandle ();

반환

AtomicSafetyHandle The safety handle for temp memory allocations in the current scope.

설명

Returns the safety handle which should be used for all temp memory allocations in this temp memory scope.

All temp memory allocations share the same safety handle since they are automatically disposed of at the same time. You should not call Release on this handle yourself.

Additional resources: AtomicSafetyHandle.IsTempMemoryHandle.