기술 자료

Unity Engine

Unity Engine

Initialize(int, bool)

Initializes the allocator. Must be called before first use.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public void Initialize(int initialSizeInBytes, bool enableBlockFree = false)

Parameters

initialSizeInBytes

The initial capacity of the allocator, in bytes

enableBlockFree

A flag indicating if allocator enables individual block free