public GLImageFormat getImageFormat(Format fmt, boolean isSrgb) {
        if (isSrgb) {
            return formats[1][fmt.ordinal()];
        } else {
            return formats[0][fmt.ordinal()];
        }
    }
Internal utility class used by {@link GLRenderer} to manage textures.

@author Kirill Vainer
jme3-core/src/main/java/com/jme3/renderer/opengl/TextureUtil.java