Class NativeArrayUnsafeUtility
Inheritance
NativeArrayUnsafeUtility
Assembly: UnityEngine.dll
Syntax
public static class NativeArrayUnsafeUtility
Methods
|
Improve this Doc
View Source
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
|
Improve this Doc
View Source
GetAtomicSafetyHandle<T>(NativeArray<T>)
Declaration
public static AtomicSafetyHandle GetAtomicSafetyHandle<T>(NativeArray<T> array)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T>)
Declaration
public static void *GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T> nativeArray)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
GetUnsafePtr<T>(NativeArray<T>)
Declaration
public static void *GetUnsafePtr<T>(this NativeArray<T> nativeArray)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
GetUnsafeReadOnlyPtr<T>(NativeArray<T>)
Declaration
public static void *GetUnsafeReadOnlyPtr<T>(this NativeArray<T> nativeArray)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
SetAtomicSafetyHandle<T>(ref NativeArray<T>, AtomicSafetyHandle)
Declaration
public static void SetAtomicSafetyHandle<T>(ref NativeArray<T> array, AtomicSafetyHandle safety)
where T : struct
Parameters
Type Parameters