ReferenceContext.GetNativeArray

Declaration

public NativeArray<byte> GetNativeArray(LightTransport.BufferID id);

Parameters

id ID of the buffer to get the underlying NativeArray from.

Returns

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

Description

Get the NativeArray used for storing buffers in the context.

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


Did you find this page useful? Please give it a rating: