set_layer_wrap_mode


Description:

public static void set_layer_wrap_mode (Material material, int layer_index, MaterialWrapMode mode)

Sets the wrap mode for all three coordinates of texture lookups on this layer.

Note:

Use cogl_pipeline_set_layer_wrap_mode instead

This is equivalent to calling set_layer_wrap_mode_s, set_layer_wrap_mode_t and set_layer_wrap_mode_p separately.

Parameters:

material

A CoglMaterial object

layer_index

the layer number to change.

mode

the new wrap mode




2022 vala-language.org