@Deprecated
    public void setColorTexture(TextureArray tex, int layer) {
        clearColorTargets();
        addColorTexture(tex, layer);
    }
Set the color texture array 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 array to set.
@param layer (default=-1)
@deprecated Use addColorTarget
jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java