@Deprecated 
    public void setColorTexture(Texture2D tex) {
        clearColorTargets();
        addColorTexture(tex);
    }
Set the color texture to use for this framebuffer.
This automatically clears all existing textures added previously
with {@link FrameBuffer#addColorTexture } and adds this texture as the
only target.

@param tex The color texture to set.
@deprecated Use addColorTarget
jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java