public void registerBinding(Trigger trigger, final Filter filter) {
        FilterBinding binding = new FilterBinding(trigger, filter);
        bindings.add(binding);
        if (isInitialized()) {
            bind(binding);
        }
    }
Will reload the filter's materials whenever the trigger is fired.
@param trigger the trigger
@param filter the filter to reload
jme3-core/src/main/java/com/jme3/util/MaterialDebugAppState.java