Render a portion of the node tree into a new texture.
You can create a texture from some portion of on-screen content with
texture(from:), or its variation,
texture(from:. Both of these functions are available for scenes rendered by
There are a couple reasons you might want to do this, for example:
Creating a new sprite node whose texture reflects prior shading done with
Breaking appart an existing node into separate nodes, for example, for an explosion effect.