public void storeVariable(ShaderNodeVariable variable, List<ShaderNodeVariable> varList) {
        for (ShaderNodeVariable var : varList) {
            if (var.getName().equals(variable.getName())) {
                return;
            }
        }
        varList.add(variable);
    }
Searches a variable in a list from its name and merges the conditions of the
variables.

@param variable the variable.
@param varList the variable list.
jme3-core/src/plugins/java/com/jme3/material/plugins/ShaderNodeLoaderDelegate.java