Snapshot.appendTexture

void appendTexture(gdk.texture.Texture texture, graphene.rect.Rect bounds)

Creates a new render node drawing the texture into the given bounds and appends it to the current render node of snapshot.

If the texture needs to be scaled to fill bounds, linear filtering is used. See [gtk.snapshot.Snapshot.appendScaledTexture] if you need other filtering, such as nearest-neighbour.

Parameters

texturethe texture to render
boundsthe bounds for the new node