기술 자료

Unity Engine

Unity Engine

NativeSliceUnsafeUtility

Contains unsafe methods for working with NativeSlice instances.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static class NativeSliceUnsafeUtility

Static Methods

Method

Description

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.