DoubleRewindableAllocators
A double rewindable allocators RewindableAllocator.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IDisposable
public struct DoubleRewindableAllocators : IDisposable
Constructors
Constructor | Description |
|---|---|
| DoubleRewindableAllocators(Unity.Collections.AllocatorManager.AllocatorHandle,System.Int32) | Construct a double rewindable allocators by allocating the allocators from backingAllocator and registering them. |
Properties
Property | Description |
|---|---|
| Allocator | Retrieve the current rewindable allocator. |
| IsCreated | Check whether the double rewindable allocators is created. |
Methods
Method | Description |
|---|---|
| Dispose | the double rewindable allocators and unregister it. |
| Initialize | Initialize a double rewindable allocators by allocating the allocators from backingAllocator and registering them. |
| Update | Update the double rewindable allocators, switch Pointer to another allocator and rewind the newly switched allocator. |