Cogl.Framebuffer.prototype.set_color_mask

function set_color_mask(color_mask: Cogl.ColorMask): void {
    // Gjs wrapper for cogl_framebuffer_set_color_mask()
}
  

Defines a bit mask of which color channels should be written to the given framebuffer. If a bit is set in color_mask that means that color will be written.

Since 1.8

color_mask

A Cogl.ColorMask of which color channels to write to the current framebuffer.