Color.Swizzle
Description
Specifies a color channel swizzle operation.
The following color channel identifiers may be used:
0
: constant color channel value 0,
1
: the red channel of the input color,
2
: the green channel of the input color,
3
: the blue channel of the input color,
4
: the alpha channel of the input color,
5
: constant color channel value 1.
To invert an input color channel, specify the negative value of its identifier.