File: MRTNode.md | Updated: 11/15/2025
This node can be used setup a MRT context for rendering. A typical MRT setup for post-processing is shown below:
The MRT output is defined as a dictionary.
const mrtNode = mrt( {
output: output,
normal: normalView
} ) );
Constructs a new output struct node.
outputNodes | The MRT outputs.
---|---
This flag can be used for type testing.
Default is true.
A dictionary representing the MRT outputs. The key is the name of the output, the value the node which produces the output result.
Returns the output node for the given name.
name | The name of the output.
---|---
Returns: The output node.
Returns true if the MRT node has an output with the given name.
name | The name of the output.
---|---
Returns: Whether the MRT node has an output for the given name or not.
Merges the outputs of the given MRT node with the outputs of this node.
mrtNode | The MRT to merge.
---|---
Returns: A new MRT node with merged outputs..