Initialize(AllocatorHandle, int)
Initialize a double rewindable allocators by allocating the allocators from backingAllocator and registering them.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public void Initialize(AllocatorManager.AllocatorHandle backingAllocator, int initialSizeInBytes)
Parameters
Allocator used to allocate the double rewindable allocators.
The initial capacity of the allocators, in bytes