Enumeration ChannelMask
Enumeration Members
A
A: 8
Pass only the alpha channel; R=0, G=0, B=0.
B
B: 4
Pass only the blue channel; R=0, G=0, A=1.
G
G: 2
Pass only the green channel; R=0, B=0, A=1.
R
R: 1
Pass only the red channel; G=0, B=0, A=1.
RGB
RGB: 7
Pass red, green, and blue; alpha is forced to 1.0.
RGBA
RGBA: 15
Pass all four channels unchanged (default — no masking).
Bitmask controlling which channels are written to the output texture by a processing operation. Channels excluded from the mask receive a sensible default:
0.0for RGB channels,1.0for alpha. UseChannelMask.RGBA(or omit the parameter) to pass all channels through unchanged.