Just before merging Texture and RenderTarget.