OnPreRender/OnPostRender counterpart in SRP?

You can find your answer is this post : Feedback Wanted: Scriptable Render Pipelines page-8#post-3408481

The closest match you can find are those:

  • public static event Action<Camera[ ]> beginFrameRendering;
    Called when SRP rendering begins. Do things like make frame dependent geometry or similar from this callback. Called by default in HD / LW pipe. If you write a custom pipe you need to issue the call yourself.

  • public static event Action beginCameraRendering;
    Called when camera rendering begins (per camera). Do things like camera dependent effects (planer reflection) or similar from this callback. Called by default in HD / LW pipe. If you write a custom pipe you need to issue the call yourself.