public static FrameBufferBufferTarget newTarget(Format format){
            FrameBufferBufferTarget t=new FrameBufferBufferTarget();
            t.setFormat(format);
            return t;
        }
Do not use.

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