Class cc.Texture2D.PVRImagesHavePremultipliedAlpha
- Defined in: CCTexture2D.js
Constructor Attributes | Constructor Name and Description |
---|---|
cc.Texture2D.PVRImagesHavePremultipliedAlpha(haveAlphaPremultiplied)
treats (or not) PVR files as if they have alpha premultiplied. |
Class Detail
cc.Texture2D.PVRImagesHavePremultipliedAlpha(haveAlphaPremultiplied)
treats (or not) PVR files as if they have alpha premultiplied.
Since it is impossible to know at runtime if the PVR images have the alpha channel premultiplied, it is
possible load them as if they have (or not) the alpha channel premultiplied.
By default it is disabled.
- Parameters:
- haveAlphaPremultiplied