public void setLevel(int level) {
        if (level < 0) {
            throw new IllegalArgumentException("Texture image level cannot be negative.");
        }
        if (this.level != level) {
            this.level = level;
            updateFlag = true;
        }
    }
Sets the image level to bind.
<p>
The level controls which mipmap level will be bound to the texture unit,
where zero corresponds to the base level of the texture.
<p>
default=0

@param level level to bind (not negative)
jme3-core/src/main/java/com/jme3/texture/TextureImage.java