NativeSliceUnsafeUtility

class in Unity.Collections.LowLevel.Unsafe

/

Implemented in:UnityEngine.CoreModule

Description

Contains unsafe methods for working with NativeSlice instances.

Static Methods

ConvertExistingDataToNativeSliceCreates a new NativeSlice from existing data.
GetAtomicSafetyHandleGets the AtomicSafetyHandle for a NativeSlice.
GetUnsafePtrGets a NativeSlice memory buffer pointer and checks whether the native array can be written to.
GetUnsafeReadOnlyPtrGets a NativeSlice memory buffer pointer and checks whether the native array can be read from.
SetAtomicSafetyHandleSet the AtomicSafetyHandle on NativeSlice.

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