ドキュメント

Unity Engine

Unity Engine

Initialize(int, bool)

Initializes the allocator. Must be called before first use.
読み終わるまでの所要時間 1 分最終更新 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