暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

inject-a-render-pass.md 1008B


uid: urp-docfx-inject-a-render-pass

Adding a Scriptable Render Pass to the frame rendering loop

Add the 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| |-|-| | Scriptable Renderer Features | Write 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 via scripting | Use the RenderPipelineManager API to insert a custom render pass into the rendering pipeline. | | Injection points reference | URP contains multiple injection points that let you inject render passes at different points in the frame rendering loop. |