Cogl.Pipeline.prototype.get_layer_texture

function get_layer_texture(layer_index: Number(gint)): Cogl.Texture {
    // Gjs wrapper for cogl_pipeline_get_layer_texture()
}
  

Since 1.10

layer_index

the index of the layer

Returns

the texture that was set for the given layer of the pipeline or null if no texture was set.