기술 자료

Unity Engine

Unity Engine

AllocatorHelper<T>

Provides a wrapper for custom allocator.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct AllocatorHelper<T> : IDisposable where T : unmanaged, AllocatorManager.IAllocator

Constructors

Constructor

Description

AllocatorHelper`1(Unity.Collections.AllocatorManager.AllocatorHandle,System.Boolean,System.Int32)Allocate the custom allocator from backingAllocator and register it.

Properties

Property

Description

AllocatorGet the custom allocator.

Methods

Method

Description

DisposeDispose the custom allocator backing memory and unregister it.