public void bindImage(GL4 gl4, TextureUtil texUtil, int unit) {
        Image img = texture.getImage();
        gl4.glBindImageTexture(unit, img.getId(), level, isLayered(), Math.max(layer, 0),
                access.getGlEnum(), texUtil.getImageFormat(img.getFormat(), false).internalFormat);
    }
Binds this texture image to the texture unit.
<p>
Calling this is not completely sufficient for totally binding an image
to an image unit. Additionally, the image must be bound beforehand using
{@link GL2#glBindTexture(int, int)}.

@param gl4 GL4 implementation (not null)
@param texUtil utility used to convert JME's image format to the corresponding GL enum (not null)
@param unit texture unit to bind to
jme3-core/src/main/java/com/jme3/texture/TextureImage.java