ShaderNodeScript function
dynamic
ShaderNodeScript(
- dynamic jsFunc
Implementation
ShaderNodeScript(jsFunc) {
return (inputs, builder) {
ShaderNodeObjects(inputs);
return ShaderNodeObject(jsFunc(inputs, builder));
};
}