The 2D layer · const
DEFAULT_SPRITE_CAPACITY
Sprites a frame, if the caller does not say. Four thousand quads is 224 KB of instance data.
Explained in Sprites and tilemaps.
const DEFAULT_SPRITE_CAPACITY = 4096import { DEFAULT_SPRITE_CAPACITY } from '@driftengine/ui2d';