1.39 <GskTextureNode>

Class: <GskTextureNode>

It derives from <GskRenderNode>.

A render node for a <GdkTexture>.

Procedures

Method: texture-node:get-texture self ⇒ %return
Method: get-texture self ⇒ %return

Retrieves the <GdkTexture> used when creating this <GskRenderNode>.

self

Passed: a <GskTextureNode>.

a <GskRenderNode> of type texture-node

%return

Returned: a <GdkTexture>.

the <GdkTexture>

Procedure: texture-node:new texture bounds ⇒ %return

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 <GskTextureScaleNode> for a way to influence filtering.

texture

Passed: a <GdkTexture>.

the <GdkTexture>

bounds

Passed: a <GrapheneRect>.

the rectangle to render the texture into

%return

Returned: a <GskTextureNode>.

A new <GskRenderNode>