NodeAttribute

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 attributes that are going to be generated by the builder. Arrays of node attributes is maintained in NodeBuilder#attributes and NodeBuilder#bufferAttributes for this purpose.

Constructor

new NodeAttribute(name, type, node?)
ParameterTypeDefault Value
namestring
typestring
node?null | Nodenull

Constructs a new node attribute.

Properties

PropertyTypeDefault Value
isNodeAttributeboolean
namestring
typestring
nodenull | Node