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:
Parameters
layer_index
-
Type:
int
Specifies the layer you want define a combine function for.
blend_string
-
Type:
const char*
A Cogl blend string describing the desired texture combine function.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will be left initialized to NULL
by the method if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.