AtomicSafetyHandle.GetTempMemoryHandle
public static Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle GetTempMemoryHandle();
Returns
AtomicSafetyHandle The safety handle for temp memory allocations in the current scope.
Description 描述
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.