GetUnsafePtr<T>(NativeSlice<T>)
Gets a NativeSlice memory buffer pointer and checks whether the native array can be written to.
Read time 1 minuteLast updated 19 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static void* GetUnsafePtr<T>(this NativeSlice<T> nativeSlice) where T : struct
Parameters
The NativeSlice to check.
Returns
Type | Description |
|---|---|
| void* | The memory buffer pointer of |