Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Allocator

Sets which allocation type to use for a NativeArray.
Read time 1 minuteLast updated 5 days ago

Definition

public enum Allocator

Fields

Value

Description

AudioKernelUse an allocation associated with a DSPGraph audio kernel.
DomainUse an allocation associated with the lifetime of a domain.
FirstUserIndexThe first index that a custom allocator can get.
InvalidUse an invalid allocation.
NoneUse no allocation.
PersistentUse a persistent allocation.
TempUse a temporary allocation.
TempJobUse a temporary job allocation.