renamed CoreRenderToTexture into CoreFBO and added texture array support