Method
CoglPipelineset_layer_combine
Declaration [src]
gboolean
cogl_pipeline_set_layer_combine (
CoglPipeline* pipeline,
int layer_index,
const char* blend_string,
GError** error
)
Description [src]
If not already familiar; you can refer here for an overview of what blend strings are and there syntax.
These are all the functions available for texture combining:
Refer to the
color-source syntax for
describing the arguments. The valid source names for texture combining
are:
cogl_pipeline_set_layer_combine_constant()
cogl_pipeline_set_color()
cogl_pipeline_set_color()
cogl_pipeline_set_layer_combine_constant()
.
Stability: | Unstable |
Available since: | 2.0 |
Parameters
layer_index |
int |
Specifies the layer you want define a combine function for. |
|
blend_string |
const char* |
A Cogl blend string describing the desired texture combine function. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |