GetNestedContainer(AtomicSafetyHandle)
Checks whether an AtomicSafetyHandle represents a nested container.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
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