NodeBuilder is going to create instances of this class during the build process of nodes. They represent the final shader uniforms that are going to be generated by the builder. A dictionary of node uniforms is maintained in NodeBuilder#uniforms for this purpose.
Constructor
new NodeUniform(name, type, node)| Parameter | Type | Default Value |
|---|---|---|
| name | string | — |
| type | string | — |
| node | UniformNode | — |
Constructs a new node uniform.
| Accessor | Type | |
|---|---|---|
| get value | any | |
| set value | any | |
| get id | number | |
| get groupNode | UniformGroupNode | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| isNodeUniform | boolean | — | |
| name | string | — | |
| type | string | — | |
| node | UniformNode | — | |