Entities · interface

EntityAllocatorOptions

Explained in Entities.

interface EntityAllocatorOptions
import type { EntityAllocatorOptions } from '@driftengine/entities';

Properties

NameTypeDescription
ceilingreadonlyoptionalnumberHow many slots this allocator may ever hand out.
More

Present so a test can reach the refusal without allocating sixty-seven million slots. A consumer has no reason to set it, and setting it low does not save memory — the arrays grow on demand either way.