What it does

SRP Batcher reduces CPU work when preparing material settings for rendering. It streamlines draws using the same shader variant, meaning a shader program built for the same combination of features.

Figure: CPU material setup is streamlined while the three illustrative draw commands remain.
Figure: CPU material setup is streamlined while the three illustrative draw commands remain.

How to use it

Enable the feature on the active URP asset, then inspect shader compatibility and rendering events in Frame Debugger. Retaining material data in GPU constant buffers reduces setup work; compatible passes, variants and layouts are important.

A concrete example

Several Lit materials with different colors can benefit when they share a compatible variant. Objects and shadow passes still require rendering work. Materials that also change shader keywords need a separate check.

How to check it

  1. Compare Player CPU rendering time at the same viewpoint with the feature enabled and disabled.
    Inspect preparation cost and draw count separately
    Inspect preparation cost and draw count separately
  2. Record property-block use and variant boundaries; draw count alone does not establish a benefit.
    Inspect preparation cost and draw count separately
    Inspect preparation cost and draw count separately

Limitations

It does not directly merge draw calls; different materials can participate.

References