Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AllocatorManager.IAllocator

An allocator function pointer.
Read time 1 minuteLast updated 13 days ago

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