protected override void Draw(GameTime gameTime) { Graphics.GraphicsDevice.Clear(Color.Black); RenderTarget oldTarget = Graphics.GraphicsDevice.GetRenderTarget(0); Graphics.GraphicsDevice.SetRenderTarget(0, renderTarget); Graphics.GraphicsDevice.Clear( ClearOptions.Target, Color.Black, 0, 0); Batch.Begin(SpriteBlendMode.AlphaBlend); // Draw everything testWindow.Draw(); Selector.Draw(); MouseInput.Draw(); Batch.End(); Graphics.GraphicsDevice.ResolveRenderTarget(0); Graphics.GraphicsDevice.SetRenderTarget(0, oldTarget as RenderTarget2D); Texture2D myTexture = renderTarget.GetTexture(); Batch.Begin(); Batch.Draw(myTexture, new Vector2(10, 10), Color.White); // End draw Batch.End(); base.Draw(gameTime); }