public FrameBufferTextureTarget layer(int i){
            this.layer=i;
            return this;
        }
Do not use.

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