@Override
    public void resetObject() {
        this.id = -1;

        for (int i = 0; i < colorBufs.size(); i++) {
            colorBufs.get(i).resetObject();
        }

        if (depthBuf != null) {
            depthBuf.resetObject();
        }

        setUpdateNeeded();
    }
@return The number of samples when using a multisample framebuffer, or
1 if this is a single-sampled framebuffer.
jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java