Cogl.Pipeline.prototype.get_layer_mag_filter
function get_layer_mag_filter(layer_index: Number(gint)): Cogl.PipelineFilter {
// Gjs wrapper for cogl_pipeline_get_layer_mag_filter()
}
Retrieves the currently set magnification Cogl.PipelineFilter set on the specified layer. The magnification filter determines how the layer should be sampled when up-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 magnification Cogl.PipelineFilter for the specified layer.