Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Adding a Scriptable Render Pass to the frame rendering loop in URP

Resources and techniques for injecting a custom render pass via a Scriptable Renderer Feature, or the RenderPipelineManager API.
Read time 1 minuteLast updated a month ago

Add a custom render pass to the Universal Render Pipeline (URP) frame rendering loop by creating a Scriptable Renderer Feature, or using the
RenderPipelineManager
API.

Page

Description

Inject a render pass using a Scriptable Renderer FeatureWrite a class that inherits
ScriptableRendererFeature
, and use it to creates an instance of the custom render pass you created, and insert the custom render pass into the rendering pipeline.
Inject a render pass using the RenderPipelineManager APIUse the
RenderPipelineManager
API to insert a custom render pass into the rendering pipeline.
Restrict a render pass to a scene areaEnable a custom rendering effect only if the camera is inside a volume in a scene.
Injection points referenceURP contains multiple injection points that let you inject render passes at different points in the frame rendering loop.

Additional resources