-
Returns true if packed int color value is premultiplied.
-
Reverse operation of premultiply. Divides RGB channels by alpha, unless alpha is zero. Does NOT clamp result.
-
-
Reverse op of premultiplyInt. Assumes 8bits/channel and alpha in MSB lane. Divides RGB channels by alpha (unless zero) and DOES clamp result to avoid overflows.
-
Multiplies RGB channels w/ alpha channel. Assumes alpha is in last vector component and [0..1] interval. Does NOT clamp result.
-
-
Multiplies RGB channels of packed int with alpha channel. Assumes 8bits/channel and alpha in MSB lane.
-
Generated using TypeDoc
Returns true if RGBA float color vector is premultiplied.