regarding ScriptableRenderer.SetRenderTarget: if you look at the internal implementation, it just uses the public CoreUtils.SetRenderTarget API (mentioned by @sandy-unity ) so you should just be able to reuse 100% of the internal implementation
We’ll look at the upgrade documentation to make sure that it only uses public API, thanks for the catch!