This utility pattern takes either an input parameter and passes it through unchanged to its result. As a side effect, it will send the values out into an AOV when shading a camera-visible primary ray. Note that either inputF and resultF should be connected, or inputRGB and resultRGB, but not both, and the type of the AOV should also match. @parameters

inputRGB: The triple float to pass through to resultRGB and write to a color AOV.

inputF: The float to pass through to resultF and write to a float AOV.

aov: The name of the AOV to write to.

VOP nodes