기술 자료

Unity Engine

Unity Engine

AllocatorHelper(AllocatorHandle, bool, int)

Allocate the custom allocator from backingAllocator and register it.
읽는 시간 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.