Returns the MRT texture index for the given name.
| Parameter | Type | Default Value |
|---|---|---|
| textures | Array<Texture> | — |
| name | string | — |
Returns
numberThis 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.
Constructor
new MRTNode(outputNodes)| Parameter | Type | Default Value |
|---|---|---|
| outputNodes | { [x: string]: Node; } | — |
Constructs a new output struct node.
| Accessor | Type | Modifiers |
|---|---|---|
| get type | string | static |
| Method | Type | Modifiers |
|---|---|---|
| has | (name: string) => NodeBuilder | — |
| get | (name: string) => Node | — |
| merge | (mrtNode: MRTNode) => MRTNode | — |
| setup | (builder: any) => null | Node | — |
Extends
OutputStructNode| Parameter | Type | Default Value |
|---|---|---|
| outputNodes | Object<string, Node> | — |
Returns
MRTNode