set_layer_filters


Description:

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

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

Note:

Use cogl_pipeline_set_layer_filters instead

Parameters:

this

A CoglMaterial 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.




2022 vala-language.org