NodeBuilder is going to create instances of this class during the build process of nodes. They represent the final shader varyings that are going to be generated by the builder. An array of node varyings is maintained in NodeBuilder#varyings for this purpose.
Constructor
new NodeVarying(name, type, interpolationType?, interpolationSampling?)| Parameter | Type | Default Value |
|---|---|---|
| name | string | — |
| type | string | — |
| interpolationType? | null | string | null |
| interpolationSampling? | null | string | null |
Constructs a new node varying.
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| needsInterpolation | boolean | — | |
| isNodeVarying | boolean | — | |
| interpolationType | null | string | — | |
| interpolationSampling | null | string | — | |
Extends
NodeVar