文档

Unity Engine

Unity Engine

Allocator

Sets which allocation type to use for a NativeArray.
阅读时间1 分钟最后更新于 1 个月前

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.