void setTexture(Texture tx){
            this.tex=tx;
            this.format=tx.getImage().getFormat();
        }
Do not use.

@return the slot code, such as SLOT_DEPTH_STENCIL
jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java