This function lets you set a matrix that can be used to e.g. translate and rotate a single layer of a material used to fill your geometry.
Use cogl_pipeline_set_layer_matrix
instead
this |
A |
layer_index |
the index for the layer inside this |
matrix |
the transformation matrix for the layer |