LogoPixi’VN
pixi-jsType aliases

Type Alias: BatchMode

> BatchMode = "auto" | "batch" | "no-batch"

Defined in: node_modules/pixi.js/lib/scene/graphics/shared/GraphicsContext.d.ts:24

The mode for batching graphics instructions.

It can be:

  • 'auto': Automatically determines whether to batch based on the number of instructions.
  • 'batch': Forces batching of all instructions.
  • 'no-batch': Disables batching, processing each instruction individually.

Advanced