AtomicSafetyHandle.GetNestedContainer

Declaration

public static bool GetNestedContainer(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle);

Parameters

handle The AtomicSafetyHandle to check.

Returns

bool true if the given AtomicSafetyHandle is marked as a nested container; false otherwise.

Description

Checks whether an AtomicSafetyHandle represents a nested container.

If the AtomicSafetyHandle is marked as a nested container, it can't be used safely in jobs. Additional resources: AtomicSafetyHandle.SetNestedContainer.


Did you find this page useful? Please give it a rating: