Version: 2022.2

RenderPipelineManager

class in UnityEngine.Rendering

切换到手册

描述

渲染管线管理器。

静态变量

currentPipelineReturns the active RenderPipeline.

Events

activeRenderPipelineAssetChangedDelegate that you can use to invoke custom code when the current RenderPipelineAsset between frames has changed.
activeRenderPipelineTypeChangedDelegate that you can use to invoke custom code when Unity changes the active render pipeline, and the new RenderPipeline has a different type to the old one.
beginCameraRenderingDelegate that you can use to invoke custom code before Unity renders an individual Camera.
beginContextRenderingDelegate that you can use to invoke custom code at the start of RenderPipeline.Render.
beginFrameRenderingDelegate that you can use to invoke custom code at the start of RenderPipeline.Render.
endCameraRenderingDelegate that you can use to invoke custom code after Unity renders an individual Camera.
endContextRenderingDelegate that you can use to invoke custom code at the end of RenderPipeline.Render.
endFrameRenderingDelegate that you can use to invoke custom code at the end of RenderPipeline.Render.