public String generateSource(List<String> defineNames, List<VarType> defineTypes) {
        StringBuilder sb = new StringBuilder();
        generateSource(sb, defineNames, defineTypes);
        return sb.toString();
    }
The new define list.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/shader/DefineList.java