Capítulo 415 de 859
This module represents the call of a FunctionNode. Developers are usually not confronted with this module since they use the predefined TSL syntax wgslFn and glslFn which encapsulate this logic.
Constructor
| Signature |
|---|
new FunctionCallNode( functionNode : FunctionNode, parameters : Object.<string, Node> ) |
Properties
| Property | Description |
|---|---|
.functionNode : FunctionNode | The function node. |
.parameters : Object.<string, Node> | The parameters of the function call. |
Methods
| Method | Description |
|---|---|
.generateNodeType( builder : NodeBuilder ) : string | Returns the type of this function call node. |
.getMemberType( builder : NodeBuilder, name : string ) : string | Returns the function node of this function call node. |
.getParameters() : Object.<string, Node> | Returns the parameters of the function call node. |
.setParameters( parameters : Object.<string, Node> ) : FunctionCallNode | Sets the parameters of the function call node. |