기술 자료

Unity Engine

Unity Engine

ConvertExistingDataToNativeBitArray(void*, int, AllocatorHandle)

Returns a bit array with content aliasing a buffer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static NativeBitArray ConvertExistingDataToNativeBitArray(void* ptr, int sizeInBytes, AllocatorManager.AllocatorHandle allocator)

Parameters

A buffer.

sizeInBytes

Size of the buffer in bytes. Must be a multiple of 8.

The allocator that was used to create the buffer.

Returns

Type

Description

NativeBitArrayA bit array with content aliasing a buffer.