set_layer_combine_constant


Description:

public void set_layer_combine_constant (int layer_index, Color constant)

When you are using the 'CONSTANT' color source in a layer combine description then you can use this function to define its value.

Note:

Use cogl_pipeline_set_layer_combine_constant instead

Parameters:

this

A CoglMaterial object

layer_index

Specifies the layer you want to specify a constant used for texture combining

constant

The constant color you want




2022 vala-language.org