Cogl.Pipeline.prototype.set_layer_filters

function set_layer_filters(layer_index: Number(gint), min_filter: Cogl.PipelineFilter, mag_filter: Cogl.PipelineFilter): void {
    // Gjs wrapper for cogl_pipeline_set_layer_filters()
}
  

Changes the decimation and interpolation filters used when a texture is drawn at other scales than 100%.

<note>It is an error to pass anything other than Cogl.PipelineFilter.nearest or Cogl.PipelineFilter.linear as magnification filters since magnification doesn't ever need to reference values stored in the mipmap chain.</note>

Since 1.10

layer_index

the layer number to change.

min_filter

the filter used when scaling a texture down.

mag_filter

the filter used when magnifying a texture.