TextureNode


Description:

[ CCode ( has_construct_function = false , type = "GskRenderNode*" ) ]
public TextureNode (Texture texture, Rect bounds)

Creates a `GskRenderNode` that will render the given texture into the area given by bounds.

Note that GSK applies linear filtering when textures are scaled and transformed. See [class@Gsk.TextureScaleNode] for a way to influence filtering.

Parameters:

texture

the `GdkTexture`

bounds

the rectangle to render the texture into

Returns:

A new `GskRenderNode`