NodeVarying

Last modified: Jun 30, 2024

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?)
ParameterTypeDefault Value
namestring
typestring
interpolationType?null | stringnull
interpolationSampling?null | stringnull

Constructs a new node varying.

Properties

PropertyTypeDefault Value
needsInterpolationboolean
isNodeVaryingboolean
interpolationTypenull | string
interpolationSamplingnull | string

Extends

NodeVar