Version: 2019.2
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.