How to treat textures with premultiplied alpha
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 NPM: number
Alias for NO_PREMULTIPLIED_ALPHA.
static PMA: number
Alias for PREMULTIPLIED_ALPHA.
static PREMULTIPLIED_ALPHA: number
Source is already premultiplied
Example: spine atlases with
static PREMULTIPLY_ON_UPLOAD: number
Source is not premultiplied, premultiply on upload. Default option, used for all loaded images.
static UNPACK: number
Default option, alias for PREMULTIPLY_ON_UPLOAD.