User guide

133
This tag states that the output of the shader connected to this parameter needs to provide all of the tags color,
color4 and diffuse. If any tag is omitted, then the connection is not allowed.
OR
<param name="diffStr" >
<tags>
<tag value="color or color4 or diffuse"/>
</tags>
</param>
This tag states that the output of the shader connected to this parameter needs to provide at least one of the tags
color, color4 or diffuse. If none of the tags are provided, then it will not allow you to make the connection.
NOT
<param name="diffStr" >
<tags>
<tag value="not float"/>
</tags>
</param>
The not operator allows you to specify exception rules. So the above tag allows the incoming shader parameter to
have any tag value except float.
PARENTHESIS ( ', ' )
<param name="diffStr" >
<tags>
<tag value="diffuse and (color or color4)"/>
</tags>
</param>
Tag rules can also contain parenthesis to allow you to group logic together, for either readability or for pure logic
purposes. The above rule allows any connection that provides diffuse as well as at least one of color or color4.
18 TYPED CONNECTION CHECKING | SHADER INPUTS