Version: 2018.1
Experimental: this API is experimental and might be changed or removed in the future.

IRenderPipeline

interface in UnityEngine.Experimental.Rendering

Switch to Manual

Description

Defines a series of commands and settings that describes how Unity renders a frame.

Unity supports a few built-in rendering pipelines optimized for specific platforms. These pipelines are open source and available in the Github project.

You can also define your own custom RenderPipeline tailored for your specific project needs. To create a custom RenderPipeline:

1) Create a script that extends RenderPipelineAsset or IRenderPipelineAsset, this will become the manager and provider for you RenderPipeline. 2) Implement IRenderPipeline and override IRenderPipeline.Render and IRenderPipeline._disposed 3) Create a RenderPipeline Asset by using ScriptableObject.CreateAsset. 3) Use your RenderPipeline either by assigning it in the GraphicsSettings in the Editor or by using the scripting interface GraphicsSettings.renderPipeline".

Variables

disposedWhen the IRenderPipeline is invalid or destroyed this returns true.

Public Functions

RenderDefines custom rendering for this RenderPipeline.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961