[Core SRP] 2019 RenderPipeline no longer has Dispose() method, any replacement?

So in 2018 LTS, the RenderPipeline has “Dispose” API which we can override to unset things created during ctor call (like new CommandBuffer)

The 2019 RenderPipeline no longer has it, so is it done for us behind the scene?

I also use Dispose() to reset some global shader properties that are changed during ctor call, where should I do them now?

The Dispose() needs an argument in 2019 RP.
protected override void Dispose(bool disposing){}

1 Like