public void setAnisotropicFilter(int level) {
        anisotropicFilter = Math.max(0, level);
    }
@param level
           the anisotropic filtering level for this texture.
jme3-core/src/main/java/com/jme3/texture/Texture.java