Class NativeSliceUnsafeUtility
Inheritance
NativeSliceUnsafeUtility
Assembly: UnityEngine.dll
Syntax
public static class NativeSliceUnsafeUtility
Methods
|
Improve this Doc
View Source
ConvertExistingDataToNativeSlice<T>(Void*, Int32, Int32)
Declaration
public static NativeSlice<T> ConvertExistingDataToNativeSlice<T>(void *dataPointer, int stride, int length)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
GetAtomicSafetyHandle<T>(NativeSlice<T>)
Declaration
public static AtomicSafetyHandle GetAtomicSafetyHandle<T>(NativeSlice<T> slice)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
GetUnsafePtr<T>(NativeSlice<T>)
Declaration
public static void *GetUnsafePtr<T>(this NativeSlice<T> nativeSlice)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
GetUnsafeReadOnlyPtr<T>(NativeSlice<T>)
Declaration
public static void *GetUnsafeReadOnlyPtr<T>(this NativeSlice<T> nativeSlice)
where T : struct
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
SetAtomicSafetyHandle<T>(ref NativeSlice<T>, AtomicSafetyHandle)
Declaration
public static void SetAtomicSafetyHandle<T>(ref NativeSlice<T> slice, AtomicSafetyHandle safety)
where T : struct
Parameters
Type Parameters