ドキュメント

Unity Engine

Unity Engine

AllocatorHelper<T>

Provides a wrapper for custom allocator.
読み終わるまでの所要時間 1 分最終更新 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.