{@link NodeBuilder} is going to create instances of this class during the build process of nodes. They represent user-defined, native shader code portions that are going to be injected by the builder. A dictionary of node codes is maintained in {@link NodeBuilder#codes} for this purpose.
Constructor
new NodeCode(name, type, code?)| Parameter | Type | Default Value |
|---|---|---|
| name | string | — |
| type | string | — |
| code? | string | |
Constructs a new code node.