GetNestedContainer(AtomicSafetyHandle)
Checks whether an AtomicSafetyHandle represents a nested container.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static bool GetNestedContainer(AtomicSafetyHandle handle)
Parameters
The AtomicSafetyHandle to check.
Returns
Type | Description |
|---|---|
| bool | |
Remarks
If the AtomicSafetyHandle is marked as a nested container, it can't be used safely in jobs.
Additional Resources: AtomicSafetyHandle.SetNestedContainer.