Enum ChannelSource
- Namespace
- Egami.Operations
- Assembly
- Egami.dll
Where an output channel of ShuffleChannels(ChannelSource, ChannelSource, ChannelSource, ChannelSource) takes its value from.
public enum ChannelSource
Fields
Alpha = 3The input's alpha.
Blue = 2The input's blue.
Green = 1The input's green.
One = 5Always full (1).
Red = 0The input's red.
Zero = 4Always 0.
Examples
// Swap red and blue: one color matrix, fused with the other color steps into one pass.
photo.Apply(ops => ops
.ShuffleChannels(ChannelSource.Blue, ChannelSource.Green, ChannelSource.Red, ChannelSource.Alpha)
.Brightness(1.05f), Ct);