@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Texture other = (Texture) obj;

        // NOTE: Since images are generally considered unique assets in jME3,
        // using the image's equals() implementation is not necessary here
        // (would be too slow)
        if (this.image != other.image) {
            return false;
        }
        if (this.minificationFilter != other.minificationFilter) {
            return false;
        }
        if (this.magnificationFilter != other.magnificationFilter) {
            return false;
        }
        if (this.shadowCompareMode != other.shadowCompareMode) {
            return false;
        }
        if (this.anisotropicFilter != other.anisotropicFilter) {
            return false;
        }
        return true;
    }
@param level
           the anisotropic filtering level for this texture.
jme3-core/src/main/java/com/jme3/texture/Texture.java