NativeSliceUnsafeUtility.GetUnsafeReadOnlyPtr

Declaration

public static void* GetUnsafeReadOnlyPtr(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 read from.


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