public void setType(ShaderType type) {
        this.type = type;
    }
sets the type of shader this definition applies to

@param type the type
jme3-core/src/main/java/com/jme3/shader/ShaderNodeDefinition.java