TextureNode.this
this
(gdk.texture.Texture texture, graphene.rect.Rect bounds)Creates a [gsk.render_node.RenderNode] 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 [gsk.texture_scale_node.TextureScaleNode] for a way to influence filtering.
Parameters
texture | the [gdk.texture.Texture] |
bounds | the rectangle to render the texture into |
Returns
A new [gsk.render_node.RenderNode]