Cogl.Framebuffer.prototype.clear4f

function clear4f(buffers: Number(gulong), red: Number(gfloat), green: Number(gfloat), blue: Number(gfloat), alpha: Number(gfloat)): void {
    // Gjs wrapper for cogl_framebuffer_clear4f()
}
  

Clears all the auxiliary buffers identified in the buffers mask, and if that includes the color buffer then the specified @color is used.

Since 1.8

buffers

A mask of Cogl.BufferBit<!-- -->'s identifying which auxiliary buffers to clear

red

The red component of color to clear the color buffer too if specified in buffers.

green

The green component of color to clear the color buffer too if specified in buffers.

blue

The blue component of color to clear the color buffer too if specified in buffers.

alpha

The alpha component of color to clear the color buffer too if specified in buffers.