Constructor DoubleRewindableAllocators
DoubleRewindableAllocators(AllocatorHandle, int)
Construct a double rewindable allocators by allocating the allocators from backingAllocator and registering them.
Declaration
public DoubleRewindableAllocators(AllocatorManager.AllocatorHandle backingAllocator, int initialSizeInBytes)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.AllocatorHandle | backingAllocator | Allocator used to allocate the double rewindable allocators. |
int | initialSizeInBytes | The initial capacity of the allocators, in bytes |