Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DoubleRewindableAllocators(AllocatorHandle, int)

Construct a double rewindable allocators by allocating the allocators from backingAllocator and registering them.
Read time 1 minuteLast updated 12 days ago

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