protected void endPulling(Texture tx) {
        for (int i = 0; i < bos.size(); i++) {
            ByteArrayOutputStream bo = bos.get(i);
            if (bo != null) {
                ByteBuffer faceMip = ByteBuffer.wrap(bo.toByteArray());
                tx.getImage().setData(i, faceMip);
            } else {
                LOG.log(Level.SEVERE, "Missing face {0}. Pulling incomplete!", i);
            }
        }
        bos.clear();
        tx.getImage().clearUpdateNeeded();
    }
Ends pulling the data into the texture

@param tx
           the texture to pull into
jme3-core/src/main/java/com/jme3/environment/baker/GenericEnvBaker.java