TextureNode.this

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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gdk.texture.Texture texture, graphene.rect.Rect bounds)

Parameters

texture gdk.texture.Texture
bounds graphene.rect.Rect

the rectangle to render the texture into

Return Value