AtomicSafetyHandle.GetAllowReadOrWriteAccess

Declaration

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

Parameters

handle The AtomicSafetyHandle to check.

Returns

bool True if the AtomicSafetyHandle is configured to allow reading or writing, false otherwise.

Description

Checks if the AtomicSafetyHandle is configured to allow reading or writing.

Read and write access is allowed by default in any newly created AtomicSafetyHandle.

Additional resources: AtomicSafetyHandle.SetAllowReadOrWriteAccess.


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