Class for representing a constant value in the shader.
Constructor
new ConstNode(value, nodeType?)| Parameter | Type | Default Value |
|---|---|---|
| value | any | — |
| nodeType? | null | string | null |
Constructs a new input node.
| Accessor | Type | Modifiers |
|---|---|---|
| get type | string | static |
| Method | Type | Modifiers |
|---|---|---|
| generateConst | (builder: NodeBuilder) => string | — |
| generate | (builder: any, output: any) => any | — |
Extends
InputNode