Version: 2023.1
public Rendering.SupportedOnRenderPipelineAttribute.SupportedMode GetSupportedMode (Type renderPipelineAssetType);

参数

renderPipelineAssetType The RenderPipelineAsset you want to check.

返回

SupportedMode Whether the RenderPipelineAsset or its base RenderPipelineAsset supports the attribute.

描述

Use SupportedOnRenderPipelineAttribute.GetSupportedMode to find out whether a RenderPipelineAsset supports the attribute.