기술 자료

Unity Engine

Unity Engine

DoubleRewindableAllocators

A double rewindable allocators RewindableAllocator.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

AllocatorRetrieve the current rewindable allocator.
IsCreatedCheck whether the double rewindable allocators is created.

Methods

Method

Description

Disposethe double rewindable allocators and unregister it.
InitializeInitialize a double rewindable allocators by allocating the allocators from backingAllocator and registering them.
UpdateUpdate the double rewindable allocators, switch Pointer to another allocator and rewind the newly switched allocator.