Cogl.Pipeline.prototype.set_diffuse
function set_diffuse(diffuse: Cogl.Color): void {
// Gjs wrapper for cogl_pipeline_set_diffuse()
}
Sets the pipeline's diffuse color, in the standard OpenGL lighting model. The diffuse color is most intense where the light hits the surface directly - perpendicular to the surface.
The default value is (0.8, 0.8, 0.8, 1.0)
Since 2.0
- diffuse
The components of the desired diffuse color