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.
Constructs a new node function.
type
The node type. This type is the return type of the node function.
inputs
The function's inputs.
name
The function's name.
Default is ''.
precision
The precision qualifier.
Default is ''.
The function's inputs.
The name of the uniform.
Default is ''.
The precision qualifier.
Default is ''.
The node type. This type is the return type of the node function.
This method returns the native code of the node function.
name
The function's name.
Returns: A shader code.