set_layer_filters


Description:

public void set_layer_filters (int layer_index, PipelineFilter min_filter, PipelineFilter mag_filter)

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_pipeline_filter_nearest or cogl_pipeline_filter_linear as magnification filters since magnification doesn't ever need to reference values stored in the mipmap chain.</note>

Parameters:

this

A Pipeline object

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.