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