ドキュメント

Unity Engine

Unity Engine

NativeSliceUnsafeUtility

Contains unsafe methods for working with NativeSlice instances.
読み終わるまでの所要時間 1 分最終更新 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.