Texture.Swizzle
Description
Swizzles the color channels of this texture.
For each channel of the resulting texture, one of the following swizzle operands may be specified:
-
-5 : use constant minimum value
-
-4 : use inverse alpha channel of input
-
-3 : use inverse blue channel of input
-
-2 : use inverse green channel of input
-
-1 : use inverse red channel of input
-
0 : use grayscale intensity of input
-
1 : use red channel of input
-
2 : use green channel of input
-
3 : use blue channel of input
-
4 : use alpha channel of input
-
5 : use constant maximum value