NativeSliceUnsafeUtility.GetUnsafePtr

Declaration

public static void* GetUnsafePtr(NativeSlice<T> nativeSlice);

Parameters

nativeSlice The NativeSlice to check.

Returns

void* The memory buffer pointer of nativeSlice.

Description

Gets a NativeSlice memory buffer pointer and checks whether the native array can be written to.


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