Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T>)

Gets the pointer to the data owner of a NativeArray, without performing checks.
Read time 1 minuteLast updated 12 days ago

Definition

public static void* GetUnsafeBufferPointerWithoutChecks<T>(NativeArray<T> nativeArray) where T : struct

Parameters

nativeArray

The NativeArray to check.

Returns

Type

Description

void*The memory buffer pointer of the NativeArray.