ExtractBrightnessFilter

private class ExtractBrightnessFilter extends PIXI.Filter

Internal filter for AdvancedBloomFilter to get brightness.

Constructor


new ExtractBrightnessFilter(threshold: number) → {}
Parameters:
Name Type Attributes Default Description
threshold number

<optional>

0.5

Defines how bright a color needs to be extracted.

Summary


Properties from ExtractBrightnessFilter

number
threshold = 0.5

Defines how bright a color needs to be extracted.

Properties inherited from Filter

boolean
autoFit = true
PIXI.BLEND_MODES
blendMode = PIXI.BLEND_MODES.NORMAL
boolean
enabled

If enabled is true the filter is applied, if false it will not.

boolean
legacy
PIXI.MSAA_QUALITY
multisample

The samples of the filter.

number
padding
number
resolution
PIXI.State
state

The WebGL state the filter requires to render.

Properties inherited from Shader

PIXI.Program
program

Program that the shader uses.

Dict<any>
uniforms

Methods inherited from Filter

void
apply(filterManager: PIXI.FilterSystem, input: PIXI.RenderTexture, output: PIXI.RenderTexture, clearMode: PIXI.CLEAR_MODES, _currentState: object)

Public Properties


threshold ExtractBrightnessFilter.ts:22
threshold: number = 0.5

Defines how bright a color needs to be extracted.


Powered by webdoc!