LogoPixi’VN
pixi-jsClasses

Class: ColorMaskPipe

Defined in: node_modules/pixi.js/lib/rendering/mask/color/ColorMaskPipe.d.ts:9

Internal

Implements

Constructors

Constructor

> new ColorMaskPipe(renderer): ColorMaskPipe

Defined in: node_modules/pixi.js/lib/rendering/mask/color/ColorMaskPipe.d.ts:19

Parameters

renderer

Renderer

Returns

ColorMaskPipe

Methods

buildStart()

> buildStart(): void

Defined in: node_modules/pixi.js/lib/rendering/mask/color/ColorMaskPipe.d.ts:20

Returns

void

Implementation of

InstructionPipe.buildStart


destroy()

> destroy(): void

Defined in: node_modules/pixi.js/lib/rendering/mask/color/ColorMaskPipe.d.ts:24

Returns

void


execute()

> execute(instruction): void

Defined in: node_modules/pixi.js/lib/rendering/mask/color/ColorMaskPipe.d.ts:23

this is where the actual instruction is executed - eg make the draw call activate a filter. Any instructions that have the same renderPipeId have their execute method called

Parameters

instruction

ColorMaskInstruction

the instruction to execute

Returns

void

Implementation of

InstructionPipe.execute


pop()

> pop(_mask, _container, instructionSet): void

Defined in: node_modules/pixi.js/lib/rendering/mask/color/ColorMaskPipe.d.ts:22

Used by effect pipes to pop effects from the renderer.

Parameters

_mask

Effect

_container

Container

instructionSet

InstructionSet

the instruction set currently being built

Returns

void

Implementation of

InstructionPipe.pop


push()

> push(mask, _container, instructionSet): void

Defined in: node_modules/pixi.js/lib/rendering/mask/color/ColorMaskPipe.d.ts:21

Used by the effect pipes push and pop effects to the renderer. A push effect allows the renderer to change its state to support the effect. A pop effect allows the renderer to return to its previous state. An example of this would be the filter effect.

Parameters

mask

Effect

_container

Container

instructionSet

InstructionSet

the instruction set currently being built

Returns

void

Implementation of

InstructionPipe.push