ColorSwizzle
Description
- Derived from
A ColorSwizzle type represents a specific swizzle operation that is performed on the red, green, blue and alpha channels of a color value.
Public / Constructors
For
Creates a new color swizzle operation.
The following color channel identifiers may be used:
Zero (0) : constant color channel value 0,
Red (1) : the red channel of the input color,
Green (2) : the green channel of the input color,
Blue (3) : the blue channel of the input color,
Alpha (4) : the alpha channel of the input color,
One (5) : constant color channel value 1.
To invert an input color channel, specify the negative value of its identifier.
Public / Attributes
Channels
Returns the color channel identifiers that have been used to create this ColorSwizzle value.