premultiplyToArray

Copies this color's premultiplied components to the specified array. The result is compatible with GLSL uniform vectors, and can be passed to the function glUniform4fv.

Return

the result argument set to this color's premultiplied components

Parameters

result

a pre-allocated array of length 4 in which to return the components

offset

a starting index in the result array