Version: 2023.1

QualitySettings.GetRenderPipelineAssetAt

切换到手册
public static Rendering.RenderPipelineAsset GetRenderPipelineAssetAt (int index);

参数

index Index of the quality level.

返回

RenderPipelineAsset Returns null if the quality level does not exist, or if no asset is assigned to that quality level. Otherwise, returns the RenderPipelineAsset that defines the override render pipeline for the quality level.

描述

Provides a reference to the RenderPipelineAsset that defines the override render pipeline for a given quality level.

Unity uses the default render pipeline defined in GraphicsSettings.renderPipeline and per quality level overrides to determine the active render pipeline for the current quality level. For more information, see GraphicsSettings.currentRenderPipeline.

QualitySettings.renderPipeline] returns the same information, but only for the current quality level.

See Also: How to get, set, and configure the active render pipeline, GraphicsSettings.currentRenderPipeline, GraphicsSettings.defaultRenderPipeline, QualitySettings.renderPipeline], GraphicsSettings.allConfiguredRenderPipelines.