getCode( name = this.name ) {

		const outputType = this.outputType !== 'void' ? '-> ' + this.outputType : '';

		return `fn ${ name } ( ${ this.inputsCode.trim() } ) ${ outputType }` + this.blockCode;

	}
This method returns the WGSL code of the node function.

@param {string} [name=this.name] - The function's name.
@return {string} The shader code.