In addition to the standard OpenGL lighting model a Cogl material may have one or more layers comprised of textures that can be blended together in order, with a number of different texture combine modes.
Use cogl_pipeline_set_layer
instead
This function defines a new texture layer.
The index values of multiple layers do not have to be consecutive; it is only their relative order that is important.
In the future, we may define other types of material layers, such as purely GLSL based layers.
this |
A |
layer_index |
the index of the layer |
texture |
a VertexBufferIndices for the layer object |