appendTexture

open fun appendTexture(texture: <Error class: unknown class>, bounds: <Error class: unknown class>)

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 method@Gtk.Snapshot.append_scaled_texture if you need other filtering, such as nearest-neighbour.

Parameters

texture

the texture to render

bounds

the bounds for the new node