is there any way to get a GraphicsDevice’s current RenderTarget?

GraphicsDevice.GetRenderTargets() or GraphicsDevice.GetRenderTargets(RenderTargetBinding[])

Yeah, well. I wanna do something like this:

var oldTarget = _spriteBatch.GraphicsDevice.GetRenderTargets(); 

 _spriteBatch.Begin(effect: effect);
 _spriteBatch.Draw(texture, Vector2.Zero,Color.White);


How to get a reference to the current renderTarget so I can set it as a render target later on?

Nevermind. I’m stupid.
Obviously if you use “GetRenderTargetS” you have to use “SetRenderTargetS” :smiley: