uFlags

Flags that indicate the channel for which to shift the color and how to remap the other values for that channel. You can use a bit wise OR (|) to specify one flag from each group.

The following are the flags that indicate the channel:

Value

Meaning

SAMP_RED

[$0001] Shift the color in the red channel.

SAMP_GREEN

[$0002] Shift the color in the green channel.

SAMP_BLUE

[$0003] Shift the color in the blue channel.

SAMP_RGB

[$0004] Shift the color in the red, green, and blue channels.

The following are the flags that indicate how other pixel values in the set channel will be affected:

Value

Meaning

SAMP_LOW

[$0010] Remap the shadow values for the channel set in uFlags.

SAMP_MID

[$0020] Remap the midtone values for the channel set in uFlags.

SAMP_HIGH

[$0030] Remap the highlight values for the channel set in uFlags.