public void setMinFilter(MinFilter minificationFilter) {
        if (minificationFilter == null) {
            throw new IllegalArgumentException(
                    "minificationFilter can not be null.");
        }
        this.minificationFilter = minificationFilter;
        if (minificationFilter.usesMipMapLevels() && image != null && !image.isGeneratedMipmapsRequired() && !image.hasMipmaps()) {
            image.setNeedGeneratedMipmaps();
        }
    }
@param minificationFilter
           the new MinificationFilterMode for this texture.
@throws IllegalArgumentException
            if minificationFilter is null
jme3-core/src/main/java/com/jme3/texture/Texture.java