GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T>)
Gets the pointer to the data owner of a NativeArray<T>, without performing checks.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static void* GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T> nativeArray) where T : struct
Parameters
The NativeArray to check.
Returns
Type | Description |
|---|---|
| void* | The memory buffer pointer of the NativeArray. |