Get Current Pipeline

In my time/night script i need to call HDRenderPipeline.RequestSkyEnvironmentUpdate(), but for this to get called i need a reference to an actual HDRenderPipeline object, I can’t find anything about this on the documentation and anywhere else, and RenderPipelineManager.currentPipeline doesn’t return what I need, where can i actually get the current pipeline?

The RenderPipelineManager can return the current RenderPipeline and also has accessible events for begin/end rendering (frame & camera).

I used it for downsampling and blurring a video texture.

1 Like