Base class for node functions. A derived module must be implemented
for each supported native shader language. Similar to other Node* modules,
this class is only relevant during the building process and not used
in user-level code.
Constructor
new NodeFunction(type, inputs, name?, precision?)| Parameter | Type | Default Value |
|---|---|---|
| type | string | — |
| inputs | Array<NodeFunctionInput> | — |
| name? | string | |
| precision? | string | |
Constructs a new node function.
| Method | Type | Modifiers |
|---|---|---|
| getCode | () => string | — |