Table of Contents

Copy To RT Node

  • Category: IO
  • Edition: All editions
  • Output type: None (writes into a Render Texture asset)
  • Typical place in a graph: a side branch, to look at an intermediate result outside the graph editor

Copy To RT copies a mask or color result into a Render Texture asset in your project, so you can see it in a material, a UI, or a shader while you work. It is an editor helper: it writes only when the graph editor runs it as the previewed node, not when the biome generates.

When to use it

  • Inspect or reuse an intermediate result outside the graph editor while authoring, such as feeding a test material.
  • Not for: sending data to the terrain or to your own code at generation time (use the terrain outputs, or a named Output).

Inputs

Slot Type Required What to connect
Input Mask or Color, chosen with Slot Type Yes The result to copy. With nothing connected, the texture is filled with black.

Outputs

None.

Properties

Property Default Range What it does
Slot Type Mask Slot Mask Slot, Color Texture Slot The kind of data to copy.
Render Texture Asset None A Render Texture asset The texture to write into. The result is resized to the texture's own size and format. Without a texture, the node does nothing.

Common properties

Property What it does
Id The node's unique name in this graph, shown for reference. You cannot edit it. Scripts and the AI workflow CLI use it to find the node.
Split Execution Lets this node run over several frames so the editor stays responsive during long generations. It only works when Allow Split Execution is on in the graph settings. This node finishes in one step, so splitting only adds a short pause around it; leave it off.
Bypass Skips the node. Nothing is copied.

How it works

When you select the node in the graph editor, the graph runs up to it and the result is copied into the Render Texture. In a test, a 256 × 256 texture stayed empty after a full biome generation, and held the Noise connected to it (mean 0.352) as soon as the node was selected.

Warning

Biome generation does not run this node. It is only updated from the graph editor.

Note

A Render Texture keeps its pixels only in memory. They are not saved with the asset and are gone after Unity restarts or the texture is reloaded.

Performance

Very cheap: one copy.

  • Output: sends a named result out of the graph at generation time.

For AI agents

  • Type name: CopyToRTNode. Input slot id 0 (MaskSlot or ColorTextureSlot only). No outputs.
  • Property: rtAsset (asset path of a .renderTexture). Not an output node: RequestData never targets it, so it runs only as the graph editor's previewed node (make it active with vista_graphitor_select).