Cogl.Pipeline.prototype.get_layer_min_filter

function get_layer_min_filter(layer_index: Number(gint)): Cogl.PipelineFilter {
    // Gjs wrapper for cogl_pipeline_get_layer_min_filter()
}
  

Retrieves the currently set minification Cogl.PipelineFilter set on the specified layer. The miniifcation filter determines how the layer should be sampled when down-scaled.

The default filter is Cogl.PipelineFilter.linear but this can be changed using Cogl.Pipeline.prototype.set_layer_filters.

Since 1.10

layer_index

the layer number to change.

Returns

The minification Cogl.PipelineFilter for the specified layer.