Class cc.RGB_PREMULTIPLY_APLHA
- Defined in: CCImage.js
Constructor Attributes | Constructor Name and Description |
---|---|
cc.RGB_PREMULTIPLY_APLHA(vr, vg, vb, va)
premultiply alpha, or the effect will wrong when want to use other pixel format in CCTexture2D,
such as RGB888, RGB5A1
|
Class Detail
cc.RGB_PREMULTIPLY_APLHA(vr, vg, vb, va)
premultiply alpha, or the effect will wrong when want to use other pixel format in CCTexture2D,
such as RGB888, RGB5A1
- Parameters:
- {Number} vr
- {Number} vg
- {Number} vb
- {Number} va
- Returns:
- {Number}