Class: Clutter::TextureNode
- Inherits:
-
PipelineNode
- Object
- PaintNode
- PipelineNode
- Clutter::TextureNode
- Defined in:
- (unknown)
Overview
The ClutterTextureNodeClass structure is an
opaque type whose members cannot be directly accessed.
Instance Method Summary collapse
-
#initialize(texture, color, min_filter, mag_filter) ⇒ Clutter::PaintNode
constructor
Creates a new Clutter::PaintNode that will paint the passed texture.
Methods inherited from PaintNode
#add_child, #add_rectangle, #add_texture_rectangle, #name=, #ref, #unref
Constructor Details
#initialize(texture, color, min_filter, mag_filter) ⇒ 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 nil, a fully opaque white color will be used for blending.