PIXI.ALPHA_MODES

ALPHA_MODES

How to treat textures with premultiplied alpha

Summary


Public Properties


NO_PREMULTIPLIED_ALPHA index.ts:365
static NO_PREMULTIPLIED_ALPHA: number

Source is not premultiplied, leave it like that. Option for compressed and data textures that are created from typed arrays.

NPM index.ts:365
static NPM: number

Alias for NO_PREMULTIPLIED_ALPHA.

PMA index.ts:365
static PMA: number

Alias for PREMULTIPLIED_ALPHA.

PREMULTIPLIED_ALPHA index.ts:365
static PREMULTIPLIED_ALPHA: number

Source is already premultiplied Example: spine atlases with _pma suffix.

PREMULTIPLY_ON_UPLOAD index.ts:365
static PREMULTIPLY_ON_UPLOAD: number

Source is not premultiplied, premultiply on upload. Default option, used for all loaded images.

UNPACK index.ts:365
static UNPACK: number

Default option, alias for PREMULTIPLY_ON_UPLOAD.


Powered by webdoc!