Version: 2023.2

RenderPipelineManager

class in UnityEngine.Rendering

切换到手册

描述

渲染管线管理器。

静态变量

currentPipelineReturns the active RenderPipeline.
pipelineSwitchCompletedIndicate when Render Pipeline switch is in progress.

Events

activeRenderPipelineAssetChangedDelegate that you can use to invoke custom code when the current RenderPipelineAsset between frames has changed.
activeRenderPipelineCreatedDelegate that you can use to invoke custom code right after RenderPipelineManager.currentPipeline is created.
activeRenderPipelineDisposedDelegate that you can use to invoke custom code right before RenderPipelineManager.currentPipeline is disposed.
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.