Cogl.Pipeline.get_layer_mag_filter

### Method

# Cogl Pipelineget_layer_mag_filter

#### Declaration [src]

    CoglPipelineFilter
    cogl_pipeline_get_layer_mag_filter (
      CoglPipeline* pipeline,
      int layer_index
    )

#### Description [src]

Retrieves the currently set magnification `CoglPipelineFilter` set on the specified layer. The magnification filter determines how the layer should be sampled when up-scaled.

The default filter is `COGL_PIPELINE_FILTER_LINEAR` but this can be changed using cogl_pipeline_set_layer_filters().

Stability: | Unstable
Available since: | 1.10

#### Parameters

`layer_index` | `int`
| The layer number to change.

#### Return value

Returns: | `CoglPipelineFilter`
| The magnification `CoglPipelineFilter` for the specified layer.