Version: 2023.2

SupportedOnRenderPipelineAttribute.IsTypeSupportedOnRenderPipeline

切换到手册
public static bool IsTypeSupportedOnRenderPipeline (Type type, Type renderPipelineAssetType);

参数

type The type you want to check.
renderPipelineAssetType RenderPipelineAsset type.

返回

bool Returns true if the provided type is supported on the provided RenderPipelineAsset type.

描述

Use this method to determine whether a type has the SupportedOnRenderPipelineAttribute attribute and determine whether a RenderPipelineAsset type supports that attribute.