Class cc.Texture2D.PVRImagesHavePremultipliedAlpha

Class Summary
Constructor Attributes Constructor Name and Description
 

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