Struct DoubleRewindableAllocators
A double rewindable allocators RewindableAllocator.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public struct DoubleRewindableAllocators
Constructors
| Name | Description |
|---|---|
| DoubleRewindableAllocators(AllocatorHandle, int) | Construct a double rewindable allocators by allocating the allocators from backingAllocator and registering them. |
Properties
| Name | Description |
|---|---|
| Allocator | Retrieve the current rewindable allocator. |
| IsCreated | Check whether the double rewindable allocators is created. |
Methods
| Name | Description |
|---|---|
| Dispose() | the double rewindable allocators and unregister it. |
| Initialize(AllocatorHandle, int) | 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. |