Clutter.TextureNode

g Clutter.PaintNode Clutter.PaintNode Clutter.PipelineNode Clutter.PipelineNode Clutter.PaintNode->Clutter.PipelineNode Clutter.TextureNode Clutter.TextureNode Clutter.PipelineNode->Clutter.TextureNode

Subclasses:

None

Methods

Inherited:

Clutter.PaintNode (6)

class

new (texture, color, min_filter, mag_filter)

Virtual Methods

None

Fields

None

Class Details

class Clutter.TextureNode
Bases:

Clutter.PipelineNode

Abstract:

No

Structure:

Clutter.TextureNodeClass

The Clutter.TextNode structure is an opaque type whose members cannot be directly accessed.

New in version 1.10.

classmethod new(texture, color, min_filter, mag_filter)
Parameters:
Returns:

the newly created Clutter.PaintNode. Use Clutter.PaintNode.unref() when done

Return type:

Clutter.PaintNode

Creates a new Clutter.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 Clutter.Color.alpha channel value; if color is None, a fully opaque white color will be used for blending.

New in version 1.10.