ShaderNodeScript function

dynamic ShaderNodeScript(
  1. dynamic jsFunc
)

Implementation

ShaderNodeScript(jsFunc) {
  return (inputs, builder) {
    ShaderNodeObjects(inputs);

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