기술 자료

Unity Engine

Unity Engine

GetNativeArray(BufferID)

Get the NativeArray used for storing buffers in the context.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public NativeArray<byte> GetNativeArray(BufferID id)

Parameters

ID of the buffer to get the underlying NativeArray from.

Returns

Type

Description

NativeArray<byte>The NativeArray of bytes for a given BufferID.

Remarks

The reference context is using NativeArray for storing the contents of buffers. This method will return the array.