LogoPixi’VN
pixi-jsInterfaces

Interface: BatchPipe

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/instructions/RenderPipe.d.ts:100

An interface for a pipe that can be used to build instructions for the renderer. BatchPipes are specifically used to build and render Batches.

Advanced

Properties

addToBatch

> addToBatch: (renderable, instructionSet) => void

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/instructions/RenderPipe.d.ts:106

Add a add a batchable object to the batch.

Parameters

renderable

BatchableElement

a batchable object that can be added to the batch

instructionSet

InstructionSet

the instruction set currently being built

Returns

void


break

> break: (instructionSet) => void

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/instructions/RenderPipe.d.ts:112

Forces the batch to break. This can happen if for example you need to render everything and then change the render target.

Parameters

instructionSet

InstructionSet

the instruction set currently being built

Returns

void