Struct AtomicSafetyHandle
Assembly: UnityEngine.dll
Syntax
public struct AtomicSafetyHandle
Methods
CheckDeallocateAndThrow(AtomicSafetyHandle)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckDeallocateAndThrow(AtomicSafetyHandle handle)
Parameters
|
Improve this Doc
View Source
CheckExistsAndThrow(AtomicSafetyHandle)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckExistsAndThrow(AtomicSafetyHandle handle)
Parameters
CheckGetSecondaryDataPointerAndThrow(AtomicSafetyHandle)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckGetSecondaryDataPointerAndThrow(AtomicSafetyHandle handle)
Parameters
|
Improve this Doc
View Source
CheckReadAndThrow(AtomicSafetyHandle)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckReadAndThrow(AtomicSafetyHandle handle)
Parameters
CheckWriteAndBumpSecondaryVersion(AtomicSafetyHandle)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckWriteAndBumpSecondaryVersion(AtomicSafetyHandle handle)
Parameters
|
Improve this Doc
View Source
CheckWriteAndThrow(AtomicSafetyHandle)
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public static void CheckWriteAndThrow(AtomicSafetyHandle handle)
Parameters
Create()
Declaration
public static AtomicSafetyHandle Create()
Returns
EnforceAllBufferJobsHaveCompleted(AtomicSafetyHandle)
Declaration
public static EnforceJobResult EnforceAllBufferJobsHaveCompleted(AtomicSafetyHandle handle)
Parameters
Returns
EnforceAllBufferJobsHaveCompletedAndDisableReadWrite(AtomicSafetyHandle)
Declaration
public static EnforceJobResult EnforceAllBufferJobsHaveCompletedAndDisableReadWrite(AtomicSafetyHandle handle)
Parameters
Returns
EnforceAllBufferJobsHaveCompletedAndRelease(AtomicSafetyHandle)
Declaration
public static EnforceJobResult EnforceAllBufferJobsHaveCompletedAndRelease(AtomicSafetyHandle handle)
Parameters
Returns
GetAllowReadOrWriteAccess(AtomicSafetyHandle)
Declaration
public static bool GetAllowReadOrWriteAccess(AtomicSafetyHandle handle)
Parameters
Returns
GetReaderArray(AtomicSafetyHandle, Int32, IntPtr)
Declaration
public static int GetReaderArray(AtomicSafetyHandle handle, int maxCount, IntPtr output)
Parameters
Returns
GetReaderName(AtomicSafetyHandle, Int32)
Declaration
public static string GetReaderName(AtomicSafetyHandle handle, int readerIndex)
Parameters
Returns
GetTempMemoryHandle()
Declaration
public static AtomicSafetyHandle GetTempMemoryHandle()
Returns
GetTempUnsafePtrSliceHandle()
Declaration
public static AtomicSafetyHandle GetTempUnsafePtrSliceHandle()
Returns
GetWriter(AtomicSafetyHandle)
Declaration
public static JobHandle GetWriter(AtomicSafetyHandle handle)
Parameters
Returns
GetWriterName(AtomicSafetyHandle)
Declaration
public static string GetWriterName(AtomicSafetyHandle handle)
Parameters
Returns
IsTempMemoryHandle(AtomicSafetyHandle)
Declaration
public static bool IsTempMemoryHandle(AtomicSafetyHandle handle)
Parameters
Returns
PrepareUndisposable(ref AtomicSafetyHandle)
Declaration
public static void PrepareUndisposable(ref AtomicSafetyHandle handle)
Parameters
Release(AtomicSafetyHandle)
Declaration
public static void Release(AtomicSafetyHandle handle)
Parameters
SetAllowReadOrWriteAccess(AtomicSafetyHandle, Boolean)
Declaration
public static void SetAllowReadOrWriteAccess(AtomicSafetyHandle handle, bool allowReadWriteAccess)
Parameters
SetAllowSecondaryVersionWriting(AtomicSafetyHandle, Boolean)
Declaration
public static void SetAllowSecondaryVersionWriting(AtomicSafetyHandle handle, bool allowWriting)
Parameters
UseSecondaryVersion(ref AtomicSafetyHandle)
Declaration
public static void UseSecondaryVersion(ref AtomicSafetyHandle handle)
Parameters
Extension Methods