@Deprecated 
    public void setColorBuffer(Image.Format format) {
        if (id != -1) {
            throw new UnsupportedOperationException("FrameBuffer already initialized.");
        }

        if (format.isDepthFormat()) {
            throw new IllegalArgumentException("Color buffer format must be color/luminance.");
        }

        RenderBuffer colorBuf = new RenderBuffer();
        colorBuf.slot = 0;
        colorBuf.format = format;

        colorBufs.clear();
        colorBufs.add(colorBuf);
    }
Enables the use of a color buffer for this <code>FrameBuffer</code>.

@param format The format to use for the color buffer.
@throws IllegalArgumentException If <code>format</code> is not a color format.
@deprecated Use addColorTarget
jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java