Cogl.ColorMask

Defines a bit mask of color channels. This can be used with Cogl.Pipeline.prototype.set_color_mask for example to define which color channels should be written to the current framebuffer when drawing something.

ColorMask.NONE

None of the color channels are masked

ColorMask.RED

Masks the red color channel

ColorMask.GREEN

Masks the green color channel

ColorMask.BLUE

Masks the blue color channel

ColorMask.ALPHA

Masks the alpha color channel

ColorMask.ALL

All of the color channels are masked