IsTempMemoryHandle(AtomicSafetyHandle)
Checks if an AtomicSafetyHandle is the temporary memory safety handle for the active temporary memory scope.
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static bool IsTempMemoryHandle(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Returns
Type | Description |
|---|---|
| bool | True if the safety handle is the temporary memory handle for the current scope. |
Remarks
Additional Resources: AtomicSafetyHandle.GetTempMemoryHandle.