A construction pattern for safely compiling your own HLSL algorithms within the Shader Graph. A construction pattern for safely compiling your own HLSL algorithms within the Shader Graph.

Specific solution

If the node definition name is `MyCustomCalculation`, be sure to add a suffix to the HLSL side definition.

void MyCustomCalculation_float(float3 Input1, out float Output1)
{
    Output1 = Input1.x + Input1.y + Input1.z;
}