PIXI.CLEAR_MODES

CLEAR_MODES

Configure whether filter textures are cleared after binding.

Filter textures need not be cleared if the filter does not use pixel blending. CLEAR_MODES.BLIT will detect this and skip clearing as an optimization.

Summary


Properties from CLEAR_MODES

number
static AUTO
number
static BLEND
number
static BLIT
number
static CLEAR
number
static NO
number
static YES

Public Properties


AUTO index.ts:393
static AUTO: number

Alias for BLIT

BLEND index.ts:393
static BLEND: number

Do not clear the filter texture. The filter's output will blend on top of the output texture.

BLIT index.ts:393
static BLIT: number

Clear only if FilterSystem.forceClear is set or if the filter uses pixel blending.

CLEAR index.ts:393
static CLEAR: number

Always clear the filter texture.

NO index.ts:393
static NO: number

Alias for BLEND, same as false in earlier versions

YES index.ts:393
static YES: number

Alias for CLEAR, same as true in earlier versions


Powered by webdoc!