LogoPixi’VN
pixi-jsClasses

Class: AlphaMaskPipe

Defined in: node_modules/pixi.js/lib/rendering/mask/alpha/AlphaMaskPipe.d.ts:44

Internal

Implements

Constructors

Constructor

> new AlphaMaskPipe(renderer): AlphaMaskPipe

Defined in: node_modules/pixi.js/lib/rendering/mask/alpha/AlphaMaskPipe.d.ts:52

Parameters

renderer

Renderer

Returns

AlphaMaskPipe

Methods

destroy()

> destroy(): void

Defined in: node_modules/pixi.js/lib/rendering/mask/alpha/AlphaMaskPipe.d.ts:56

Returns

void


execute()

> execute(instruction): void

Defined in: node_modules/pixi.js/lib/rendering/mask/alpha/AlphaMaskPipe.d.ts:55

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

AlphaMaskInstruction

the instruction to execute

Returns

void

Implementation of

InstructionPipe.execute


pop()

> pop(mask, _maskedContainer, instructionSet): void

Defined in: node_modules/pixi.js/lib/rendering/mask/alpha/AlphaMaskPipe.d.ts:54

Used by effect pipes to pop effects from the renderer.

Parameters

mask

Effect

_maskedContainer

Container

instructionSet

InstructionSet

the instruction set currently being built

Returns

void

Implementation of

InstructionPipe.pop


push()

> push(mask, maskedContainer, instructionSet): void

Defined in: node_modules/pixi.js/lib/rendering/mask/alpha/AlphaMaskPipe.d.ts:53

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

maskedContainer

Container

instructionSet

InstructionSet

the instruction set currently being built

Returns

void

Implementation of

InstructionPipe.push