Search Unity

Get Current Pipeline

Discussion in 'High Definition Render Pipeline' started by Kamichalik, Feb 28, 2020.

  1. Kamichalik

    Kamichalik

    Joined:
    Apr 18, 2018
    Posts:
    5
    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?
     
  2. anselm_k

    anselm_k

    Joined:
    Nov 24, 2016
    Posts:
    9
    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.
     
    warthos3399 likes this.