set_layer
Description:
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.
Note:
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.
Note:
In the future, we may define other types of material layers, such as purely GLSL based layers.
Parameters:
this |
A |
layer_index |
the index of the layer |
texture |
a VertexBufferIndices for the layer object |