기술 자료

Unity Engine

Unity Engine

UnsafeScratchAllocator(void*, int)

Initializes and returns an instance of UnsafeScratchAllocator.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public UnsafeScratchAllocator(void* ptr, int capacityInBytes)

Parameters

An existing buffer to use as the allocator's internal buffer.

capacityInBytes

The size in bytes of the internal buffer.