Sets the basic color of the material, used when no lighting is enabled.
Use cogl_pipeline_set_color
instead
Note that if you don't add any layers to the material then the color will be blended unmodified with the destination; the default blend expects premultiplied colors: for example, use (0.5, 0.0, 0.0, 0.5) for semi-transparent red. See premultiply.
The default value is (1.0, 1.0, 1.0, 1.0)
this |
A |
color |
The components of the color |