Class NativeArrayUnsafeUtility
Inheritance
NativeArrayUnsafeUtility
Syntax
public static class NativeArrayUnsafeUtility
Methods
ConvertExistingDataToNativeArray<T>(Void*, Int32, Allocator)
Declaration
public static NativeArray<T> ConvertExistingDataToNativeArray<T>(void *dataPointer, int length, Allocator allocator)
where T : struct
Parameters
Returns
Type Parameters
GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T>)
Declaration
public static void *GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T> nativeArray)
where T : struct
Parameters
Returns
Type Parameters
GetUnsafePtr<T>(NativeArray<T>)
Declaration
public static void *GetUnsafePtr<T>(this NativeArray<T> nativeArray)
where T : struct
Parameters
Returns
Type Parameters
GetUnsafeReadOnlyPtr<T>(NativeArray<T>)
Declaration
public static void *GetUnsafeReadOnlyPtr<T>(this NativeArray<T> nativeArray)
where T : struct
Parameters
Returns
Type Parameters