DoubleRewindableAllocators(AllocatorHandle, int)
Construct a double rewindable allocators by allocating the allocators from backingAllocator and registering them.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public DoubleRewindableAllocators(AllocatorManager.AllocatorHandle backingAllocator, int initialSizeInBytes)
Parameters
Allocator used to allocate the double rewindable allocators.
The initial capacity of the allocators, in bytes