@Override
    public int hashCode() {
        int hash = 5;
        // NOTE: Since images are generally considered unique assets in jME3,
        // using the image's hashCode() implementation is not necessary here
        // (would be too slow)
        hash = 67 * hash + (this.image != null ? System.identityHashCode(this.image) : 0);
        hash = 67 * hash + (this.minificationFilter != null ? this.minificationFilter.hashCode() : 0);
        hash = 67 * hash + (this.magnificationFilter != null ? this.magnificationFilter.hashCode() : 0);
        hash = 67 * hash + (this.shadowCompareMode != null ? this.shadowCompareMode.hashCode() : 0);
        hash = 67 * hash + this.anisotropicFilter;
        return hash;
    }
@param level
           the anisotropic filtering level for this texture.
jme3-core/src/main/java/com/jme3/texture/Texture.java