文档

Unity Engine

Unity Engine

AllocatorManager.IAllocator

An allocator function pointer.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Interface
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public interface AllocatorManager.IAllocator : IDisposable

Properties

Property

Description

FunctionThe allocator function. It can allocate, deallocate, or reallocate.
HandleThis allocator.
IsAutoDisposeCheck whether an allocator will automatically dispose allocations.
IsCustomAllocatorCheck whether an allocator is a custom allocator
ToAllocatorCast the Allocator index into Allocator

Methods

Method

Description

TryInvoke the allocator function.

Inheritance

Inherited Members