File: NodeVarying.md | Updated: 11/15/2025
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.
Constructs a new node varying.
name | The name of the varying.
---|---
type | The type of the varying.
interpolationType | The interpolation type of the varying. Default is null.
interpolationSampling | The interpolation sampling type of the varying. Default is null.
The interpolation sampling type of varying data.
Default is null.
The interpolation type of the varying data.
Default is null.
This flag can be used for type testing.
Default is true.
Whether this varying requires interpolation or not. This property can be used to check if the varying can be optimized for a variable.
Default is false.