Capítulo 758 de 859
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
| Signature |
|---|
new NodeVarying( name : string, type : string, interpolationType : string, interpolationSampling : string ) |
Properties
| Property | Description |
|---|---|
.interpolationSampling : string | The interpolation sampling type of varying data. |
.interpolationType : string | The interpolation type of the varying data. |
.isNodeVarying : boolean (readonly) | This flag can be used for type testing. |
.needsInterpolation : boolean | Whether this varying requires interpolation or not. This property can be used to check if the varying can be optimized for a variable. |