shaderNodeScript function

dynamic shaderNodeScript(
  1. dynamic jsFunc
)

Implementation

shaderNodeScript(jsFunc) {
  return (inputs, builder) {
    shaderNodeObjects(inputs);

    return shaderNodeObject(jsFunc(inputs, builder));
  };
}