기술 자료

Unity Engine

Unity Engine

DoubleRewindableAllocators(AllocatorHandle, int)

Construct a double rewindable allocators by allocating the allocators from backingAllocator and registering them.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public DoubleRewindableAllocators(AllocatorManager.AllocatorHandle backingAllocator, int initialSizeInBytes)

Parameters

backingAllocator

Allocator used to allocate the double rewindable allocators.

initialSizeInBytes

The initial capacity of the allocators, in bytes