PIXI.ALPHA_MODES
ALPHA_MODES
How to treat textures with premultiplied alpha
Summary
Properties from ALPHA_MODES
number |
|
number |
|
number |
|
number |
|
number |
|
number |
|
Public Properties
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.
static PREMULTIPLIED_ALPHA: number
Source is already premultiplied
Example: spine atlases with _pma
suffix.
static PREMULTIPLY_ON_UPLOAD: number
Source is not premultiplied, premultiply on upload. Default option, used for all loaded images.