NodeBuilder is going to create instances of this class during the build process of nodes. They represent the final shader variables that are going to be generated by the builder. A dictionary of node variables is maintained in NodeBuilder#vars for this purpose.
Constructs a new node variable.
name
The name of the variable.
type
The type of the variable.
readOnly
The read-only flag.
Default is false.
count
The size.
Default is null.
The size.
This flag can be used for type testing.
Default is true.
The name of the variable.
The read-only flag.
The type of the variable.