This module is part of the TSL core and usually not used in app level code.
It represents a join operation during the shader generation process.
For example in can compose/join two single floats into a vec2 type.
Constructor
new JoinNode(nodes?, nodeType?)| Parameter | Type | Default Value |
|---|---|---|
| nodes? | Array<Node> | [] |
| nodeType? | null | string | null |
Constructs a new join node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| nodes | Array<Node> | — | |
| Method | Type | |
|---|---|---|
| generateNodeType | (builder: NodeBuilder) => string | |
| generate | (builder: any, output: any) => any | |
Extends
TempNode