ドキュメント

Unity Engine

Unity Engine

AllocatorHelper(AllocatorHandle, bool, int)

Allocate the custom allocator from backingAllocator and register it.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
[ExcludeFromBurstCompatTesting("CreateAllocator is unburstable")]public AllocatorHelper(AllocatorManager.AllocatorHandle backingAllocator, bool isGlobal = false, int globalIndex = 0)

Parameters

backingAllocator

Allocator used to allocate backing storage.

isGlobal

Flag indicating if the allocator is a global allocator.

globalIndex

Index into the global function table of the allocator to be created.