NodeCode

Last modified: Jun 30, 2024

NodeBuilder is going to create instances of this class during the build process of nodes. They represent user-defined, native shader code portions that are going to be injected by the builder. A dictionary of node codes is maintained in NodeBuilder#codes for this purpose.

Constructor

new NodeCode(name, type, code?)
ParameterTypeDefault Value
namestring
typestring
code?string

Constructs a new code node.

Properties

PropertyTypeDefault Value
namestring
typestring
codestring