Table of Contents

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 = 3

The input's alpha.

Blue = 2

The input's blue.

Green = 1

The input's green.

One = 5

Always full (1).

Red = 0

The input's red.

Zero = 4

Always 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);