TextureNode


Description:

[ CCode ( has_construct_function = false , type = "ClutterPaintNode*" ) ]
public TextureNode (Texture texture, Color? color, ScalingFilter min_filter, ScalingFilter mag_filter)

Creates a new PaintNode that will paint the passed texture.

This function will take a reference on texture, so it is safe to call cogl_object_unref on texture when it returns.

The color must not be pre-multiplied with its alpha channel value; if color is null, a fully opaque white color will be used for blending.

Parameters:

texture

a CoglTexture

color

a Color used for blending, or null

min_filter

the minification filter for the texture

mag_filter

the magnification filter for the texture

Returns:

the newly created PaintNode. Use unref when done




2022 vala-language.org